// This file is @generated by prost-build.
/// Messages
///
/// Contains the configurations necessary to generate a signature for access to
/// private storage buckets that support Signature Version 4 for authentication.
/// The service name for generating the authentication header will always default
/// to 's3'.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Awsv4Signature {
    /// The access key used for s3 bucket authentication. Required for updating or
    /// creating a backend that uses AWS v4 signature authentication, but will not
    /// be returned as part of the configuration when queried with a REST API GET
    /// request.
    ///
    /// @InputOnly
    #[prost(string, optional, tag = "468922628")]
    pub access_key: ::core::option::Option<::prost::alloc::string::String>,
    /// The identifier of an access key used for s3 bucket authentication.
    #[prost(string, optional, tag = "292975158")]
    pub access_key_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The optional version identifier for the access key. You can use this to
    /// keep track of different iterations of your access key.
    #[prost(string, optional, tag = "80261277")]
    pub access_key_version: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the cloud region of your origin. This is a free-form field with
    /// the name of the region your cloud uses to host your origin.  For example,
    /// "us-east-1" for AWS or "us-ashburn-1" for OCI.
    #[prost(string, optional, tag = "265305645")]
    pub origin_region: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstanceGroupManagers.AbandonInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AbandonInstancesInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "320929016")]
    pub instance_group_managers_abandon_instances_request_resource: ::core::option::Option<
        InstanceGroupManagersAbandonInstancesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.AbandonInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AbandonInstancesRegionInstanceGroupManagerRequest {
    /// Name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "488499491")]
    pub region_instance_group_managers_abandon_instances_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersAbandonInstancesRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A specification of the type and number of accelerator cards attached to the
/// instance.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AcceleratorConfig {
    /// The number of the guest accelerator cards exposed to this instance.
    #[prost(int32, optional, tag = "504879675")]
    pub accelerator_count: ::core::option::Option<i32>,
    /// Full or partial URL of the accelerator type resource to attach to this
    /// instance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100
    /// If you are creating an instance template, specify only the
    /// accelerator name.
    /// See GPUs on Compute Engine
    /// for a full list of accelerator types.
    #[prost(string, optional, tag = "138031246")]
    pub accelerator_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Info for accelerator topologies within a densely packed reservation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AcceleratorTopologiesInfo {
    /// Info for each accelerator topology.
    #[prost(message, repeated, tag = "219451401")]
    pub accelerator_topology_infos: ::prost::alloc::vec::Vec<
        AcceleratorTopologiesInfoAcceleratorTopologyInfo,
    >,
}
/// Info for a slice of a given topology.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AcceleratorTopologiesInfoAcceleratorTopologyInfo {
    /// The accelerator topology.
    #[prost(string, optional, tag = "389323203")]
    pub accelerator_topology: ::core::option::Option<::prost::alloc::string::String>,
    /// Info for each topology state.
    #[prost(message, repeated, tag = "183777695")]
    pub info_per_topology_states: ::prost::alloc::vec::Vec<
        AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState,
    >,
}
/// Info for each topology state.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState {
    /// The number of accelerator topologies in this state.
    #[prost(int32, optional, tag = "94851343")]
    pub count: ::core::option::Option<i32>,
    /// The state of the accelerator topology.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState`.
pub mod accelerator_topologies_info_accelerator_topology_info_info_per_topology_state {
    /// The state of the accelerator topology.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// The accelerator topology is available.
        Available = 442079913,
        /// The accelerator topology is degraded. The underlying capacity is not in a
        /// healthy state and is not available.
        Degraded = 396890926,
        /// The accelerator topology is running. If there are both running and
        /// degraded hosts within a topology, DEGRADED state will be returned.
        Running = 121282975,
        /// The state of the topology is unspecified.
        TopologyStateUnspecified = 188327545,
        /// This value has been deprecated and is no longer used.
        Unhealthy = 462118084,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Available => "AVAILABLE",
                Self::Degraded => "DEGRADED",
                Self::Running => "RUNNING",
                Self::TopologyStateUnspecified => "TOPOLOGY_STATE_UNSPECIFIED",
                Self::Unhealthy => "UNHEALTHY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "AVAILABLE" => Some(Self::Available),
                "DEGRADED" => Some(Self::Degraded),
                "RUNNING" => Some(Self::Running),
                "TOPOLOGY_STATE_UNSPECIFIED" => Some(Self::TopologyStateUnspecified),
                "UNHEALTHY" => Some(Self::Unhealthy),
                _ => None,
            }
        }
    }
}
/// Represents an Accelerator Type resource.
///
/// Google Cloud Platform provides graphics processing units (accelerators) that
/// you can add to VM instances to improve or accelerate performance when working
/// with intensive workloads. For more information, readGPUs on Compute Engine.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AcceleratorType {
    /// \[Output Only\] Creation timestamp inRFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The deprecation status associated with this accelerator type.
    #[prost(message, optional, tag = "515138995")]
    pub deprecated: ::core::option::Option<DeprecationStatus>,
    /// \[Output Only\] An optional textual description of the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The type of the resource. Alwayscompute#acceleratorType for accelerator types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Maximum number of accelerator cards allowed per instance.
    #[prost(int32, optional, tag = "263814482")]
    pub maximum_cards_per_instance: ::core::option::Option<i32>,
    /// \[Output Only\] Name of the resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined, fully qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The name of the zone where the accelerator type resides,
    /// such as us-central1-a.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AcceleratorTypeAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of AcceleratorTypesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        AcceleratorTypesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#acceleratorTypeAggregatedList for aggregated lists of
    /// accelerator types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of accelerator types.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AcceleratorTypeList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of AcceleratorType resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<AcceleratorType>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#acceleratorTypeList for lists of accelerator types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AcceleratorTypesScopedList {
    /// \[Output Only\] A list of accelerator types contained in this scope.
    #[prost(message, repeated, tag = "520872357")]
    pub accelerator_types: ::prost::alloc::vec::Vec<AcceleratorType>,
    /// \[Output Only\] An informational warning that appears when the accelerator
    /// types list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Accelerators {
    /// Number of accelerator cards exposed to the guest.
    #[prost(int32, optional, tag = "479079316")]
    pub guest_accelerator_count: ::core::option::Option<i32>,
    /// The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
    #[prost(string, optional, tag = "293064725")]
    pub guest_accelerator_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// An access configuration attached to an instance's network interface.
/// Only one access config per instance is supported.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AccessConfig {
    /// Applies to ipv6AccessConfigs only.
    /// The first IPv6 address of the external IPv6 range associated
    /// with this instance, prefix length is stored inexternalIpv6PrefixLength in ipv6AccessConfig. To
    /// use a static external IP address, it must be unused and in the same region
    /// as the instance's zone. If not specified, Google Cloud will automatically
    /// assign an external IPv6 address from the instance's subnetwork.
    #[prost(string, optional, tag = "532703707")]
    pub external_ipv6: ::core::option::Option<::prost::alloc::string::String>,
    /// Applies to ipv6AccessConfigs only. The prefix length of the
    /// external IPv6 range.
    #[prost(int32, optional, tag = "425672143")]
    pub external_ipv6_prefix_length: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#accessConfig for access configs.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of this access configuration. In accessConfigs
    /// (IPv4), the default and recommended name is External NAT, but
    /// you can use any arbitrary string, such as My external IP orNetwork Access. In ipv6AccessConfigs, the
    /// recommend name is External IPv6.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Applies to accessConfigs (IPv4) only. Anexternal IP
    /// address associated with this instance. Specify an unused static
    /// external IP address available to the project or leave this field undefined
    /// to use an IP from a shared ephemeral IP address pool. If you specify a
    /// static external IP address, it must live in the same region as the zone of
    /// the instance.
    #[prost(string, optional, tag = "117634556")]
    pub nat_i_p: ::core::option::Option<::prost::alloc::string::String>,
    /// This signifies the networking tier used for configuring this access
    /// configuration and can only take the following values: PREMIUM,STANDARD.
    ///
    /// If an AccessConfig is specified without a valid external IP address, an
    /// ephemeral IP will be created with this networkTier.
    ///
    /// If an AccessConfig with a valid external IP address is specified, it must
    /// match that of the networkTier associated with the Address resource owning
    /// that IP.
    /// Check the NetworkTier enum for the list of possible values.
    #[prost(string, optional, tag = "517397843")]
    pub network_tier: ::core::option::Option<::prost::alloc::string::String>,
    /// The DNS domain name for the public PTR record.
    ///
    /// You can set this field only if the `setPublicPtr` field is enabled inaccessConfig. If this field is unspecified inipv6AccessConfig, a default PTR record will be created for
    /// first IP in associated external IPv6 range.
    #[prost(string, optional, tag = "316599167")]
    pub public_ptr_domain_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The resource URL for the security policy associated with this access
    /// config.
    #[prost(string, optional, tag = "171082513")]
    pub security_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether a public DNS 'PTR' record should be created to map the
    /// external IP address of the instance to a DNS domain name.
    ///
    /// This field is not used in ipv6AccessConfig. A default PTR
    /// record will be created if the VM has external IPv6 range associated.
    #[prost(bool, optional, tag = "523870229")]
    pub set_public_ptr: ::core::option::Option<bool>,
    /// The type of configuration. In accessConfigs (IPv4), the
    /// default and only option is ONE_TO_ONE_NAT. Inipv6AccessConfigs, the default and only option isDIRECT_IPV6.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AccessConfig`.
pub mod access_config {
    /// This signifies the networking tier used for configuring this access
    /// configuration and can only take the following values: PREMIUM,STANDARD.
    ///
    /// If an AccessConfig is specified without a valid external IP address, an
    /// ephemeral IP will be created with this networkTier.
    ///
    /// If an AccessConfig with a valid external IP address is specified, it must
    /// match that of the networkTier associated with the Address resource owning
    /// that IP.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NetworkTier {
        /// A value indicating that the enum field is not set.
        UndefinedNetworkTier = 0,
        /// Public internet quality with fixed bandwidth.
        FixedStandard = 310464328,
        /// High quality, Google-grade network tier, support for all networking
        /// products.
        Premium = 399530551,
        /// Public internet quality, only limited support for other networking
        /// products.
        Standard = 484642493,
        /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
        /// is expired or not configured.
        StandardOverridesFixedStandard = 465847234,
    }
    impl NetworkTier {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNetworkTier => "UNDEFINED_NETWORK_TIER",
                Self::FixedStandard => "FIXED_STANDARD",
                Self::Premium => "PREMIUM",
                Self::Standard => "STANDARD",
                Self::StandardOverridesFixedStandard => {
                    "STANDARD_OVERRIDES_FIXED_STANDARD"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NETWORK_TIER" => Some(Self::UndefinedNetworkTier),
                "FIXED_STANDARD" => Some(Self::FixedStandard),
                "PREMIUM" => Some(Self::Premium),
                "STANDARD" => Some(Self::Standard),
                "STANDARD_OVERRIDES_FIXED_STANDARD" => {
                    Some(Self::StandardOverridesFixedStandard)
                }
                _ => None,
            }
        }
    }
    /// The type of configuration. In accessConfigs (IPv4), the
    /// default and only option is ONE_TO_ONE_NAT. Inipv6AccessConfigs, the default and only option isDIRECT_IPV6.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        DirectIpv6 = 4397213,
        OneToOneNat = 84090205,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::DirectIpv6 => "DIRECT_IPV6",
                Self::OneToOneNat => "ONE_TO_ONE_NAT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "DIRECT_IPV6" => Some(Self::DirectIpv6),
                "ONE_TO_ONE_NAT" => Some(Self::OneToOneNat),
                _ => None,
            }
        }
    }
}
/// A request message for Instances.AddAccessConfig. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddAccessConfigInstanceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "387825552")]
    pub access_config_resource: ::core::option::Option<AccessConfig>,
    /// The instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The name of the network interface to add to this instance.
    #[prost(string, tag = "365387880")]
    pub network_interface: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for FirewallPolicies.AddAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddAssociationFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259546170")]
    pub firewall_policy_association_resource: ::core::option::Option<
        FirewallPolicyAssociation,
    >,
    /// Indicates whether or not to replace it if an association of the attachment
    /// already exists. This is false by default, in which case an error will be
    /// returned if an association already exists.
    #[prost(bool, optional, tag = "209541240")]
    pub replace_existing_association: ::core::option::Option<bool>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkFirewallPolicies.AddAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddAssociationNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259546170")]
    pub firewall_policy_association_resource: ::core::option::Option<
        FirewallPolicyAssociation,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Indicates whether or not to replace it if an association of the attachment
    /// already exists. This is false by default, in which case an error will be
    /// returned if an association already exists.
    #[prost(bool, optional, tag = "209541240")]
    pub replace_existing_association: ::core::option::Option<bool>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for OrganizationSecurityPolicies.AddAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddAssociationOrganizationSecurityPolicyRequest {
    /// Indicates whether or not to replace it if an association of the attachment
    /// already exists. This is false by default, in which case an error will be
    /// returned if an association already exists.
    #[prost(bool, optional, tag = "209541240")]
    pub replace_existing_association: ::core::option::Option<bool>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "11761274")]
    pub security_policy_association_resource: ::core::option::Option<
        SecurityPolicyAssociation,
    >,
}
/// A request message for RegionNetworkFirewallPolicies.AddAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddAssociationRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259546170")]
    pub firewall_policy_association_resource: ::core::option::Option<
        FirewallPolicyAssociation,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Indicates whether or not to replace it if an association already exists.
    /// This is false by default, in which case an error will be returned if an
    /// association already exists.
    #[prost(bool, optional, tag = "209541240")]
    pub replace_existing_association: ::core::option::Option<bool>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for TargetPools.AddHealthCheck. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddHealthCheckTargetPoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the target pool to add a health check to.
    #[prost(string, tag = "62796298")]
    pub target_pool: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "269573412")]
    pub target_pools_add_health_check_request_resource: ::core::option::Option<
        TargetPoolsAddHealthCheckRequest,
    >,
}
/// A request message for TargetPools.AddInstance. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddInstanceTargetPoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetPool resource to add instances to.
    #[prost(string, tag = "62796298")]
    pub target_pool: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "428796404")]
    pub target_pools_add_instance_request_resource: ::core::option::Option<
        TargetPoolsAddInstanceRequest,
    >,
}
/// A request message for InstanceGroups.AddInstances. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddInstancesInstanceGroupRequest {
    /// The name of the instance group where you are adding instances.
    #[prost(string, tag = "81095253")]
    pub instance_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "453713246")]
    pub instance_groups_add_instances_request_resource: ::core::option::Option<
        InstanceGroupsAddInstancesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone
    /// where the instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.AddNetworkInterface. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddNetworkInterfaceInstanceRequest {
    /// The instance name for this request stored as resource_id.
    /// Name should conform to RFC1035 or be an unsigned long integer.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "325814789")]
    pub network_interface_resource: ::core::option::Option<NetworkInterface>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NodeGroups.AddNodes. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddNodesNodeGroupRequest {
    /// Name of the NodeGroup resource.
    #[prost(string, tag = "469958146")]
    pub node_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "131263288")]
    pub node_groups_add_nodes_request_resource: ::core::option::Option<
        NodeGroupsAddNodesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NetworkFirewallPolicies.AddPacketMirroringRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddPacketMirroringRuleNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "250523523")]
    pub firewall_policy_rule_resource: ::core::option::Option<FirewallPolicyRule>,
    /// When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.
    /// This field is exclusive with rule.priority.
    #[prost(int32, optional, tag = "329635359")]
    pub max_priority: ::core::option::Option<i32>,
    /// When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.
    /// This field is exclusive with rule.priority.
    #[prost(int32, optional, tag = "267190513")]
    pub min_priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Networks.AddPeering. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddPeeringNetworkRequest {
    /// Name of the network resource to add peering to.
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "388810421")]
    pub networks_add_peering_request_resource: ::core::option::Option<
        NetworksAddPeeringRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Disks.AddResourcePolicies. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddResourcePoliciesDiskRequest {
    /// The disk name for this request.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "496483363")]
    pub disks_add_resource_policies_request_resource: ::core::option::Option<
        DisksAddResourcePoliciesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.AddResourcePolicies. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddResourcePoliciesInstanceRequest {
    /// The instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "489351963")]
    pub instances_add_resource_policies_request_resource: ::core::option::Option<
        InstancesAddResourcePoliciesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.AddResourcePolicies. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddResourcePoliciesRegionDiskRequest {
    /// The disk name for this request.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "284196750")]
    pub region_disks_add_resource_policies_request_resource: ::core::option::Option<
        RegionDisksAddResourcePoliciesRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for FirewallPolicies.AddRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddRuleFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "250523523")]
    pub firewall_policy_rule_resource: ::core::option::Option<FirewallPolicyRule>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkFirewallPolicies.AddRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddRuleNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "250523523")]
    pub firewall_policy_rule_resource: ::core::option::Option<FirewallPolicyRule>,
    /// When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.
    /// This field is exclusive with rule.priority.
    #[prost(int32, optional, tag = "329635359")]
    pub max_priority: ::core::option::Option<i32>,
    /// When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.
    /// This field is exclusive with rule.priority.
    #[prost(int32, optional, tag = "267190513")]
    pub min_priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for OrganizationSecurityPolicies.AddRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddRuleOrganizationSecurityPolicyRequest {
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "402693443")]
    pub security_policy_rule_resource: ::core::option::Option<SecurityPolicyRule>,
}
/// A request message for RegionNetworkFirewallPolicies.AddRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddRuleRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "250523523")]
    pub firewall_policy_rule_resource: ::core::option::Option<FirewallPolicyRule>,
    /// When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.
    /// This field is exclusive with rule.priority.
    #[prost(int32, optional, tag = "329635359")]
    pub max_priority: ::core::option::Option<i32>,
    /// When rule.priority is not specified, auto choose a unused priority betweenminPriority and maxPriority>.
    /// This field is exclusive with rule.priority.
    #[prost(int32, optional, tag = "267190513")]
    pub min_priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionSecurityPolicies.AddRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddRuleRegionSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "402693443")]
    pub security_policy_rule_resource: ::core::option::Option<SecurityPolicyRule>,
    /// If true, the request will not be committed.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
}
/// A request message for SecurityPolicies.AddRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddRuleSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "402693443")]
    pub security_policy_rule_resource: ::core::option::Option<SecurityPolicyRule>,
    /// If true, the request will not be committed.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
}
/// A request message for BackendBuckets.AddSignedUrlKey. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddSignedUrlKeyBackendBucketRequest {
    /// Name of the BackendBucket resource to which the Signed URL Key should be
    /// added. The name should conform to RFC1035.
    #[prost(string, tag = "91714037")]
    pub backend_bucket: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "457625985")]
    pub signed_url_key_resource: ::core::option::Option<SignedUrlKey>,
}
/// A request message for BackendServices.AddSignedUrlKey. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AddSignedUrlKeyBackendServiceRequest {
    /// Name of the BackendService resource to which the Signed URL Key should be
    /// added. The name should conform to RFC1035.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "457625985")]
    pub signed_url_key_resource: ::core::option::Option<SignedUrlKey>,
}
/// Represents an IP Address resource.
///
/// Google Compute Engine has two IP Address resources:
///
/// * [Global (external and
///   internal)](<https://cloud.google.com/compute/docs/reference/rest/v1/globalAddresses>)
/// * [Regional (external and
///   internal)](<https://cloud.google.com/compute/docs/reference/rest/v1/addresses>)
///
/// For more information, see
/// Reserving a static external IP address.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Address {
    /// The static IP address represented by this resource.
    #[prost(string, optional, tag = "462920692")]
    pub address: ::core::option::Option<::prost::alloc::string::String>,
    /// The type of address to reserve, either INTERNAL orEXTERNAL. If unspecified, defaults to EXTERNAL.
    /// Check the AddressType enum for the list of possible values.
    #[prost(string, optional, tag = "264307877")]
    pub address_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this field when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Reference to the source of external IPv4 addresses,
    /// like a PublicDelegatedPrefix (PDP) for BYOIP.
    /// The PDP must support enhanced IPv4 allocations.
    ///
    /// Use one of the following formats to specify a PDP when reserving an
    /// external IPv4 address using BYOIP.
    ///
    /// ```text
    /// -
    /// Full resource URL, as in<https://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name>
    /// -
    /// Partial URL, as in
    ///
    ///
    ///        - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name
    ///        - regions/region/publicDelegatedPrefixes/pdp-name
    /// ```
    #[prost(string, optional, tag = "176818358")]
    pub ip_collection: ::core::option::Option<::prost::alloc::string::String>,
    /// The IP version that will be used by this address. Valid options areIPV4 or IPV6.
    /// Check the IpVersion enum for the list of possible values.
    #[prost(string, optional, tag = "294959552")]
    pub ip_version: ::core::option::Option<::prost::alloc::string::String>,
    /// The endpoint type of this address, which should be VM
    /// or NETLB. This is used for deciding which type of endpoint
    /// this address can be used after the external IPv6 address reservation.
    /// Check the Ipv6EndpointType enum for the list of possible values.
    #[prost(string, optional, tag = "97501004")]
    pub ipv6_endpoint_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#address for
    /// addresses.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this Address, which is
    /// essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve an Address.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?`. The first character
    /// must be a lowercase letter, and all following characters (except for the
    /// last character) must be a dash, lowercase letter, or digit. The last
    /// character must be a lowercase letter or digit.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the network in which to reserve the address. This field can
    /// only be used with INTERNAL type with theVPC_PEERING purpose.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// This signifies the networking tier used for configuring this address and
    /// can only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier;
    /// global external IP addresses are always Premium Tier; regional external IP
    /// addresses can be either Standard or Premium Tier.
    ///
    /// If this field is not specified, it is assumed to be PREMIUM.
    /// Check the NetworkTier enum for the list of possible values.
    #[prost(string, optional, tag = "517397843")]
    pub network_tier: ::core::option::Option<::prost::alloc::string::String>,
    /// The prefix length if the resource represents an IP range.
    #[prost(int32, optional, tag = "453565747")]
    pub prefix_length: ::core::option::Option<i32>,
    /// The purpose of this resource, which can be one of the following values:
    ///
    /// ```text
    ///   - GCE_ENDPOINT for addresses that are used by VM
    ///   instances, alias IP ranges, load balancers, and similar resources.
    ///   - DNS_RESOLVER for a DNS resolver address in a subnetwork
    ///     for a Cloud DNS  inbound
    ///     forwarder IP addresses (regional internal IP address in a subnet of
    ///     a VPC network)
    ///   - VPC_PEERING for global internal IP addresses used for
    ///
    ///        private services access allocated ranges.
    ///   - NAT_AUTO for the regional external IP addresses used by
    ///        Cloud NAT when allocating addresses using
    ///
    ///        automatic NAT IP address allocation.
    ///   - IPSEC_INTERCONNECT for addresses created from a private
    ///   IP range that are reserved for a VLAN attachment in an
    ///   *HA VPN over Cloud Interconnect* configuration. These addresses
    ///   are regional resources.
    ///   - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned
    ///   to multiple internal forwarding rules.
    ///   - `PRIVATE_SERVICE_CONNECT` for a private network address that is
    ///   used to configure Private Service Connect. Only global internal addresses
    ///   can use this purpose.
    /// ```
    ///
    /// Check the Purpose enum for the list of possible values.
    #[prost(string, optional, tag = "316407070")]
    pub purpose: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL of the region where a regional address resides.
    /// For regional addresses, you must specify the region as a path parameter in
    /// the HTTP request URL. *This field is not applicable to global
    /// addresses.*
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE.
    /// An address that is RESERVING is currently in the process of
    /// being reserved. A RESERVED address is currently reserved and
    /// available to use. An IN_USE address is currently being used
    /// by another resource and is not available.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the subnetwork in which to reserve the address. If an IP address
    /// is specified, it must be within the subnetwork's IP range. This field can
    /// only be used with INTERNAL type with aGCE_ENDPOINT or DNS_RESOLVER purpose.
    #[prost(string, optional, tag = "307827694")]
    pub subnetwork: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The URLs of the resources that are using this address.
    #[prost(string, repeated, tag = "111578632")]
    pub users: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Address`.
pub mod address {
    /// The type of address to reserve, either INTERNAL orEXTERNAL. If unspecified, defaults to EXTERNAL.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AddressType {
        /// A value indicating that the enum field is not set.
        UndefinedAddressType = 0,
        /// A publicly visible external IP address.
        External = 35607499,
        /// A private network IP address, for use with an Instance or Internal Load
        /// Balancer forwarding rule.
        Internal = 279295677,
        UnspecifiedType = 53933922,
    }
    impl AddressType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAddressType => "UNDEFINED_ADDRESS_TYPE",
                Self::External => "EXTERNAL",
                Self::Internal => "INTERNAL",
                Self::UnspecifiedType => "UNSPECIFIED_TYPE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ADDRESS_TYPE" => Some(Self::UndefinedAddressType),
                "EXTERNAL" => Some(Self::External),
                "INTERNAL" => Some(Self::Internal),
                "UNSPECIFIED_TYPE" => Some(Self::UnspecifiedType),
                _ => None,
            }
        }
    }
    /// The IP version that will be used by this address. Valid options areIPV4 or IPV6.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum IpVersion {
        /// A value indicating that the enum field is not set.
        UndefinedIpVersion = 0,
        Ipv4 = 2254341,
        Ipv6 = 2254343,
        UnspecifiedVersion = 21850000,
    }
    impl IpVersion {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpVersion => "UNDEFINED_IP_VERSION",
                Self::Ipv4 => "IPV4",
                Self::Ipv6 => "IPV6",
                Self::UnspecifiedVersion => "UNSPECIFIED_VERSION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IP_VERSION" => Some(Self::UndefinedIpVersion),
                "IPV4" => Some(Self::Ipv4),
                "IPV6" => Some(Self::Ipv6),
                "UNSPECIFIED_VERSION" => Some(Self::UnspecifiedVersion),
                _ => None,
            }
        }
    }
    /// The endpoint type of this address, which should be VM
    /// or NETLB. This is used for deciding which type of endpoint
    /// this address can be used after the external IPv6 address reservation.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Ipv6EndpointType {
        /// A value indicating that the enum field is not set.
        UndefinedIpv6EndpointType = 0,
        /// Reserved IPv6 address can be used on network load balancer.
        Netlb = 74173363,
        /// Reserved IPv6 address can be used on VM.
        Vm = 2743,
    }
    impl Ipv6EndpointType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpv6EndpointType => "UNDEFINED_IPV6_ENDPOINT_TYPE",
                Self::Netlb => "NETLB",
                Self::Vm => "VM",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IPV6_ENDPOINT_TYPE" => Some(Self::UndefinedIpv6EndpointType),
                "NETLB" => Some(Self::Netlb),
                "VM" => Some(Self::Vm),
                _ => None,
            }
        }
    }
    /// This signifies the networking tier used for configuring this address and
    /// can only take the following values: PREMIUM orSTANDARD. Internal IP addresses are always Premium Tier;
    /// global external IP addresses are always Premium Tier; regional external IP
    /// addresses can be either Standard or Premium Tier.
    ///
    /// If this field is not specified, it is assumed to be PREMIUM.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NetworkTier {
        /// A value indicating that the enum field is not set.
        UndefinedNetworkTier = 0,
        /// Public internet quality with fixed bandwidth.
        FixedStandard = 310464328,
        /// High quality, Google-grade network tier, support for all networking
        /// products.
        Premium = 399530551,
        /// Public internet quality, only limited support for other networking
        /// products.
        Standard = 484642493,
        /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
        /// is expired or not configured.
        StandardOverridesFixedStandard = 465847234,
    }
    impl NetworkTier {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNetworkTier => "UNDEFINED_NETWORK_TIER",
                Self::FixedStandard => "FIXED_STANDARD",
                Self::Premium => "PREMIUM",
                Self::Standard => "STANDARD",
                Self::StandardOverridesFixedStandard => {
                    "STANDARD_OVERRIDES_FIXED_STANDARD"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NETWORK_TIER" => Some(Self::UndefinedNetworkTier),
                "FIXED_STANDARD" => Some(Self::FixedStandard),
                "PREMIUM" => Some(Self::Premium),
                "STANDARD" => Some(Self::Standard),
                "STANDARD_OVERRIDES_FIXED_STANDARD" => {
                    Some(Self::StandardOverridesFixedStandard)
                }
                _ => None,
            }
        }
    }
    /// The purpose of this resource, which can be one of the following values:
    ///
    /// ```text
    ///   - GCE_ENDPOINT for addresses that are used by VM
    ///   instances, alias IP ranges, load balancers, and similar resources.
    ///   - DNS_RESOLVER for a DNS resolver address in a subnetwork
    ///     for a Cloud DNS  inbound
    ///     forwarder IP addresses (regional internal IP address in a subnet of
    ///     a VPC network)
    ///   - VPC_PEERING for global internal IP addresses used for
    ///
    ///        private services access allocated ranges.
    ///   - NAT_AUTO for the regional external IP addresses used by
    ///        Cloud NAT when allocating addresses using
    ///
    ///        automatic NAT IP address allocation.
    ///   - IPSEC_INTERCONNECT for addresses created from a private
    ///   IP range that are reserved for a VLAN attachment in an
    ///   *HA VPN over Cloud Interconnect* configuration. These addresses
    ///   are regional resources.
    ///   - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned
    ///   to multiple internal forwarding rules.
    ///   - `PRIVATE_SERVICE_CONNECT` for a private network address that is
    ///   used to configure Private Service Connect. Only global internal addresses
    ///   can use this purpose.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Purpose {
        /// A value indicating that the enum field is not set.
        UndefinedPurpose = 0,
        /// DNS resolver address in the subnetwork.
        DnsResolver = 476114556,
        /// VM internal/alias IP, Internal LB service IP, etc.
        GceEndpoint = 230515243,
        /// A regional internal IP address range reserved for the VLAN attachment
        /// that is used in HA VPN over Cloud Interconnect. This regional
        /// internal IP address range must not overlap with any IP address range
        /// of subnet/route in the VPC network and its peering networks. After the
        /// VLAN attachment is created with the reserved IP address range, when
        /// creating a new VPN gateway, its interface IP address is allocated
        /// from the associated VLAN attachment’s IP address range.
        IpsecInterconnect = 340437251,
        /// External IP automatically reserved for Cloud NAT.
        NatAuto = 163666477,
        /// A private network IP address that can be used to configure Private
        /// Service Connect. This purpose can be specified only forGLOBAL addresses of Type INTERNAL
        PrivateServiceConnect = 48134724,
        /// A regional internal IP address range reserved for Serverless.
        Serverless = 270492508,
        /// A private network IP address that can be shared by multiple Internal
        /// Load Balancer forwarding rules.
        SharedLoadbalancerVip = 294447572,
        /// IP range for peer networks.
        VpcPeering = 400800170,
    }
    impl Purpose {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPurpose => "UNDEFINED_PURPOSE",
                Self::DnsResolver => "DNS_RESOLVER",
                Self::GceEndpoint => "GCE_ENDPOINT",
                Self::IpsecInterconnect => "IPSEC_INTERCONNECT",
                Self::NatAuto => "NAT_AUTO",
                Self::PrivateServiceConnect => "PRIVATE_SERVICE_CONNECT",
                Self::Serverless => "SERVERLESS",
                Self::SharedLoadbalancerVip => "SHARED_LOADBALANCER_VIP",
                Self::VpcPeering => "VPC_PEERING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PURPOSE" => Some(Self::UndefinedPurpose),
                "DNS_RESOLVER" => Some(Self::DnsResolver),
                "GCE_ENDPOINT" => Some(Self::GceEndpoint),
                "IPSEC_INTERCONNECT" => Some(Self::IpsecInterconnect),
                "NAT_AUTO" => Some(Self::NatAuto),
                "PRIVATE_SERVICE_CONNECT" => Some(Self::PrivateServiceConnect),
                "SERVERLESS" => Some(Self::Serverless),
                "SHARED_LOADBALANCER_VIP" => Some(Self::SharedLoadbalancerVip),
                "VPC_PEERING" => Some(Self::VpcPeering),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE.
    /// An address that is RESERVING is currently in the process of
    /// being reserved. A RESERVED address is currently reserved and
    /// available to use. An IN_USE address is currently being used
    /// by another resource and is not available.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Address is being used by another resource and is not available.
        InUse = 17393485,
        /// Address is reserved and available to use.
        Reserved = 432241448,
        /// Address is being reserved.
        Reserving = 514587225,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::InUse => "IN_USE",
                Self::Reserved => "RESERVED",
                Self::Reserving => "RESERVING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "IN_USE" => Some(Self::InUse),
                "RESERVED" => Some(Self::Reserved),
                "RESERVING" => Some(Self::Reserving),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddressAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of AddressesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        AddressesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#addressAggregatedList for aggregated lists of
    /// addresses.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of addresses.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddressList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Address resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Address>,
    /// Output only. \[Output Only\] Type of resource. Always compute#addressList for
    /// lists of addresses.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddressesScopedList {
    /// \[Output Only\] A list of addresses contained in this scope.
    #[prost(message, repeated, tag = "337673122")]
    pub addresses: ::prost::alloc::vec::Vec<Address>,
    /// \[Output Only\] Informational warning which replaces the list of addresses
    /// when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Specifies options for controlling advanced machine features.
/// Options that would traditionally be configured in a BIOS belong
/// here. Features that require operating system support may have
/// corresponding entries in the GuestOsFeatures of anImage (e.g., whether or not the OS in theImage supports nested virtualization being enabled or
/// disabled).
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AdvancedMachineFeatures {
    /// Whether to enable nested virtualization or not (default is false).
    #[prost(bool, optional, tag = "16639365")]
    pub enable_nested_virtualization: ::core::option::Option<bool>,
    /// Whether to enable UEFI networking for instance creation.
    #[prost(bool, optional, tag = "334485668")]
    pub enable_uefi_networking: ::core::option::Option<bool>,
    /// Type of Performance Monitoring Unit requested on instance.
    /// Check the PerformanceMonitoringUnit enum for the list of possible values.
    #[prost(string, optional, tag = "533618956")]
    pub performance_monitoring_unit: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// The number of threads per physical core. To disable simultaneous
    /// multithreading (SMT) set this to 1. If unset, the maximum number
    /// of threads supported per core by the underlying processor is
    /// assumed.
    #[prost(int32, optional, tag = "352611671")]
    pub threads_per_core: ::core::option::Option<i32>,
    /// Turbo frequency mode to use for the instance.
    /// Supported modes include:
    ///
    /// * ALL_CORE_MAX
    ///
    /// Using empty string or not setting this field will use the platform-specific
    /// default turbo mode.
    #[prost(string, optional, tag = "432965412")]
    pub turbo_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// The number of physical cores to expose to an instance. Multiply by
    /// the number of threads per core to compute the total number of virtual
    /// CPUs to expose to the instance. If unset, the number of cores is
    /// inferred from the instance's nominal CPU count and the underlying
    /// platform's SMT width.
    #[prost(int32, optional, tag = "193198684")]
    pub visible_core_count: ::core::option::Option<i32>,
}
/// Nested message and enum types in `AdvancedMachineFeatures`.
pub mod advanced_machine_features {
    /// Type of Performance Monitoring Unit requested on instance.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PerformanceMonitoringUnit {
        /// A value indicating that the enum field is not set.
        UndefinedPerformanceMonitoringUnit = 0,
        /// Architecturally defined non-LLC events.
        Architectural = 155113693,
        /// Most documented core/L2 and LLC events.
        Enhanced = 476873590,
        Unspecified = 429210692,
        /// Most documented core/L2 events.
        Standard = 484642493,
    }
    impl PerformanceMonitoringUnit {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPerformanceMonitoringUnit => {
                    "UNDEFINED_PERFORMANCE_MONITORING_UNIT"
                }
                Self::Architectural => "ARCHITECTURAL",
                Self::Enhanced => "ENHANCED",
                Self::Unspecified => "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED",
                Self::Standard => "STANDARD",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PERFORMANCE_MONITORING_UNIT" => {
                    Some(Self::UndefinedPerformanceMonitoringUnit)
                }
                "ARCHITECTURAL" => Some(Self::Architectural),
                "ENHANCED" => Some(Self::Enhanced),
                "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED" => Some(Self::Unspecified),
                "STANDARD" => Some(Self::Standard),
                _ => None,
            }
        }
    }
}
/// A request message for AcceleratorTypes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListAcceleratorTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for Addresses.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListAddressesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for Autoscalers.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListAutoscalersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for BackendBuckets.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListBackendBucketsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for BackendServices.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListBackendServicesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for DiskTypes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListDiskTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for Disks.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListDisksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for ForwardingRules.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListForwardingRulesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for FutureReservations.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListFutureReservationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for GlobalOperations.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListGlobalOperationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for HealthChecks.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListHealthChecksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for InstanceGroupManagers.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for InstanceGroups.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListInstanceGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for InstanceTemplates.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListInstanceTemplatesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for Instances.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListInstancesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for InstantSnapshots.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListInstantSnapshotsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for InterconnectAttachments.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListInterconnectAttachmentsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for MachineTypes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListMachineTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for NetworkAttachments.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListNetworkAttachmentsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for NetworkEdgeSecurityServices.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListNetworkEdgeSecurityServicesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for NetworkEndpointGroups.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for NetworkFirewallPolicies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListNetworkFirewallPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for NodeGroups.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListNodeGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for NodeTemplates.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListNodeTemplatesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for NodeTypes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListNodeTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for PacketMirrorings.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListPacketMirroringsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for PublicDelegatedPrefixes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListPublicDelegatedPrefixesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for RegionCommitments.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListRegionCommitmentsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for RegionCompositeHealthChecks.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListRegionCompositeHealthChecksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for RegionHealthAggregationPolicies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListRegionHealthAggregationPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for RegionHealthCheckServices.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListRegionHealthCheckServicesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for RegionHealthSources.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListRegionHealthSourcesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for RegionNotificationEndpoints.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListRegionNotificationEndpointsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for Reservations.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListReservationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for ResourcePolicies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListResourcePoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for Routers.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListRoutersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for SecurityPolicies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListSecurityPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for ServiceAttachments.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListServiceAttachmentsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for SslCertificates.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListSslCertificatesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for SslPolicies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListSslPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for StoragePoolTypes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListStoragePoolTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for StoragePools.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListStoragePoolsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for Subnetworks.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListSubnetworksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
    /// Defines the extra views returned back in the subnetwork resource.
    /// Supported values:
    ///
    /// ```text
    /// - WITH_UTILIZATION: Utilization data is included in the
    /// response.
    /// ```
    ///
    /// Check the Views enum for the list of possible values.
    #[prost(string, optional, tag = "112204398")]
    pub views: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AggregatedListSubnetworksRequest`.
pub mod aggregated_list_subnetworks_request {
    /// Defines the extra views returned back in the subnetwork resource.
    /// Supported values:
    ///
    /// ```text
    /// - WITH_UTILIZATION: Utilization data is included in the
    /// response.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Views {
        /// A value indicating that the enum field is not set.
        UndefinedViews = 0,
        Default = 115302945,
        /// Utilization data is included in the response.
        WithUtilization = 504090633,
    }
    impl Views {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedViews => "UNDEFINED_VIEWS",
                Self::Default => "DEFAULT",
                Self::WithUtilization => "WITH_UTILIZATION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_VIEWS" => Some(Self::UndefinedViews),
                "DEFAULT" => Some(Self::Default),
                "WITH_UTILIZATION" => Some(Self::WithUtilization),
                _ => None,
            }
        }
    }
}
/// A request message for TargetHttpProxies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListTargetHttpProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for TargetHttpsProxies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListTargetHttpsProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for TargetInstances.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListTargetInstancesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for TargetPools.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListTargetPoolsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for TargetTcpProxies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListTargetTcpProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for TargetVpnGateways.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListTargetVpnGatewaysRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for UrlMaps.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListUrlMapsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for VpnGateways.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListVpnGatewaysRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// A request message for VpnTunnels.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AggregatedListVpnTunnelsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether every visible scope for each scope type (zone, region,
    /// global) should be included in the response. For new resource types added
    /// after this field, the flag has no effect as new resource types will always
    /// include every visible scope for each scope type in response. For resource
    /// types which predate this field, if this flag is omitted or false, only
    /// scopes of the scope types where the resource type is expected to be found
    /// will be included.
    #[prost(bool, optional, tag = "391327988")]
    pub include_all_scopes: ::core::option::Option<bool>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The Shared VPC service project id or service project number for which
    /// aggregated list request is invoked for subnetworks list-usable api.
    #[prost(int64, optional, tag = "316757497")]
    pub service_project_number: ::core::option::Option<i64>,
}
/// An alias IP range attached to an instance's network interface.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AliasIpRange {
    /// The IP alias ranges to allocate for this interface. This IP CIDR range
    /// must belong to the specified subnetwork and cannot contain IP addresses
    /// reserved by system or used by other network interfaces. This range may be
    /// a single IP address (such as 10.2.3.4), a netmask (such as/24) or a CIDR-formatted string (such as10.1.2.0/24).
    #[prost(string, optional, tag = "98117322")]
    pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of a subnetwork secondary IP range from which to allocate an IP
    /// alias range. If not specified, the primary range of the subnetwork is used.
    #[prost(string, optional, tag = "387995966")]
    pub subnetwork_range_name: ::core::option::Option<::prost::alloc::string::String>,
}
/// This reservation type is specified by total resource amounts (e.g. total
/// count of CPUs) and can account for multiple instance SKUs. In other words,
/// one can create instances of varying shapes against this reservation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AllocationAggregateReservation {
    /// Output only. \[Output only\] List of resources currently in use.
    #[prost(message, repeated, tag = "409009107")]
    pub in_use_resources: ::prost::alloc::vec::Vec<
        AllocationAggregateReservationReservedResourceInfo,
    >,
    /// List of reserved resources (CPUs, memory, accelerators).
    #[prost(message, repeated, tag = "213217742")]
    pub reserved_resources: ::prost::alloc::vec::Vec<
        AllocationAggregateReservationReservedResourceInfo,
    >,
    /// The VM family that all instances scheduled against this reservation must
    /// belong to.
    /// Check the VmFamily enum for the list of possible values.
    #[prost(string, optional, tag = "125017580")]
    pub vm_family: ::core::option::Option<::prost::alloc::string::String>,
    /// The workload type of the instances that will target this reservation.
    /// Check the WorkloadType enum for the list of possible values.
    #[prost(string, optional, tag = "273432322")]
    pub workload_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AllocationAggregateReservation`.
pub mod allocation_aggregate_reservation {
    /// The VM family that all instances scheduled against this reservation must
    /// belong to.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum VmFamily {
        /// A value indicating that the enum field is not set.
        UndefinedVmFamily = 0,
        CloudTpuDeviceCt3 = 42845948,
        CloudTpuLiteDeviceCt5l = 108020067,
        CloudTpuLitePodSliceCt5lp = 18705267,
        CloudTpuLitePodSliceCt6e = 398926997,
        CloudTpuPodSliceCt3p = 517384376,
        CloudTpuPodSliceCt4p = 517384407,
        CloudTpuPodSliceCt5p = 517384438,
        CloudTpuPodSliceTpu7x = 485271888,
    }
    impl VmFamily {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedVmFamily => "UNDEFINED_VM_FAMILY",
                Self::CloudTpuDeviceCt3 => "VM_FAMILY_CLOUD_TPU_DEVICE_CT3",
                Self::CloudTpuLiteDeviceCt5l => "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L",
                Self::CloudTpuLitePodSliceCt5lp => {
                    "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP"
                }
                Self::CloudTpuLitePodSliceCt6e => {
                    "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E"
                }
                Self::CloudTpuPodSliceCt3p => "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P",
                Self::CloudTpuPodSliceCt4p => "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P",
                Self::CloudTpuPodSliceCt5p => "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P",
                Self::CloudTpuPodSliceTpu7x => "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_VM_FAMILY" => Some(Self::UndefinedVmFamily),
                "VM_FAMILY_CLOUD_TPU_DEVICE_CT3" => Some(Self::CloudTpuDeviceCt3),
                "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L" => {
                    Some(Self::CloudTpuLiteDeviceCt5l)
                }
                "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP" => {
                    Some(Self::CloudTpuLitePodSliceCt5lp)
                }
                "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E" => {
                    Some(Self::CloudTpuLitePodSliceCt6e)
                }
                "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P" => Some(Self::CloudTpuPodSliceCt3p),
                "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P" => Some(Self::CloudTpuPodSliceCt4p),
                "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P" => Some(Self::CloudTpuPodSliceCt5p),
                "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X" => {
                    Some(Self::CloudTpuPodSliceTpu7x)
                }
                _ => None,
            }
        }
    }
    /// The workload type of the instances that will target this reservation.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum WorkloadType {
        /// A value indicating that the enum field is not set.
        UndefinedWorkloadType = 0,
        /// Reserved resources will be optimized for BATCH workloads, such as ML
        /// training.
        Batch = 62971674,
        /// Reserved resources will be optimized for SERVING workloads, such as ML
        /// inference.
        Serving = 17781740,
        Unspecified = 526786327,
    }
    impl WorkloadType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedWorkloadType => "UNDEFINED_WORKLOAD_TYPE",
                Self::Batch => "BATCH",
                Self::Serving => "SERVING",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_WORKLOAD_TYPE" => Some(Self::UndefinedWorkloadType),
                "BATCH" => Some(Self::Batch),
                "SERVING" => Some(Self::Serving),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AllocationAggregateReservationReservedResourceInfo {
    /// Properties of accelerator resources in this reservation.
    #[prost(message, optional, tag = "424338027")]
    pub accelerator: ::core::option::Option<
        AllocationAggregateReservationReservedResourceInfoAccelerator,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AllocationAggregateReservationReservedResourceInfoAccelerator {
    /// Number of accelerators of specified type.
    #[prost(int32, optional, tag = "504879675")]
    pub accelerator_count: ::core::option::Option<i32>,
    /// Full or partial URL to accelerator type. e.g.
    /// "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l"
    #[prost(string, optional, tag = "138031246")]
    pub accelerator_type: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AllocationReservationSharingPolicy {
    /// Sharing config for all Google Cloud services.
    /// Check the ServiceShareType enum for the list of possible values.
    #[prost(string, optional, tag = "514508644")]
    pub service_share_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AllocationReservationSharingPolicy`.
pub mod allocation_reservation_sharing_policy {
    /// Sharing config for all Google Cloud services.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ServiceShareType {
        /// A value indicating that the enum field is not set.
        UndefinedServiceShareType = 0,
        /// Allow all Google Cloud managed services to share reservations.
        AllowAll = 475536235,
        /// \[Default\] Disallow sharing with all Google Cloud services.
        DisallowAll = 277786301,
        Unspecified = 279057148,
    }
    impl ServiceShareType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedServiceShareType => "UNDEFINED_SERVICE_SHARE_TYPE",
                Self::AllowAll => "ALLOW_ALL",
                Self::DisallowAll => "DISALLOW_ALL",
                Self::Unspecified => "SERVICE_SHARE_TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SERVICE_SHARE_TYPE" => Some(Self::UndefinedServiceShareType),
                "ALLOW_ALL" => Some(Self::AllowAll),
                "DISALLOW_ALL" => Some(Self::DisallowAll),
                "SERVICE_SHARE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// \[Output Only\] Contains output only fields.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AllocationResourceStatus {
    /// \[Output only\] Health information for the reservation.
    #[prost(message, optional, tag = "235287729")]
    pub health_info: ::core::option::Option<AllocationResourceStatusHealthInfo>,
    /// The number of reservation blocks associated with this reservation.
    #[prost(int32, optional, tag = "161835754")]
    pub reservation_block_count: ::core::option::Option<i32>,
    /// Maintenance information for this reservation
    #[prost(message, optional, tag = "340607776")]
    pub reservation_maintenance: ::core::option::Option<GroupMaintenanceInfo>,
    /// Allocation Properties of this reservation.
    #[prost(message, optional, tag = "196231151")]
    pub specific_sku_allocation: ::core::option::Option<
        AllocationResourceStatusSpecificSkuAllocation,
    >,
}
/// Health information for the reservation.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AllocationResourceStatusHealthInfo {
    /// The number of reservation blocks that are degraded.
    #[prost(int32, optional, tag = "514082636")]
    pub degraded_block_count: ::core::option::Option<i32>,
    /// The health status of the reservation.
    /// Check the HealthStatus enum for the list of possible values.
    #[prost(string, optional, tag = "380545845")]
    pub health_status: ::core::option::Option<::prost::alloc::string::String>,
    /// The number of reservation blocks that are healthy.
    #[prost(int32, optional, tag = "223625019")]
    pub healthy_block_count: ::core::option::Option<i32>,
}
/// Nested message and enum types in `AllocationResourceStatusHealthInfo`.
pub mod allocation_resource_status_health_info {
    /// The health status of the reservation.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum HealthStatus {
        /// A value indicating that the enum field is not set.
        UndefinedHealthStatus = 0,
        /// The reservation is degraded.
        Degraded = 396890926,
        /// The reservation is healthy.
        Healthy = 439801213,
        /// The health status of the reservation is unspecified.
        Unspecified = 482246925,
    }
    impl HealthStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedHealthStatus => "UNDEFINED_HEALTH_STATUS",
                Self::Degraded => "DEGRADED",
                Self::Healthy => "HEALTHY",
                Self::Unspecified => "HEALTH_STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_HEALTH_STATUS" => Some(Self::UndefinedHealthStatus),
                "DEGRADED" => Some(Self::Degraded),
                "HEALTHY" => Some(Self::Healthy),
                "HEALTH_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Contains Properties set for the reservation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AllocationResourceStatusSpecificSkuAllocation {
    /// ID of the instance template used to populate reservation properties.
    #[prost(string, optional, tag = "111196154")]
    pub source_instance_template_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Per service utilization breakdown. The Key is the Google Cloud managed
    /// service name.
    #[prost(map = "string, int64", tag = "402495121")]
    pub utilizations: ::std::collections::HashMap<::prost::alloc::string::String, i64>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk {
    /// Specifies the size of the disk in base-2 GB.
    #[prost(int64, optional, tag = "316263735")]
    pub disk_size_gb: ::core::option::Option<i64>,
    /// Specifies the disk interface to use for attaching this disk, which is
    /// either SCSI or NVME. The default isSCSI.
    /// For performance characteristics of SCSI over NVMe, seeLocal SSD performance.
    /// Check the Interface enum for the list of possible values.
    #[prost(string, optional, tag = "502623545")]
    pub interface: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk`.
pub mod allocation_specific_sku_allocation_allocated_instance_properties_reserved_disk {
    /// Specifies the disk interface to use for attaching this disk, which is
    /// either SCSI or NVME. The default isSCSI.
    /// For performance characteristics of SCSI over NVMe, seeLocal SSD performance.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Interface {
        /// A value indicating that the enum field is not set.
        UndefinedInterface = 0,
        Nvme = 2408800,
        Scsi = 2539686,
    }
    impl Interface {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInterface => "UNDEFINED_INTERFACE",
                Self::Nvme => "NVME",
                Self::Scsi => "SCSI",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INTERFACE" => Some(Self::UndefinedInterface),
                "NVME" => Some(Self::Nvme),
                "SCSI" => Some(Self::Scsi),
                _ => None,
            }
        }
    }
}
/// Properties of the SKU instances being reserved.
/// Next ID: 10
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AllocationSpecificSkuAllocationReservedInstanceProperties {
    /// Specifies accelerator type and count.
    #[prost(message, repeated, tag = "463595119")]
    pub guest_accelerators: ::prost::alloc::vec::Vec<AcceleratorConfig>,
    /// Specifies amount of local ssd to reserve with each instance. The type
    /// of disk is local-ssd.
    #[prost(message, repeated, tag = "229951299")]
    pub local_ssds: ::prost::alloc::vec::Vec<
        AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk,
    >,
    /// An opaque location hint used to place the allocation close to other
    /// resources.
    /// This field is for use by internal tools that use the public API.
    #[prost(string, optional, tag = "350519505")]
    pub location_hint: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies type of machine (name only) which has fixed number of vCPUs
    /// and fixed amount of memory. This also includes specifying custom
    /// machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
    #[prost(string, optional, tag = "227711026")]
    pub machine_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Minimum cpu platform the reservation.
    #[prost(string, optional, tag = "242912759")]
    pub min_cpu_platform: ::core::option::Option<::prost::alloc::string::String>,
}
/// This reservation type allows to pre allocate specific instance
/// configuration.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AllocationSpecificSkuReservation {
    /// Output only. \[Output Only\] Indicates how many instances are actually usable currently.
    #[prost(int64, optional, tag = "281197645")]
    pub assured_count: ::core::option::Option<i64>,
    /// Specifies the number of resources that are allocated.
    #[prost(int64, optional, tag = "94851343")]
    pub count: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Indicates how many instances are in use.
    #[prost(int64, optional, tag = "493458877")]
    pub in_use_count: ::core::option::Option<i64>,
    /// The instance properties for the reservation.
    #[prost(message, optional, tag = "215355165")]
    pub instance_properties: ::core::option::Option<
        AllocationSpecificSkuAllocationReservedInstanceProperties,
    >,
    /// Specifies the instance template to create the reservation. If you use
    /// this field, you must exclude the instanceProperties field.
    ///
    /// This field is optional, and it can be a full or partial URL. For example,
    /// the following are all valid URLs to an instance template:
    ///
    /// ```text
    ///    - <https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate>
    ///    - projects/project/global/instanceTemplates/instanceTemplate
    ///    - global/instanceTemplates/instanceTemplate
    /// ```
    #[prost(string, optional, tag = "332423616")]
    pub source_instance_template: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Allowed {
    /// The IP protocol to which this rule applies. The protocol type is
    /// required when creating a firewall rule. This value can either be one of the
    /// following well known protocol strings (tcp, udp,icmp, esp, ah, ipip,sctp) or the IP protocol number.
    #[prost(string, optional, tag = "488094525")]
    pub i_p_protocol: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional list of ports to which this rule applies.
    /// This field is only applicable for the UDP or TCP protocol.
    /// Each entry must be either an integer or a range.
    /// If not specified, this rule applies to connections through any port.
    ///
    /// Example inputs include: \["22"\], \["80","443"\],
    /// and \["12345-12349"\].
    #[prost(string, repeated, tag = "106854418")]
    pub ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// A request message for PublicAdvertisedPrefixes.Announce. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AnnouncePublicAdvertisedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the public advertised prefix. It should comply with RFC1035.
    #[prost(string, tag = "101874590")]
    pub public_advertised_prefix: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for PublicDelegatedPrefixes.Announce. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AnnouncePublicDelegatedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the public delegated prefix. It should comply with RFC1035.
    #[prost(string, tag = "204238440")]
    pub public_delegated_prefix: ::prost::alloc::string::String,
    /// The name of theregion where
    /// the public delegated prefix is located. It should comply with RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ApplyUpdatesToInstancesInstanceGroupManagerRequest {
    /// The name of the managed instance group, should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259242835")]
    pub instance_group_managers_apply_updates_request_resource: ::core::option::Option<
        InstanceGroupManagersApplyUpdatesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of thezone
    /// where the managed instance group is located. Should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest {
    /// The name of the managed instance group, should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request, should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "76248318")]
    pub region_instance_group_managers_apply_updates_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersApplyUpdatesRequest,
    >,
}
/// A request message for Instances.AttachDisk. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttachDiskInstanceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "90605845")]
    pub attached_disk_resource: ::core::option::Option<AttachedDisk>,
    /// Whether to force attach the regional disk even if it's currently attached
    /// to another instance. If you try to force attach a zonal disk to an
    /// instance, you will receive an error.
    #[prost(bool, optional, tag = "142758425")]
    pub force_attach: ::core::option::Option<bool>,
    /// The instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for GlobalNetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "30691563")]
    pub global_network_endpoint_groups_attach_endpoints_request_resource: ::core::option::Option<
        GlobalNetworkEndpointGroupsAttachEndpointsRequest,
    >,
    /// The name of the network endpoint group where you are attaching network
    /// endpoints to. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttachNetworkEndpointsNetworkEndpointGroupRequest {
    /// The name of the network endpoint group where you are attaching network
    /// endpoints to. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "531079")]
    pub network_endpoint_groups_attach_endpoints_request_resource: ::core::option::Option<
        NetworkEndpointGroupsAttachEndpointsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone where
    /// the network endpoint group is located. It should comply with RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttachNetworkEndpointsRegionNetworkEndpointGroupRequest {
    /// The name of the network endpoint group where you are attaching network
    /// endpoints to. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region where
    /// you want to create the network endpoint group. It should comply with
    /// RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "334986492")]
    pub region_network_endpoint_groups_attach_endpoints_request_resource: ::core::option::Option<
        RegionNetworkEndpointGroupsAttachEndpointsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// An instance-attached disk resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttachedDisk {
    /// Output only. \[Output Only\] The architecture of the attached disk. Valid values are ARM64
    /// or X86_64.
    /// Check the Architecture enum for the list of possible values.
    #[prost(string, optional, tag = "302803283")]
    pub architecture: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether the disk will be auto-deleted when the instance is
    /// deleted (but not when the disk is detached from the instance).
    #[prost(bool, optional, tag = "464761403")]
    pub auto_delete: ::core::option::Option<bool>,
    /// Indicates that this is a boot disk. The virtual machine will use the first
    /// partition of the disk for its root filesystem.
    #[prost(bool, optional, tag = "3029746")]
    pub boot: ::core::option::Option<bool>,
    /// Specifies a unique device name of your choice that is reflected into the/dev/disk/by-id/google-\* tree of a Linux operating system
    /// running within the instance. This name can be used to reference the device
    /// for mounting, resizing, and so on, from within the instance.
    ///
    /// If not specified, the server chooses a default device name to apply to this
    /// disk, in the form persistent-disk-x, where x is a number
    /// assigned by Google Compute Engine. This field is only applicable for
    /// persistent disks.
    #[prost(string, optional, tag = "67541716")]
    pub device_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Encrypts or decrypts a disk using acustomer-supplied
    /// encryption key.
    ///
    /// If you are creating a new disk, this field encrypts the new disk using
    /// an encryption key that you provide. If you are attaching an existing
    /// disk that is already encrypted, this field decrypts the disk using
    /// the customer-supplied encryption key.
    ///
    /// If you encrypt a disk using a customer-supplied key, you must provide the
    /// same key again when you attempt to use this resource at a later time. For
    /// example, you must provide the key when you create a snapshot or an image
    /// from the disk or when you attach the disk to a virtual machine instance.
    ///
    /// If you do not provide an encryption key, then the disk will be encrypted
    /// using an automatically generated key and you do not need to provide a key
    /// to use the disk later.
    ///
    /// Note:
    ///
    /// Instance templates do not storecustomer-supplied
    /// encryption keys, so you cannot use your own keys to encrypt disks in amanaged instance group.
    ///
    /// You cannot create VMs that have disks with customer-supplied keys using
    /// the bulk
    /// insert method.
    #[prost(message, optional, tag = "271660677")]
    pub disk_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// The size of the disk in GB.
    #[prost(int64, optional, tag = "316263735")]
    pub disk_size_gb: ::core::option::Option<i64>,
    /// \[Input Only\] Whether to force attach the regional disk even if it's
    /// currently attached to another instance. If you try to force attach a zonal
    /// disk to an instance, you will receive an error.
    #[prost(bool, optional, tag = "142758425")]
    pub force_attach: ::core::option::Option<bool>,
    /// A list of features to enable on the guest operating system. Applicable
    /// only for bootable images. Read
    /// Enabling guest operating system features to see a list of available
    /// options.
    #[prost(message, repeated, tag = "79294545")]
    pub guest_os_features: ::prost::alloc::vec::Vec<GuestOsFeature>,
    /// Output only. \[Output Only\] A zero-based index to this disk, where 0 is reserved for the
    /// boot disk. If you have many disks attached to an instance, each
    /// disk would have a unique index number.
    #[prost(int32, optional, tag = "100346066")]
    pub index: ::core::option::Option<i32>,
    /// \[Input Only\] Specifies the parameters for a new disk that will be created
    /// alongside the new instance. Use initialization parameters to create boot
    /// disks or local SSDs attached to the new instance.
    ///
    /// This property is mutually exclusive with the source property;
    /// you can only define one or the other, but not both.
    #[prost(message, optional, tag = "17697045")]
    pub initialize_params: ::core::option::Option<AttachedDiskInitializeParams>,
    /// Specifies the disk interface to use for attaching this disk, which is
    /// either SCSI or NVME. For most machine types, the
    /// default is SCSI. Local SSDs can use either NVME or SCSI.
    /// In certain configurations, persistent disks can use NVMe. For more
    /// information, seeAbout
    /// persistent disks.
    /// Check the Interface enum for the list of possible values.
    #[prost(string, optional, tag = "502623545")]
    pub interface: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#attachedDisk for attached disks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Any valid publicly visible licenses.
    #[prost(string, repeated, tag = "337642578")]
    pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The mode in which to attach this disk, either READ_WRITE orREAD_ONLY. If not specified, the default is to attach the disk
    /// in READ_WRITE mode.
    /// Check the Mode enum for the list of possible values.
    #[prost(string, optional, tag = "3357091")]
    pub mode: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this
    /// field is set to PRESERVED if the LocalSSD data has been saved
    /// to a persistent location by customer request.  (see the
    /// discard_local_ssd option on Stop/Suspend).
    /// Read-only in the api.
    /// Check the SavedState enum for the list of possible values.
    #[prost(string, optional, tag = "411587801")]
    pub saved_state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] shielded vm initial state stored on disk
    #[prost(message, optional, tag = "192356867")]
    pub shielded_instance_initial_state: ::core::option::Option<InitialStateConfig>,
    /// Specifies a valid partial or full URL to an existing Persistent Disk
    /// resource. When creating a new instance boot disk, one ofinitializeParams.sourceImage orinitializeParams.sourceSnapshot or disks.source
    /// is required.
    ///
    /// If desired, you can also attach existing non-root persistent disks using
    /// this property. This field is only applicable for persistent disks.
    ///
    /// Note that for InstanceTemplate, specify the disk name for zonal disk,
    /// and the URL for regional disk.
    #[prost(string, optional, tag = "177235995")]
    pub source: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of the disk, either SCRATCH orPERSISTENT. If not specified, the default isPERSISTENT.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AttachedDisk`.
pub mod attached_disk {
    /// Output only. \[Output Only\] The architecture of the attached disk. Valid values are ARM64
    /// or X86_64.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Architecture {
        /// A value indicating that the enum field is not set.
        UndefinedArchitecture = 0,
        /// Default value indicating Architecture is not set.
        Unspecified = 394750507,
        /// Machines with architecture ARM64
        Arm64 = 62547450,
        /// Machines with architecture X86_64
        X8664 = 425300551,
    }
    impl Architecture {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedArchitecture => "UNDEFINED_ARCHITECTURE",
                Self::Unspecified => "ARCHITECTURE_UNSPECIFIED",
                Self::Arm64 => "ARM64",
                Self::X8664 => "X86_64",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ARCHITECTURE" => Some(Self::UndefinedArchitecture),
                "ARCHITECTURE_UNSPECIFIED" => Some(Self::Unspecified),
                "ARM64" => Some(Self::Arm64),
                "X86_64" => Some(Self::X8664),
                _ => None,
            }
        }
    }
    /// Specifies the disk interface to use for attaching this disk, which is
    /// either SCSI or NVME. For most machine types, the
    /// default is SCSI. Local SSDs can use either NVME or SCSI.
    /// In certain configurations, persistent disks can use NVMe. For more
    /// information, seeAbout
    /// persistent disks.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Interface {
        /// A value indicating that the enum field is not set.
        UndefinedInterface = 0,
        Nvme = 2408800,
        Scsi = 2539686,
    }
    impl Interface {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInterface => "UNDEFINED_INTERFACE",
                Self::Nvme => "NVME",
                Self::Scsi => "SCSI",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INTERFACE" => Some(Self::UndefinedInterface),
                "NVME" => Some(Self::Nvme),
                "SCSI" => Some(Self::Scsi),
                _ => None,
            }
        }
    }
    /// The mode in which to attach this disk, either READ_WRITE orREAD_ONLY. If not specified, the default is to attach the disk
    /// in READ_WRITE mode.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Mode {
        /// A value indicating that the enum field is not set.
        UndefinedMode = 0,
        /// Attaches this disk in read-only mode. Multiple virtual machines can use
        /// a disk in read-only mode at a time.
        ReadOnly = 91950261,
        /// *\[Default\]* Attaches this disk in read-write mode. Only one
        /// virtual machine at a time can be attached to a disk in read-write mode.
        ReadWrite = 173607894,
    }
    impl Mode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMode => "UNDEFINED_MODE",
                Self::ReadOnly => "READ_ONLY",
                Self::ReadWrite => "READ_WRITE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MODE" => Some(Self::UndefinedMode),
                "READ_ONLY" => Some(Self::ReadOnly),
                "READ_WRITE" => Some(Self::ReadWrite),
                _ => None,
            }
        }
    }
    /// Output only. For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this
    /// field is set to PRESERVED if the LocalSSD data has been saved
    /// to a persistent location by customer request.  (see the
    /// discard_local_ssd option on Stop/Suspend).
    /// Read-only in the api.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SavedState {
        /// A value indicating that the enum field is not set.
        UndefinedSavedState = 0,
        /// *\[Default\]* Disk state has not been preserved.
        DiskSavedStateUnspecified = 391290831,
        /// Disk state has been preserved.
        Preserved = 254159736,
    }
    impl SavedState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSavedState => "UNDEFINED_SAVED_STATE",
                Self::DiskSavedStateUnspecified => "DISK_SAVED_STATE_UNSPECIFIED",
                Self::Preserved => "PRESERVED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SAVED_STATE" => Some(Self::UndefinedSavedState),
                "DISK_SAVED_STATE_UNSPECIFIED" => Some(Self::DiskSavedStateUnspecified),
                "PRESERVED" => Some(Self::Preserved),
                _ => None,
            }
        }
    }
    /// Specifies the type of the disk, either SCRATCH orPERSISTENT. If not specified, the default isPERSISTENT.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        Persistent = 460683927,
        Scratch = 496778970,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Persistent => "PERSISTENT",
                Self::Scratch => "SCRATCH",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "PERSISTENT" => Some(Self::Persistent),
                "SCRATCH" => Some(Self::Scratch),
                _ => None,
            }
        }
    }
}
/// \[Input Only\] Specifies the parameters for a new disk that will be created
/// alongside the new instance. Use initialization parameters to create boot
/// disks or local SSDs attached to the new instance.
///
/// This field is persisted and returned for instanceTemplate and not returned
/// in the context of instance.
///
/// This property is mutually exclusive with the source property;
/// you can only define one or the other, but not both.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttachedDiskInitializeParams {
    /// The architecture of the attached disk. Valid values are
    /// arm64 or x86_64.
    /// Check the Architecture enum for the list of possible values.
    #[prost(string, optional, tag = "302803283")]
    pub architecture: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description. Provide this property when creating the disk.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the disk name. If not specified, the default is to use the name
    /// of the instance. If a disk with the same name already exists in the given
    /// region, the existing disk is attached to the new instance and the
    /// new disk is not created.
    #[prost(string, optional, tag = "92807149")]
    pub disk_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the size of the disk in base-2 GB. The size must be at least
    /// 10 GB. If you specify a sourceImage, which is required for
    /// boot disks, the default size is the size of the sourceImage.
    /// If you do not specify a sourceImage, the default disk size
    /// is 500 GB.
    #[prost(int64, optional, tag = "316263735")]
    pub disk_size_gb: ::core::option::Option<i64>,
    /// Specifies the disk type to use to create the instance. If not specified,
    /// the default is pd-standard, specified using the full URL.
    /// For example:
    ///
    /// <https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard>
    ///
    /// For a full list of acceptable values, seePersistent disk
    /// types. If you specify this field when creating a VM, you can provide
    /// either the full or partial URL. For example, the following values are
    /// valid:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType>
    /// - projects/project/zones/zone/diskTypes/diskType
    /// - zones/zone/diskTypes/diskType
    /// ```
    ///
    /// If you specify this field when creating or updating an instance template
    /// or all-instances configuration, specify the type of the disk, not the
    /// URL. For example: pd-standard.
    #[prost(string, optional, tag = "93009052")]
    pub disk_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Whether this disk is using confidential compute mode.
    #[prost(bool, optional, tag = "102135228")]
    pub enable_confidential_compute: ::core::option::Option<bool>,
    /// Labels to apply to this disk. These can be later modified by thedisks.setLabels method. This field is only applicable for
    /// persistent disks.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// A list of publicly visible licenses. Reserved for Google's use.
    #[prost(string, repeated, tag = "337642578")]
    pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies which action to take on instance update with this disk. Default
    /// is to use the existing disk.
    /// Check the OnUpdateAction enum for the list of possible values.
    #[prost(string, optional, tag = "202451980")]
    pub on_update_action: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates how many IOPS to provision for the disk. This sets the number
    /// of I/O operations per second that the disk can handle. Values must be
    /// between 10,000 and 120,000. For more details, see theExtreme persistent
    /// disk documentation.
    #[prost(int64, optional, tag = "186769108")]
    pub provisioned_iops: ::core::option::Option<i64>,
    /// Indicates how much throughput to provision for the disk. This sets the
    /// number of throughput mb per second that the disk can handle. Values must
    /// greater than or equal to 1.
    #[prost(int64, optional, tag = "526524181")]
    pub provisioned_throughput: ::core::option::Option<i64>,
    /// Required for each regional disk associated with the instance. Specify
    /// the URLs of the zones where the disk should be replicated to.
    /// You must provide exactly two replica zones, and one zone must be the same
    /// as the instance zone.
    #[prost(string, repeated, tag = "48438272")]
    pub replica_zones: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Input only. Resource manager tags to be bound to the disk. Tag keys and values
    /// have the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
    /// format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT & PATCH) when
    /// empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Resource policies applied to this disk for automatic snapshot creations.
    /// Specified using the full or partial URL. For instance template, specify
    /// only the resource policy name.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The source image to create this disk. When creating a new instance boot
    /// disk, one of initializeParams.sourceImage orinitializeParams.sourceSnapshot or disks.source
    /// is required.
    ///
    /// To create a disk with one of the public operating system
    /// images, specify the image by its family name. For example, specifyfamily/debian-9 to use the latest Debian 9 image:
    ///
    /// projects/debian-cloud/global/images/family/debian-9
    ///
    /// Alternatively, use a specific version of a public operating system image:
    ///
    /// projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD
    ///
    /// To create a disk with a custom image that you created, specify the
    /// image name in the following format:
    ///
    /// global/images/my-custom-image
    ///
    /// You can also specify a custom image by its image family, which returns
    /// the latest version of the image in that family. Replace the image name
    /// with family/family-name:
    ///
    /// global/images/family/my-image-family
    ///
    /// If the source image is deleted later, this field will not be set.
    #[prost(string, optional, tag = "50443319")]
    pub source_image: ::core::option::Option<::prost::alloc::string::String>,
    /// Thecustomer-supplied
    /// encryption key of the source image. Required if the source image is
    /// protected by a customer-supplied encryption key.
    ///
    /// InstanceTemplate and InstancePropertiesPatch do not storecustomer-supplied
    /// encryption keys, so you cannot create disks for instances in a managed instance group if the
    /// source images are encrypted with your own keys.
    #[prost(message, optional, tag = "381503659")]
    pub source_image_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// The source snapshot to create this disk. When creating a new instance
    /// boot disk, one of initializeParams.sourceSnapshot orinitializeParams.sourceImage or disks.source
    /// is required.
    ///
    /// To create a disk with a snapshot that you created, specify the
    /// snapshot name in the following format:
    ///
    /// global/snapshots/my-backup
    ///
    /// If the source snapshot is deleted later, this field will not be set.
    ///
    /// Note: You cannot create VMs in bulk using a snapshot as the source. Use
    /// an image instead when you create VMs using
    /// the bulk
    /// insert method.
    #[prost(string, optional, tag = "126061928")]
    pub source_snapshot: ::core::option::Option<::prost::alloc::string::String>,
    /// Thecustomer-supplied
    /// encryption key of the source snapshot.
    #[prost(message, optional, tag = "303679322")]
    pub source_snapshot_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// The storage pool in which the new disk is created. You can provide
    /// this as a partial or full URL to the resource. For example, the following
    /// are valid values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/storagePools/storagePool>
    ///   - projects/project/zones/zone/storagePools/storagePool
    /// - zones/zone/storagePools/storagePool
    /// ```
    #[prost(string, optional, tag = "360473440")]
    pub storage_pool: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AttachedDiskInitializeParams`.
pub mod attached_disk_initialize_params {
    /// The architecture of the attached disk. Valid values are
    /// arm64 or x86_64.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Architecture {
        /// A value indicating that the enum field is not set.
        UndefinedArchitecture = 0,
        /// Default value indicating Architecture is not set.
        Unspecified = 394750507,
        /// Machines with architecture ARM64
        Arm64 = 62547450,
        /// Machines with architecture X86_64
        X8664 = 425300551,
    }
    impl Architecture {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedArchitecture => "UNDEFINED_ARCHITECTURE",
                Self::Unspecified => "ARCHITECTURE_UNSPECIFIED",
                Self::Arm64 => "ARM64",
                Self::X8664 => "X86_64",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ARCHITECTURE" => Some(Self::UndefinedArchitecture),
                "ARCHITECTURE_UNSPECIFIED" => Some(Self::Unspecified),
                "ARM64" => Some(Self::Arm64),
                "X86_64" => Some(Self::X8664),
                _ => None,
            }
        }
    }
    /// Specifies which action to take on instance update with this disk. Default
    /// is to use the existing disk.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum OnUpdateAction {
        /// A value indicating that the enum field is not set.
        UndefinedOnUpdateAction = 0,
        /// Always recreate the disk.
        RecreateDisk = 494767853,
        /// Recreate the disk if source (image, snapshot) of this disk is different
        /// from source of existing disk.
        RecreateDiskIfSourceChanged = 398099712,
        /// Use the existing disk, this is the default behaviour.
        UseExistingDisk = 232682233,
    }
    impl OnUpdateAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOnUpdateAction => "UNDEFINED_ON_UPDATE_ACTION",
                Self::RecreateDisk => "RECREATE_DISK",
                Self::RecreateDiskIfSourceChanged => "RECREATE_DISK_IF_SOURCE_CHANGED",
                Self::UseExistingDisk => "USE_EXISTING_DISK",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ON_UPDATE_ACTION" => Some(Self::UndefinedOnUpdateAction),
                "RECREATE_DISK" => Some(Self::RecreateDisk),
                "RECREATE_DISK_IF_SOURCE_CHANGED" => {
                    Some(Self::RecreateDiskIfSourceChanged)
                }
                "USE_EXISTING_DISK" => Some(Self::UseExistingDisk),
                _ => None,
            }
        }
    }
}
/// Specifies the audit configuration for a service.
/// The configuration determines which permission types are logged, and what
/// identities, if any, are exempted from logging.
/// An AuditConfig must have one or more AuditLogConfigs.
///
/// If there are AuditConfigs for both `allServices` and a specific service,
/// the union of the two AuditConfigs is used for that service: the log_types
/// specified in each AuditConfig are enabled, and the exempted_members in each
/// AuditLogConfig are exempted.
///
/// Example Policy with multiple AuditConfigs:
///
/// ```text
/// {
///    "audit_configs": [
///      {
///        "service": "allServices",
///        "audit_log_configs": [
///          {
///            "log_type": "DATA_READ",
///            "exempted_members": [
///              "user:jose@example.com"
///            ]
///          },
///          {
///            "log_type": "DATA_WRITE"
///          },
///          {
///            "log_type": "ADMIN_READ"
///          }
///        ]
///      },
///      {
///        "service": "sampleservice.googleapis.com",
///        "audit_log_configs": [
///          {
///            "log_type": "DATA_READ"
///          },
///          {
///            "log_type": "DATA_WRITE",
///            "exempted_members": [
///              "user:aliya@example.com"
///            ]
///          }
///        ]
///      }
///    ]
/// }
/// ```
///
/// For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
/// logging. It also exempts `jose@example.com` from DATA_READ logging, and
/// `aliya@example.com` from DATA_WRITE logging.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AuditConfig {
    /// The configuration for logging of each type of permission.
    #[prost(message, repeated, tag = "488420626")]
    pub audit_log_configs: ::prost::alloc::vec::Vec<AuditLogConfig>,
    #[prost(string, repeated, tag = "232615576")]
    pub exempted_members: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies a service that will be enabled for audit logging.
    /// For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    /// `allServices` is a special value that covers all services.
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
}
/// Provides the configuration for logging a type of permissions.
/// Example:
///
/// ```text
/// {
///    "audit_log_configs": [
///      {
///        "log_type": "DATA_READ",
///        "exempted_members": [
///          "user:jose@example.com"
///        ]
///      },
///      {
///        "log_type": "DATA_WRITE"
///      }
///    ]
/// }
/// ```
///
/// This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
/// jose@example.com from DATA_READ logging.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AuditLogConfig {
    /// Specifies the identities that do not cause logging for this type of
    /// permission.
    /// Follows the same format of Binding.members.
    #[prost(string, repeated, tag = "232615576")]
    pub exempted_members: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(bool, optional, tag = "70141850")]
    pub ignore_child_exemptions: ::core::option::Option<bool>,
    /// The log type that this config enables.
    /// Check the LogType enum for the list of possible values.
    #[prost(string, optional, tag = "403115861")]
    pub log_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AuditLogConfig`.
pub mod audit_log_config {
    /// The log type that this config enables.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LogType {
        /// A value indicating that the enum field is not set.
        UndefinedLogType = 0,
        /// Admin reads. Example: CloudIAM getIamPolicy
        AdminRead = 128951462,
        /// Data reads. Example: CloudSQL Users list
        DataRead = 305224971,
        /// Data writes. Example: CloudSQL Users create
        DataWrite = 340181738,
        /// Default case. Should never be this.
        Unspecified = 154527053,
    }
    impl LogType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLogType => "UNDEFINED_LOG_TYPE",
                Self::AdminRead => "ADMIN_READ",
                Self::DataRead => "DATA_READ",
                Self::DataWrite => "DATA_WRITE",
                Self::Unspecified => "LOG_TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LOG_TYPE" => Some(Self::UndefinedLogType),
                "ADMIN_READ" => Some(Self::AdminRead),
                "DATA_READ" => Some(Self::DataRead),
                "DATA_WRITE" => Some(Self::DataWrite),
                "LOG_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Represents an Autoscaler resource.
///
/// Google Compute Engine has two Autoscaler resources:
///
/// * [Zonal](/compute/docs/reference/rest/v1/autoscalers)
/// * [Regional](/compute/docs/reference/rest/v1/regionAutoscalers)
///
/// Use autoscalers to automatically add or delete instances from a
/// managed instance group according to your defined autoscaling policy.
/// For more information, read Autoscaling Groups of Instances.
///
/// For zonal managed instance groups resource, use the autoscaler
/// resource.
///
/// For regional managed instance groups, use theregionAutoscalers resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Autoscaler {
    /// The configuration parameters for the autoscaling algorithm. You can define
    /// one or more signals for an autoscaler: cpuUtilization,customMetricUtilizations, andloadBalancingUtilization.
    ///
    /// If none of these are specified, the default will be to autoscale based oncpuUtilization to 0.6 or 60%.
    #[prost(message, optional, tag = "221950041")]
    pub autoscaling_policy: ::core::option::Option<AutoscalingPolicy>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#autoscaler
    /// for autoscalers.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Target recommended MIG size (number of instances) computed by
    /// autoscaler. Autoscaler calculates the recommended MIG size even when the
    /// autoscaling policy mode is different from ON. This field is empty when
    /// autoscaler is not connected to an existing managed instance group or
    /// autoscaler did not generate its prediction.
    #[prost(int32, optional, tag = "257915749")]
    pub recommended_size: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] URL of theregion
    /// where the instance group resides (for autoscalers living in regional
    /// scope).
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Status information of existing scaling schedules.
    #[prost(map = "string, message", tag = "465950178")]
    pub scaling_schedule_status: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ScalingScheduleStatus,
    >,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The status of the autoscaler configuration. Current set of
    /// possible values:
    ///
    /// ```text
    /// - PENDING:
    ///   Autoscaler backend hasn't read new/updated configuration.
    /// - DELETING:
    ///   Configuration is being deleted.
    /// - ACTIVE:
    ///   Configuration is acknowledged to be effective. Some warnings might
    ///   be present in the statusDetails field.
    /// - ERROR:
    ///   Configuration has errors. Actionable for users. Details are present in
    ///   the statusDetails field.
    /// ```
    ///
    /// New values might be added in the future.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Human-readable details about the current state of the
    /// autoscaler. Read the documentation forCommonly
    /// returned status messages for examples of status messages you might
    /// encounter.
    #[prost(message, repeated, tag = "363353845")]
    pub status_details: ::prost::alloc::vec::Vec<AutoscalerStatusDetails>,
    /// URL of the managed instance group that this autoscaler will scale. This
    /// field is required when creating an autoscaler.
    #[prost(string, optional, tag = "192835985")]
    pub target: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of thezone
    /// where the instance group resides (for autoscalers living in zonal scope).
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Autoscaler`.
pub mod autoscaler {
    /// \[Output Only\] The status of the autoscaler configuration. Current set of
    /// possible values:
    ///
    /// ```text
    /// - PENDING:
    ///   Autoscaler backend hasn't read new/updated configuration.
    /// - DELETING:
    ///   Configuration is being deleted.
    /// - ACTIVE:
    ///   Configuration is acknowledged to be effective. Some warnings might
    ///   be present in the statusDetails field.
    /// - ERROR:
    ///   Configuration has errors. Actionable for users. Details are present in
    ///   the statusDetails field.
    /// ```
    ///
    /// New values might be added in the future.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Configuration is acknowledged to be effective
        Active = 314733318,
        /// Configuration is being deleted
        Deleting = 528602024,
        /// Configuration has errors. Actionable for users.
        Error = 66247144,
        /// Autoscaler backend hasn't read new/updated configuration
        Pending = 35394935,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Active => "ACTIVE",
                Self::Deleting => "DELETING",
                Self::Error => "ERROR",
                Self::Pending => "PENDING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "ACTIVE" => Some(Self::Active),
                "DELETING" => Some(Self::Deleting),
                "ERROR" => Some(Self::Error),
                "PENDING" => Some(Self::Pending),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AutoscalerAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of AutoscalersScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        AutoscalersScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#autoscalerAggregatedList for aggregated lists of
    /// autoscalers.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface: MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of Autoscaler resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AutoscalerList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Autoscaler resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Autoscaler>,
    /// Output only. \[Output Only\] Type of resource. Always compute#autoscalerList
    /// for lists of autoscalers.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AutoscalerStatusDetails {
    /// The status message.
    #[prost(string, optional, tag = "418054151")]
    pub message: ::core::option::Option<::prost::alloc::string::String>,
    /// The type of error, warning, or notice returned. Current set of possible
    /// values:
    ///
    /// ```text
    /// - ALL_INSTANCES_UNHEALTHY (WARNING):
    ///   All instances in the instance group are unhealthy (not in RUNNING
    ///   state).
    /// - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR):
    ///   There is no backend service attached to the instance group.
    /// - CAPPED_AT_MAX_NUM_REPLICAS (WARNING):
    ///   Autoscaler recommends a size greater than maxNumReplicas.
    /// - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING):
    ///   The custom metric samples are not exported often enough to be
    ///   a credible base for autoscaling.
    /// - CUSTOM_METRIC_INVALID (ERROR):
    ///   The custom metric that was specified does not exist or does not have
    ///   the necessary labels.
    /// - MIN_EQUALS_MAX (WARNING):
    ///   The minNumReplicas is equal to maxNumReplicas. This means the
    ///   autoscaler cannot add or remove instances from the instance group.
    /// - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING):
    ///   The autoscaler did not receive any data from the custom metric
    ///   configured for autoscaling.
    /// - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING):
    ///   The autoscaler is configured to scale based on a load balancing signal
    ///   but the instance group has not received any requests from the load
    ///   balancer.
    /// - MODE_OFF (WARNING):
    ///   Autoscaling is turned off. The number of instances in the group won't
    ///   change automatically. The autoscaling configuration is preserved.
    /// - MODE_ONLY_UP (WARNING):
    ///   Autoscaling is in the "Autoscale only out" mode. The autoscaler can add
    ///   instances but not remove any.
    /// - MORE_THAN_ONE_BACKEND_SERVICE (ERROR):
    ///   The instance group cannot be autoscaled because it has more than one
    ///   backend service attached to it.
    /// - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR):
    ///   There is insufficient quota for the necessary resources, such as CPU or
    ///   number of instances.
    /// - REGION_RESOURCE_STOCKOUT (ERROR):
    ///   Shown only for regional autoscalers: there is a resource stockout in
    ///   the chosen region.
    /// - SCALING_TARGET_DOES_NOT_EXIST (ERROR):
    ///   The target to be scaled does not exist.
    /// - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION
    ///   (ERROR): Autoscaling does not work with an HTTP/S load balancer that
    ///   has been configured for maxRate.
    /// - ZONE_RESOURCE_STOCKOUT (ERROR):
    ///   For zonal autoscalers: there is a resource stockout in the chosen zone.
    ///   For regional autoscalers: in at least one of the zones you're using
    ///   there is a resource stockout.
    /// ```
    ///
    /// New values might be added in the future. Some of the values might not be
    /// available in all API versions.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AutoscalerStatusDetails`.
pub mod autoscaler_status_details {
    /// The type of error, warning, or notice returned. Current set of possible
    /// values:
    ///
    /// ```text
    /// - ALL_INSTANCES_UNHEALTHY (WARNING):
    ///   All instances in the instance group are unhealthy (not in RUNNING
    ///   state).
    /// - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR):
    ///   There is no backend service attached to the instance group.
    /// - CAPPED_AT_MAX_NUM_REPLICAS (WARNING):
    ///   Autoscaler recommends a size greater than maxNumReplicas.
    /// - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING):
    ///   The custom metric samples are not exported often enough to be
    ///   a credible base for autoscaling.
    /// - CUSTOM_METRIC_INVALID (ERROR):
    ///   The custom metric that was specified does not exist or does not have
    ///   the necessary labels.
    /// - MIN_EQUALS_MAX (WARNING):
    ///   The minNumReplicas is equal to maxNumReplicas. This means the
    ///   autoscaler cannot add or remove instances from the instance group.
    /// - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING):
    ///   The autoscaler did not receive any data from the custom metric
    ///   configured for autoscaling.
    /// - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING):
    ///   The autoscaler is configured to scale based on a load balancing signal
    ///   but the instance group has not received any requests from the load
    ///   balancer.
    /// - MODE_OFF (WARNING):
    ///   Autoscaling is turned off. The number of instances in the group won't
    ///   change automatically. The autoscaling configuration is preserved.
    /// - MODE_ONLY_UP (WARNING):
    ///   Autoscaling is in the "Autoscale only out" mode. The autoscaler can add
    ///   instances but not remove any.
    /// - MORE_THAN_ONE_BACKEND_SERVICE (ERROR):
    ///   The instance group cannot be autoscaled because it has more than one
    ///   backend service attached to it.
    /// - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR):
    ///   There is insufficient quota for the necessary resources, such as CPU or
    ///   number of instances.
    /// - REGION_RESOURCE_STOCKOUT (ERROR):
    ///   Shown only for regional autoscalers: there is a resource stockout in
    ///   the chosen region.
    /// - SCALING_TARGET_DOES_NOT_EXIST (ERROR):
    ///   The target to be scaled does not exist.
    /// - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION
    ///   (ERROR): Autoscaling does not work with an HTTP/S load balancer that
    ///   has been configured for maxRate.
    /// - ZONE_RESOURCE_STOCKOUT (ERROR):
    ///   For zonal autoscalers: there is a resource stockout in the chosen zone.
    ///   For regional autoscalers: in at least one of the zones you're using
    ///   there is a resource stockout.
    /// ```
    ///
    /// New values might be added in the future. Some of the values might not be
    /// available in all API versions.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// All instances in the instance group are unhealthy (not in RUNNING state).
        AllInstancesUnhealthy = 404965477,
        /// There is no backend service attached to the instance group.
        BackendServiceDoesNotExist = 191417626,
        /// Autoscaler recommends a size greater than maxNumReplicas.
        CappedAtMaxNumReplicas = 518617,
        /// The custom metric samples are not exported often enough to be a credible
        /// base for autoscaling.
        CustomMetricDataPointsTooSparse = 328964659,
        /// The custom metric that was specified does not exist or does not have the
        /// necessary labels.
        CustomMetricInvalid = 204430550,
        /// The minNumReplicas is equal to maxNumReplicas. This means the autoscaler
        /// cannot add or remove instances from the instance group.
        MinEqualsMax = 2821361,
        /// The autoscaler did not receive any data from the custom metric configured
        /// for autoscaling.
        MissingCustomMetricDataPoints = 94885086,
        /// The autoscaler is configured to scale based on a load balancing signal
        /// but the instance group has not received any requests from the load
        /// balancer.
        MissingLoadBalancingDataPoints = 509858898,
        /// Autoscaling is turned off. The number of instances in the group won't
        /// change automatically. The autoscaling configuration is preserved.
        ModeOff = 164169907,
        /// Autoscaling is in the "Autoscale only scale out" mode.
        /// Instances in the group will be only added.
        ModeOnlyScaleOut = 3840994,
        /// Autoscaling is in the "Autoscale only out" mode. Instances in the group
        /// will be only added.
        ModeOnlyUp = 100969842,
        /// The instance group cannot be autoscaled because it has more than one
        /// backend service attached to it.
        MoreThanOneBackendService = 151922141,
        /// There is insufficient quota for the necessary resources, such as CPU or
        /// number of instances.
        NotEnoughQuotaAvailable = 403101631,
        /// Showed only for regional autoscalers: there is a resource stockout in
        /// the chosen region.
        RegionResourceStockout = 528622846,
        /// The target to be scaled does not exist.
        ScalingTargetDoesNotExist = 122636699,
        /// For some scaling schedules minRequiredReplicas is greater than
        /// maxNumReplicas. Autoscaler always recommends at most maxNumReplicas
        /// instances.
        ScheduledInstancesGreaterThanAutoscalerMax = 29275586,
        /// For some scaling schedules minRequiredReplicas is less than
        /// minNumReplicas. Autoscaler always recommends at least minNumReplicas
        /// instances.
        ScheduledInstancesLessThanAutoscalerMin = 398287669,
        Unknown = 433141802,
        /// Autoscaling does not work with an HTTP/S load balancer that has been
        /// configured for maxRate.
        UnsupportedMaxRateLoadBalancingConfiguration = 330845009,
        /// For zonal autoscalers: there is a resource stockout in the chosen zone.
        /// For regional autoscalers: in at least one of the zones you're using there
        /// is a resource stockout.
        ZoneResourceStockout = 210200502,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::AllInstancesUnhealthy => "ALL_INSTANCES_UNHEALTHY",
                Self::BackendServiceDoesNotExist => "BACKEND_SERVICE_DOES_NOT_EXIST",
                Self::CappedAtMaxNumReplicas => "CAPPED_AT_MAX_NUM_REPLICAS",
                Self::CustomMetricDataPointsTooSparse => {
                    "CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE"
                }
                Self::CustomMetricInvalid => "CUSTOM_METRIC_INVALID",
                Self::MinEqualsMax => "MIN_EQUALS_MAX",
                Self::MissingCustomMetricDataPoints => {
                    "MISSING_CUSTOM_METRIC_DATA_POINTS"
                }
                Self::MissingLoadBalancingDataPoints => {
                    "MISSING_LOAD_BALANCING_DATA_POINTS"
                }
                Self::ModeOff => "MODE_OFF",
                Self::ModeOnlyScaleOut => "MODE_ONLY_SCALE_OUT",
                Self::ModeOnlyUp => "MODE_ONLY_UP",
                Self::MoreThanOneBackendService => "MORE_THAN_ONE_BACKEND_SERVICE",
                Self::NotEnoughQuotaAvailable => "NOT_ENOUGH_QUOTA_AVAILABLE",
                Self::RegionResourceStockout => "REGION_RESOURCE_STOCKOUT",
                Self::ScalingTargetDoesNotExist => "SCALING_TARGET_DOES_NOT_EXIST",
                Self::ScheduledInstancesGreaterThanAutoscalerMax => {
                    "SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX"
                }
                Self::ScheduledInstancesLessThanAutoscalerMin => {
                    "SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN"
                }
                Self::Unknown => "UNKNOWN",
                Self::UnsupportedMaxRateLoadBalancingConfiguration => {
                    "UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION"
                }
                Self::ZoneResourceStockout => "ZONE_RESOURCE_STOCKOUT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "ALL_INSTANCES_UNHEALTHY" => Some(Self::AllInstancesUnhealthy),
                "BACKEND_SERVICE_DOES_NOT_EXIST" => {
                    Some(Self::BackendServiceDoesNotExist)
                }
                "CAPPED_AT_MAX_NUM_REPLICAS" => Some(Self::CappedAtMaxNumReplicas),
                "CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE" => {
                    Some(Self::CustomMetricDataPointsTooSparse)
                }
                "CUSTOM_METRIC_INVALID" => Some(Self::CustomMetricInvalid),
                "MIN_EQUALS_MAX" => Some(Self::MinEqualsMax),
                "MISSING_CUSTOM_METRIC_DATA_POINTS" => {
                    Some(Self::MissingCustomMetricDataPoints)
                }
                "MISSING_LOAD_BALANCING_DATA_POINTS" => {
                    Some(Self::MissingLoadBalancingDataPoints)
                }
                "MODE_OFF" => Some(Self::ModeOff),
                "MODE_ONLY_SCALE_OUT" => Some(Self::ModeOnlyScaleOut),
                "MODE_ONLY_UP" => Some(Self::ModeOnlyUp),
                "MORE_THAN_ONE_BACKEND_SERVICE" => Some(Self::MoreThanOneBackendService),
                "NOT_ENOUGH_QUOTA_AVAILABLE" => Some(Self::NotEnoughQuotaAvailable),
                "REGION_RESOURCE_STOCKOUT" => Some(Self::RegionResourceStockout),
                "SCALING_TARGET_DOES_NOT_EXIST" => Some(Self::ScalingTargetDoesNotExist),
                "SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX" => {
                    Some(Self::ScheduledInstancesGreaterThanAutoscalerMax)
                }
                "SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN" => {
                    Some(Self::ScheduledInstancesLessThanAutoscalerMin)
                }
                "UNKNOWN" => Some(Self::Unknown),
                "UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION" => {
                    Some(Self::UnsupportedMaxRateLoadBalancingConfiguration)
                }
                "ZONE_RESOURCE_STOCKOUT" => Some(Self::ZoneResourceStockout),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AutoscalersScopedList {
    /// \[Output Only\] A list of autoscalers contained in this scope.
    #[prost(message, repeated, tag = "465771644")]
    pub autoscalers: ::prost::alloc::vec::Vec<Autoscaler>,
    /// \[Output Only\] Informational warning which replaces the list of autoscalers
    /// when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Cloud Autoscaler policy.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AutoscalingPolicy {
    /// The number of seconds that your application takes to initialize on a VM
    /// instance. This is referred to as the
    /// [initialization period](/compute/docs/autoscaler#cool_down_period).
    /// Specifying an accurate initialization period improves
    /// autoscaler decisions. For example, when scaling out, the autoscaler ignores
    /// data from VMs that are still initializing because those VMs might not yet
    /// represent normal usage of your application. The default initialization
    /// period is 60 seconds.
    ///
    /// Initialization periods might vary because of numerous
    /// factors. We recommend that you test how long your application takes to
    /// initialize. To do this, create a VM and time your application's startup
    /// process.
    #[prost(int32, optional, tag = "107692954")]
    pub cool_down_period_sec: ::core::option::Option<i32>,
    /// Defines the CPU utilization policy that allows the autoscaler to scale
    /// based on the average CPU utilization of a managed instance group.
    #[prost(message, optional, tag = "381211147")]
    pub cpu_utilization: ::core::option::Option<AutoscalingPolicyCpuUtilization>,
    /// Configuration parameters of autoscaling based on a custom metric.
    #[prost(message, repeated, tag = "131972850")]
    pub custom_metric_utilizations: ::prost::alloc::vec::Vec<
        AutoscalingPolicyCustomMetricUtilization,
    >,
    /// Configuration parameters of autoscaling based on load balancer.
    #[prost(message, optional, tag = "429746403")]
    pub load_balancing_utilization: ::core::option::Option<
        AutoscalingPolicyLoadBalancingUtilization,
    >,
    /// The maximum number of instances that the autoscaler can scale out to. This
    /// is required when creating or updating an autoscaler. The maximum number
    /// of replicas must not be lower than minimal number of replicas.
    #[prost(int32, optional, tag = "62327375")]
    pub max_num_replicas: ::core::option::Option<i32>,
    /// The minimum number of replicas that the autoscaler can scale in to.
    /// This cannot be less than 0. If not provided, autoscaler chooses a
    /// default value depending on maximum number of instances allowed.
    #[prost(int32, optional, tag = "535329825")]
    pub min_num_replicas: ::core::option::Option<i32>,
    /// Defines the operating mode for this policy.
    /// The following modes are available:
    ///
    /// ```text
    /// - OFF: Disables the autoscaler but maintains its
    /// configuration.
    /// - ONLY_SCALE_OUT: Restricts the autoscaler to add
    /// VM instances only.
    /// - ON: Enables all autoscaler activities according to its
    /// policy.
    /// ```
    ///
    /// For more information, see
    /// "Turning off or restricting an autoscaler"
    /// Check the Mode enum for the list of possible values.
    #[prost(string, optional, tag = "3357091")]
    pub mode: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "527670872")]
    pub scale_in_control: ::core::option::Option<AutoscalingPolicyScaleInControl>,
    /// Scaling schedules defined for an autoscaler. Multiple schedules
    /// can be set on an autoscaler, and they can overlap. During overlapping
    /// periods the greatest min_required_replicas of all scaling schedules is
    /// applied. Up to 128 scaling schedules are allowed.
    #[prost(map = "string, message", tag = "355416580")]
    pub scaling_schedules: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        AutoscalingPolicyScalingSchedule,
    >,
}
/// Nested message and enum types in `AutoscalingPolicy`.
pub mod autoscaling_policy {
    /// Defines the operating mode for this policy.
    /// The following modes are available:
    ///
    /// ```text
    /// - OFF: Disables the autoscaler but maintains its
    /// configuration.
    /// - ONLY_SCALE_OUT: Restricts the autoscaler to add
    /// VM instances only.
    /// - ON: Enables all autoscaler activities according to its
    /// policy.
    /// ```
    ///
    /// For more information, see
    /// "Turning off or restricting an autoscaler"
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Mode {
        /// A value indicating that the enum field is not set.
        UndefinedMode = 0,
        /// Do not automatically scale the MIG in or out.
        /// The recommended_size field contains the size of MIG that would be set if
        /// the actuation mode was enabled.
        Off = 78159,
        /// Automatically scale the MIG in and out according to the policy.
        On = 2527,
        /// Automatically create VMs according to the policy, but do not scale
        /// the MIG in.
        OnlyScaleOut = 152713670,
        /// Automatically create VMs according to the policy, but do not scale
        /// the MIG in.
        OnlyUp = 478095374,
    }
    impl Mode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMode => "UNDEFINED_MODE",
                Self::Off => "OFF",
                Self::On => "ON",
                Self::OnlyScaleOut => "ONLY_SCALE_OUT",
                Self::OnlyUp => "ONLY_UP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MODE" => Some(Self::UndefinedMode),
                "OFF" => Some(Self::Off),
                "ON" => Some(Self::On),
                "ONLY_SCALE_OUT" => Some(Self::OnlyScaleOut),
                "ONLY_UP" => Some(Self::OnlyUp),
                _ => None,
            }
        }
    }
}
/// CPU utilization policy.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AutoscalingPolicyCpuUtilization {
    /// Indicates whether predictive autoscaling based on CPU metric is enabled.
    /// Valid values are:
    ///
    /// * NONE (default). No predictive method is used. The autoscaler scales the
    ///   group to meet current demand based on real-time metrics.
    /// * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by
    ///   monitoring daily and weekly load patterns and scaling out ahead of
    ///   anticipated demand.
    ///   Check the PredictiveMethod enum for the list of possible values.
    #[prost(string, optional, tag = "390220737")]
    pub predictive_method: ::core::option::Option<::prost::alloc::string::String>,
    /// The target CPU utilization that the autoscaler maintains. Must be
    /// a float value in the range (0, 1\]. If not specified, the default is0.6.
    ///
    /// If the CPU level is below the target utilization, the autoscaler scales
    /// in the number of instances until it reaches the minimum number of
    /// instances you specified or until the average CPU of your instances
    /// reaches the target utilization.
    ///
    /// If the average CPU is above the target utilization, the autoscaler
    /// scales out until it reaches the maximum number of instances you
    /// specified or until the average utilization reaches the target
    /// utilization.
    #[prost(double, optional, tag = "215905870")]
    pub utilization_target: ::core::option::Option<f64>,
}
/// Nested message and enum types in `AutoscalingPolicyCpuUtilization`.
pub mod autoscaling_policy_cpu_utilization {
    /// Indicates whether predictive autoscaling based on CPU metric is enabled.
    /// Valid values are:
    ///
    /// * NONE (default). No predictive method is used. The autoscaler scales the
    ///   group to meet current demand based on real-time metrics.
    /// * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by
    ///   monitoring daily and weekly load patterns and scaling out ahead of
    ///   anticipated demand.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PredictiveMethod {
        /// A value indicating that the enum field is not set.
        UndefinedPredictiveMethod = 0,
        /// No predictive method is used. The autoscaler scales the group to meet
        /// current demand based on real-time metrics
        None = 2402104,
        /// Predictive autoscaling improves availability by monitoring daily and
        /// weekly load patterns and scaling out ahead of anticipated demand.
        OptimizeAvailability = 11629437,
    }
    impl PredictiveMethod {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPredictiveMethod => "UNDEFINED_PREDICTIVE_METHOD",
                Self::None => "NONE",
                Self::OptimizeAvailability => "OPTIMIZE_AVAILABILITY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PREDICTIVE_METHOD" => Some(Self::UndefinedPredictiveMethod),
                "NONE" => Some(Self::None),
                "OPTIMIZE_AVAILABILITY" => Some(Self::OptimizeAvailability),
                _ => None,
            }
        }
    }
}
/// Custom utilization metric policy.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AutoscalingPolicyCustomMetricUtilization {
    /// A filter string, compatible with a Stackdriver Monitoringfilter string forTimeSeries.list API call. This filter is
    /// used to select a specific TimeSeries for the purpose of autoscaling and
    /// to determine whether the metric is exporting per-instance or
    /// per-group data.
    ///
    /// For the filter to be valid for autoscaling purposes, the following rules
    /// apply:
    ///
    /// ```text
    /// - You can only use the AND operator for joining
    ///     selectors.
    /// - You can only use direct equality comparison operator
    ///     (=) without any functions for each selector.
    /// - You can specify the metric in both the filter string and in the
    ///     metric field. However, if specified in both places, the metric must
    ///     be identical.
    /// - The monitored resource type
    ///     determines what kind of values are expected for the metric. If it is
    ///     a gce_instance, the autoscaler expects the metric to
    ///     include a separate TimeSeries for each instance in a group. In such a
    ///     case, you cannot filter on resource labels.
    ///
    ///
    /// If the resource type is any other value, the autoscaler expects
    ///     this metric to contain values that apply to the entire autoscaled
    ///     instance group and resource label filtering can be performed to
    ///     point autoscaler at the correct TimeSeries to scale upon. This is
    ///     called a *per-group metric* for the purpose of autoscaling.
    ///
    ///     If not specified, the type defaults to
    ///     gce_instance.
    /// ```
    ///
    /// Try to provide a filter that is selective enough to pick just one
    /// TimeSeries for the autoscaled group or for each of the instances (if you
    /// are using gce_instance resource type). If multiple
    /// TimeSeries are returned upon the query execution, the autoscaler will sum
    /// their respective values to obtain its scaling value.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The identifier (type) of the Stackdriver Monitoring metric. The metric
    /// cannot have negative values.
    ///
    /// The metric must have a value type of INT64 orDOUBLE.
    #[prost(string, optional, tag = "533067184")]
    pub metric: ::core::option::Option<::prost::alloc::string::String>,
    /// If scaling is based on a per-group metric value that represents the
    /// total amount of work to be done or resource usage, set this value to an
    /// amount assigned for a single instance of the scaled group. Autoscaler
    /// keeps the number of instances proportional to the value of this
    /// metric. The metric itself does not change value due to group
    /// resizing.
    ///
    /// A good metric to use with the target is for examplepubsub.googleapis.com/subscription/num_undelivered_messages
    /// or a custom metric exporting the total number of requests coming to
    /// your instances.
    ///
    /// A bad example would be a metric exporting an average or median latency,
    /// since this value can't include a chunk assignable to a single instance,
    /// it could be better used with utilization_target instead.
    #[prost(double, optional, tag = "504768064")]
    pub single_instance_assignment: ::core::option::Option<f64>,
    /// The target value of the metric that autoscaler maintains. This
    /// must be a positive value. A utilization metric scales number of
    /// virtual machines handling requests to increase or decrease
    /// proportionally to the metric.
    ///
    /// For example, a good metric to use as a utilization_target is<https://www.googleapis.com/compute/v1/instance/network/received_bytes_count.>
    /// The autoscaler works to keep this value constant for each of the
    /// instances.
    #[prost(double, optional, tag = "215905870")]
    pub utilization_target: ::core::option::Option<f64>,
    /// Defines how target utilization value is expressed for a Stackdriver
    /// Monitoring metric. Either GAUGE,DELTA_PER_SECOND, or DELTA_PER_MINUTE.
    /// Check the UtilizationTargetType enum for the list of possible values.
    #[prost(string, optional, tag = "340169355")]
    pub utilization_target_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AutoscalingPolicyCustomMetricUtilization`.
pub mod autoscaling_policy_custom_metric_utilization {
    /// Defines how target utilization value is expressed for a Stackdriver
    /// Monitoring metric. Either GAUGE,DELTA_PER_SECOND, or DELTA_PER_MINUTE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum UtilizationTargetType {
        /// A value indicating that the enum field is not set.
        UndefinedUtilizationTargetType = 0,
        /// Sets the utilization target value for a cumulative or delta metric,
        /// expressed as the rate of growth per minute.
        DeltaPerMinute = 87432861,
        /// Sets the utilization target value for a cumulative or delta metric,
        /// expressed as the rate of growth per second.
        DeltaPerSecond = 255180029,
        /// Sets the utilization target value for a gauge metric. The autoscaler
        /// will collect the average utilization of the virtual machines from the
        /// last couple of minutes, and compare the value to the utilization
        /// target value to perform autoscaling.
        Gauge = 67590361,
    }
    impl UtilizationTargetType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedUtilizationTargetType => {
                    "UNDEFINED_UTILIZATION_TARGET_TYPE"
                }
                Self::DeltaPerMinute => "DELTA_PER_MINUTE",
                Self::DeltaPerSecond => "DELTA_PER_SECOND",
                Self::Gauge => "GAUGE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_UTILIZATION_TARGET_TYPE" => {
                    Some(Self::UndefinedUtilizationTargetType)
                }
                "DELTA_PER_MINUTE" => Some(Self::DeltaPerMinute),
                "DELTA_PER_SECOND" => Some(Self::DeltaPerSecond),
                "GAUGE" => Some(Self::Gauge),
                _ => None,
            }
        }
    }
}
/// Configuration parameters of autoscaling based on load balancing.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AutoscalingPolicyLoadBalancingUtilization {
    /// Fraction of backend capacity utilization (set in HTTP(S) load balancing
    /// configuration) that the autoscaler maintains. Must be a positive float
    /// value. If not defined, the default is 0.8.
    #[prost(double, optional, tag = "215905870")]
    pub utilization_target: ::core::option::Option<f64>,
}
/// Configuration that allows for slower scale in so that even if Autoscaler
/// recommends an abrupt scale in of a MIG, it will be throttled as specified
/// by the parameters below.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AutoscalingPolicyScaleInControl {
    /// Maximum allowed number (or %) of VMs that can be deducted from the peak
    /// recommendation during the window autoscaler looks at when computing
    /// recommendations. Possibly all these VMs can be deleted at once so user
    /// service needs to be prepared to lose that many VMs in one step.
    #[prost(message, optional, tag = "180710123")]
    pub max_scaled_in_replicas: ::core::option::Option<FixedOrPercent>,
    /// How far back autoscaling looks when computing recommendations to
    /// include directives regarding slower scale in, as described above.
    #[prost(int32, optional, tag = "36405300")]
    pub time_window_sec: ::core::option::Option<i32>,
}
/// Scaling based on user-defined schedule. The message describes a single
/// scaling schedule. A scaling schedule changes the minimum number of VM
/// instances an autoscaler can recommend, which can trigger scaling out.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct AutoscalingPolicyScalingSchedule {
    /// A description of a scaling schedule.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// A boolean value that specifies whether a scaling schedule can influence
    /// autoscaler recommendations. If set to true, then a scaling schedule has
    /// no effect. This field is optional, and its value is false by default.
    #[prost(bool, optional, tag = "270940796")]
    pub disabled: ::core::option::Option<bool>,
    /// The duration of time intervals, in seconds, for which this
    /// scaling schedule is to run. The minimum allowed value is 300.
    /// This field is required.
    #[prost(int32, optional, tag = "212356902")]
    pub duration_sec: ::core::option::Option<i32>,
    /// The minimum number of VM instances that the autoscaler will
    /// recommend in time intervals starting according to schedule. This field is
    /// required.
    #[prost(int32, optional, tag = "365514414")]
    pub min_required_replicas: ::core::option::Option<i32>,
    /// The start timestamps of time intervals when this scaling
    /// schedule is to provide a scaling signal. This field uses the extended
    /// cron format (with an optional year field). The expression can describe a
    /// single timestamp if the optional year is set, in which case the scaling
    /// schedule runs once. The schedule is interpreted with respect to
    /// time_zone. This field is required. Note: These timestamps only describe
    /// when autoscaler starts providing the scaling signal. The VMs
    /// need additional time to become serving.
    #[prost(string, optional, tag = "375820951")]
    pub schedule: ::core::option::Option<::prost::alloc::string::String>,
    /// The time zone to use when interpreting the schedule.
    /// The value of this field must be a time zone name from the tz database:
    /// <https://en.wikipedia.org/wiki/Tz_database.> This field is assigned a
    /// default value of "UTC" if left empty.
    #[prost(string, optional, tag = "36848094")]
    pub time_zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Message containing information of one individual backend.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Backend {
    /// Specifies how to determine whether the backend of a load balancer can
    /// handle additional traffic or is fully loaded. For usage guidelines, see
    /// Connection balancing mode.
    ///
    /// Backends must use compatible balancing modes. For more information, see
    /// Supported balancing modes and target capacity settings and
    /// Restrictions and guidance for instance groups.
    ///
    /// Note: Currently, if you use the API to configure incompatible balancing
    /// modes, the configuration might be accepted even though it has no impact
    /// and is ignored. Specifically, Backend.maxUtilization is ignored when
    /// Backend.balancingMode is RATE. In the future, this incompatible combination
    /// will be rejected.
    /// Check the BalancingMode enum for the list of possible values.
    #[prost(string, optional, tag = "430286217")]
    pub balancing_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// A multiplier applied to the backend's target capacity of its balancing
    /// mode.
    /// The default value is 1, which means the group serves up to
    /// 100% of its configured capacity (depending onbalancingMode). A setting of 0 means the group is
    /// completely drained, offering 0% of its available capacity. The valid ranges
    /// are 0.0 and \[0.1,1.0\].
    /// You cannot configure a setting larger than 0 and smaller than0.1.
    /// You cannot configure a setting of 0 when there is only one
    /// backend attached to the backend service.
    ///
    /// Not available with backends that don't support using abalancingMode. This includes backends such as global
    /// internet NEGs, regional serverless NEGs, and PSC NEGs.
    #[prost(float, optional, tag = "315958157")]
    pub capacity_scaler: ::core::option::Option<f32>,
    /// List of custom metrics that are used for CUSTOM_METRICS
    /// BalancingMode.
    #[prost(message, repeated, tag = "429453813")]
    pub custom_metrics: ::prost::alloc::vec::Vec<BackendCustomMetric>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// This field designates whether this is a failover backend. More than one
    /// failover backend can be configured for a given BackendService.
    #[prost(bool, optional, tag = "138892530")]
    pub failover: ::core::option::Option<bool>,
    /// The fully-qualified URL of aninstance
    /// group or network endpoint
    /// group (NEG) resource. To determine what types of backends a load
    /// balancer supports, see the [Backend services
    /// overview](<https://cloud.google.com/load-balancing/docs/backend-service#backends>).
    ///
    /// You must use the *fully-qualified* URL (starting with<https://www.googleapis.com/>) to specify the instance group
    /// or NEG. Partial URLs are not supported.
    ///
    /// If haPolicy is specified, backends must refer to NEG resources of type
    /// GCE_VM_IP.
    #[prost(string, optional, tag = "98629247")]
    pub group: ::core::option::Option<::prost::alloc::string::String>,
    /// Defines a target maximum number of simultaneous connections. For usage
    /// guidelines, seeConnection
    /// balancing mode and Utilization
    /// balancing mode. Not available if the backend'sbalancingMode is RATE.
    #[prost(int32, optional, tag = "110652154")]
    pub max_connections: ::core::option::Option<i32>,
    /// Defines a target maximum number of simultaneous connections.  For usage
    /// guidelines, seeConnection
    /// balancing mode and Utilization
    /// balancing mode.
    ///
    /// Not available if the backend's balancingMode isRATE.
    #[prost(int32, optional, tag = "216904604")]
    pub max_connections_per_endpoint: ::core::option::Option<i32>,
    /// Defines a target maximum number of simultaneous connections.
    /// For usage guidelines, seeConnection
    /// balancing mode and Utilization
    /// balancing mode.
    ///
    /// Not available if the backend's balancingMode isRATE.
    #[prost(int32, optional, tag = "104671900")]
    pub max_connections_per_instance: ::core::option::Option<i32>,
    /// Defines a maximum number of in-flight requests for the whole NEG or
    /// instance group. Not available if backend's balancingMode isRATE or CONNECTION.
    #[prost(int32, optional, tag = "273269332")]
    pub max_in_flight_requests: ::core::option::Option<i32>,
    /// Defines a maximum number of in-flight requests for a single endpoint.
    /// Not available if backend's balancingMode is RATE
    /// or CONNECTION.
    #[prost(int32, optional, tag = "307928706")]
    pub max_in_flight_requests_per_endpoint: ::core::option::Option<i32>,
    /// Defines a maximum number of in-flight requests for a single VM.
    /// Not available if backend's balancingMode is RATE
    /// or CONNECTION.
    #[prost(int32, optional, tag = "195696002")]
    pub max_in_flight_requests_per_instance: ::core::option::Option<i32>,
    /// Defines a maximum number of HTTP requests per second (RPS). For
    /// usage guidelines, seeRate
    /// balancing mode and Utilization
    /// balancing mode.
    ///
    /// Not available if the backend's balancingMode isCONNECTION.
    #[prost(int32, optional, tag = "408035035")]
    pub max_rate: ::core::option::Option<i32>,
    /// Defines a maximum target for requests per second (RPS). For usage
    /// guidelines, seeRate
    /// balancing mode and Utilization
    /// balancing mode.
    ///
    /// Not available if the backend's balancingMode isCONNECTION.
    #[prost(float, optional, tag = "129832283")]
    pub max_rate_per_endpoint: ::core::option::Option<f32>,
    /// Defines a maximum target for requests per second (RPS). For usage
    /// guidelines, seeRate
    /// balancing mode and Utilization
    /// balancing mode.
    ///
    /// Not available if the backend's balancingMode isCONNECTION.
    #[prost(float, optional, tag = "17599579")]
    pub max_rate_per_instance: ::core::option::Option<f32>,
    /// Optional parameter to define a target capacity for theUTILIZATION balancing mode. The valid range is\[0.0, 1.0\].
    ///
    /// For usage guidelines, seeUtilization
    /// balancing mode.
    #[prost(float, optional, tag = "148192199")]
    pub max_utilization: ::core::option::Option<f32>,
    /// Information about the resource or system that manages the backend.
    #[prost(message, optional, tag = "441144300")]
    pub orchestration_info: ::core::option::Option<BackendBackendOrchestrationInfo>,
    /// This field indicates whether this backend should be fully utilized before
    /// sending traffic to backends with default preference. The possible values
    /// are:
    ///
    /// ```text
    /// - PREFERRED: Backends with this preference level will be
    /// filled up to their capacity limits first, based on RTT.
    /// - DEFAULT:  If preferred backends don't have enough
    /// capacity, backends in this layer would be used and traffic would be
    /// assigned based on the load balancing algorithm you use. This is the
    /// default
    /// ```
    ///
    /// Check the Preference enum for the list of possible values.
    #[prost(string, optional, tag = "150781147")]
    pub preference: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the TrafficDuration enum for the list of possible values.
    #[prost(string, optional, tag = "11618710")]
    pub traffic_duration: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Backend`.
pub mod backend {
    /// Specifies how to determine whether the backend of a load balancer can
    /// handle additional traffic or is fully loaded. For usage guidelines, see
    /// Connection balancing mode.
    ///
    /// Backends must use compatible balancing modes. For more information, see
    /// Supported balancing modes and target capacity settings and
    /// Restrictions and guidance for instance groups.
    ///
    /// Note: Currently, if you use the API to configure incompatible balancing
    /// modes, the configuration might be accepted even though it has no impact
    /// and is ignored. Specifically, Backend.maxUtilization is ignored when
    /// Backend.balancingMode is RATE. In the future, this incompatible combination
    /// will be rejected.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum BalancingMode {
        /// A value indicating that the enum field is not set.
        UndefinedBalancingMode = 0,
        /// Balance based on the number of simultaneous connections.
        Connection = 246311646,
        /// Based on custom defined and reported metrics.
        CustomMetrics = 331575765,
        /// Balance based on the number of in-flight requests.
        InFlight = 190040266,
        /// Balance based on requests per second (RPS).
        Rate = 2508000,
        /// Balance based on the backend utilization.
        Utilization = 157008386,
    }
    impl BalancingMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBalancingMode => "UNDEFINED_BALANCING_MODE",
                Self::Connection => "CONNECTION",
                Self::CustomMetrics => "CUSTOM_METRICS",
                Self::InFlight => "IN_FLIGHT",
                Self::Rate => "RATE",
                Self::Utilization => "UTILIZATION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BALANCING_MODE" => Some(Self::UndefinedBalancingMode),
                "CONNECTION" => Some(Self::Connection),
                "CUSTOM_METRICS" => Some(Self::CustomMetrics),
                "IN_FLIGHT" => Some(Self::InFlight),
                "RATE" => Some(Self::Rate),
                "UTILIZATION" => Some(Self::Utilization),
                _ => None,
            }
        }
    }
    /// This field indicates whether this backend should be fully utilized before
    /// sending traffic to backends with default preference. The possible values
    /// are:
    ///
    /// ```text
    /// - PREFERRED: Backends with this preference level will be
    /// filled up to their capacity limits first, based on RTT.
    /// - DEFAULT:  If preferred backends don't have enough
    /// capacity, backends in this layer would be used and traffic would be
    /// assigned based on the load balancing algorithm you use. This is the
    /// default
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Preference {
        /// A value indicating that the enum field is not set.
        UndefinedPreference = 0,
        /// No preference.
        Default = 115302945,
        /// If preference is unspecified, we set it to the DEFAULT value
        Unspecified = 496219571,
        /// Traffic will be sent to this backend first.
        Preferred = 418847841,
    }
    impl Preference {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPreference => "UNDEFINED_PREFERENCE",
                Self::Default => "DEFAULT",
                Self::Unspecified => "PREFERENCE_UNSPECIFIED",
                Self::Preferred => "PREFERRED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PREFERENCE" => Some(Self::UndefinedPreference),
                "DEFAULT" => Some(Self::Default),
                "PREFERENCE_UNSPECIFIED" => Some(Self::Unspecified),
                "PREFERRED" => Some(Self::Preferred),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum TrafficDuration {
        /// A value indicating that the enum field is not set.
        UndefinedTrafficDuration = 0,
        /// Most of the requests are expected to take more than multiple seconds to
        /// finish.
        Long = 2342524,
        /// Most requests are expected to finish with a sub-second latency.
        Short = 78875740,
        /// Traffic duration is unspecified.
        Unspecified = 265201166,
    }
    impl TrafficDuration {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedTrafficDuration => "UNDEFINED_TRAFFIC_DURATION",
                Self::Long => "LONG",
                Self::Short => "SHORT",
                Self::Unspecified => "TRAFFIC_DURATION_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TRAFFIC_DURATION" => Some(Self::UndefinedTrafficDuration),
                "LONG" => Some(Self::Long),
                "SHORT" => Some(Self::Short),
                "TRAFFIC_DURATION_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// A message containing information about the resource or system that manages
/// the backend.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendBackendOrchestrationInfo {
    /// The URI of the resource or system that manages the backend.
    #[prost(string, optional, tag = "152830395")]
    pub resource_uri: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a Cloud Storage Bucket resource.
///
/// This Cloud Storage bucket resource is referenced by a URL map of a load
/// balancer. For more information, readBackend Buckets.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendBucket {
    /// Cloud Storage bucket name.
    #[prost(string, optional, tag = "283610048")]
    pub bucket_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Cloud CDN configuration for this BackendBucket.
    #[prost(message, optional, tag = "213976452")]
    pub cdn_policy: ::core::option::Option<BackendBucketCdnPolicy>,
    /// Compress text responses using Brotli or gzip compression, based on
    /// the client's Accept-Encoding header.
    /// Check the CompressionMode enum for the list of possible values.
    #[prost(string, optional, tag = "95520988")]
    pub compression_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Headers that the Application Load Balancer should add to proxied responses.
    #[prost(string, repeated, tag = "387539094")]
    pub custom_response_headers: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// An optional textual description of the resource; provided by the client
    /// when the resource is created.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The resource URL for the edge security policy associated with
    /// this backend bucket.
    #[prost(string, optional, tag = "41036943")]
    pub edge_security_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// If true, enable Cloud CDN for this BackendBucket.
    #[prost(bool, optional, tag = "282942321")]
    pub enable_cdn: ::core::option::Option<bool>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. Type of the resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The value can only be INTERNAL_MANAGED for cross-region internal layer 7
    /// load balancer.
    ///
    /// If loadBalancingScheme is not specified, the backend bucket can be used by
    /// classic global external load balancers, or global application external load
    /// balancers, or both.
    /// Check the LoadBalancingScheme enum for the list of possible values.
    #[prost(string, optional, tag = "363890244")]
    pub load_balancing_scheme: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<BackendBucketParams>,
    /// Output only. \[Output Only\] URL of the region where the regional backend bucket
    /// resides. This field is not applicable to global backend buckets.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] List of resources referencing that backend bucket.
    #[prost(message, repeated, tag = "389320729")]
    pub used_by: ::prost::alloc::vec::Vec<BackendBucketUsedBy>,
}
/// Nested message and enum types in `BackendBucket`.
pub mod backend_bucket {
    /// Compress text responses using Brotli or gzip compression, based on
    /// the client's Accept-Encoding header.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CompressionMode {
        /// A value indicating that the enum field is not set.
        UndefinedCompressionMode = 0,
        /// Automatically uses the best compression based on the Accept-Encoding
        /// header sent by the client.
        Automatic = 165298699,
        /// Disables compression. Existing compressed responses cached by
        /// Cloud CDN will not be served to clients.
        Disabled = 516696700,
    }
    impl CompressionMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCompressionMode => "UNDEFINED_COMPRESSION_MODE",
                Self::Automatic => "AUTOMATIC",
                Self::Disabled => "DISABLED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_COMPRESSION_MODE" => Some(Self::UndefinedCompressionMode),
                "AUTOMATIC" => Some(Self::Automatic),
                "DISABLED" => Some(Self::Disabled),
                _ => None,
            }
        }
    }
    /// The value can only be INTERNAL_MANAGED for cross-region internal layer 7
    /// load balancer.
    ///
    /// If loadBalancingScheme is not specified, the backend bucket can be used by
    /// classic global external load balancers, or global application external load
    /// balancers, or both.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LoadBalancingScheme {
        /// A value indicating that the enum field is not set.
        UndefinedLoadBalancingScheme = 0,
        /// Signifies that this will be used for regional external Application Load
        /// Balancers.
        ExternalManaged = 512006923,
        /// Signifies that this will be used for internal Application Load Balancers.
        InternalManaged = 37350397,
    }
    impl LoadBalancingScheme {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLoadBalancingScheme => "UNDEFINED_LOAD_BALANCING_SCHEME",
                Self::ExternalManaged => "EXTERNAL_MANAGED",
                Self::InternalManaged => "INTERNAL_MANAGED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LOAD_BALANCING_SCHEME" => {
                    Some(Self::UndefinedLoadBalancingScheme)
                }
                "EXTERNAL_MANAGED" => Some(Self::ExternalManaged),
                "INTERNAL_MANAGED" => Some(Self::InternalManaged),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendBucketAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of BackendBucketsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        BackendBucketsScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Message containing Cloud CDN configuration for a backend bucket.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendBucketCdnPolicy {
    /// Bypass the cache when the specified request headers are matched - e.g.
    /// Pragma or Authorization headers. Up to 5 headers can be specified.
    /// The cache is bypassed for all cdnPolicy.cacheMode settings.
    #[prost(message, repeated, tag = "486203082")]
    pub bypass_cache_on_request_headers: ::prost::alloc::vec::Vec<
        BackendBucketCdnPolicyBypassCacheOnRequestHeader,
    >,
    /// The CacheKeyPolicy for this CdnPolicy.
    #[prost(message, optional, tag = "159263727")]
    pub cache_key_policy: ::core::option::Option<BackendBucketCdnPolicyCacheKeyPolicy>,
    /// Specifies the cache setting for all responses from this backend.
    /// The possible values are:USE_ORIGIN_HEADERS Requires the origin to set valid caching
    /// headers to cache content. Responses without these headers will not be
    /// cached at Google's edge, and will require a full trip to the origin on
    /// every request, potentially impacting performance and increasing load on
    /// the origin server.FORCE_CACHE_ALL Cache all content, ignoring any "private",
    /// "no-store" or "no-cache" directives in Cache-Control response headers.
    /// Warning: this may result in Cloud CDN caching private,
    /// per-user (user identifiable) content.CACHE_ALL_STATIC Automatically cache static content,
    /// including common image formats, media (video and audio), and web assets
    /// (JavaScript and CSS). Requests and responses that are marked as
    /// uncacheable, as well as dynamic content (including HTML), will not be
    /// cached.
    ///
    /// If no value is provided for cdnPolicy.cacheMode, it defaults
    /// to CACHE_ALL_STATIC.
    /// Check the CacheMode enum for the list of possible values.
    #[prost(string, optional, tag = "28877888")]
    pub cache_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a separate client (e.g. browser client) maximum TTL. This is
    /// used to clamp the max-age (or Expires) value sent to the client.  With
    /// FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the
    /// response max-age directive, along with a "public" directive.  For
    /// cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age
    /// from the origin (if specified), or else sets the response max-age
    /// directive to the lesser of the client_ttl and default_ttl, and also
    /// ensures a "public" cache-control directive is present.
    /// If a client TTL is not specified, a default value (1 hour) will be used.
    /// The maximum allowed value is 31,622,400s (1 year).
    #[prost(int32, optional, tag = "29034360")]
    pub client_ttl: ::core::option::Option<i32>,
    /// Specifies the default TTL for cached content served by this origin for
    /// responses that do not have an existing valid TTL (max-age or s-maxage).
    /// Setting a TTL of "0" means "always revalidate".
    /// The value of defaultTTL cannot be set to a value greater than that of
    /// maxTTL, but can be equal.
    /// When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL
    /// will overwrite the TTL set in all responses. The maximum allowed value is
    /// 31,622,400s (1 year), noting that infrequently accessed objects may be
    /// evicted from the cache before the defined TTL.
    #[prost(int32, optional, tag = "100253422")]
    pub default_ttl: ::core::option::Option<i32>,
    /// Specifies the maximum allowed TTL for cached content served by this
    /// origin.
    /// Cache directives that attempt to set a max-age or s-maxage higher than
    /// this, or an Expires header more than maxTTL seconds in the future will
    /// be capped at the value of maxTTL, as if it were the value of an
    /// s-maxage Cache-Control directive.
    /// Headers sent to the client will not be modified.
    /// Setting a TTL of "0" means "always revalidate".
    /// The maximum allowed value is 31,622,400s (1 year), noting that
    /// infrequently accessed objects may be evicted from the cache before
    /// the defined TTL.
    #[prost(int32, optional, tag = "307578001")]
    pub max_ttl: ::core::option::Option<i32>,
    /// Negative caching allows per-status code TTLs to be set, in order
    /// to apply fine-grained caching for common errors or redirects.
    /// This can reduce the load on your origin and improve end-user
    /// experience by reducing response latency.
    /// When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS,
    /// negative caching applies to responses with the specified response code
    /// that lack any Cache-Control, Expires, or Pragma: no-cache directives.
    /// When the cache mode is set to FORCE_CACHE_ALL, negative caching applies
    /// to all responses with the specified response code, and override any
    /// caching headers.
    /// By default, Cloud CDN will apply the following default TTLs to these
    /// status codes:
    /// HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m
    /// HTTP 404 (Not Found), 410 (Gone),
    /// 451 (Unavailable For Legal Reasons): 120s
    /// HTTP 405 (Method Not Found), 501 (Not Implemented): 60s.
    /// These defaults can be overridden in negative_caching_policy.
    #[prost(bool, optional, tag = "336110005")]
    pub negative_caching: ::core::option::Option<bool>,
    /// Sets a cache TTL for the specified HTTP status code.
    /// negative_caching must be enabled to configure negative_caching_policy.
    /// Omitting the policy and leaving negative_caching enabled will use
    /// Cloud CDN's default cache TTLs.
    /// Note that when specifying an explicit negative_caching_policy, you
    /// should take care to specify a cache TTL for all response codes
    /// that you wish to cache. Cloud CDN will not apply any default
    /// negative caching when a policy exists.
    #[prost(message, repeated, tag = "155359996")]
    pub negative_caching_policy: ::prost::alloc::vec::Vec<
        BackendBucketCdnPolicyNegativeCachingPolicy,
    >,
    /// If true then Cloud CDN will combine multiple concurrent cache fill
    /// requests into a small number of requests to the origin.
    #[prost(bool, optional, tag = "532808276")]
    pub request_coalescing: ::core::option::Option<bool>,
    /// Serve existing content from the cache (if available) when revalidating
    /// content with the origin, or when an error is encountered when refreshing
    /// the cache.
    /// This setting defines the default "max-stale" duration for any cached
    /// responses that do not specify a max-stale directive. Stale responses that
    /// exceed the TTL configured here will not be served. The default limit
    /// (max-stale) is 86400s (1 day), which will allow stale content to be
    /// served up to this limit beyond the max-age (or s-maxage) of a cached
    /// response.
    /// The maximum allowed value is 604800 (1 week).
    /// Set this to zero (0) to disable serve-while-stale.
    #[prost(int32, optional, tag = "236682203")]
    pub serve_while_stale: ::core::option::Option<i32>,
    /// Maximum number of seconds the response to a signed URL request will be
    /// considered fresh. After this time period, the response will be
    /// revalidated before being served. Defaults to 1hr (3600s).  When serving
    /// responses to signed URL requests, Cloud CDN will internally behave as
    /// though all responses from this backend had a "Cache-Control:
    /// public, max-age=\[TTL\]" header, regardless of any existing
    /// Cache-Control header. The actual headers served in responses will not be
    /// altered.
    #[prost(int64, optional, tag = "269374534")]
    pub signed_url_cache_max_age_sec: ::core::option::Option<i64>,
    /// \[Output Only\] Names of the keys for signing request URLs.
    #[prost(string, repeated, tag = "371848885")]
    pub signed_url_key_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `BackendBucketCdnPolicy`.
pub mod backend_bucket_cdn_policy {
    /// Specifies the cache setting for all responses from this backend.
    /// The possible values are:USE_ORIGIN_HEADERS Requires the origin to set valid caching
    /// headers to cache content. Responses without these headers will not be
    /// cached at Google's edge, and will require a full trip to the origin on
    /// every request, potentially impacting performance and increasing load on
    /// the origin server.FORCE_CACHE_ALL Cache all content, ignoring any "private",
    /// "no-store" or "no-cache" directives in Cache-Control response headers.
    /// Warning: this may result in Cloud CDN caching private,
    /// per-user (user identifiable) content.CACHE_ALL_STATIC Automatically cache static content,
    /// including common image formats, media (video and audio), and web assets
    /// (JavaScript and CSS). Requests and responses that are marked as
    /// uncacheable, as well as dynamic content (including HTML), will not be
    /// cached.
    ///
    /// If no value is provided for cdnPolicy.cacheMode, it defaults
    /// to CACHE_ALL_STATIC.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CacheMode {
        /// A value indicating that the enum field is not set.
        UndefinedCacheMode = 0,
        /// Automatically cache static content, including common image formats,
        /// media (video and audio), and web assets (JavaScript and CSS).
        /// Requests and responses that are marked as uncacheable, as well as
        /// dynamic content (including HTML), will not be cached.
        CacheAllStatic = 355027945,
        /// Cache all content, ignoring any "private", "no-store" or "no-cache"
        /// directives in Cache-Control response headers.
        /// Warning: this may result in Cloud CDN caching private,
        /// per-user (user identifiable) content.
        ForceCacheAll = 486026928,
        InvalidCacheMode = 381295560,
        /// Requires the origin to set valid caching headers to cache content.
        /// Responses without these headers will not be cached at Google's edge,
        /// and will require a full trip to the origin on every request,
        /// potentially impacting performance and increasing load on the
        /// origin server.
        UseOriginHeaders = 55380261,
    }
    impl CacheMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCacheMode => "UNDEFINED_CACHE_MODE",
                Self::CacheAllStatic => "CACHE_ALL_STATIC",
                Self::ForceCacheAll => "FORCE_CACHE_ALL",
                Self::InvalidCacheMode => "INVALID_CACHE_MODE",
                Self::UseOriginHeaders => "USE_ORIGIN_HEADERS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CACHE_MODE" => Some(Self::UndefinedCacheMode),
                "CACHE_ALL_STATIC" => Some(Self::CacheAllStatic),
                "FORCE_CACHE_ALL" => Some(Self::ForceCacheAll),
                "INVALID_CACHE_MODE" => Some(Self::InvalidCacheMode),
                "USE_ORIGIN_HEADERS" => Some(Self::UseOriginHeaders),
                _ => None,
            }
        }
    }
}
/// Bypass the cache when the specified request headers are present,
/// e.g. Pragma or Authorization headers. Values are case insensitive.
/// The presence of such a header overrides the cache_mode setting.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendBucketCdnPolicyBypassCacheOnRequestHeader {
    /// The header field name to match on when bypassing cache.
    /// Values are case-insensitive.
    #[prost(string, optional, tag = "110223613")]
    pub header_name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Message containing what to include in the cache key for a request for
/// Cloud CDN.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendBucketCdnPolicyCacheKeyPolicy {
    /// Allows HTTP request headers (by name) to be used in the cache key.
    #[prost(string, repeated, tag = "2489606")]
    pub include_http_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Names of query string parameters to include in cache keys. Default
    /// parameters are always included. '&' and '=' will be percent encoded
    /// and not treated as delimiters.
    #[prost(string, repeated, tag = "52456496")]
    pub query_string_whitelist: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Specify CDN TTLs for response error codes.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendBucketCdnPolicyNegativeCachingPolicy {
    /// The HTTP status code to define a TTL against. Only HTTP status codes
    /// 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 can be
    /// specified as values, and you cannot specify a status code more than
    /// once.
    #[prost(int32, optional, tag = "3059181")]
    pub code: ::core::option::Option<i32>,
    /// The TTL (in seconds) for which to cache responses with the
    /// corresponding status code.
    /// The maximum allowed value is 1800s (30 minutes), noting that
    /// infrequently accessed objects may be evicted from the cache before the
    /// defined TTL.
    #[prost(int32, optional, tag = "115180")]
    pub ttl: ::core::option::Option<i32>,
}
/// Contains a list of BackendBucket resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendBucketList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of BackendBucket resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<BackendBucket>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendBucketListUsable {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of BackendBucket resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<BackendBucket>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#usableBackendBucketList for lists of usable backend
    /// buckets.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Additional Backend Bucket parameters.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendBucketParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendBucketUsedBy {
    /// Output only. \[Output Only\] Server-defined URL for UrlMaps referencing that
    /// BackendBucket.
    #[prost(string, optional, tag = "148586315")]
    pub reference: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendBucketsScopedList {
    /// A list of BackendBuckets contained in this scope.
    #[prost(message, repeated, tag = "158780702")]
    pub backend_buckets: ::prost::alloc::vec::Vec<BackendBucket>,
    /// Informational warning which replaces the list of
    /// backend services when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Custom Metrics are used for CUSTOM_METRICS balancing_mode.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendCustomMetric {
    /// If true, the metric data is collected and reported to Cloud
    /// Monitoring, but is not used for load balancing.
    #[prost(bool, optional, tag = "323854839")]
    pub dry_run: ::core::option::Option<bool>,
    /// Optional parameter to define a target utilization for the Custom Metrics
    /// balancing mode. The valid range is \[0.0, 1.0\].
    #[prost(float, optional, tag = "148192199")]
    pub max_utilization: ::core::option::Option<f32>,
    /// Name of a custom utilization signal. The name must be 1-64 characters
    /// long and match the regular expression
    /// `[a-z](\[-_.a-z0-9\]*[a-z0-9])?` which means that the
    /// first character must be a lowercase letter, and all following
    /// characters must be a dash, period, underscore, lowercase letter, or
    /// digit, except the last character, which cannot be a dash, period, or
    /// underscore. For usage guidelines, see Custom Metrics balancing mode. This
    /// field can only be used for a global or regional backend service with the
    /// loadBalancingScheme set to EXTERNAL_MANAGED,INTERNAL_MANAGED INTERNAL_SELF_MANAGED.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a Backend Service resource.
///
/// A backend service defines how Google Cloud load balancers distribute traffic.
/// The backend service configuration contains a set of values, such as the
/// protocol used to connect to backends, various distribution and session
/// settings, health checks, and timeouts. These settings provide fine-grained
/// control over how your load balancer behaves. Most of the settings have
/// default values that allow for easy configuration if you need to get started
/// quickly.
///
/// Backend services in Google Compute Engine can be either regionally or
/// globally scoped.
///
/// * [Global](<https://cloud.google.com/compute/docs/reference/rest/v1/backendServices>)
/// * [Regional](<https://cloud.google.com/compute/docs/reference/rest/v1/regionBackendServices>)
///
/// For more information, seeBackend
/// Services.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendService {
    /// Lifetime of cookies in seconds. This setting is applicable to Application
    /// Load Balancers and Traffic Director and requires
    /// GENERATED_COOKIE or HTTP_COOKIE session affinity.
    ///
    /// If set to 0, the cookie is non-persistent and lasts only until
    /// the end of the browser session (or equivalent). The maximum allowed value
    /// is two weeks (1,209,600).
    ///
    /// Not supported when the backend service is referenced by a URL map that is
    /// bound to target gRPC proxy that has validateForProxyless field set to true.
    #[prost(int32, optional, tag = "369996954")]
    pub affinity_cookie_ttl_sec: ::core::option::Option<i32>,
    /// The list of backends that serve this BackendService.
    #[prost(message, repeated, tag = "510839903")]
    pub backends: ::prost::alloc::vec::Vec<Backend>,
    /// Cloud CDN configuration for this BackendService. Only available for
    /// specified load balancer types.
    #[prost(message, optional, tag = "213976452")]
    pub cdn_policy: ::core::option::Option<BackendServiceCdnPolicy>,
    #[prost(message, optional, tag = "421340061")]
    pub circuit_breakers: ::core::option::Option<CircuitBreakers>,
    /// Compress text responses using Brotli or gzip compression, based on
    /// the client's Accept-Encoding header.
    /// Check the CompressionMode enum for the list of possible values.
    #[prost(string, optional, tag = "95520988")]
    pub compression_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// connectionDraining cannot be specified with haPolicy.
    #[prost(message, optional, tag = "461096747")]
    pub connection_draining: ::core::option::Option<ConnectionDraining>,
    /// Connection Tracking configuration for this BackendService. Connection
    /// tracking policy settings are only available for external passthrough
    /// Network Load Balancers and internal passthrough Network Load Balancers.
    ///
    /// connectionTrackingPolicy cannot be specified with haPolicy.
    #[prost(message, optional, tag = "143994969")]
    pub connection_tracking_policy: ::core::option::Option<
        BackendServiceConnectionTrackingPolicy,
    >,
    /// Consistent Hash-based load balancing can be used to provide soft session
    /// affinity based on HTTP headers, cookies or other properties. This load
    /// balancing policy is applicable only for HTTP connections. The affinity to a
    /// particular destination host will be lost when one or more hosts are
    /// added/removed from the destination service. This field specifies parameters
    /// that control consistent hashing. This field is only applicable whenlocalityLbPolicy is set to MAGLEV orRING_HASH.
    ///
    /// This field is applicable to either:
    ///
    /// ```text
    /// - A regional backend service with the service protocol set to HTTP,
    /// HTTPS, HTTP2 or H2C, and load_balancing_scheme set to
    /// INTERNAL_MANAGED.
    /// - A global backend service with the
    /// load_balancing_scheme set to INTERNAL_SELF_MANAGED.
    /// ```
    #[prost(message, optional, tag = "905883")]
    pub consistent_hash: ::core::option::Option<ConsistentHashLoadBalancerSettings>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// List of custom metrics that are used for theWEIGHTED_ROUND_ROBIN locality_lb_policy.
    #[prost(message, repeated, tag = "429453813")]
    pub custom_metrics: ::prost::alloc::vec::Vec<BackendServiceCustomMetric>,
    /// Headers that the load balancer adds to proxied requests. See [Creating
    /// custom
    /// headers](<https://cloud.google.com/load-balancing/docs/custom-headers>).
    #[prost(string, repeated, tag = "27977992")]
    pub custom_request_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Headers that the load balancer adds to proxied responses. See [Creating
    /// custom
    /// headers](<https://cloud.google.com/load-balancing/docs/custom-headers>).
    #[prost(string, repeated, tag = "387539094")]
    pub custom_response_headers: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The resource URL for the edge security policy associated with
    /// this backend service.
    #[prost(string, optional, tag = "41036943")]
    pub edge_security_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// If true, enables Cloud CDN for the backend service of a
    /// global external Application Load Balancer.
    #[prost(bool, optional, tag = "250733499")]
    pub enable_c_d_n: ::core::option::Option<bool>,
    /// Specifies the canary migration state. Possible values are PREPARE,
    /// TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC.
    ///
    /// To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be
    /// changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before
    /// the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the
    /// TEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using
    /// externalManagedMigrationTestingPercentage.
    ///
    /// Rolling back a migration requires the states to be set in reverse order. So
    /// changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to
    /// be set to TEST_ALL_TRAFFIC at the same time. Optionally, the
    /// TEST_BY_PERCENTAGE state can be used to migrate some traffic back to
    /// EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
    /// Check the ExternalManagedMigrationState enum for the list of possible values.
    #[prost(string, optional, tag = "66947020")]
    pub external_managed_migration_state: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Determines the fraction of requests that should be processed by the Global
    /// external Application Load Balancer.
    ///
    /// The value of this field must be in the range \[0, 100\].
    ///
    /// Session affinity options will slightly affect this routing behavior, for
    /// more details, see:Session
    /// Affinity.
    ///
    /// This value can only be set if the loadBalancingScheme in the BackendService
    /// is set to EXTERNAL (when using the classic Application Load Balancer) and
    /// the migration state is TEST_BY_PERCENTAGE.
    #[prost(float, optional, tag = "507232462")]
    pub external_managed_migration_testing_percentage: ::core::option::Option<f32>,
    /// Requires at least one backend instance group to be defined
    /// as a backup (failover) backend.
    /// For load balancers that have configurable failover:
    /// [Internal passthrough Network Load
    /// Balancers](<https://cloud.google.com/load-balancing/docs/internal/failover-overview>)
    /// and [external passthrough Network Load
    /// Balancers](<https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview>).
    ///
    /// failoverPolicy cannot be specified with haPolicy.
    #[prost(message, optional, tag = "105658655")]
    pub failover_policy: ::core::option::Option<BackendServiceFailoverPolicy>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a BackendService. An up-to-date fingerprint must be provided in
    /// order to update the BackendService, otherwise the request will
    /// fail with error 412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a BackendService.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Configures self-managed High Availability (HA) for External and Internal
    /// Protocol Forwarding.
    ///
    /// The backends of this regional backend service must only specify zonal
    /// network endpoint groups (NEGs) of type GCE_VM_IP.
    ///
    /// When haPolicy is set for an Internal Passthrough Network Load Balancer, the
    /// regional backend service must set the network field. All zonal NEGs must
    /// belong to the same network. However, individual NEGs can
    /// belong to different subnetworks of that network.
    ///
    /// When haPolicy is specified, the set of attached network endpoints across
    /// all backends comprise an High Availability domain from which one endpoint
    /// is selected as the active endpoint (the leader) that receives all
    /// traffic.
    ///
    /// haPolicy can be added only at backend service creation time. Once set up,
    /// it cannot be deleted.
    ///
    /// Note that haPolicy is not for load balancing, and therefore cannot be
    /// specified with sessionAffinity, connectionTrackingPolicy, and
    /// failoverPolicy.
    ///
    /// haPolicy requires customers to be responsible for tracking backend
    /// endpoint health and electing a leader among the healthy endpoints.
    /// Therefore, haPolicy cannot be specified with healthChecks.
    ///
    /// haPolicy can only be specified for External Passthrough Network Load
    /// Balancers and Internal Passthrough Network Load Balancers.
    #[prost(message, optional, tag = "519879480")]
    pub ha_policy: ::core::option::Option<BackendServiceHaPolicy>,
    /// The list of URLs to the healthChecks, httpHealthChecks (legacy), or
    /// httpsHealthChecks (legacy) resource for health checking this backend
    /// service. Not all backend services support legacy health checks. See
    /// Load balancer guide. Currently, at most one health check can be
    /// specified for each backend service. Backend services with
    /// instance group or zonal NEG backends must have a health check unless
    /// haPolicy is specified. Backend services with internet or serverless NEG
    /// backends must not have a health check.
    ///
    /// healthChecks\[\] cannot be specified with haPolicy.
    #[prost(string, repeated, tag = "448370606")]
    pub health_checks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The configurations for Identity-Aware Proxy on this resource.
    /// Not available for internal passthrough Network Load Balancers and external
    /// passthrough Network Load Balancers.
    #[prost(message, optional, tag = "104024")]
    pub iap: ::core::option::Option<BackendServiceIap>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Specifies a preference for traffic sent from the proxy to the backend (or
    /// from the client to the backend for proxyless gRPC).
    /// The possible values are:
    ///
    /// ```text
    /// - IPV4_ONLY: Only send IPv4 traffic to the backends of the
    /// backend service (Instance Group, Managed Instance Group, Network Endpoint
    /// Group), regardless of traffic from the client to the proxy. Only IPv4
    /// health checks are used to check the health of the backends. This is the
    /// default setting.
    /// - PREFER_IPV6: Prioritize the connection to the endpoint's
    /// IPv6 address over its IPv4 address (provided there is a healthy IPv6
    /// address).
    /// - IPV6_ONLY: Only send IPv6 traffic to the backends of the
    /// backend service (Instance Group, Managed Instance Group, Network Endpoint
    /// Group), regardless of traffic from the client to the proxy. Only IPv6
    /// health checks are used to check the health of the backends.
    /// ```
    ///
    /// This field is applicable to either:
    ///
    /// ```text
    /// -  Advanced global external Application Load Balancer (load balancing
    /// scheme EXTERNAL_MANAGED),
    /// -  Regional external Application Load
    /// Balancer,
    /// -  Internal proxy Network Load Balancer (load balancing
    /// scheme INTERNAL_MANAGED),
    /// -  Regional internal Application Load
    /// Balancer (load balancing scheme INTERNAL_MANAGED),
    /// -  Traffic
    /// Director with Envoy proxies and proxyless gRPC (load balancing scheme
    /// INTERNAL_SELF_MANAGED).
    /// ```
    ///
    /// Check the IpAddressSelectionPolicy enum for the list of possible values.
    #[prost(string, optional, tag = "77600840")]
    pub ip_address_selection_policy: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Type of resource. Always compute#backendService
    /// for backend services.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the load balancer type. A backend service
    /// created for one type of load balancer cannot be used with another.
    /// For more information, refer toChoosing
    /// a load balancer.
    /// Check the LoadBalancingScheme enum for the list of possible values.
    #[prost(string, optional, tag = "363890244")]
    pub load_balancing_scheme: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of locality load-balancing policies to be used in order of
    /// preference. When you use localityLbPolicies, you must set at least one
    /// value for either the localityLbPolicies\[\].policy or the
    /// localityLbPolicies\[\].customPolicy field. localityLbPolicies overrides any
    /// value set in the localityLbPolicy field.
    ///
    /// For an example of how to use this field, seeDefine
    /// a list of preferred policies.
    ///
    /// Caution: This field and its children are intended for use in a service mesh
    /// that includes gRPC clients only. Envoy proxies can't use backend services
    /// that have this configuration.
    #[prost(message, repeated, tag = "140982557")]
    pub locality_lb_policies: ::prost::alloc::vec::Vec<
        BackendServiceLocalityLoadBalancingPolicyConfig,
    >,
    /// The load balancing algorithm used within the scope of the locality. The
    /// possible values are:
    ///
    /// ```text
    /// - ROUND_ROBIN: This is a simple policy in which each healthy
    /// backend is selected in round robin order. This is the default.
    /// - LEAST_REQUEST: An O(1) algorithm which
    /// selects two random healthy hosts and picks the host which has fewer active
    /// requests.
    /// - RING_HASH: The ring/modulo hash load balancer implements
    /// consistent hashing to backends. The algorithm has the property that the
    /// addition/removal of a host from a set of N hosts only affects 1/N of the
    /// requests.
    /// - RANDOM: The load balancer selects a random healthy
    /// host.
    /// - ORIGINAL_DESTINATION: Backend host is selected
    /// based on the client connection metadata, i.e., connections are opened to
    /// the same address as the destination address of the incoming connection
    /// before the connection was redirected to the load balancer.
    /// - MAGLEV: used as a drop in replacement for the ring hash
    /// load balancer. Maglev is not as stable as ring hash but has faster table
    /// lookup build times and host selection times. For more information about
    /// Maglev, see Maglev:
    /// A Fast and Reliable Software Network Load Balancer.
    /// - WEIGHTED_ROUND_ROBIN: Per-endpoint Weighted Round Robin
    /// Load Balancing using weights computed from Backend reported Custom Metrics.
    /// If set, the Backend Service responses are expected to contain non-standard
    /// HTTP response header field Endpoint-Load-Metrics. The reported
    /// metrics to use for computing the weights are specified via thecustomMetrics field.
    ///
    /// This field is applicable to either:
    ///    - A regional backend service with the service protocol set to HTTP,
    ///    HTTPS, HTTP2 or H2C, and load_balancing_scheme set to
    ///    INTERNAL_MANAGED.
    ///    - A global backend service with the
    ///    load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or
    ///    EXTERNAL_MANAGED.
    ///
    ///
    /// If sessionAffinity is not configured—that is, if session
    /// affinity remains at the default value of NONE—then the
    /// default value for localityLbPolicy
    /// is ROUND_ROBIN. If session affinity is set to a value other
    /// than NONE,
    /// then the default value for localityLbPolicy isMAGLEV.
    ///
    /// Only ROUND_ROBIN and RING_HASH are supported
    /// when the backend service is referenced by a URL map that is bound to
    /// target gRPC proxy that has validateForProxyless field set to true.
    ///
    /// localityLbPolicy cannot be specified with haPolicy.
    /// ```
    ///
    /// Check the LocalityLbPolicy enum for the list of possible values.
    #[prost(string, optional, tag = "131431487")]
    pub locality_lb_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// This field denotes the logging options for the load balancer traffic served
    /// by this backend service. If logging is enabled, logs will be exported to
    /// Stackdriver.
    #[prost(message, optional, tag = "351299741")]
    pub log_config: ::core::option::Option<BackendServiceLogConfig>,
    /// Specifies the default maximum duration (timeout) for streams to this
    /// service. Duration is computed from the beginning of the stream until the
    /// response has been completely processed, including all retries. A stream
    /// that does not complete in this duration is closed.
    ///
    /// If not specified, there will be no timeout limit, i.e. the maximum
    /// duration is infinite.
    ///
    /// This value can be overridden in the PathMatcher configuration of the
    /// UrlMap that references this backend service.
    ///
    /// This field is only allowed when the loadBalancingScheme of
    /// the backend service is INTERNAL_SELF_MANAGED.
    #[prost(message, optional, tag = "61428376")]
    pub max_stream_duration: ::core::option::Option<Duration>,
    /// Deployment metadata associated with the resource to be set by a GKE hub
    /// controller and read by the backend RCTH
    #[prost(map = "string, string", tag = "8514340")]
    pub metadatas: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the network to which this backend service belongs.
    ///
    /// This field must be set for Internal Passthrough Network Load Balancers when
    /// the haPolicy is enabled, and for External Passthrough Network Load
    /// Balancers when the haPolicy fastIpMove is enabled.
    ///
    /// This field can only be specified when the load balancing scheme is set toINTERNAL, or when the load balancing scheme is set toEXTERNAL and haPolicy fastIpMove is enabled.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Configures traffic steering properties of internal passthrough Network
    /// Load Balancers.
    ///
    /// networkPassThroughLbTrafficPolicy cannot be specified with haPolicy.
    #[prost(message, optional, tag = "230323750")]
    pub network_pass_through_lb_traffic_policy: ::core::option::Option<
        BackendServiceNetworkPassThroughLbTrafficPolicy,
    >,
    /// Information about the resource or system that manages the backend service.
    #[prost(message, optional, tag = "441144300")]
    pub orchestration_info: ::core::option::Option<BackendServiceOrchestrationInfo>,
    /// Settings controlling the ejection of unhealthy backend endpoints from the
    /// load balancing pool of each individual proxy instance that processes the
    /// traffic for the given backend service. If not set, this feature is
    /// considered disabled.
    ///
    /// Results of the outlier detection algorithm (ejection of endpoints from the
    /// load balancing pool and returning them back to the pool) are executed
    /// independently by each proxy instance of the load balancer. In most cases,
    /// more than one proxy instance handles the traffic received by a backend
    /// service. Thus, it is possible that an unhealthy endpoint is detected and
    /// ejected by only some of the proxies, and while this happens, other proxies
    /// may continue to send requests to the same unhealthy endpoint until they
    /// detect and eject the unhealthy endpoint.
    ///
    /// Applicable backend endpoints can be:
    ///
    /// ```text
    /// - VM instances in an Instance Group
    /// - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT)
    /// - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT)
    /// - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud
    /// Functions Services
    /// - Private Service Connect NEGs, that resolve to
    /// Google-managed regional API endpoints or managed services published using
    /// Private Service Connect
    /// ```
    ///
    /// Applicable backend service types can be:
    ///
    /// ```text
    /// - A global backend service with the loadBalancingScheme set to
    /// INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED.
    /// - A regional backend
    /// service with the service protocol set to HTTP, HTTPS, HTTP2 or H2C, and
    /// loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not
    /// supported for Serverless NEGs.
    /// ```
    ///
    /// Not supported when the backend service is referenced by a URL map that is
    /// bound to target gRPC proxy that has validateForProxyless field set to true.
    #[prost(message, optional, tag = "354625086")]
    pub outlier_detection: ::core::option::Option<OutlierDetection>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<BackendServiceParams>,
    /// Deprecated in favor of portName. The TCP port to connect on
    /// the backend. The default value is 80.
    /// For internal passthrough Network Load Balancers and external passthrough
    /// Network Load Balancers, omit port.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// A named port on a backend instance group representing the port for
    /// communication to the backend VMs in that group. The
    /// named port must be [defined on each backend instance
    /// group](<https://cloud.google.com/load-balancing/docs/backend-service#named_ports>).
    /// This parameter has no meaning if the backends are NEGs. For internal
    /// passthrough Network Load Balancers and external passthrough Network Load
    /// Balancers, omit port_name.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The protocol this BackendService uses to communicate
    /// with backends.
    ///
    /// Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP or GRPC.
    /// depending on the chosen load balancer or Traffic Director configuration.
    /// Refer to the documentation for the load balancers or for Traffic Director
    /// for more information.
    ///
    /// Must be set to GRPC when the backend service is referenced by a URL map
    /// that is bound to target gRPC proxy.
    /// Check the Protocol enum for the list of possible values.
    #[prost(string, optional, tag = "84577944")]
    pub protocol: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the regional backend service
    /// resides. This field is not applicable to global backend services.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The resource URL for the security policy associated with this
    /// backend service.
    #[prost(string, optional, tag = "171082513")]
    pub security_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// This field specifies the security settings that apply to this backend
    /// service. This field is applicable to a global backend service with the
    /// load_balancing_scheme set to INTERNAL_SELF_MANAGED.
    #[prost(message, optional, tag = "478649922")]
    pub security_settings: ::core::option::Option<SecuritySettings>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// URLs of networkservices.ServiceBinding resources.
    ///
    /// Can only be set if load balancing scheme is INTERNAL_SELF_MANAGED.
    /// If set, lists of backends and health checks must be both empty.
    #[prost(string, repeated, tag = "133581016")]
    pub service_bindings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// URL to networkservices.ServiceLbPolicy resource.
    ///
    /// Can only be set if load balancing scheme is EXTERNAL_MANAGED,
    /// INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
    #[prost(string, optional, tag = "94848785")]
    pub service_lb_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// Type of session affinity to use. The default is NONE.
    ///
    /// Only NONE and HEADER_FIELD are supported
    /// when the backend service is referenced by a URL map that is bound to
    /// target gRPC proxy that has validateForProxyless field set to true.
    ///
    /// For more details, see:
    /// [Session
    /// Affinity](<https://cloud.google.com/load-balancing/docs/backend-service#session_affinity>).
    ///
    /// sessionAffinity cannot be specified with haPolicy.
    /// Check the SessionAffinity enum for the list of possible values.
    #[prost(string, optional, tag = "463888561")]
    pub session_affinity: ::core::option::Option<::prost::alloc::string::String>,
    /// Describes the HTTP cookie used for stateful session affinity. This field is
    /// applicable and required if the sessionAffinity is set toSTRONG_COOKIE_AFFINITY.
    #[prost(message, optional, tag = "238195722")]
    pub strong_session_affinity_cookie: ::core::option::Option<BackendServiceHttpCookie>,
    /// subsetting cannot be specified with haPolicy.
    #[prost(message, optional, tag = "450283536")]
    pub subsetting: ::core::option::Option<Subsetting>,
    /// The backend service timeout has a different meaning depending on the
    /// type of load balancer. For more information see,
    /// Backend service settings.
    /// The default is 30 seconds.
    /// The full range of timeout values allowed goes from 1
    /// through 2,147,483,647 seconds.
    ///
    /// This value can be overridden in the PathMatcher configuration of the
    /// UrlMap that references this backend service.
    ///
    /// Not supported when the backend service is referenced by a URL map that is
    /// bound to target gRPC proxy that has validateForProxyless field set to true.
    /// Instead, use maxStreamDuration.
    #[prost(int32, optional, tag = "79994995")]
    pub timeout_sec: ::core::option::Option<i32>,
    /// Configuration for Backend Authenticated TLS and mTLS. May only be specified
    /// when the backend protocol is SSL, HTTPS or HTTP2.
    #[prost(message, optional, tag = "81794791")]
    pub tls_settings: ::core::option::Option<BackendServiceTlsSettings>,
    /// Output only. \[Output Only\] List of resources referencing given backend service.
    #[prost(message, repeated, tag = "389320729")]
    pub used_by: ::prost::alloc::vec::Vec<BackendServiceUsedBy>,
}
/// Nested message and enum types in `BackendService`.
pub mod backend_service {
    /// Compress text responses using Brotli or gzip compression, based on
    /// the client's Accept-Encoding header.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CompressionMode {
        /// A value indicating that the enum field is not set.
        UndefinedCompressionMode = 0,
        /// Automatically uses the best compression based on the Accept-Encoding
        /// header sent by the client.
        Automatic = 165298699,
        /// Disables compression. Existing compressed responses cached by
        /// Cloud CDN will not be served to clients.
        Disabled = 516696700,
    }
    impl CompressionMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCompressionMode => "UNDEFINED_COMPRESSION_MODE",
                Self::Automatic => "AUTOMATIC",
                Self::Disabled => "DISABLED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_COMPRESSION_MODE" => Some(Self::UndefinedCompressionMode),
                "AUTOMATIC" => Some(Self::Automatic),
                "DISABLED" => Some(Self::Disabled),
                _ => None,
            }
        }
    }
    /// Specifies the canary migration state. Possible values are PREPARE,
    /// TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC.
    ///
    /// To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be
    /// changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before
    /// the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the
    /// TEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using
    /// externalManagedMigrationTestingPercentage.
    ///
    /// Rolling back a migration requires the states to be set in reverse order. So
    /// changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to
    /// be set to TEST_ALL_TRAFFIC at the same time. Optionally, the
    /// TEST_BY_PERCENTAGE state can be used to migrate some traffic back to
    /// EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ExternalManagedMigrationState {
        /// A value indicating that the enum field is not set.
        UndefinedExternalManagedMigrationState = 0,
        Prepare = 399612135,
        TestAllTraffic = 79728882,
        TestByPercentage = 513738389,
    }
    impl ExternalManagedMigrationState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedExternalManagedMigrationState => {
                    "UNDEFINED_EXTERNAL_MANAGED_MIGRATION_STATE"
                }
                Self::Prepare => "PREPARE",
                Self::TestAllTraffic => "TEST_ALL_TRAFFIC",
                Self::TestByPercentage => "TEST_BY_PERCENTAGE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_EXTERNAL_MANAGED_MIGRATION_STATE" => {
                    Some(Self::UndefinedExternalManagedMigrationState)
                }
                "PREPARE" => Some(Self::Prepare),
                "TEST_ALL_TRAFFIC" => Some(Self::TestAllTraffic),
                "TEST_BY_PERCENTAGE" => Some(Self::TestByPercentage),
                _ => None,
            }
        }
    }
    /// Specifies a preference for traffic sent from the proxy to the backend (or
    /// from the client to the backend for proxyless gRPC).
    /// The possible values are:
    ///
    /// ```text
    /// - IPV4_ONLY: Only send IPv4 traffic to the backends of the
    /// backend service (Instance Group, Managed Instance Group, Network Endpoint
    /// Group), regardless of traffic from the client to the proxy. Only IPv4
    /// health checks are used to check the health of the backends. This is the
    /// default setting.
    /// - PREFER_IPV6: Prioritize the connection to the endpoint's
    /// IPv6 address over its IPv4 address (provided there is a healthy IPv6
    /// address).
    /// - IPV6_ONLY: Only send IPv6 traffic to the backends of the
    /// backend service (Instance Group, Managed Instance Group, Network Endpoint
    /// Group), regardless of traffic from the client to the proxy. Only IPv6
    /// health checks are used to check the health of the backends.
    /// ```
    ///
    /// This field is applicable to either:
    ///
    /// ```text
    /// -  Advanced global external Application Load Balancer (load balancing
    /// scheme EXTERNAL_MANAGED),
    /// -  Regional external Application Load
    /// Balancer,
    /// -  Internal proxy Network Load Balancer (load balancing
    /// scheme INTERNAL_MANAGED),
    /// -  Regional internal Application Load
    /// Balancer (load balancing scheme INTERNAL_MANAGED),
    /// -  Traffic
    /// Director with Envoy proxies and proxyless gRPC (load balancing scheme
    /// INTERNAL_SELF_MANAGED).
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum IpAddressSelectionPolicy {
        /// A value indicating that the enum field is not set.
        UndefinedIpAddressSelectionPolicy = 0,
        /// Only send IPv4 traffic to the backends of the Backend Service
        /// (Instance Group, Managed Instance Group, Network Endpoint Group)
        /// regardless of traffic from the client to the proxy.
        /// Only IPv4 health-checks are used to check the health of the backends.
        /// This is the default setting.
        Ipv4Only = 22373798,
        /// Only send IPv6 traffic to the backends of the Backend Service
        /// (Instance Group, Managed Instance Group, Network Endpoint Group)
        /// regardless of traffic from the client to the proxy. Only IPv6
        /// health-checks are used to check the health of the backends.
        Ipv6Only = 79632100,
        /// Unspecified IP address selection policy.
        Unspecified = 36210144,
        /// Prioritize the connection to the endpoints IPv6 address
        /// over its IPv4 address (provided there is a healthy IPv6 address).
        PreferIpv6 = 408601302,
    }
    impl IpAddressSelectionPolicy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpAddressSelectionPolicy => {
                    "UNDEFINED_IP_ADDRESS_SELECTION_POLICY"
                }
                Self::Ipv4Only => "IPV4_ONLY",
                Self::Ipv6Only => "IPV6_ONLY",
                Self::Unspecified => "IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED",
                Self::PreferIpv6 => "PREFER_IPV6",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IP_ADDRESS_SELECTION_POLICY" => {
                    Some(Self::UndefinedIpAddressSelectionPolicy)
                }
                "IPV4_ONLY" => Some(Self::Ipv4Only),
                "IPV6_ONLY" => Some(Self::Ipv6Only),
                "IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED" => Some(Self::Unspecified),
                "PREFER_IPV6" => Some(Self::PreferIpv6),
                _ => None,
            }
        }
    }
    /// Specifies the load balancer type. A backend service
    /// created for one type of load balancer cannot be used with another.
    /// For more information, refer toChoosing
    /// a load balancer.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LoadBalancingScheme {
        /// A value indicating that the enum field is not set.
        UndefinedLoadBalancingScheme = 0,
        /// Signifies that this will be used for classic Application Load Balancers,
        /// global external proxy Network Load Balancers,
        /// or external passthrough Network Load Balancers.
        External = 35607499,
        /// Signifies that this will be used for global external Application Load
        /// Balancers, regional external Application Load Balancers, or regional
        /// external proxy Network Load Balancers.
        ExternalManaged = 512006923,
        /// Signifies that this will be used for internal passthrough Network Load
        /// Balancers.
        Internal = 279295677,
        /// Signifies that this will be used for internal Application Load Balancers.
        InternalManaged = 37350397,
        /// Signifies that this will be used by Traffic Director.
        InternalSelfManaged = 236211150,
        InvalidLoadBalancingScheme = 275352060,
    }
    impl LoadBalancingScheme {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLoadBalancingScheme => "UNDEFINED_LOAD_BALANCING_SCHEME",
                Self::External => "EXTERNAL",
                Self::ExternalManaged => "EXTERNAL_MANAGED",
                Self::Internal => "INTERNAL",
                Self::InternalManaged => "INTERNAL_MANAGED",
                Self::InternalSelfManaged => "INTERNAL_SELF_MANAGED",
                Self::InvalidLoadBalancingScheme => "INVALID_LOAD_BALANCING_SCHEME",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LOAD_BALANCING_SCHEME" => {
                    Some(Self::UndefinedLoadBalancingScheme)
                }
                "EXTERNAL" => Some(Self::External),
                "EXTERNAL_MANAGED" => Some(Self::ExternalManaged),
                "INTERNAL" => Some(Self::Internal),
                "INTERNAL_MANAGED" => Some(Self::InternalManaged),
                "INTERNAL_SELF_MANAGED" => Some(Self::InternalSelfManaged),
                "INVALID_LOAD_BALANCING_SCHEME" => Some(Self::InvalidLoadBalancingScheme),
                _ => None,
            }
        }
    }
    /// The load balancing algorithm used within the scope of the locality. The
    /// possible values are:
    ///
    /// ```text
    /// - ROUND_ROBIN: This is a simple policy in which each healthy
    /// backend is selected in round robin order. This is the default.
    /// - LEAST_REQUEST: An O(1) algorithm which
    /// selects two random healthy hosts and picks the host which has fewer active
    /// requests.
    /// - RING_HASH: The ring/modulo hash load balancer implements
    /// consistent hashing to backends. The algorithm has the property that the
    /// addition/removal of a host from a set of N hosts only affects 1/N of the
    /// requests.
    /// - RANDOM: The load balancer selects a random healthy
    /// host.
    /// - ORIGINAL_DESTINATION: Backend host is selected
    /// based on the client connection metadata, i.e., connections are opened to
    /// the same address as the destination address of the incoming connection
    /// before the connection was redirected to the load balancer.
    /// - MAGLEV: used as a drop in replacement for the ring hash
    /// load balancer. Maglev is not as stable as ring hash but has faster table
    /// lookup build times and host selection times. For more information about
    /// Maglev, see Maglev:
    /// A Fast and Reliable Software Network Load Balancer.
    /// - WEIGHTED_ROUND_ROBIN: Per-endpoint Weighted Round Robin
    /// Load Balancing using weights computed from Backend reported Custom Metrics.
    /// If set, the Backend Service responses are expected to contain non-standard
    /// HTTP response header field Endpoint-Load-Metrics. The reported
    /// metrics to use for computing the weights are specified via thecustomMetrics field.
    ///
    /// This field is applicable to either:
    ///    - A regional backend service with the service protocol set to HTTP,
    ///    HTTPS, HTTP2 or H2C, and load_balancing_scheme set to
    ///    INTERNAL_MANAGED.
    ///    - A global backend service with the
    ///    load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or
    ///    EXTERNAL_MANAGED.
    ///
    ///
    /// If sessionAffinity is not configured—that is, if session
    /// affinity remains at the default value of NONE—then the
    /// default value for localityLbPolicy
    /// is ROUND_ROBIN. If session affinity is set to a value other
    /// than NONE,
    /// then the default value for localityLbPolicy isMAGLEV.
    ///
    /// Only ROUND_ROBIN and RING_HASH are supported
    /// when the backend service is referenced by a URL map that is bound to
    /// target gRPC proxy that has validateForProxyless field set to true.
    ///
    /// localityLbPolicy cannot be specified with haPolicy.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LocalityLbPolicy {
        /// A value indicating that the enum field is not set.
        UndefinedLocalityLbPolicy = 0,
        InvalidLbPolicy = 323318707,
        /// An O(1) algorithm which selects two random healthy hosts and
        /// picks the host which has fewer active requests.
        LeastRequest = 46604921,
        /// This algorithm implements consistent hashing to backends. Maglev can be
        /// used as a drop in replacement for the ring hash load balancer. Maglev is
        /// not as stable as ring hash but has faster table lookup build times and
        /// host selection times. For more information about Maglev, seeMaglev:
        /// A Fast and Reliable Software Network Load Balancer.
        Maglev = 119180266,
        /// Backend host is selected based on the client connection metadata, i.e.,
        /// connections are opened to the same address as the destination address of
        /// the incoming connection before the connection was redirected to the load
        /// balancer.
        OriginalDestination = 166297216,
        /// The load balancer selects a random healthy host.
        Random = 262527171,
        /// The ring/modulo hash load balancer implements consistent hashing to
        /// backends. The algorithm has the property that the addition/removal
        /// of a host from a set of N hosts only affects 1/N of the requests.
        RingHash = 432795069,
        /// This is a simple policy in which each healthy backend is selected
        /// in round robin order. This is the default.
        RoundRobin = 153895801,
        /// Per-instance weighted Load Balancing via health check reported weights.
        /// In internal passthrough network load balancing, it is weighted
        /// rendezvous hashing.
        /// This option is only supported in internal passthrough network load
        /// balancing.
        WeightedGcpRendezvous = 82501640,
        /// Per-instance weighted Load Balancing via health check reported weights.
        /// If set, the Backend Service must configure a non legacy HTTP-based Health
        /// Check, and health check replies are expected to contain non-standard HTTP
        /// response header field X-Load-Balancing-Endpoint-Weight to specify the
        /// per-instance weights.
        /// If set, Load Balancing is weighted based on the
        /// per-instance weights reported in the last processed health check replies,
        /// as long as every instance either reported a valid weight or had
        /// UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight.
        /// This option is only supported in Network Load Balancing.
        WeightedMaglev = 254930962,
        /// Per-endpoint weighted round-robin Load Balancing using weights computed
        /// from Backend reported Custom Metrics. If set, the Backend Service
        /// responses are expected to contain non-standard HTTP response header field
        /// Endpoint-Load-Metrics. The reported metrics
        /// to use for computing the weights are specified via the
        /// customMetrics fields.
        WeightedRoundRobin = 5584977,
    }
    impl LocalityLbPolicy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLocalityLbPolicy => "UNDEFINED_LOCALITY_LB_POLICY",
                Self::InvalidLbPolicy => "INVALID_LB_POLICY",
                Self::LeastRequest => "LEAST_REQUEST",
                Self::Maglev => "MAGLEV",
                Self::OriginalDestination => "ORIGINAL_DESTINATION",
                Self::Random => "RANDOM",
                Self::RingHash => "RING_HASH",
                Self::RoundRobin => "ROUND_ROBIN",
                Self::WeightedGcpRendezvous => "WEIGHTED_GCP_RENDEZVOUS",
                Self::WeightedMaglev => "WEIGHTED_MAGLEV",
                Self::WeightedRoundRobin => "WEIGHTED_ROUND_ROBIN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LOCALITY_LB_POLICY" => Some(Self::UndefinedLocalityLbPolicy),
                "INVALID_LB_POLICY" => Some(Self::InvalidLbPolicy),
                "LEAST_REQUEST" => Some(Self::LeastRequest),
                "MAGLEV" => Some(Self::Maglev),
                "ORIGINAL_DESTINATION" => Some(Self::OriginalDestination),
                "RANDOM" => Some(Self::Random),
                "RING_HASH" => Some(Self::RingHash),
                "ROUND_ROBIN" => Some(Self::RoundRobin),
                "WEIGHTED_GCP_RENDEZVOUS" => Some(Self::WeightedGcpRendezvous),
                "WEIGHTED_MAGLEV" => Some(Self::WeightedMaglev),
                "WEIGHTED_ROUND_ROBIN" => Some(Self::WeightedRoundRobin),
                _ => None,
            }
        }
    }
    /// The protocol this BackendService uses to communicate
    /// with backends.
    ///
    /// Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP or GRPC.
    /// depending on the chosen load balancer or Traffic Director configuration.
    /// Refer to the documentation for the load balancers or for Traffic Director
    /// for more information.
    ///
    /// Must be set to GRPC when the backend service is referenced by a URL map
    /// that is bound to target gRPC proxy.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Protocol {
        /// A value indicating that the enum field is not set.
        UndefinedProtocol = 0,
        /// gRPC (available for Traffic Director).
        Grpc = 2196510,
        /// HTTP2 over cleartext
        H2c = 70809,
        Http = 2228360,
        /// HTTP/2 with SSL.
        Http2 = 69079210,
        Https = 69079243,
        /// TCP proxying with SSL.
        Ssl = 82412,
        /// TCP proxying or TCP pass-through.
        Tcp = 82881,
        /// UDP.
        Udp = 83873,
        /// If a Backend Service has UNSPECIFIED as its protocol, it can be used with
        /// any L3/L4 Forwarding Rules.
        Unspecified = 526786327,
    }
    impl Protocol {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProtocol => "UNDEFINED_PROTOCOL",
                Self::Grpc => "GRPC",
                Self::H2c => "H2C",
                Self::Http => "HTTP",
                Self::Http2 => "HTTP2",
                Self::Https => "HTTPS",
                Self::Ssl => "SSL",
                Self::Tcp => "TCP",
                Self::Udp => "UDP",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROTOCOL" => Some(Self::UndefinedProtocol),
                "GRPC" => Some(Self::Grpc),
                "H2C" => Some(Self::H2c),
                "HTTP" => Some(Self::Http),
                "HTTP2" => Some(Self::Http2),
                "HTTPS" => Some(Self::Https),
                "SSL" => Some(Self::Ssl),
                "TCP" => Some(Self::Tcp),
                "UDP" => Some(Self::Udp),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
    /// Type of session affinity to use. The default is NONE.
    ///
    /// Only NONE and HEADER_FIELD are supported
    /// when the backend service is referenced by a URL map that is bound to
    /// target gRPC proxy that has validateForProxyless field set to true.
    ///
    /// For more details, see:
    /// [Session
    /// Affinity](<https://cloud.google.com/load-balancing/docs/backend-service#session_affinity>).
    ///
    /// sessionAffinity cannot be specified with haPolicy.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SessionAffinity {
        /// A value indicating that the enum field is not set.
        UndefinedSessionAffinity = 0,
        /// 2-tuple hash on packet's source and destination IP addresses. Connections
        /// from the same source IP address to the same destination IP address will be
        /// served by the same backend VM while that VM remains healthy.
        ClientIp = 345665051,
        /// 1-tuple hash only on packet's source IP address. Connections from the
        /// same source IP address will be served by the same backend VM while that VM
        /// remains healthy. This option can only be used for Internal TCP/UDP
        /// Load Balancing.
        ClientIpNoDestination = 106122516,
        /// 5-tuple hash on packet's source and destination IP addresses, IP protocol,
        /// and source and destination ports. Connections for the same IP protocol
        /// from the same source IP address and port to the same destination IP address
        /// and port will be served by the same backend VM while that VM remains
        /// healthy. This option cannot be used for HTTP(S) load balancing.
        ClientIpPortProto = 221722926,
        /// 3-tuple hash on packet's source and destination IP addresses, and IP
        /// protocol. Connections for the same IP protocol from the same source IP
        /// address to the same destination IP address will be served by the same
        /// backend VM while that VM remains healthy. This option cannot be used for
        /// HTTP(S) load balancing.
        ClientIpProto = 25322148,
        /// Hash based on a cookie generated by the L7 loadbalancer.
        /// Only valid for HTTP(S) load balancing.
        GeneratedCookie = 370321204,
        /// The hash is based on a user specified header field.
        HeaderField = 200737960,
        /// The hash is based on a user provided cookie.
        HttpCookie = 494981627,
        /// No session affinity. Connections from the same client IP may go
        /// to any instance in the pool.
        None = 2402104,
        /// Strong cookie-based affinity. Connections bearing the same cookie will be
        /// served by the same backend VM while that VM remains healthy, as long as the
        /// cookie has not expired.
        StrongCookieAffinity = 438628091,
    }
    impl SessionAffinity {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSessionAffinity => "UNDEFINED_SESSION_AFFINITY",
                Self::ClientIp => "CLIENT_IP",
                Self::ClientIpNoDestination => "CLIENT_IP_NO_DESTINATION",
                Self::ClientIpPortProto => "CLIENT_IP_PORT_PROTO",
                Self::ClientIpProto => "CLIENT_IP_PROTO",
                Self::GeneratedCookie => "GENERATED_COOKIE",
                Self::HeaderField => "HEADER_FIELD",
                Self::HttpCookie => "HTTP_COOKIE",
                Self::None => "NONE",
                Self::StrongCookieAffinity => "STRONG_COOKIE_AFFINITY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SESSION_AFFINITY" => Some(Self::UndefinedSessionAffinity),
                "CLIENT_IP" => Some(Self::ClientIp),
                "CLIENT_IP_NO_DESTINATION" => Some(Self::ClientIpNoDestination),
                "CLIENT_IP_PORT_PROTO" => Some(Self::ClientIpPortProto),
                "CLIENT_IP_PROTO" => Some(Self::ClientIpProto),
                "GENERATED_COOKIE" => Some(Self::GeneratedCookie),
                "HEADER_FIELD" => Some(Self::HeaderField),
                "HTTP_COOKIE" => Some(Self::HttpCookie),
                "NONE" => Some(Self::None),
                "STRONG_COOKIE_AFFINITY" => Some(Self::StrongCookieAffinity),
                _ => None,
            }
        }
    }
}
/// Contains a list of BackendServicesScopedList.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of BackendServicesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        BackendServicesScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Message containing Cloud CDN configuration for a backend service.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceCdnPolicy {
    /// Bypass the cache when the specified request headers are matched - e.g.
    /// Pragma or Authorization headers. Up to 5 headers can be specified.
    /// The cache is bypassed for all cdnPolicy.cacheMode settings.
    #[prost(message, repeated, tag = "486203082")]
    pub bypass_cache_on_request_headers: ::prost::alloc::vec::Vec<
        BackendServiceCdnPolicyBypassCacheOnRequestHeader,
    >,
    /// The CacheKeyPolicy for this CdnPolicy.
    #[prost(message, optional, tag = "159263727")]
    pub cache_key_policy: ::core::option::Option<CacheKeyPolicy>,
    /// Specifies the cache setting for all responses from this backend.
    /// The possible values are:USE_ORIGIN_HEADERS Requires the origin to set valid caching
    /// headers to cache content. Responses without these headers will not be
    /// cached at Google's edge, and will require a full trip to the origin on
    /// every request, potentially impacting performance and increasing load on
    /// the origin server.FORCE_CACHE_ALL Cache all content, ignoring any "private",
    /// "no-store" or "no-cache" directives in Cache-Control response headers.
    /// Warning: this may result in Cloud CDN caching private,
    /// per-user (user identifiable) content.CACHE_ALL_STATIC Automatically cache static content,
    /// including common image formats, media (video and audio), and web assets
    /// (JavaScript and CSS). Requests and responses that are marked as
    /// uncacheable, as well as dynamic content (including HTML), will not be
    /// cached.
    ///
    /// If no value is provided for cdnPolicy.cacheMode, it defaults
    /// to CACHE_ALL_STATIC.
    /// Check the CacheMode enum for the list of possible values.
    #[prost(string, optional, tag = "28877888")]
    pub cache_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a separate client (e.g. browser client) maximum TTL. This is
    /// used to clamp the max-age (or Expires) value sent to the client.  With
    /// FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the
    /// response max-age directive, along with a "public" directive.  For
    /// cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age
    /// from the origin (if specified), or else sets the response max-age
    /// directive to the lesser of the client_ttl and default_ttl, and also
    /// ensures a "public" cache-control directive is present.
    /// If a client TTL is not specified, a default value (1 hour) will be used.
    /// The maximum allowed value is 31,622,400s (1 year).
    #[prost(int32, optional, tag = "29034360")]
    pub client_ttl: ::core::option::Option<i32>,
    /// Specifies the default TTL for cached content served by this origin for
    /// responses that do not have an existing valid TTL (max-age or s-maxage).
    /// Setting a TTL of "0" means "always revalidate".
    /// The value of defaultTTL cannot be set to a value greater than that of
    /// maxTTL, but can be equal.
    /// When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL
    /// will overwrite the TTL set in all responses. The maximum allowed value is
    /// 31,622,400s (1 year), noting that infrequently accessed objects may be
    /// evicted from the cache before the defined TTL.
    #[prost(int32, optional, tag = "100253422")]
    pub default_ttl: ::core::option::Option<i32>,
    /// Specifies the maximum allowed TTL for cached content served by this
    /// origin.
    /// Cache directives that attempt to set a max-age or s-maxage higher than
    /// this, or an Expires header more than maxTTL seconds in the future will
    /// be capped at the value of maxTTL, as if it were the value of an
    /// s-maxage Cache-Control directive.
    /// Headers sent to the client will not be modified.
    /// Setting a TTL of "0" means "always revalidate".
    /// The maximum allowed value is 31,622,400s (1 year), noting that
    /// infrequently accessed objects may be evicted from the cache before
    /// the defined TTL.
    #[prost(int32, optional, tag = "307578001")]
    pub max_ttl: ::core::option::Option<i32>,
    /// Negative caching allows per-status code TTLs to be set, in order
    /// to apply fine-grained caching for common errors or redirects.
    /// This can reduce the load on your origin and improve end-user
    /// experience by reducing response latency.
    /// When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS,
    /// negative caching applies to responses with the specified response code
    /// that lack any Cache-Control, Expires, or Pragma: no-cache directives.
    /// When the cache mode is set to FORCE_CACHE_ALL, negative caching applies
    /// to all responses with the specified response code, and override any
    /// caching headers.
    /// By default, Cloud CDN will apply the following default TTLs to these
    /// status codes:
    /// HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m
    /// HTTP 404 (Not Found), 410 (Gone),
    /// 451 (Unavailable For Legal Reasons): 120s
    /// HTTP 405 (Method Not Found), 501 (Not Implemented): 60s.
    /// These defaults can be overridden in negative_caching_policy.
    #[prost(bool, optional, tag = "336110005")]
    pub negative_caching: ::core::option::Option<bool>,
    /// Sets a cache TTL for the specified HTTP status code.
    /// negative_caching must be enabled to configure negative_caching_policy.
    /// Omitting the policy and leaving negative_caching enabled will use
    /// Cloud CDN's default cache TTLs.
    /// Note that when specifying an explicit negative_caching_policy, you
    /// should take care to specify a cache TTL for all response codes
    /// that you wish to cache. Cloud CDN will not apply any default
    /// negative caching when a policy exists.
    #[prost(message, repeated, tag = "155359996")]
    pub negative_caching_policy: ::prost::alloc::vec::Vec<
        BackendServiceCdnPolicyNegativeCachingPolicy,
    >,
    /// If true then Cloud CDN will combine multiple concurrent cache fill
    /// requests into a small number of requests to the origin.
    #[prost(bool, optional, tag = "532808276")]
    pub request_coalescing: ::core::option::Option<bool>,
    /// Serve existing content from the cache (if available) when revalidating
    /// content with the origin, or when an error is encountered when refreshing
    /// the cache.
    /// This setting defines the default "max-stale" duration for any cached
    /// responses that do not specify a max-stale directive. Stale responses that
    /// exceed the TTL configured here will not be served. The default limit
    /// (max-stale) is 86400s (1 day), which will allow stale content to be
    /// served up to this limit beyond the max-age (or s-maxage) of a cached
    /// response.
    /// The maximum allowed value is 604800 (1 week).
    /// Set this to zero (0) to disable serve-while-stale.
    #[prost(int32, optional, tag = "236682203")]
    pub serve_while_stale: ::core::option::Option<i32>,
    /// Maximum number of seconds the response to a signed URL request will be
    /// considered fresh. After this time period, the response will be
    /// revalidated before being served. Defaults to 1hr (3600s).  When serving
    /// responses to signed URL requests, Cloud CDN will internally behave as
    /// though all responses from this backend had a "Cache-Control:
    /// public, max-age=\[TTL\]" header, regardless of any existing
    /// Cache-Control header. The actual headers served in responses will not be
    /// altered.
    #[prost(int64, optional, tag = "269374534")]
    pub signed_url_cache_max_age_sec: ::core::option::Option<i64>,
    /// \[Output Only\] Names of the keys for signing request URLs.
    #[prost(string, repeated, tag = "371848885")]
    pub signed_url_key_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `BackendServiceCdnPolicy`.
pub mod backend_service_cdn_policy {
    /// Specifies the cache setting for all responses from this backend.
    /// The possible values are:USE_ORIGIN_HEADERS Requires the origin to set valid caching
    /// headers to cache content. Responses without these headers will not be
    /// cached at Google's edge, and will require a full trip to the origin on
    /// every request, potentially impacting performance and increasing load on
    /// the origin server.FORCE_CACHE_ALL Cache all content, ignoring any "private",
    /// "no-store" or "no-cache" directives in Cache-Control response headers.
    /// Warning: this may result in Cloud CDN caching private,
    /// per-user (user identifiable) content.CACHE_ALL_STATIC Automatically cache static content,
    /// including common image formats, media (video and audio), and web assets
    /// (JavaScript and CSS). Requests and responses that are marked as
    /// uncacheable, as well as dynamic content (including HTML), will not be
    /// cached.
    ///
    /// If no value is provided for cdnPolicy.cacheMode, it defaults
    /// to CACHE_ALL_STATIC.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CacheMode {
        /// A value indicating that the enum field is not set.
        UndefinedCacheMode = 0,
        /// Automatically cache static content, including common image formats,
        /// media (video and audio), and web assets (JavaScript and CSS).
        /// Requests and responses that are marked as uncacheable, as well as
        /// dynamic content (including HTML), will not be cached.
        CacheAllStatic = 355027945,
        /// Cache all content, ignoring any "private", "no-store" or "no-cache"
        /// directives in Cache-Control response headers.
        /// Warning: this may result in Cloud CDN caching private,
        /// per-user (user identifiable) content.
        ForceCacheAll = 486026928,
        InvalidCacheMode = 381295560,
        /// Requires the origin to set valid caching headers to cache content.
        /// Responses without these headers will not be cached at Google's edge,
        /// and will require a full trip to the origin on every request,
        /// potentially impacting performance and increasing load on the
        /// origin server.
        UseOriginHeaders = 55380261,
    }
    impl CacheMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCacheMode => "UNDEFINED_CACHE_MODE",
                Self::CacheAllStatic => "CACHE_ALL_STATIC",
                Self::ForceCacheAll => "FORCE_CACHE_ALL",
                Self::InvalidCacheMode => "INVALID_CACHE_MODE",
                Self::UseOriginHeaders => "USE_ORIGIN_HEADERS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CACHE_MODE" => Some(Self::UndefinedCacheMode),
                "CACHE_ALL_STATIC" => Some(Self::CacheAllStatic),
                "FORCE_CACHE_ALL" => Some(Self::ForceCacheAll),
                "INVALID_CACHE_MODE" => Some(Self::InvalidCacheMode),
                "USE_ORIGIN_HEADERS" => Some(Self::UseOriginHeaders),
                _ => None,
            }
        }
    }
}
/// Bypass the cache when the specified request headers are present,
/// e.g. Pragma or Authorization headers. Values are case insensitive.
/// The presence of such a header overrides the cache_mode setting.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceCdnPolicyBypassCacheOnRequestHeader {
    /// The header field name to match on when bypassing cache.
    /// Values are case-insensitive.
    #[prost(string, optional, tag = "110223613")]
    pub header_name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Specify CDN TTLs for response error codes.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceCdnPolicyNegativeCachingPolicy {
    /// The HTTP status code to define a TTL against. Only HTTP status codes
    /// 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 can be
    /// specified as values, and you cannot specify a status code more than
    /// once.
    #[prost(int32, optional, tag = "3059181")]
    pub code: ::core::option::Option<i32>,
    /// The TTL (in seconds) for which to cache responses with the
    /// corresponding status code.
    /// The maximum allowed value is 1800s (30 minutes), noting that
    /// infrequently accessed objects may be evicted from the cache before the
    /// defined TTL.
    #[prost(int32, optional, tag = "115180")]
    pub ttl: ::core::option::Option<i32>,
}
/// Connection Tracking configuration for this BackendService.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceConnectionTrackingPolicy {
    /// Specifies connection persistence when backends are unhealthy. The default
    /// value is DEFAULT_FOR_PROTOCOL.
    ///
    /// If set to DEFAULT_FOR_PROTOCOL, the existing connections
    /// persist on unhealthy backends only for connection-oriented protocols
    /// (TCP and SCTP) and only if the Tracking Mode isPER_CONNECTION (default tracking mode) or the Session
    /// Affinity is configured for 5-tuple. They do not persist forUDP.
    ///
    /// If set to NEVER_PERSIST, after a backend becomes unhealthy,
    /// the existing connections on the unhealthy backend are never persisted on
    /// the unhealthy backend. They are always diverted to newly selected healthy
    /// backends (unless all backends are unhealthy).
    ///
    /// If set to ALWAYS_PERSIST, existing connections always
    /// persist on unhealthy backends regardless of protocol and session
    /// affinity. It is generally not recommended to use this mode overriding the
    /// default.
    ///
    /// For more details, see [Connection Persistence for Network Load
    /// Balancing](<https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence>)
    /// and [Connection Persistence for Internal TCP/UDP Load
    /// Balancing](<https://cloud.google.com/load-balancing/docs/internal#connection-persistence>).
    /// Check the ConnectionPersistenceOnUnhealthyBackends enum for the list of possible values.
    #[prost(string, optional, tag = "152439033")]
    pub connection_persistence_on_unhealthy_backends: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Enable Strong Session Affinity for external passthrough Network Load
    /// Balancers. This option is not available publicly.
    #[prost(bool, optional, tag = "24539924")]
    pub enable_strong_affinity: ::core::option::Option<bool>,
    /// Specifies how long to keep a Connection Tracking entry while there is no
    /// matching traffic (in seconds).
    ///
    /// For internal passthrough Network Load Balancers:
    ///
    /// ```text
    /// - The minimum (default) is 10 minutes and the maximum is 16 hours.
    /// - It can be set only if Connection Tracking is less than 5-tuple
    /// (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION,CLIENT_IP or CLIENT_IP_PROTO, and Tracking
    /// Mode is PER_SESSION).
    /// ```
    ///
    /// For external passthrough Network Load Balancers the default is 60
    /// seconds. This option is not available publicly.
    #[prost(int32, optional, tag = "24977544")]
    pub idle_timeout_sec: ::core::option::Option<i32>,
    /// Specifies the key used for connection tracking. There are two
    /// options:
    ///
    /// ```text
    /// - PER_CONNECTION: This is the default mode. The Connection
    /// Tracking is performed as per the Connection Key (default Hash Method) for
    /// the specific protocol.
    /// - PER_SESSION: The Connection Tracking is performed as per
    /// the configured Session Affinity. It matches the configured Session
    /// Affinity.
    /// ```
    ///
    /// For more details, see [Tracking Mode for Network Load
    /// Balancing](<https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode>)
    /// and [Tracking Mode for Internal TCP/UDP Load
    /// Balancing](<https://cloud.google.com/load-balancing/docs/internal#tracking-mode>).
    /// Check the TrackingMode enum for the list of possible values.
    #[prost(string, optional, tag = "127757867")]
    pub tracking_mode: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `BackendServiceConnectionTrackingPolicy`.
pub mod backend_service_connection_tracking_policy {
    /// Specifies connection persistence when backends are unhealthy. The default
    /// value is DEFAULT_FOR_PROTOCOL.
    ///
    /// If set to DEFAULT_FOR_PROTOCOL, the existing connections
    /// persist on unhealthy backends only for connection-oriented protocols
    /// (TCP and SCTP) and only if the Tracking Mode isPER_CONNECTION (default tracking mode) or the Session
    /// Affinity is configured for 5-tuple. They do not persist forUDP.
    ///
    /// If set to NEVER_PERSIST, after a backend becomes unhealthy,
    /// the existing connections on the unhealthy backend are never persisted on
    /// the unhealthy backend. They are always diverted to newly selected healthy
    /// backends (unless all backends are unhealthy).
    ///
    /// If set to ALWAYS_PERSIST, existing connections always
    /// persist on unhealthy backends regardless of protocol and session
    /// affinity. It is generally not recommended to use this mode overriding the
    /// default.
    ///
    /// For more details, see [Connection Persistence for Network Load
    /// Balancing](<https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence>)
    /// and [Connection Persistence for Internal TCP/UDP Load
    /// Balancing](<https://cloud.google.com/load-balancing/docs/internal#connection-persistence>).
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ConnectionPersistenceOnUnhealthyBackends {
        /// A value indicating that the enum field is not set.
        UndefinedConnectionPersistenceOnUnhealthyBackends = 0,
        AlwaysPersist = 38400900,
        DefaultForProtocol = 145265356,
        NeverPersist = 138646241,
    }
    impl ConnectionPersistenceOnUnhealthyBackends {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedConnectionPersistenceOnUnhealthyBackends => {
                    "UNDEFINED_CONNECTION_PERSISTENCE_ON_UNHEALTHY_BACKENDS"
                }
                Self::AlwaysPersist => "ALWAYS_PERSIST",
                Self::DefaultForProtocol => "DEFAULT_FOR_PROTOCOL",
                Self::NeverPersist => "NEVER_PERSIST",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CONNECTION_PERSISTENCE_ON_UNHEALTHY_BACKENDS" => {
                    Some(Self::UndefinedConnectionPersistenceOnUnhealthyBackends)
                }
                "ALWAYS_PERSIST" => Some(Self::AlwaysPersist),
                "DEFAULT_FOR_PROTOCOL" => Some(Self::DefaultForProtocol),
                "NEVER_PERSIST" => Some(Self::NeverPersist),
                _ => None,
            }
        }
    }
    /// Specifies the key used for connection tracking. There are two
    /// options:
    ///
    /// ```text
    /// - PER_CONNECTION: This is the default mode. The Connection
    /// Tracking is performed as per the Connection Key (default Hash Method) for
    /// the specific protocol.
    /// - PER_SESSION: The Connection Tracking is performed as per
    /// the configured Session Affinity. It matches the configured Session
    /// Affinity.
    /// ```
    ///
    /// For more details, see [Tracking Mode for Network Load
    /// Balancing](<https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode>)
    /// and [Tracking Mode for Internal TCP/UDP Load
    /// Balancing](<https://cloud.google.com/load-balancing/docs/internal#tracking-mode>).
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum TrackingMode {
        /// A value indicating that the enum field is not set.
        UndefinedTrackingMode = 0,
        InvalidTrackingMode = 49234371,
        PerConnection = 85162848,
        PerSession = 182099252,
    }
    impl TrackingMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedTrackingMode => "UNDEFINED_TRACKING_MODE",
                Self::InvalidTrackingMode => "INVALID_TRACKING_MODE",
                Self::PerConnection => "PER_CONNECTION",
                Self::PerSession => "PER_SESSION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TRACKING_MODE" => Some(Self::UndefinedTrackingMode),
                "INVALID_TRACKING_MODE" => Some(Self::InvalidTrackingMode),
                "PER_CONNECTION" => Some(Self::PerConnection),
                "PER_SESSION" => Some(Self::PerSession),
                _ => None,
            }
        }
    }
}
/// Custom Metrics are used for WEIGHTED_ROUND_ROBIN
/// locality_lb_policy.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceCustomMetric {
    /// If true, the metric data is not used for load balancing.
    #[prost(bool, optional, tag = "323854839")]
    pub dry_run: ::core::option::Option<bool>,
    /// Name of a custom utilization signal. The name must be 1-64 characters
    /// long and match the regular expression
    /// `[a-z](\[-_.a-z0-9\]*[a-z0-9])?` which means that the
    /// first character must be a lowercase letter, and all following
    /// characters must be a dash, period, underscore, lowercase letter, or
    /// digit, except the last character, which cannot be a dash, period, or
    /// underscore. For usage guidelines, see Custom Metrics balancing mode. This
    /// field can only be used for a global or regional backend service with the
    /// loadBalancingScheme set to EXTERNAL_MANAGED,INTERNAL_MANAGED INTERNAL_SELF_MANAGED.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
/// For load balancers that have configurable
/// failover:
/// [Internal passthrough Network Load
/// Balancers](<https://cloud.google.com/load-balancing/docs/internal/failover-overview>)
/// and [external passthrough
/// Network Load
/// Balancers](<https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview>).
/// On failover or failback, this field indicates whether connection draining
/// will be honored. Google Cloud has a fixed connection draining timeout of
/// 10 minutes. A setting of true terminates existing TCP
/// connections to the active pool during failover and failback, immediately
/// draining traffic. A setting of false allows existing TCP
/// connections to persist, even on VMs no longer in the active pool, for up
/// to the duration of the connection draining timeout (10 minutes).
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct BackendServiceFailoverPolicy {
    /// This can be set to true if the protocol isTCP, UDP, or UNSPECIFIED.
    ///
    /// The default is false.
    #[prost(bool, optional, tag = "182150753")]
    pub disable_connection_drain_on_failover: ::core::option::Option<bool>,
    /// If set to true, connections to the
    /// load balancer are dropped when all primary and all backup backend VMs are
    /// unhealthy.If set to false, connections are distributed
    /// among all primary VMs when all primary and all backup backend VMs are
    /// unhealthy.
    /// For load balancers that have configurable
    /// failover:
    /// [Internal passthrough
    /// Network Load
    /// Balancers](<https://cloud.google.com/load-balancing/docs/internal/failover-overview>)
    /// and [external passthrough
    /// Network Load
    /// Balancers](<https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview>).
    /// The default is false.
    #[prost(bool, optional, tag = "112289428")]
    pub drop_traffic_if_unhealthy: ::core::option::Option<bool>,
    /// The value of the field must be in the range\[0, 1\]. If the value is 0, the load balancer performs a
    /// failover when the number of healthy primary VMs equals zero.
    /// For all other values, the load balancer performs a failover when the
    /// total number of healthy primary VMs is less than this ratio.
    /// For load balancers that have configurable
    /// failover:
    /// [Internal TCP/UDP Load
    /// Balancing](<https://cloud.google.com/load-balancing/docs/internal/failover-overview>)
    /// and [external TCP/UDP Load
    /// Balancing](<https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview>).
    #[prost(float, optional, tag = "212667006")]
    pub failover_ratio: ::core::option::Option<f32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceGroupHealth {
    /// Metadata defined as annotations on the network endpoint group.
    #[prost(map = "string, string", tag = "112032548")]
    pub annotations: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Health state of the backend instances or endpoints in requested instance or
    /// network endpoint group, determined based on configured health checks.
    #[prost(message, repeated, tag = "380545845")]
    pub health_status: ::prost::alloc::vec::Vec<HealthStatus>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of backend
    /// services.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceHaPolicy {
    /// Specifies whether fast IP move is enabled, and if so, the mechanism to
    /// achieve it.
    ///
    /// Supported values are:
    ///
    /// ```text
    /// - DISABLED: Fast IP Move is disabled. You can only use the
    /// haPolicy.leader API to update the leader.
    /// - >GARP_RA: Provides a method to very quickly define a new network
    /// endpoint as the leader. This method is faster than updating the leader
    /// using the haPolicy.leader API. Fast IP move works as follows: The VM
    /// hosting the network endpoint that should become the new leader sends
    /// either a Gratuitous ARP (GARP) packet (IPv4) or an ICMPv6 Router
    /// Advertisement(RA) packet (IPv6).  Google Cloud immediately but
    /// temporarily associates the forwarding rule IP address with that VM, and
    /// both new and in-flight packets are quickly delivered to that VM.
    /// ```
    ///
    /// Note the important properties of the Fast IP Move functionality:
    ///
    /// ```text
    /// - The GARP/RA-initiated re-routing stays active for approximately 20
    /// minutes. After triggering fast failover, you must also
    /// appropriately set the haPolicy.leader.
    /// -  The new leader instance should continue to send GARP/RA packets
    /// periodically every 10 seconds until at least 10 minutes after updating
    /// the haPolicy.leader (but stop immediately if it is no longer the leader).
    /// - After triggering a fast failover, we recommend that you wait at least
    /// 3 seconds before sending another GARP/RA packet from a different VM
    /// instance to avoid race conditions.
    /// - Don't send GARP/RA packets from different VM
    /// instances at the same time. If multiple instances continue to send
    /// GARP/RA packets, traffic might be routed to different destinations in an
    /// alternating order. This condition ceases when a single instance
    /// issues a GARP/RA packet.
    /// - The GARP/RA request always takes priority over the leader API.
    /// Using the haPolicy.leader API to change the leader to a different
    /// instance will have no effect until the GARP/RA request becomes
    /// inactive.
    /// - The GARP/RA packets should follow the GARP/RA
    /// Packet Specifications..
    /// -  When multiple forwarding rules refer to a regional backend service,
    /// you need only send a GARP or RA packet for a single forwarding rule
    /// virtual IP. The virtual IPs for all forwarding rules targeting the same
    /// backend service will also be moved to the sender of the GARP or RA
    /// packet.
    /// ```
    ///
    /// The following are the Fast IP Move limitations (that is, when fastIPMove
    /// is not DISABLED):
    ///
    /// ```text
    /// - Multiple forwarding rules cannot use the same IP address if one of
    /// them refers to a regional backend service with fastIPMove.
    /// - The regional backend service must set the network field, and all
    /// NEGs must belong to that network. However, individual
    /// NEGs can belong to different subnetworks of that network.
    /// - The maximum number of network endpoints across all backends of a
    /// backend service with fastIPMove is 32.
    /// - The maximum number of backend services with fastIPMove that can have
    /// the same network endpoint attached to one of its backends is 64.
    /// - The maximum number of backend services with fastIPMove in a VPC in a
    /// region is 64.
    /// - The network endpoints that are attached to a backend of a backend
    /// service with fastIPMove cannot resolve to Gen3+ machines for IPv6.
    /// - Traffic directed to the leader by a static route next hop will not be
    /// redirected to a new leader by fast failover. Such traffic will only be
    /// redirected once an haPolicy.leader update has taken effect. Only traffic
    /// to the forwarding rule's virtual IP will be redirected to a new leader by
    /// fast failover.
    /// ```
    ///
    /// haPolicy.fastIPMove can be set only at backend service creation time.
    /// Once set, it cannot be updated.
    ///
    /// By default, fastIpMove is set to DISABLED.
    /// Check the FastIPMove enum for the list of possible values.
    #[prost(string, optional, tag = "222633817")]
    pub fast_i_p_move: ::core::option::Option<::prost::alloc::string::String>,
    /// Selects one of the network endpoints attached to the backend NEGs of
    /// this service as the active endpoint (the leader) that receives all
    /// traffic.
    ///
    /// When the leader changes, there is no connection draining to persist
    /// existing connections on the old leader.
    ///
    /// You are responsible for selecting a suitable endpoint as the
    /// leader. For example, preferring a healthy endpoint over unhealthy ones.
    /// Note that this service does not track backend endpoint health, and
    /// selects the configured leader unconditionally.
    #[prost(message, optional, tag = "503858441")]
    pub leader: ::core::option::Option<BackendServiceHaPolicyLeader>,
}
/// Nested message and enum types in `BackendServiceHAPolicy`.
pub mod backend_service_ha_policy {
    /// Specifies whether fast IP move is enabled, and if so, the mechanism to
    /// achieve it.
    ///
    /// Supported values are:
    ///
    /// ```text
    /// - DISABLED: Fast IP Move is disabled. You can only use the
    /// haPolicy.leader API to update the leader.
    /// - >GARP_RA: Provides a method to very quickly define a new network
    /// endpoint as the leader. This method is faster than updating the leader
    /// using the haPolicy.leader API. Fast IP move works as follows: The VM
    /// hosting the network endpoint that should become the new leader sends
    /// either a Gratuitous ARP (GARP) packet (IPv4) or an ICMPv6 Router
    /// Advertisement(RA) packet (IPv6).  Google Cloud immediately but
    /// temporarily associates the forwarding rule IP address with that VM, and
    /// both new and in-flight packets are quickly delivered to that VM.
    /// ```
    ///
    /// Note the important properties of the Fast IP Move functionality:
    ///
    /// ```text
    /// - The GARP/RA-initiated re-routing stays active for approximately 20
    /// minutes. After triggering fast failover, you must also
    /// appropriately set the haPolicy.leader.
    /// -  The new leader instance should continue to send GARP/RA packets
    /// periodically every 10 seconds until at least 10 minutes after updating
    /// the haPolicy.leader (but stop immediately if it is no longer the leader).
    /// - After triggering a fast failover, we recommend that you wait at least
    /// 3 seconds before sending another GARP/RA packet from a different VM
    /// instance to avoid race conditions.
    /// - Don't send GARP/RA packets from different VM
    /// instances at the same time. If multiple instances continue to send
    /// GARP/RA packets, traffic might be routed to different destinations in an
    /// alternating order. This condition ceases when a single instance
    /// issues a GARP/RA packet.
    /// - The GARP/RA request always takes priority over the leader API.
    /// Using the haPolicy.leader API to change the leader to a different
    /// instance will have no effect until the GARP/RA request becomes
    /// inactive.
    /// - The GARP/RA packets should follow the GARP/RA
    /// Packet Specifications..
    /// -  When multiple forwarding rules refer to a regional backend service,
    /// you need only send a GARP or RA packet for a single forwarding rule
    /// virtual IP. The virtual IPs for all forwarding rules targeting the same
    /// backend service will also be moved to the sender of the GARP or RA
    /// packet.
    /// ```
    ///
    /// The following are the Fast IP Move limitations (that is, when fastIPMove
    /// is not DISABLED):
    ///
    /// ```text
    /// - Multiple forwarding rules cannot use the same IP address if one of
    /// them refers to a regional backend service with fastIPMove.
    /// - The regional backend service must set the network field, and all
    /// NEGs must belong to that network. However, individual
    /// NEGs can belong to different subnetworks of that network.
    /// - The maximum number of network endpoints across all backends of a
    /// backend service with fastIPMove is 32.
    /// - The maximum number of backend services with fastIPMove that can have
    /// the same network endpoint attached to one of its backends is 64.
    /// - The maximum number of backend services with fastIPMove in a VPC in a
    /// region is 64.
    /// - The network endpoints that are attached to a backend of a backend
    /// service with fastIPMove cannot resolve to Gen3+ machines for IPv6.
    /// - Traffic directed to the leader by a static route next hop will not be
    /// redirected to a new leader by fast failover. Such traffic will only be
    /// redirected once an haPolicy.leader update has taken effect. Only traffic
    /// to the forwarding rule's virtual IP will be redirected to a new leader by
    /// fast failover.
    /// ```
    ///
    /// haPolicy.fastIPMove can be set only at backend service creation time.
    /// Once set, it cannot be updated.
    ///
    /// By default, fastIpMove is set to DISABLED.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum FastIpMove {
        /// A value indicating that the enum field is not set.
        UndefinedFastIPMove = 0,
        Disabled = 516696700,
        GarpRa = 527352630,
    }
    impl FastIpMove {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedFastIPMove => "UNDEFINED_FAST_I_P_MOVE",
                Self::Disabled => "DISABLED",
                Self::GarpRa => "GARP_RA",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_FAST_I_P_MOVE" => Some(Self::UndefinedFastIPMove),
                "DISABLED" => Some(Self::Disabled),
                "GARP_RA" => Some(Self::GarpRa),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceHaPolicyLeader {
    /// A fully-qualified URL (starting with <https://www.googleapis.com/>)
    /// of the zonal Network Endpoint Group (NEG) with `GCE_VM_IP` endpoints
    /// that the leader is attached to.
    ///
    /// The leader's backendGroup must already be specified as a backend of
    /// this backend service. Removing a backend that is designated as the
    /// leader's backendGroup is not permitted.
    #[prost(string, optional, tag = "457777428")]
    pub backend_group: ::core::option::Option<::prost::alloc::string::String>,
    /// The network endpoint within the leader.backendGroup that is
    /// designated as the leader.
    ///
    /// This network endpoint cannot be detached from the NEG specified in
    /// the haPolicy.leader.backendGroup until the leader is updated with
    /// another network endpoint, or the leader is removed from the haPolicy.
    #[prost(message, optional, tag = "56789126")]
    pub network_endpoint: ::core::option::Option<
        BackendServiceHaPolicyLeaderNetworkEndpoint,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceHaPolicyLeaderNetworkEndpoint {
    /// The name of the VM instance of the leader network endpoint. The
    /// instance must already be attached to the NEG specified in the
    /// haPolicy.leader.backendGroup.
    ///
    /// The name must be 1-63 characters long, and comply with RFC1035.
    /// Authorization requires the following IAM permission on the
    /// specified resource instance: compute.instances.use
    #[prost(string, optional, tag = "18257045")]
    pub instance: ::core::option::Option<::prost::alloc::string::String>,
}
/// The HTTP cookie used for stateful session affinity.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceHttpCookie {
    /// Name of the cookie.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Path to set for the cookie.
    #[prost(string, optional, tag = "3433509")]
    pub path: ::core::option::Option<::prost::alloc::string::String>,
    /// Lifetime of the cookie.
    #[prost(message, optional, tag = "115180")]
    pub ttl: ::core::option::Option<Duration>,
}
/// Identity-Aware Proxy
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceIap {
    /// Whether the serving infrastructure will authenticate and authorize all
    /// incoming requests.
    #[prost(bool, optional, tag = "1018689")]
    pub enabled: ::core::option::Option<bool>,
    /// OAuth2 client ID to use for the authentication flow.
    #[prost(string, optional, tag = "314017611")]
    pub oauth2_client_id: ::core::option::Option<::prost::alloc::string::String>,
    /// OAuth2 client secret to use for the authentication flow.
    /// For security reasons, this value cannot be retrieved via the API.
    /// Instead, the SHA-256 hash of the value is returned in the
    /// oauth2ClientSecretSha256 field.
    ///
    /// @InputOnly
    #[prost(string, optional, tag = "50999520")]
    pub oauth2_client_secret: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] SHA256 hash value for the field oauth2_client_secret above.
    #[prost(string, optional, tag = "112903782")]
    pub oauth2_client_secret_sha256: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Contains a list of BackendService resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of BackendService resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<BackendService>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#backendServiceList for lists of backend services.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of usable BackendService resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceListUsable {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of BackendService resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<BackendService>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#usableBackendServiceList for lists of usable backend
    /// services.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Container for either a built-in LB policy supported by gRPC or Envoy or
/// a custom one implemented by the end user.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceLocalityLoadBalancingPolicyConfig {
    #[prost(message, optional, tag = "4818368")]
    pub custom_policy: ::core::option::Option<
        BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy,
    >,
    #[prost(message, optional, tag = "91071794")]
    pub policy: ::core::option::Option<
        BackendServiceLocalityLoadBalancingPolicyConfigPolicy,
    >,
}
/// The configuration for a custom policy implemented by the user and
/// deployed with the client.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy {
    /// An optional, arbitrary JSON object with configuration data, understood
    /// by a locally installed custom policy implementation.
    #[prost(string, optional, tag = "3076010")]
    pub data: ::core::option::Option<::prost::alloc::string::String>,
    /// Identifies the custom policy.
    ///
    /// The value should match the name of a custom implementation registered
    /// on the gRPC clients. It should follow protocol buffer message naming
    /// conventions and include the full path (for example,
    /// myorg.CustomLbPolicy). The maximum length is 256 characters.
    ///
    /// Do not specify the same custom policy more than once for a
    /// backend. If you do, the configuration is rejected.
    ///
    /// For an example of how to use this field, seeUse
    /// a custom policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
/// The configuration for a built-in load balancing policy.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceLocalityLoadBalancingPolicyConfigPolicy {
    /// The name of a locality load-balancing policy. Valid values include
    /// ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information
    /// about these values, see the description of localityLbPolicy.
    ///
    /// Do not specify the same policy more than once for a
    /// backend. If you do, the configuration is rejected.
    /// Check the Name enum for the list of possible values.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `BackendServiceLocalityLoadBalancingPolicyConfigPolicy`.
pub mod backend_service_locality_load_balancing_policy_config_policy {
    /// The name of a locality load-balancing policy. Valid values include
    /// ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information
    /// about these values, see the description of localityLbPolicy.
    ///
    /// Do not specify the same policy more than once for a
    /// backend. If you do, the configuration is rejected.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Name {
        /// A value indicating that the enum field is not set.
        UndefinedName = 0,
        InvalidLbPolicy = 323318707,
        /// An O(1) algorithm which selects two random healthy hosts and
        /// picks the host which has fewer active requests.
        LeastRequest = 46604921,
        /// This algorithm implements consistent hashing to backends. Maglev can be
        /// used as a drop in replacement for the ring hash load balancer. Maglev is
        /// not as stable as ring hash but has faster table lookup build times and
        /// host selection times. For more information about Maglev, seeMaglev:
        /// A Fast and Reliable Software Network Load Balancer.
        Maglev = 119180266,
        /// Backend host is selected based on the client connection metadata, i.e.,
        /// connections are opened to the same address as the destination address of
        /// the incoming connection before the connection was redirected to the load
        /// balancer.
        OriginalDestination = 166297216,
        /// The load balancer selects a random healthy host.
        Random = 262527171,
        /// The ring/modulo hash load balancer implements consistent hashing to
        /// backends. The algorithm has the property that the addition/removal
        /// of a host from a set of N hosts only affects 1/N of the requests.
        RingHash = 432795069,
        /// This is a simple policy in which each healthy backend is selected
        /// in round robin order. This is the default.
        RoundRobin = 153895801,
        /// Per-instance weighted Load Balancing via health check reported weights.
        /// In internal passthrough network load balancing, it is weighted
        /// rendezvous hashing.
        /// This option is only supported in internal passthrough network load
        /// balancing.
        WeightedGcpRendezvous = 82501640,
        /// Per-instance weighted Load Balancing via health check reported weights.
        /// If set, the Backend Service must configure a non legacy HTTP-based Health
        /// Check, and health check replies are expected to contain non-standard HTTP
        /// response header field X-Load-Balancing-Endpoint-Weight to specify the
        /// per-instance weights.
        /// If set, Load Balancing is weighted based on the
        /// per-instance weights reported in the last processed health check replies,
        /// as long as every instance either reported a valid weight or had
        /// UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight.
        /// This option is only supported in Network Load Balancing.
        WeightedMaglev = 254930962,
        /// Per-endpoint weighted round-robin Load Balancing using weights computed
        /// from Backend reported Custom Metrics. If set, the Backend Service
        /// responses are expected to contain non-standard HTTP response header field
        /// Endpoint-Load-Metrics. The reported metrics
        /// to use for computing the weights are specified via the
        /// customMetrics fields.
        WeightedRoundRobin = 5584977,
    }
    impl Name {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedName => "UNDEFINED_NAME",
                Self::InvalidLbPolicy => "INVALID_LB_POLICY",
                Self::LeastRequest => "LEAST_REQUEST",
                Self::Maglev => "MAGLEV",
                Self::OriginalDestination => "ORIGINAL_DESTINATION",
                Self::Random => "RANDOM",
                Self::RingHash => "RING_HASH",
                Self::RoundRobin => "ROUND_ROBIN",
                Self::WeightedGcpRendezvous => "WEIGHTED_GCP_RENDEZVOUS",
                Self::WeightedMaglev => "WEIGHTED_MAGLEV",
                Self::WeightedRoundRobin => "WEIGHTED_ROUND_ROBIN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NAME" => Some(Self::UndefinedName),
                "INVALID_LB_POLICY" => Some(Self::InvalidLbPolicy),
                "LEAST_REQUEST" => Some(Self::LeastRequest),
                "MAGLEV" => Some(Self::Maglev),
                "ORIGINAL_DESTINATION" => Some(Self::OriginalDestination),
                "RANDOM" => Some(Self::Random),
                "RING_HASH" => Some(Self::RingHash),
                "ROUND_ROBIN" => Some(Self::RoundRobin),
                "WEIGHTED_GCP_RENDEZVOUS" => Some(Self::WeightedGcpRendezvous),
                "WEIGHTED_MAGLEV" => Some(Self::WeightedMaglev),
                "WEIGHTED_ROUND_ROBIN" => Some(Self::WeightedRoundRobin),
                _ => None,
            }
        }
    }
}
/// The available logging options for the load balancer traffic served by this
/// backend service.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceLogConfig {
    /// Denotes whether to enable logging for the load balancer
    /// traffic served by this backend service. The default value is false.
    #[prost(bool, optional, tag = "311764355")]
    pub enable: ::core::option::Option<bool>,
    /// This field can only be specified if logging is enabled for this backend
    /// service and "logConfig.optionalMode" was set to CUSTOM. Contains a list
    /// of optional fields you want to include in the logs. For example:
    /// serverInstance, serverGkeDetails.cluster,
    /// serverGkeDetails.pod.podNamespace
    #[prost(string, repeated, tag = "528589944")]
    pub optional_fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// This field can only be specified if logging is enabled for this backend
    /// service. Configures whether all, none or a subset of optional fields
    /// should be added to the reported logs. One of \[INCLUDE_ALL_OPTIONAL,
    /// EXCLUDE_ALL_OPTIONAL, CUSTOM\]. Default is EXCLUDE_ALL_OPTIONAL.
    /// Check the OptionalMode enum for the list of possible values.
    #[prost(string, optional, tag = "128697122")]
    pub optional_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// This field can only be specified if logging is enabled for this backend
    /// service. The value of the field must be in \[0, 1\]. This configures the
    /// sampling rate of requests to the load balancer where 1.0 means all logged
    /// requests are reported and 0.0 means no logged requests are reported. The
    /// default value is 1.0.
    #[prost(float, optional, tag = "153193045")]
    pub sample_rate: ::core::option::Option<f32>,
}
/// Nested message and enum types in `BackendServiceLogConfig`.
pub mod backend_service_log_config {
    /// This field can only be specified if logging is enabled for this backend
    /// service. Configures whether all, none or a subset of optional fields
    /// should be added to the reported logs. One of \[INCLUDE_ALL_OPTIONAL,
    /// EXCLUDE_ALL_OPTIONAL, CUSTOM\]. Default is EXCLUDE_ALL_OPTIONAL.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum OptionalMode {
        /// A value indicating that the enum field is not set.
        UndefinedOptionalMode = 0,
        /// A subset of optional fields.
        Custom = 388595569,
        /// None optional fields.
        ExcludeAllOptional = 168636099,
        /// All optional fields.
        IncludeAllOptional = 535606965,
    }
    impl OptionalMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOptionalMode => "UNDEFINED_OPTIONAL_MODE",
                Self::Custom => "CUSTOM",
                Self::ExcludeAllOptional => "EXCLUDE_ALL_OPTIONAL",
                Self::IncludeAllOptional => "INCLUDE_ALL_OPTIONAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_OPTIONAL_MODE" => Some(Self::UndefinedOptionalMode),
                "CUSTOM" => Some(Self::Custom),
                "EXCLUDE_ALL_OPTIONAL" => Some(Self::ExcludeAllOptional),
                "INCLUDE_ALL_OPTIONAL" => Some(Self::IncludeAllOptional),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceNetworkPassThroughLbTrafficPolicy {
    /// When configured, new connections are load balanced across healthy backend
    /// endpoints in the local zone.
    #[prost(message, optional, tag = "536266051")]
    pub zonal_affinity: ::core::option::Option<
        BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity {
    /// This field indicates whether zonal affinity is enabled or not. The
    /// possible values are:
    ///
    /// ```text
    /// - ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity
    /// is disabled. The load balancer distributes new connections to all
    /// healthy backend endpoints across all zones.
    /// - ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is
    /// enabled. The load balancer distributes new connections to all healthy
    /// backend endpoints in the local zone only. If there are no healthy
    /// backend endpoints in the local zone, the load balancer distributes
    /// new connections to all backend endpoints in the local zone.
    /// - ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is
    /// enabled. The load balancer distributes new connections to all healthy
    /// backend endpoints in the local zone only. If there aren't enough
    /// healthy backend endpoints in the local zone, the load balancer
    /// distributes new connections to all healthy backend endpoints across all
    /// zones.
    /// ```
    ///
    /// Check the Spillover enum for the list of possible values.
    #[prost(string, optional, tag = "505501440")]
    pub spillover: ::core::option::Option<::prost::alloc::string::String>,
    /// The value of the field must be in \[0, 1\]. When the ratio of the count
    /// of healthy backend endpoints in a zone to the count of backend
    /// endpoints in that same zone is equal to or above this threshold, the
    /// load balancer distributes new connections to all healthy endpoints in
    /// the local zone only. When the ratio of the count of healthy backend
    /// endpoints in a zone to the count of backend endpoints in that same
    /// zone is below this threshold, the load balancer distributes all new
    /// connections to all healthy endpoints across all zones.
    #[prost(float, optional, tag = "135580172")]
    pub spillover_ratio: ::core::option::Option<f32>,
}
/// Nested message and enum types in `BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity`.
pub mod backend_service_network_pass_through_lb_traffic_policy_zonal_affinity {
    /// This field indicates whether zonal affinity is enabled or not. The
    /// possible values are:
    ///
    /// ```text
    /// - ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity
    /// is disabled. The load balancer distributes new connections to all
    /// healthy backend endpoints across all zones.
    /// - ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is
    /// enabled. The load balancer distributes new connections to all healthy
    /// backend endpoints in the local zone only. If there are no healthy
    /// backend endpoints in the local zone, the load balancer distributes
    /// new connections to all backend endpoints in the local zone.
    /// - ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is
    /// enabled. The load balancer distributes new connections to all healthy
    /// backend endpoints in the local zone only. If there aren't enough
    /// healthy backend endpoints in the local zone, the load balancer
    /// distributes new connections to all healthy backend endpoints across all
    /// zones.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Spillover {
        /// A value indicating that the enum field is not set.
        UndefinedSpillover = 0,
        ZonalAffinityDisabled = 230207960,
        ZonalAffinitySpillCrossZone = 251048410,
        ZonalAffinityStayWithinZone = 12177782,
    }
    impl Spillover {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSpillover => "UNDEFINED_SPILLOVER",
                Self::ZonalAffinityDisabled => "ZONAL_AFFINITY_DISABLED",
                Self::ZonalAffinitySpillCrossZone => "ZONAL_AFFINITY_SPILL_CROSS_ZONE",
                Self::ZonalAffinityStayWithinZone => "ZONAL_AFFINITY_STAY_WITHIN_ZONE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SPILLOVER" => Some(Self::UndefinedSpillover),
                "ZONAL_AFFINITY_DISABLED" => Some(Self::ZonalAffinityDisabled),
                "ZONAL_AFFINITY_SPILL_CROSS_ZONE" => {
                    Some(Self::ZonalAffinitySpillCrossZone)
                }
                "ZONAL_AFFINITY_STAY_WITHIN_ZONE" => {
                    Some(Self::ZonalAffinityStayWithinZone)
                }
                _ => None,
            }
        }
    }
}
/// A message containing information about the resource or system that manages
/// the backend service.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceOrchestrationInfo {
    /// The resource URI of the resource or system that manages the backend
    /// service.
    #[prost(string, optional, tag = "152830395")]
    pub resource_uri: ::core::option::Option<::prost::alloc::string::String>,
}
/// Additional Backend Service parameters.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceReference {
    #[prost(string, optional, tag = "306946058")]
    pub backend_service: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceTlsSettings {
    /// Reference to the BackendAuthenticationConfig resource from the
    /// networksecurity.googleapis.com namespace. Can be used in authenticating
    /// TLS connections to the backend, as specified by the authenticationMode
    /// field. Can only be specified if authenticationMode is not NONE.
    #[prost(string, optional, tag = "408053481")]
    pub authentication_config: ::core::option::Option<::prost::alloc::string::String>,
    /// Server Name Indication - see RFC3546 section 3.1. If set, the load
    /// balancer sends this string as the SNI hostname in the TLS connection to
    /// the backend, and requires that this string match a Subject Alternative
    /// Name (SAN) in the backend's server certificate. With a Regional Internet
    /// NEG backend, if the SNI is specified here, the load balancer uses it
    /// regardless of whether the Regional Internet NEG is specified with FQDN or
    /// IP address and port. When both sni and subjectAltNames\[\] are specified,
    /// the load balancer matches the backend certificate's SAN only to
    /// subjectAltNames\[\].
    #[prost(string, optional, tag = "114030")]
    pub sni: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Subject Alternative Names (SANs) that the Load Balancer
    /// verifies during a TLS handshake with the backend. When the server
    /// presents its X.509 certificate to the Load Balancer, the Load Balancer
    /// inspects the certificate's SAN field, and requires that at least one SAN
    /// match one of the subjectAltNames in the list. This field is limited to 5
    /// entries. When both sni and subjectAltNames\[\] are specified, the load
    /// balancer matches the backend certificate's SAN only to subjectAltNames\[\].
    #[prost(message, repeated, tag = "330029535")]
    pub subject_alt_names: ::prost::alloc::vec::Vec<
        BackendServiceTlsSettingsSubjectAltName,
    >,
}
/// A Subject Alternative Name that the load balancer matches against the SAN
/// field in the TLS certificate provided by the backend, specified as either
/// a DNS name or a URI, in accordance with RFC 5280 4.2.1.6
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceTlsSettingsSubjectAltName {
    /// The SAN specified as a DNS Name.
    #[prost(string, optional, tag = "411992033")]
    pub dns_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The SAN specified as a URI.
    #[prost(string, optional, tag = "491409007")]
    pub uniform_resource_identifier: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BackendServiceUsedBy {
    /// Output only. \[Output Only\] Server-defined URL for resources referencing given
    /// BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies
    /// and ForwardingRule.
    #[prost(string, optional, tag = "148586315")]
    pub reference: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServicesScopedList {
    /// A list of BackendServices contained in this scope.
    #[prost(message, repeated, tag = "388522409")]
    pub backend_services: ::prost::alloc::vec::Vec<BackendService>,
    /// Informational warning which replaces the list of
    /// backend services when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BfdPacket {
    /// The Authentication Present bit of the BFD packet. This is specified in
    /// section 4.1 ofRFC5880
    #[prost(bool, optional, tag = "105974260")]
    pub authentication_present: ::core::option::Option<bool>,
    /// The Control Plane Independent bit of the BFD packet. This is specified in
    /// section 4.1 ofRFC5880
    #[prost(bool, optional, tag = "62363573")]
    pub control_plane_independent: ::core::option::Option<bool>,
    /// The demand bit of the BFD packet. This is specified in section 4.1 ofRFC5880
    #[prost(bool, optional, tag = "275180107")]
    pub demand: ::core::option::Option<bool>,
    /// The diagnostic code specifies the local system's reason for the last change
    /// in session state. This allows remote systems to determine the reason that
    /// the previous session failed, for example. These diagnostic codes are
    /// specified in section 4.1 ofRFC5880
    /// Check the Diagnostic enum for the list of possible values.
    #[prost(string, optional, tag = "62708647")]
    pub diagnostic: ::core::option::Option<::prost::alloc::string::String>,
    /// The Final bit of the BFD packet. This is specified in section 4.1 ofRFC5880
    #[prost(bool, optional, tag = "97436022")]
    pub r#final: ::core::option::Option<bool>,
    /// The length of the BFD Control packet in bytes. This is specified in section
    /// 4.1 ofRFC5880
    #[prost(uint32, optional, tag = "504249062")]
    pub length: ::core::option::Option<u32>,
    /// The Required Min Echo RX Interval value in the BFD packet. This is
    /// specified in section 4.1 ofRFC5880
    #[prost(uint32, optional, tag = "97286868")]
    pub min_echo_rx_interval_ms: ::core::option::Option<u32>,
    /// The Required Min RX Interval value in the BFD packet. This is specified in
    /// section 4.1 ofRFC5880
    #[prost(uint32, optional, tag = "463399028")]
    pub min_rx_interval_ms: ::core::option::Option<u32>,
    /// The Desired Min TX Interval value in the BFD packet. This is specified in
    /// section 4.1 ofRFC5880
    #[prost(uint32, optional, tag = "526023602")]
    pub min_tx_interval_ms: ::core::option::Option<u32>,
    /// The detection time multiplier of the BFD packet. This is specified in
    /// section 4.1 ofRFC5880
    #[prost(uint32, optional, tag = "191331777")]
    pub multiplier: ::core::option::Option<u32>,
    /// The multipoint bit of the BFD packet. This is specified in section 4.1 ofRFC5880
    #[prost(bool, optional, tag = "191421431")]
    pub multipoint: ::core::option::Option<bool>,
    /// The My Discriminator value in the BFD packet. This is specified in section
    /// 4.1 ofRFC5880
    #[prost(uint32, optional, tag = "76663113")]
    pub my_discriminator: ::core::option::Option<u32>,
    /// The Poll bit of the BFD packet. This is specified in section 4.1 ofRFC5880
    #[prost(bool, optional, tag = "3446719")]
    pub poll: ::core::option::Option<bool>,
    /// The current BFD session state as seen by the transmitting system. These
    /// states are specified in section 4.1 ofRFC5880
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// The version number of the BFD protocol, as specified in section 4.1 ofRFC5880.
    #[prost(uint32, optional, tag = "351608024")]
    pub version: ::core::option::Option<u32>,
    /// The Your Discriminator value in the BFD packet. This is specified in
    /// section 4.1 ofRFC5880
    #[prost(uint32, optional, tag = "515634064")]
    pub your_discriminator: ::core::option::Option<u32>,
}
/// Nested message and enum types in `BfdPacket`.
pub mod bfd_packet {
    /// The diagnostic code specifies the local system's reason for the last change
    /// in session state. This allows remote systems to determine the reason that
    /// the previous session failed, for example. These diagnostic codes are
    /// specified in section 4.1 ofRFC5880
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Diagnostic {
        /// A value indicating that the enum field is not set.
        UndefinedDiagnostic = 0,
        AdministrativelyDown = 121685798,
        ConcatenatedPathDown = 26186892,
        ControlDetectionTimeExpired = 135478383,
        Unspecified = 58720895,
        EchoFunctionFailed = 220687466,
        ForwardingPlaneReset = 19715882,
        NeighborSignaledSessionDown = 374226742,
        NoDiagnostic = 222503141,
        PathDown = 290605180,
        ReverseConcatenatedPathDown = 479337129,
    }
    impl Diagnostic {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDiagnostic => "UNDEFINED_DIAGNOSTIC",
                Self::AdministrativelyDown => "ADMINISTRATIVELY_DOWN",
                Self::ConcatenatedPathDown => "CONCATENATED_PATH_DOWN",
                Self::ControlDetectionTimeExpired => "CONTROL_DETECTION_TIME_EXPIRED",
                Self::Unspecified => "DIAGNOSTIC_UNSPECIFIED",
                Self::EchoFunctionFailed => "ECHO_FUNCTION_FAILED",
                Self::ForwardingPlaneReset => "FORWARDING_PLANE_RESET",
                Self::NeighborSignaledSessionDown => "NEIGHBOR_SIGNALED_SESSION_DOWN",
                Self::NoDiagnostic => "NO_DIAGNOSTIC",
                Self::PathDown => "PATH_DOWN",
                Self::ReverseConcatenatedPathDown => "REVERSE_CONCATENATED_PATH_DOWN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DIAGNOSTIC" => Some(Self::UndefinedDiagnostic),
                "ADMINISTRATIVELY_DOWN" => Some(Self::AdministrativelyDown),
                "CONCATENATED_PATH_DOWN" => Some(Self::ConcatenatedPathDown),
                "CONTROL_DETECTION_TIME_EXPIRED" => {
                    Some(Self::ControlDetectionTimeExpired)
                }
                "DIAGNOSTIC_UNSPECIFIED" => Some(Self::Unspecified),
                "ECHO_FUNCTION_FAILED" => Some(Self::EchoFunctionFailed),
                "FORWARDING_PLANE_RESET" => Some(Self::ForwardingPlaneReset),
                "NEIGHBOR_SIGNALED_SESSION_DOWN" => {
                    Some(Self::NeighborSignaledSessionDown)
                }
                "NO_DIAGNOSTIC" => Some(Self::NoDiagnostic),
                "PATH_DOWN" => Some(Self::PathDown),
                "REVERSE_CONCATENATED_PATH_DOWN" => {
                    Some(Self::ReverseConcatenatedPathDown)
                }
                _ => None,
            }
        }
    }
    /// The current BFD session state as seen by the transmitting system. These
    /// states are specified in section 4.1 ofRFC5880
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        AdminDown = 128544690,
        Down = 2104482,
        Init = 2252048,
        Unspecified = 470755401,
        Up = 2715,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::AdminDown => "ADMIN_DOWN",
                Self::Down => "DOWN",
                Self::Init => "INIT",
                Self::Unspecified => "STATE_UNSPECIFIED",
                Self::Up => "UP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ADMIN_DOWN" => Some(Self::AdminDown),
                "DOWN" => Some(Self::Down),
                "INIT" => Some(Self::Init),
                "STATE_UNSPECIFIED" => Some(Self::Unspecified),
                "UP" => Some(Self::Up),
                _ => None,
            }
        }
    }
}
/// Next free: 15
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BfdStatus {
    /// The BFD session initialization mode for this BGP peer.
    /// If set to ACTIVE, the Cloud Router will initiate the BFD session for
    /// this BGP peer. If set to PASSIVE, the Cloud Router will wait for the
    /// peer router to initiate the BFD session for this BGP peer. If set to
    /// DISABLED, BFD is disabled for this BGP peer.
    /// Check the BfdSessionInitializationMode enum for the list of possible values.
    #[prost(string, optional, tag = "218156954")]
    pub bfd_session_initialization_mode: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Unix timestamp of the most recent config update.
    #[prost(int64, optional, tag = "457195569")]
    pub config_update_timestamp_micros: ::core::option::Option<i64>,
    /// Control packet counts for the current BFD session.
    #[prost(message, optional, tag = "132573561")]
    pub control_packet_counts: ::core::option::Option<BfdStatusPacketCounts>,
    /// Inter-packet time interval statistics for control packets.
    #[prost(message, repeated, tag = "500806649")]
    pub control_packet_intervals: ::prost::alloc::vec::Vec<PacketIntervals>,
    /// The diagnostic code specifies the local system's reason for the last change
    /// in session state. This allows remote systems to determine the reason that
    /// the previous session failed, for example. These diagnostic codes are
    /// specified in section 4.1 ofRFC5880
    /// Check the LocalDiagnostic enum for the list of possible values.
    #[prost(string, optional, tag = "463737083")]
    pub local_diagnostic: ::core::option::Option<::prost::alloc::string::String>,
    /// The current BFD session state as seen by the transmitting system. These
    /// states are specified in section 4.1 ofRFC5880
    /// Check the LocalState enum for the list of possible values.
    #[prost(string, optional, tag = "149195453")]
    pub local_state: ::core::option::Option<::prost::alloc::string::String>,
    /// Negotiated transmit interval for control packets.
    #[prost(uint32, optional, tag = "21768340")]
    pub negotiated_local_control_tx_interval_ms: ::core::option::Option<u32>,
    /// The most recent Rx control packet for this BFD session.
    #[prost(message, optional, tag = "505069729")]
    pub rx_packet: ::core::option::Option<BfdPacket>,
    /// The most recent Tx control packet for this BFD session.
    #[prost(message, optional, tag = "111386275")]
    pub tx_packet: ::core::option::Option<BfdPacket>,
    /// Session uptime in milliseconds. Value will be 0 if session is not up.
    #[prost(int64, optional, tag = "125398365")]
    pub uptime_ms: ::core::option::Option<i64>,
}
/// Nested message and enum types in `BfdStatus`.
pub mod bfd_status {
    /// The BFD session initialization mode for this BGP peer.
    /// If set to ACTIVE, the Cloud Router will initiate the BFD session for
    /// this BGP peer. If set to PASSIVE, the Cloud Router will wait for the
    /// peer router to initiate the BFD session for this BGP peer. If set to
    /// DISABLED, BFD is disabled for this BGP peer.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum BfdSessionInitializationMode {
        /// A value indicating that the enum field is not set.
        UndefinedBfdSessionInitializationMode = 0,
        Active = 314733318,
        Disabled = 516696700,
        Passive = 462813959,
    }
    impl BfdSessionInitializationMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBfdSessionInitializationMode => {
                    "UNDEFINED_BFD_SESSION_INITIALIZATION_MODE"
                }
                Self::Active => "ACTIVE",
                Self::Disabled => "DISABLED",
                Self::Passive => "PASSIVE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BFD_SESSION_INITIALIZATION_MODE" => {
                    Some(Self::UndefinedBfdSessionInitializationMode)
                }
                "ACTIVE" => Some(Self::Active),
                "DISABLED" => Some(Self::Disabled),
                "PASSIVE" => Some(Self::Passive),
                _ => None,
            }
        }
    }
    /// The diagnostic code specifies the local system's reason for the last change
    /// in session state. This allows remote systems to determine the reason that
    /// the previous session failed, for example. These diagnostic codes are
    /// specified in section 4.1 ofRFC5880
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LocalDiagnostic {
        /// A value indicating that the enum field is not set.
        UndefinedLocalDiagnostic = 0,
        AdministrativelyDown = 121685798,
        ConcatenatedPathDown = 26186892,
        ControlDetectionTimeExpired = 135478383,
        DiagnosticUnspecified = 58720895,
        EchoFunctionFailed = 220687466,
        ForwardingPlaneReset = 19715882,
        NeighborSignaledSessionDown = 374226742,
        NoDiagnostic = 222503141,
        PathDown = 290605180,
        ReverseConcatenatedPathDown = 479337129,
    }
    impl LocalDiagnostic {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLocalDiagnostic => "UNDEFINED_LOCAL_DIAGNOSTIC",
                Self::AdministrativelyDown => "ADMINISTRATIVELY_DOWN",
                Self::ConcatenatedPathDown => "CONCATENATED_PATH_DOWN",
                Self::ControlDetectionTimeExpired => "CONTROL_DETECTION_TIME_EXPIRED",
                Self::DiagnosticUnspecified => "DIAGNOSTIC_UNSPECIFIED",
                Self::EchoFunctionFailed => "ECHO_FUNCTION_FAILED",
                Self::ForwardingPlaneReset => "FORWARDING_PLANE_RESET",
                Self::NeighborSignaledSessionDown => "NEIGHBOR_SIGNALED_SESSION_DOWN",
                Self::NoDiagnostic => "NO_DIAGNOSTIC",
                Self::PathDown => "PATH_DOWN",
                Self::ReverseConcatenatedPathDown => "REVERSE_CONCATENATED_PATH_DOWN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LOCAL_DIAGNOSTIC" => Some(Self::UndefinedLocalDiagnostic),
                "ADMINISTRATIVELY_DOWN" => Some(Self::AdministrativelyDown),
                "CONCATENATED_PATH_DOWN" => Some(Self::ConcatenatedPathDown),
                "CONTROL_DETECTION_TIME_EXPIRED" => {
                    Some(Self::ControlDetectionTimeExpired)
                }
                "DIAGNOSTIC_UNSPECIFIED" => Some(Self::DiagnosticUnspecified),
                "ECHO_FUNCTION_FAILED" => Some(Self::EchoFunctionFailed),
                "FORWARDING_PLANE_RESET" => Some(Self::ForwardingPlaneReset),
                "NEIGHBOR_SIGNALED_SESSION_DOWN" => {
                    Some(Self::NeighborSignaledSessionDown)
                }
                "NO_DIAGNOSTIC" => Some(Self::NoDiagnostic),
                "PATH_DOWN" => Some(Self::PathDown),
                "REVERSE_CONCATENATED_PATH_DOWN" => {
                    Some(Self::ReverseConcatenatedPathDown)
                }
                _ => None,
            }
        }
    }
    /// The current BFD session state as seen by the transmitting system. These
    /// states are specified in section 4.1 ofRFC5880
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LocalState {
        /// A value indicating that the enum field is not set.
        UndefinedLocalState = 0,
        AdminDown = 128544690,
        Down = 2104482,
        Init = 2252048,
        StateUnspecified = 470755401,
        Up = 2715,
    }
    impl LocalState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLocalState => "UNDEFINED_LOCAL_STATE",
                Self::AdminDown => "ADMIN_DOWN",
                Self::Down => "DOWN",
                Self::Init => "INIT",
                Self::StateUnspecified => "STATE_UNSPECIFIED",
                Self::Up => "UP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LOCAL_STATE" => Some(Self::UndefinedLocalState),
                "ADMIN_DOWN" => Some(Self::AdminDown),
                "DOWN" => Some(Self::Down),
                "INIT" => Some(Self::Init),
                "STATE_UNSPECIFIED" => Some(Self::StateUnspecified),
                "UP" => Some(Self::Up),
                _ => None,
            }
        }
    }
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BfdStatusPacketCounts {
    /// Number of packets received since the beginning of the current BFD
    /// session.
    #[prost(uint32, optional, tag = "39375263")]
    pub num_rx: ::core::option::Option<u32>,
    /// Number of packets received that were rejected because of errors since the
    /// beginning of the current BFD session.
    #[prost(uint32, optional, tag = "281007902")]
    pub num_rx_rejected: ::core::option::Option<u32>,
    /// Number of packets received that were successfully processed since the
    /// beginning of the current BFD session.
    #[prost(uint32, optional, tag = "455361850")]
    pub num_rx_successful: ::core::option::Option<u32>,
    /// Number of packets transmitted since the beginning of the current BFD
    /// session.
    #[prost(uint32, optional, tag = "39375325")]
    pub num_tx: ::core::option::Option<u32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BgpRoute {
    /// Output only. \[Output only\] AS-PATH for the route
    #[prost(message, repeated, tag = "137568929")]
    pub as_paths: ::prost::alloc::vec::Vec<BgpRouteAsPath>,
    /// Output only. \[Output only\] BGP communities in human-readable A:B format.
    #[prost(string, repeated, tag = "188262983")]
    pub communities: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output only\] Destination IP range for the route, in human-readable CIDR
    /// format
    #[prost(message, optional, tag = "180765710")]
    pub destination: ::core::option::Option<BgpRouteNetworkLayerReachabilityInformation>,
    /// Output only. \[Output only\] BGP multi-exit discriminator
    #[prost(uint32, optional, tag = "107980")]
    pub med: ::core::option::Option<u32>,
    /// Output only. \[Output only\] BGP origin (EGP, IGP or INCOMPLETE)
    /// Check the Origin enum for the list of possible values.
    #[prost(string, optional, tag = "65122086")]
    pub origin: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `BgpRoute`.
pub mod bgp_route {
    /// Output only. \[Output only\] BGP origin (EGP, IGP or INCOMPLETE)
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Origin {
        /// A value indicating that the enum field is not set.
        UndefinedOrigin = 0,
        BgpOriginEgp = 378906473,
        BgpOriginIgp = 378910317,
        BgpOriginIncomplete = 452839811,
    }
    impl Origin {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOrigin => "UNDEFINED_ORIGIN",
                Self::BgpOriginEgp => "BGP_ORIGIN_EGP",
                Self::BgpOriginIgp => "BGP_ORIGIN_IGP",
                Self::BgpOriginIncomplete => "BGP_ORIGIN_INCOMPLETE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ORIGIN" => Some(Self::UndefinedOrigin),
                "BGP_ORIGIN_EGP" => Some(Self::BgpOriginEgp),
                "BGP_ORIGIN_IGP" => Some(Self::BgpOriginIgp),
                "BGP_ORIGIN_INCOMPLETE" => Some(Self::BgpOriginIncomplete),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BgpRouteAsPath {
    /// Output only. \[Output only\] ASNs in the path segment. When type is SEQUENCE, these are
    /// ordered.
    #[prost(int32, repeated, tag = "3003767")]
    pub asns: ::prost::alloc::vec::Vec<i32>,
    /// Output only. \[Output only\] ASNs in the path segment. This field is for better
    /// support of 32 bit ASNs as the other asns field suffers from overflow when
    /// the ASN is larger. When type is SEQUENCE, these are ordered.
    #[prost(uint32, repeated, tag = "202267158")]
    pub asns32: ::prost::alloc::vec::Vec<u32>,
    /// Output only. \[Output only\] Type of AS-PATH segment (SEQUENCE or SET)
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `BgpRouteAsPath`.
pub mod bgp_route_as_path {
    /// Output only. \[Output only\] Type of AS-PATH segment (SEQUENCE or SET)
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        AsPathTypeSequence = 362887609,
        AsPathTypeSet = 302584650,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::AsPathTypeSequence => "AS_PATH_TYPE_SEQUENCE",
                Self::AsPathTypeSet => "AS_PATH_TYPE_SET",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "AS_PATH_TYPE_SEQUENCE" => Some(Self::AsPathTypeSequence),
                "AS_PATH_TYPE_SET" => Some(Self::AsPathTypeSet),
                _ => None,
            }
        }
    }
}
/// Network Layer Reachability Information (NLRI) for a route.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BgpRouteNetworkLayerReachabilityInformation {
    /// If the BGP session supports multiple paths (RFC 7911), the path
    /// identifier for this route.
    #[prost(uint32, optional, tag = "282287989")]
    pub path_id: ::core::option::Option<u32>,
    /// Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.
    #[prost(string, optional, tag = "93631122")]
    pub prefix: ::core::option::Option<::prost::alloc::string::String>,
}
/// Associates `members`, or principals, with a `role`.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Binding {
    #[prost(string, optional, tag = "441088277")]
    pub binding_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The condition that is associated with this binding.
    ///
    /// If the condition evaluates to `true`, then this binding applies to the
    /// current request.
    ///
    /// If the condition evaluates to `false`, then this binding does not apply to
    /// the current request. However, a different role binding might grant the same
    /// role to one or more of the principals in this binding.
    ///
    /// To learn which resources support conditions in their IAM policies, see the
    /// [IAM
    /// documentation](<https://cloud.google.com/iam/help/conditions/resource-policies>).
    #[prost(message, optional, tag = "212430107")]
    pub condition: ::core::option::Option<Expr>,
    /// Specifies the principals requesting access for a Google Cloud resource.
    /// `members` can have the following values:
    ///
    /// * `allUsers`: A special identifier that represents anyone who is
    ///   on the internet; with or without a Google account.
    ///
    /// * `allAuthenticatedUsers`: A special identifier that represents anyone
    ///   who is authenticated with a Google account or a service account.
    ///   Does not include identities that come from external identity providers
    ///   (IdPs) through identity federation.
    ///
    /// * `user:{emailid}`: An email address that represents a specific Google
    ///   account. For example, `alice@example.com` .
    ///
    /// * `serviceAccount:{emailid}`: An email address that represents a Google
    ///   service account. For example,
    ///   `my-other-app@appspot.gserviceaccount.com`.
    ///
    /// * `serviceAccount:{projectid}.svc.id.goog\[{namespace}/{kubernetes-sa}\]`: An
    ///   identifier for a
    ///   [Kubernetes service
    ///   account](<https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts>).
    ///   For example, `my-project.svc.id.goog\[my-namespace/my-kubernetes-sa\]`.
    ///
    /// * `group:{emailid}`: An email address that represents a Google group.
    ///   For example, `admins@example.com`.
    ///
    /// * `domain:{domain}`: The G Suite domain (primary) that represents all the
    ///   users of that domain. For example, `google.com` or `example.com`.
    ///
    /// * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`:
    ///   A single identity in a workforce identity pool.
    ///
    /// * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`:
    ///   All workforce identities in a group.
    ///
    /// * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`:
    ///   All workforce identities with a specific attribute value.
    ///
    /// * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`:
    ///   All identities in a workforce identity pool.
    ///
    /// * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`:
    ///   A single identity in a workload identity pool.
    ///
    /// * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`:
    ///   A workload identity pool group.
    ///
    /// * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`:
    ///   All identities in a workload identity pool with a certain attribute.
    ///
    /// * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`:
    ///   All identities in a workload identity pool.
    ///
    /// * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
    ///   identifier) representing a user that has been recently deleted. For
    ///   example, `alice@example.com?uid=123456789012345678901`. If the user is
    ///   recovered, this value reverts to `user:{emailid}` and the recovered user
    ///   retains the role in the binding.
    ///
    /// * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
    ///   unique identifier) representing a service account that has been recently
    ///   deleted. For example,
    ///   `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    ///   If the service account is undeleted, this value reverts to
    ///   `serviceAccount:{emailid}` and the undeleted service account retains the
    ///   role in the binding.
    ///
    /// * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
    ///   identifier) representing a Google group that has been recently
    ///   deleted. For example, `admins@example.com?uid=123456789012345678901`. If
    ///   the group is recovered, this value reverts to `group:{emailid}` and the
    ///   recovered group retains the role in the binding.
    ///
    /// * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`:
    ///   Deleted single identity in a workforce identity pool. For example,
    ///   `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
    #[prost(string, repeated, tag = "412010777")]
    pub members: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Role that is assigned to the list of `members`, or principals.
    /// For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    ///
    /// For an overview of the IAM roles and permissions, see the
    /// [IAM documentation](<https://cloud.google.com/iam/docs/roles-overview>). For
    /// a list of the available pre-defined roles, see
    /// [here](<https://cloud.google.com/iam/docs/understanding-roles>).
    #[prost(string, optional, tag = "3506294")]
    pub role: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Disks.BulkInsert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BulkInsertDiskRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "289799382")]
    pub bulk_insert_disk_resource_resource: ::core::option::Option<
        BulkInsertDiskResource,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A transient resource used in compute.disks.bulkInsert and
/// compute.regionDisks.bulkInsert. It is only used to process
/// requests and is not persisted.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BulkInsertDiskResource {
    /// The parameters for the instant snapshot group.
    #[prost(message, optional, tag = "17051623")]
    pub instant_snapshot_group_parameters: ::core::option::Option<
        InstantSnapshotGroupParameters,
    >,
    /// The parameters for the snapshot group. The usage of snapshot group feature
    /// is restricted.
    #[prost(message, optional, tag = "42252485")]
    pub snapshot_group_parameters: ::core::option::Option<SnapshotGroupParameters>,
    /// The URL of the DiskConsistencyGroupPolicy for the group of disks to clone.
    /// This may be a full or partial URL, such as:
    ///
    /// ```text
    ///   -
    ///     <https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy>
    ///
    ///   -
    ///     projects/project/regions/region/resourcePolicies/resourcePolicy
    ///
    ///   -
    ///     regions/region/resourcePolicies/resourcePolicy
    /// ```
    #[prost(string, optional, tag = "19616093")]
    pub source_consistency_group_policy: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// A request message for Instances.BulkInsert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BulkInsertInstanceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "41427278")]
    pub bulk_insert_instance_resource_resource: ::core::option::Option<
        BulkInsertInstanceResource,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A transient resource used in compute.instances.bulkInsert and
/// compute.regionInstances.bulkInsert . This resource is not persisted
/// anywhere, it is used only for processing the requests.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BulkInsertInstanceResource {
    /// The maximum number of instances to create.
    #[prost(int64, optional, tag = "94851343")]
    pub count: ::core::option::Option<i64>,
    /// A flexible specification of machine type of instances to create.
    #[prost(message, optional, tag = "26937090")]
    pub instance_flexibility_policy: ::core::option::Option<InstanceFlexibilityPolicy>,
    /// The instance properties defining the VM instances to be created. Required
    /// if sourceInstanceTemplate is not provided.
    #[prost(message, optional, tag = "215355165")]
    pub instance_properties: ::core::option::Option<InstanceProperties>,
    /// Policy for choosing target zone. For more information, seeCreate VMs in
    /// bulk.
    #[prost(message, optional, tag = "465689852")]
    pub location_policy: ::core::option::Option<LocationPolicy>,
    /// The minimum number of instances to create. If no min_count is
    /// specified then count is used as the default value. Ifmin_count instances cannot be created, then no instances will
    /// be created and instances already created will be deleted.
    #[prost(int64, optional, tag = "523228386")]
    pub min_count: ::core::option::Option<i64>,
    /// The string pattern used for the names of the VMs.
    /// Either name_pattern or per_instance_properties
    /// must be set. The pattern must contain one continuous sequence of
    /// placeholder hash characters (#) with each character corresponding to one
    /// digit of the generated instance name. Example: a name_pattern
    /// of inst-#### generates instance names such asinst-0001 and inst-0002. If existing instances
    /// in the same project and zone have names that match the name pattern
    /// then the generated instance numbers start after the biggest
    /// existing number. For example, if there exists an instance with nameinst-0050, then instance names generated using the patterninst-#### begin with inst-0051. The name pattern
    /// placeholder #...# can contain up to 18 characters.
    #[prost(string, optional, tag = "413815260")]
    pub name_pattern: ::core::option::Option<::prost::alloc::string::String>,
    /// Per-instance properties to be set on individual instances.
    /// Keys of this map specify requested instance names.
    /// Can be empty if name_pattern is used.
    #[prost(map = "string, message", tag = "108502267")]
    pub per_instance_properties: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        BulkInsertInstanceResourcePerInstanceProperties,
    >,
    /// Specifies the instance template from which to create instances. You may
    /// combine sourceInstanceTemplate withinstanceProperties to override specific values from an
    /// existing instance template. Bulk API follows the semantics of JSON Merge
    /// Patch described by RFC
    /// 7396.
    ///
    /// It can be a full or partial URL. For example, the following are
    /// all valid URLs to an instance template:
    ///
    /// ```text
    ///    - <https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate>
    ///    - projects/project/global/instanceTemplates/instanceTemplate
    ///    - global/instanceTemplates/instanceTemplate
    /// ```
    ///
    /// This field is optional.
    #[prost(string, optional, tag = "332423616")]
    pub source_instance_template: ::core::option::Option<::prost::alloc::string::String>,
}
/// Per-instance properties to be set on individual instances.
/// To be extended in the future.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BulkInsertInstanceResourcePerInstanceProperties {
    /// Specifies the hostname of the instance. More details in:
    /// <https://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention>
    #[prost(string, optional, tag = "237067315")]
    pub hostname: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. This field is only temporary. It will be removed. Do not use it.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BulkInsertOperationStatus {
    /// \[Output Only\] Count of VMs successfully created so far.
    #[prost(int32, optional, tag = "396924158")]
    pub created_vm_count: ::core::option::Option<i32>,
    /// \[Output Only\] Count of VMs that got deleted during rollback.
    #[prost(int32, optional, tag = "271756013")]
    pub deleted_vm_count: ::core::option::Option<i32>,
    /// \[Output Only\] Count of VMs that started creating but encountered an
    /// error.
    #[prost(int32, optional, tag = "58384104")]
    pub failed_to_create_vm_count: ::core::option::Option<i32>,
    /// \[Output Only\] Creation status of BulkInsert operation - information
    /// if the flow is rolling forward or rolling back.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Count of VMs originally planned to be created.
    #[prost(int32, optional, tag = "532975733")]
    pub target_vm_count: ::core::option::Option<i32>,
}
/// Nested message and enum types in `BulkInsertOperationStatus`.
pub mod bulk_insert_operation_status {
    /// \[Output Only\] Creation status of BulkInsert operation - information
    /// if the flow is rolling forward or rolling back.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Rolling forward - creating VMs.
        Creating = 455564985,
        /// Done
        Done = 2104194,
        /// Rolling back - cleaning up after an error.
        RollingBack = 259411649,
        Unspecified = 42133066,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Done => "DONE",
                Self::RollingBack => "ROLLING_BACK",
                Self::Unspecified => "STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DONE" => Some(Self::Done),
                "ROLLING_BACK" => Some(Self::RollingBack),
                "STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// A request message for RegionDisks.BulkInsert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BulkInsertRegionDiskRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "289799382")]
    pub bulk_insert_disk_resource_resource: ::core::option::Option<
        BulkInsertDiskResource,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstances.BulkInsert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BulkInsertRegionInstanceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "41427278")]
    pub bulk_insert_instance_resource_resource: ::core::option::Option<
        BulkInsertInstanceResource,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Disks.BulkSetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BulkSetLabelsDiskRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "531305115")]
    pub bulk_zone_set_labels_request_resource: ::core::option::Option<
        BulkZoneSetLabelsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, optional, tag = "195806222")]
    pub resource: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BulkSetLabelsRequest {
    /// The fingerprint of the previous set of labels for this resource,
    /// used to detect conflicts. The fingerprint is initially generated by Compute
    /// Engine and changes after every request to modify or update labels. You may
    /// optionally provide an up-to-date fingerprint hash in order to update or
    /// change labels. Make a get() request to the resource to get the
    /// latest fingerprint.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// The labels to set for this resource.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BulkZoneSetLabelsRequest {
    #[prost(message, repeated, tag = "143613892")]
    pub requests: ::prost::alloc::vec::Vec<BulkSetLabelsRequest>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BundledLocalSsds {
    /// The default disk interface if the interface is not specified.
    #[prost(string, optional, tag = "17309883")]
    pub default_interface: ::core::option::Option<::prost::alloc::string::String>,
    /// The number of partitions.
    #[prost(int32, optional, tag = "408514426")]
    pub partition_count: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CacheInvalidationRule {
    /// A list of cache tags used to identify cached objects.
    ///
    /// ```text
    /// - Cache tags are specified when the response is first cached, by setting
    /// the `Cache-Tag` response header at the origin.
    /// - Multiple cache tags in the same invalidation request are treated as
    /// Boolean `OR` - for example, `tag1 OR tag2 OR tag3`.
    /// - If other fields are also specified, these are treated as Boolean `AND`
    /// with any tags.
    /// ```
    ///
    /// Up to 10 tags can be specified in a single invalidation request.
    #[prost(string, repeated, tag = "29073078")]
    pub cache_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// If set, this invalidation rule will only apply to requests with a Host
    /// header matching host.
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "3433509")]
    pub path: ::core::option::Option<::prost::alloc::string::String>,
}
/// Message containing what to include in the cache key for a request for Cloud
/// CDN.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CacheKeyPolicy {
    /// If true, requests to different hosts will be cached separately.
    #[prost(bool, optional, tag = "486867679")]
    pub include_host: ::core::option::Option<bool>,
    /// Allows HTTP request headers (by name) to be used in the cache key.
    #[prost(string, repeated, tag = "2489606")]
    pub include_http_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Allows HTTP cookies (by name) to be used in the cache key.
    /// The name=value pair will be used in the cache key Cloud CDN generates.
    #[prost(string, repeated, tag = "87316530")]
    pub include_named_cookies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// If true, http and https requests will be cached separately.
    #[prost(bool, optional, tag = "303507535")]
    pub include_protocol: ::core::option::Option<bool>,
    /// If true, include query string parameters in the cache key according to
    /// query_string_whitelist and query_string_blacklist. If neither is set, the
    /// entire query string will be included. If false, the query string will be
    /// excluded from the cache key entirely.
    #[prost(bool, optional, tag = "474036639")]
    pub include_query_string: ::core::option::Option<bool>,
    /// Names of query string parameters to exclude in cache keys. All other
    /// parameters will be included. Either specify query_string_whitelist or
    /// query_string_blacklist, not both. '&' and '=' will be percent encoded and
    /// not treated as delimiters.
    #[prost(string, repeated, tag = "354964742")]
    pub query_string_blacklist: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Names of query string parameters to include in cache keys. All other
    /// parameters will be excluded. Either specify query_string_whitelist or
    /// query_string_blacklist, not both. '&' and '=' will be percent encoded and
    /// not treated as delimiters.
    #[prost(string, repeated, tag = "52456496")]
    pub query_string_whitelist: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Message containing CachePolicy configuration for URL Map's Route Action.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CachePolicy {
    /// Bypass the cache when the specified request headers are matched by name,
    /// e.g. Pragma or Authorization headers. Values are case-insensitive. Up to 5
    /// header names can be specified. The cache is bypassed for all `cacheMode`
    /// values.
    #[prost(string, repeated, tag = "197581440")]
    pub cache_bypass_request_header_names: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// The cache key configuration. If not specified, the default behavior depends
    /// on the backend type: for Backend Services, the complete request URI is
    /// used; for Backend Buckets, the request URI is used without the protocol or
    /// host, and only query parameters known to Cloud Storage are included.
    #[prost(message, optional, tag = "159263727")]
    pub cache_key_policy: ::core::option::Option<CachePolicyCacheKeyPolicy>,
    /// Specifies the cache setting for all responses from this route. If not
    /// specified, Cloud CDN uses `CACHE_ALL_STATIC` mode.
    /// Check the CacheMode enum for the list of possible values.
    #[prost(string, optional, tag = "28877888")]
    pub cache_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a separate client (e.g. browser client) maximum TTL for cached
    /// content. This is used to clamp the max-age (or Expires) value sent to the
    /// client. With `FORCE_CACHE_ALL`, the lesser of `clientTtl` and `defaultTtl`
    /// is used for the response max-age directive, along with a "public"
    /// directive. For cacheable content in `CACHE_ALL_STATIC` mode, `clientTtl`
    /// clamps the max-age from the origin (if specified), or else sets the
    /// response max-age directive to the lesser of the `clientTtl` and
    /// `defaultTtl`, and also ensures a "public" cache-control directive is
    /// present. The maximum allowed value is 31,622,400s (1 year). If not
    /// specified, Cloud CDN uses 3600s (1 hour) for `CACHE_ALL_STATIC` mode.
    /// Cannot exceed `maxTtl`. Cannot be specified when `cacheMode` is
    /// `USE_ORIGIN_HEADERS`.
    #[prost(message, optional, tag = "29034360")]
    pub client_ttl: ::core::option::Option<Duration>,
    /// Specifies the default TTL for cached content for responses that do not have
    /// an existing valid TTL (max-age or s-maxage). Setting a TTL of "0" means
    /// "always revalidate". The value of `defaultTtl` cannot be set to a value
    /// greater than that of `maxTtl`. When the `cacheMode` is set to
    /// `FORCE_CACHE_ALL`, the `defaultTtl` will overwrite the TTL set in all
    /// responses. The maximum allowed value is 31,622,400s (1 year). Infrequently
    /// accessed objects may be evicted from the cache before the defined TTL. If
    /// not specified, Cloud CDN uses 3600s (1 hour) for `CACHE_ALL_STATIC` and
    /// `FORCE_CACHE_ALL` modes. Cannot be specified when `cacheMode` is
    /// `USE_ORIGIN_HEADERS`.
    #[prost(message, optional, tag = "100253422")]
    pub default_ttl: ::core::option::Option<Duration>,
    /// Specifies the maximum allowed TTL for cached content. Cache directives that
    /// attempt to set a max-age or s-maxage higher than this, or an Expires header
    /// more than `maxTtl` seconds in the future will be capped at the value of
    /// `maxTtl`, as if it were the value of an s-maxage Cache-Control directive.
    /// Headers sent to the client will not be modified. Setting a TTL of "0" means
    /// "always revalidate". The maximum allowed value is 31,622,400s (1 year).
    /// Infrequently accessed objects may be evicted from the cache before the
    /// defined TTL. If not specified, Cloud CDN uses 86400s (1 day) for
    /// `CACHE_ALL_STATIC` mode. Can be specified only for `CACHE_ALL_STATIC` cache
    /// mode.
    #[prost(message, optional, tag = "307578001")]
    pub max_ttl: ::core::option::Option<Duration>,
    /// Negative caching allows per-status code TTLs to be set, in order
    /// to apply fine-grained caching for common errors or redirects.
    /// This can reduce the load on your origin and improve end-user
    /// experience by reducing response latency.
    /// When the `cacheMode` is set to `CACHE_ALL_STATIC` or
    /// `USE_ORIGIN_HEADERS`, negative caching applies to responses with
    /// the specified response code that lack any Cache-Control, Expires, or
    /// Pragma: no-cache directives. When the `cacheMode` is set to
    /// `FORCE_CACHE_ALL`, negative caching applies to all responses
    /// with the specified response code, and overrides any caching headers. By
    /// default, Cloud CDN applies the following TTLs to these HTTP status codes:
    ///
    /// * 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m
    /// * 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s
    /// * 405 (Method Not Found), 501 (Not Implemented): 60s
    ///
    /// These defaults can be overridden in `negativeCachingPolicy`.
    /// If not specified, Cloud CDN applies negative caching by default.
    #[prost(bool, optional, tag = "336110005")]
    pub negative_caching: ::core::option::Option<bool>,
    /// Sets a cache TTL for the specified HTTP status code.
    /// `negativeCaching` must be enabled to configure `negativeCachingPolicy`.
    /// Omitting the policy and leaving `negativeCaching` enabled will use Cloud
    /// CDN's default cache TTLs. Note that when specifying an explicit
    /// `negativeCachingPolicy`, you should take care to specify a cache TTL for
    /// all response codes that you wish to cache. Cloud CDN will not apply any
    /// default negative caching when a policy exists.
    #[prost(message, repeated, tag = "155359996")]
    pub negative_caching_policy: ::prost::alloc::vec::Vec<
        CachePolicyNegativeCachingPolicy,
    >,
    /// If true then Cloud CDN will combine multiple concurrent cache fill
    /// requests into a small number of requests to the origin. If not specified,
    /// Cloud CDN applies request coalescing by default.
    #[prost(bool, optional, tag = "532808276")]
    pub request_coalescing: ::core::option::Option<bool>,
    /// Serve existing content from the cache (if available) when revalidating
    /// content with the origin, or when an error is encountered when refreshing
    /// the cache.
    /// This setting defines the default "max-stale" duration for any cached
    /// responses that do not specify a max-stale directive. Stale responses that
    /// exceed the TTL configured here will not be served. The default limit
    /// (max-stale) is 86400s (1 day), which will allow stale content to be
    /// served up to this limit beyond the max-age (or s-maxage) of a cached
    /// response.
    /// The maximum allowed value is 604800 (1 week).
    /// Set this to zero (0) to disable serve-while-stale.
    #[prost(message, optional, tag = "236682203")]
    pub serve_while_stale: ::core::option::Option<Duration>,
}
/// Nested message and enum types in `CachePolicy`.
pub mod cache_policy {
    /// Specifies the cache setting for all responses from this route. If not
    /// specified, Cloud CDN uses `CACHE_ALL_STATIC` mode.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CacheMode {
        /// A value indicating that the enum field is not set.
        UndefinedCacheMode = 0,
        /// Automatically cache static content, including common image formats,
        /// media (video and audio), and web assets (JavaScript and CSS).
        /// Requests and responses that are marked as uncacheable, as well as
        /// dynamic content (including HTML), will not be cached.
        CacheAllStatic = 355027945,
        /// Cache all content, ignoring any "private", "no-store" or "no-cache"
        /// directives in Cache-Control response headers.
        /// Warning: this may result in Cloud CDN caching private,
        /// per-user (user identifiable) content.
        ForceCacheAll = 486026928,
        /// Requires the origin to set valid caching headers to cache content.
        /// Responses without these headers will not be cached at the edge, and will
        /// require a full trip to the origin on every request, potentially impacting
        /// performance and increasing load on the origin server.
        UseOriginHeaders = 55380261,
    }
    impl CacheMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCacheMode => "UNDEFINED_CACHE_MODE",
                Self::CacheAllStatic => "CACHE_ALL_STATIC",
                Self::ForceCacheAll => "FORCE_CACHE_ALL",
                Self::UseOriginHeaders => "USE_ORIGIN_HEADERS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CACHE_MODE" => Some(Self::UndefinedCacheMode),
                "CACHE_ALL_STATIC" => Some(Self::CacheAllStatic),
                "FORCE_CACHE_ALL" => Some(Self::ForceCacheAll),
                "USE_ORIGIN_HEADERS" => Some(Self::UseOriginHeaders),
                _ => None,
            }
        }
    }
}
/// Message containing what to include in the cache key for a request for Cache
/// Policy defined on Route Action.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CachePolicyCacheKeyPolicy {
    /// Names of query string parameters to exclude in cache keys. All other
    /// parameters will be included. Either specify `excludedQueryParameters`
    /// or `includedQueryParameters`, not both. '&' and '=' will be percent
    /// encoded and not treated as delimiters.
    ///
    /// Note: This field applies to routes that use backend services. Attempting
    /// to set it on a route that points exclusively to Backend Buckets will
    /// result in a configuration error. For routes that point to a Backend
    /// Bucket, use `includedQueryParameters` to define which parameters should
    /// be part of the cache key.
    #[prost(string, repeated, tag = "124896150")]
    pub excluded_query_parameters: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// If true, requests to different hosts will be cached separately.
    ///
    /// Note: This setting is only applicable to routes that use a Backend
    /// Service. It does not affect requests served by a Backend Bucket, as the
    /// host is never included in a Backend Bucket's cache key. Attempting to set
    /// it on a route that points exclusively to Backend Buckets will result in a
    /// configuration error.
    #[prost(bool, optional, tag = "486867679")]
    pub include_host: ::core::option::Option<bool>,
    /// If true, http and https requests will be cached separately.
    ///
    /// Note: This setting is only applicable to routes that use a Backend
    /// Service. It does not affect requests served by a Backend Bucket, as the
    /// protocol is never included in a Backend Bucket's cache key. Attempting to
    /// set on a route that points exclusively to Backend Buckets will result in
    /// a configuration error.
    #[prost(bool, optional, tag = "303507535")]
    pub include_protocol: ::core::option::Option<bool>,
    /// If true, include query string parameters in the cache key according to
    /// `includedQueryParameters` and `excludedQueryParameters`. If neither
    /// is set, the entire query string will be included. If false, the query
    /// string will be excluded from the cache key entirely.
    ///
    /// Note: This field applies to routes that use backend services. Attempting
    /// to set it on a route that points exclusively to Backend Buckets will
    /// result in a configuration error. For routes that point to a Backend
    /// Bucket, use `includedQueryParameters` to define which parameters should
    /// be part of the cache key.
    #[prost(bool, optional, tag = "474036639")]
    pub include_query_string: ::core::option::Option<bool>,
    /// Allows HTTP cookies (by name) to be used in the cache key.
    /// The name=value pair will be used in the cache key Cloud CDN generates.
    ///
    /// Note: This setting is only applicable to routes that use a Backend
    /// Service. It does not affect requests served by a Backend Bucket.
    /// Attempting to set it on a route that points exclusively to Backend
    /// Buckets will result in a configuration error. Up to 5 cookie names can be
    /// specified.
    #[prost(string, repeated, tag = "66987088")]
    pub included_cookie_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Allows HTTP request headers (by name) to be used in the cache key.
    #[prost(string, repeated, tag = "533756345")]
    pub included_header_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Names of query string parameters to include in cache keys. All other
    /// parameters will be excluded. Either specify `includedQueryParameters`
    /// or `excludedQueryParameters`, not both. '&' and '=' will be percent
    /// encoded and not treated as delimiters.
    #[prost(string, repeated, tag = "2319076")]
    pub included_query_parameters: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
}
/// Specify CDN TTLs for response error codes.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CachePolicyNegativeCachingPolicy {
    /// The HTTP status code to define a TTL against. Only HTTP status codes
    /// 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 can be
    /// specified as values, and you cannot specify a status code more than
    /// once.
    #[prost(int32, optional, tag = "3059181")]
    pub code: ::core::option::Option<i32>,
    /// The TTL (in seconds) for which to cache responses with the
    /// corresponding status code.
    /// The maximum allowed value is 1800s (30 minutes). Infrequently accessed
    /// objects may be evicted from the cache before the defined TTL.
    #[prost(message, optional, tag = "115180")]
    pub ttl: ::core::option::Option<Duration>,
}
/// A request to recommend the best way to consume the specified resources in the
/// future.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CalendarModeAdviceRequest {
    /// Specification of resources to create in the future.
    /// The key of the map is an arbitrary string specified by the caller.
    /// Value of the map is a specification of required resources and their
    /// constraints. Currently only one value is allowed in this map.
    #[prost(map = "string, message", tag = "255012610")]
    pub future_resources_specs: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        FutureResourcesSpec,
    >,
}
/// A response containing the recommended way of creating the specified resources
/// in the future. It contains (will contain) multiple recommendations that can
/// be analyzed by the customer and the best one can be picked.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CalendarModeAdviceResponse {
    /// Recommendations where, how and when to create the requested resources
    /// in order to maximize their obtainability and minimize cost.
    #[prost(message, repeated, tag = "324515802")]
    pub recommendations: ::prost::alloc::vec::Vec<CalendarModeRecommendation>,
}
/// A request message for Advice.CalendarMode. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CalendarModeAdviceRpcRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "162098922")]
    pub calendar_mode_advice_request_resource: ::core::option::Option<
        CalendarModeAdviceRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A single recommendation to create requested resources. Contains detailed
/// recommendations for every future resources specification specified in
/// CalendarModeAdviceRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CalendarModeRecommendation {
    /// Recommendations for every future resource specification passed in
    /// CalendarModeAdviceRequest. Keys of the map correspond to keys
    /// specified in the request.
    #[prost(map = "string, message", tag = "61331554")]
    pub recommendations_per_spec: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        FutureResourcesRecommendation,
    >,
}
/// A request message for FutureReservations.Cancel. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CancelFutureReservationRequest {
    /// Name of the future reservation to retrieve. Name should conform to RFC1035.
    #[prost(string, tag = "56206160")]
    pub future_reservation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request. Name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagerResizeRequests.Cancel. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CancelInstanceGroupManagerResizeRequestRequest {
    /// The name of the managed instance group.
    /// The name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the resize request to cancel.
    /// The name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "216941060")]
    pub resize_request: ::prost::alloc::string::String,
    /// The name of thezone where the managed
    /// instance group is located. The name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagerResizeRequests.Cancel. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CancelRegionInstanceGroupManagerResizeRequestRequest {
    /// The name of the managed instance group.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region
    /// scoping this request. Name should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the resize request to cancel.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "216941060")]
    pub resize_request: ::prost::alloc::string::String,
}
/// Settings controlling the volume of requests, connections and retries to this
/// backend service.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CircuitBreakers {
    /// The maximum number of connections to the backend service. If not specified,
    /// there is no limit.
    ///
    /// Not supported when the backend service is referenced by a URL map that is
    /// bound to target gRPC proxy that has validateForProxyless field set to true.
    #[prost(int32, optional, tag = "110652154")]
    pub max_connections: ::core::option::Option<i32>,
    /// The maximum number of pending requests allowed to the backend service. If
    /// not specified, there is no limit.
    ///
    /// Not supported when the backend service is referenced by a URL map that is
    /// bound to target gRPC proxy that has validateForProxyless field set to true.
    #[prost(int32, optional, tag = "375558887")]
    pub max_pending_requests: ::core::option::Option<i32>,
    /// The maximum number of parallel requests that allowed to the backend
    /// service. If not specified, there is no limit.
    #[prost(int32, optional, tag = "28097599")]
    pub max_requests: ::core::option::Option<i32>,
    /// Maximum requests for a single connection to the backend service.
    /// This parameter is respected by both the HTTP/1.1 and HTTP/2
    /// implementations. If not specified, there is no limit. Setting this
    /// parameter to 1 will effectively disable keep alive.
    ///
    /// Not supported when the backend service is referenced by a URL map that is
    /// bound to target gRPC proxy that has validateForProxyless field set to true.
    #[prost(int32, optional, tag = "361630528")]
    pub max_requests_per_connection: ::core::option::Option<i32>,
    /// The maximum number of parallel retries allowed to the backend cluster. If
    /// not specified, the default is 1.
    ///
    /// Not supported when the backend service is referenced by a URL map that is
    /// bound to target gRPC proxy that has validateForProxyless field set to true.
    #[prost(int32, optional, tag = "55546219")]
    pub max_retries: ::core::option::Option<i32>,
}
/// A request message for FirewallPolicies.CloneRules. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CloneRulesFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The firewall policy from which to copy rules.
    #[prost(string, optional, tag = "25013549")]
    pub source_firewall_policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkFirewallPolicies.CloneRules. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CloneRulesNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The firewall policy from which to copy rules.
    #[prost(string, optional, tag = "25013549")]
    pub source_firewall_policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionNetworkFirewallPolicies.CloneRules. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CloneRulesRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The firewall policy from which to copy rules.
    #[prost(string, optional, tag = "25013549")]
    pub source_firewall_policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a regional resource-based commitment resource.
///
/// Creating this commitment resource means that you are purchasing a
/// resource-based committed use contract, with an explicit start and end time.
/// You can purchase resource-based commitments for both hardware and software
/// resources. For more information, read
/// Resource-based committed use discounts
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Commitment {
    /// Specifies whether to automatically renew the commitment at the end of its
    /// current term. The default value is false. If you set the field
    /// to true, each time your commitment reaches the end of its
    /// term, Compute Engine automatically renews it for another term. You can
    /// update this field anytime before the commitment expires. For example, if
    /// the commitment is set to expire at 12 AM UTC-8 on January 3, 2027, you can
    /// update this field until 11:59 PM UTC-8 on January 2, 2027.
    #[prost(bool, optional, tag = "495520765")]
    pub auto_renew: ::core::option::Option<bool>,
    /// The category of the commitment; specifies whether the commitment is for
    /// hardware or software resources. Category MACHINE specifies
    /// that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources.
    /// Category LICENSE specifies that you are committing to software
    /// licenses, listed in licenseResources.
    /// Note that if you specify MACHINE commitments, then you must
    /// also specify a type to indicate the machine series of the
    /// hardware resource that you are committing to.
    /// Check the Category enum for the list of possible values.
    #[prost(string, optional, tag = "50511102")]
    pub category: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Input Only\] Optional, specifies the requested commitment end time inRFC3339 text format. Use this option when the desired
    /// commitment's end date is later than the start date + term duration.
    #[prost(string, optional, tag = "181770852")]
    pub custom_end_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of the commitment. You can provide this property
    /// when you create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Commitment end time inRFC3339
    /// text format.
    #[prost(string, optional, tag = "468096690")]
    pub end_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, repeated, tag = "493028443")]
    pub existing_reservations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#commitment
    /// for commitments.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The license specification required as part of a license commitment.
    #[prost(message, optional, tag = "437955148")]
    pub license_resource: ::core::option::Option<LicenseResourceCommitment>,
    /// The list of source commitments that you are merging to create the new
    /// merged commitment. For more information, see
    /// Merging commitments.
    #[prost(string, repeated, tag = "188093761")]
    pub merge_source_commitments: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Name of the commitment. You must specify a name when you purchase the
    /// commitment. The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<CommitmentParams>,
    /// The minimum time duration that you commit to purchasing resources.
    /// The plan that you choose determines the preset term length of the
    /// commitment (which is 1 year or 3 years) and affects the discount rate that
    /// you receive for your resources. Committing to a longer time duration
    /// typically gives you a higher discount rate. The supported values for this
    /// field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years).
    /// Check the Plan enum for the list of possible values.
    #[prost(string, optional, tag = "3443497")]
    pub plan: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the commitment and committed
    /// resources are located.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of new reservations that you want to create and attach to this
    /// commitment.
    ///
    /// You must attach reservations to your commitment if your commitment
    /// specifies any GPUs or Local SSD disks. For more information, see
    /// Attach reservations to resource-based commitments.
    ///
    /// Specify this property only if you want to create new
    /// reservations to attach. To attach existing reservations, specify theexistingReservations property instead.
    #[prost(message, repeated, tag = "399717927")]
    pub reservations: ::prost::alloc::vec::Vec<Reservation>,
    /// Output only. \[Output Only\] Status information for Commitment resource.
    #[prost(message, optional, tag = "249429315")]
    pub resource_status: ::core::option::Option<CommitmentResourceStatus>,
    /// The list of all the hardware resources, with their types and amounts, that
    /// you want to commit to. Specify as a separate entry in the list for each
    /// individual resource type.
    #[prost(message, repeated, tag = "164412965")]
    pub resources: ::prost::alloc::vec::Vec<ResourceCommitment>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// The source commitment from which you are transferring resources to create
    /// the new split commitment. For more information, see
    /// Split commitments.
    #[prost(string, optional, tag = "402611156")]
    pub split_source_commitment: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Commitment start time inRFC3339
    /// text format.
    #[prost(string, optional, tag = "83645817")]
    pub start_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Status of the commitment with regards to eventual expiration
    /// (each commitment has an end date defined). Status can be one of the
    /// following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] An optional, human-readable explanation of the status.
    #[prost(string, optional, tag = "297428154")]
    pub status_message: ::core::option::Option<::prost::alloc::string::String>,
    /// The type of commitment; specifies the
    /// machine series for which you want to commit to purchasing resources.
    /// The choice of machine series affects the discount rate and the eligible
    /// resource types.
    ///
    /// The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D,
    /// COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
    /// example, type MEMORY_OPTIMIZED specifies a commitment that
    /// applies only to eligible resources of memory optimized M1 and M2 machine
    /// series. Type GENERAL_PURPOSE specifies a commitment that
    /// applies only to eligible resources of general purpose N1 machine series.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Commitment`.
pub mod commitment {
    /// The category of the commitment; specifies whether the commitment is for
    /// hardware or software resources. Category MACHINE specifies
    /// that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources.
    /// Category LICENSE specifies that you are committing to software
    /// licenses, listed in licenseResources.
    /// Note that if you specify MACHINE commitments, then you must
    /// also specify a type to indicate the machine series of the
    /// hardware resource that you are committing to.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Category {
        /// A value indicating that the enum field is not set.
        UndefinedCategory = 0,
        Unspecified = 509189462,
        License = 347869217,
        Machine = 469553191,
    }
    impl Category {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCategory => "UNDEFINED_CATEGORY",
                Self::Unspecified => "CATEGORY_UNSPECIFIED",
                Self::License => "LICENSE",
                Self::Machine => "MACHINE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CATEGORY" => Some(Self::UndefinedCategory),
                "CATEGORY_UNSPECIFIED" => Some(Self::Unspecified),
                "LICENSE" => Some(Self::License),
                "MACHINE" => Some(Self::Machine),
                _ => None,
            }
        }
    }
    /// The minimum time duration that you commit to purchasing resources.
    /// The plan that you choose determines the preset term length of the
    /// commitment (which is 1 year or 3 years) and affects the discount rate that
    /// you receive for your resources. Committing to a longer time duration
    /// typically gives you a higher discount rate. The supported values for this
    /// field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years).
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Plan {
        /// A value indicating that the enum field is not set.
        UndefinedPlan = 0,
        Invalid = 530283991,
        ThirtySixMonth = 266295942,
        TwelveMonth = 173083962,
    }
    impl Plan {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPlan => "UNDEFINED_PLAN",
                Self::Invalid => "INVALID",
                Self::ThirtySixMonth => "THIRTY_SIX_MONTH",
                Self::TwelveMonth => "TWELVE_MONTH",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PLAN" => Some(Self::UndefinedPlan),
                "INVALID" => Some(Self::Invalid),
                "THIRTY_SIX_MONTH" => Some(Self::ThirtySixMonth),
                "TWELVE_MONTH" => Some(Self::TwelveMonth),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] Status of the commitment with regards to eventual expiration
    /// (each commitment has an end date defined). Status can be one of the
    /// following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Active = 314733318,
        /// Deprecate CANCELED status. Will use separate status to differentiate
        /// cancel by mergeCud or manual cancellation.
        Cancelled = 41957681,
        Creating = 455564985,
        Expired = 482489093,
        NotYetActive = 20607337,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Active => "ACTIVE",
                Self::Cancelled => "CANCELLED",
                Self::Creating => "CREATING",
                Self::Expired => "EXPIRED",
                Self::NotYetActive => "NOT_YET_ACTIVE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "ACTIVE" => Some(Self::Active),
                "CANCELLED" => Some(Self::Cancelled),
                "CREATING" => Some(Self::Creating),
                "EXPIRED" => Some(Self::Expired),
                "NOT_YET_ACTIVE" => Some(Self::NotYetActive),
                _ => None,
            }
        }
    }
    /// The type of commitment; specifies the
    /// machine series for which you want to commit to purchasing resources.
    /// The choice of machine series affects the discount rate and the eligible
    /// resource types.
    ///
    /// The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D,
    /// COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
    /// example, type MEMORY_OPTIMIZED specifies a commitment that
    /// applies only to eligible resources of memory optimized M1 and M2 machine
    /// series. Type GENERAL_PURPOSE specifies a commitment that
    /// applies only to eligible resources of general purpose N1 machine series.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        AcceleratorOptimized = 280848403,
        AcceleratorOptimizedA3 = 158574526,
        AcceleratorOptimizedA3Mega = 156517459,
        AcceleratorOptimizedA3Ultra = 27812811,
        AcceleratorOptimizedA4 = 158574527,
        ComputeOptimized = 158349023,
        ComputeOptimizedC2d = 383246453,
        ComputeOptimizedC3 = 428004784,
        ComputeOptimizedC3d = 383246484,
        ComputeOptimizedH3 = 428004939,
        ComputeOptimizedH4d = 383251320,
        GeneralPurpose = 299793543,
        GeneralPurposeC4 = 301911817,
        GeneralPurposeC4a = 232460888,
        GeneralPurposeC4d = 232460891,
        GeneralPurposeE2 = 301911877,
        GeneralPurposeN2 = 301912156,
        GeneralPurposeN2d = 232471400,
        GeneralPurposeN4 = 301912158,
        GeneralPurposeN4a = 232471459,
        GeneralPurposeN4d = 232471462,
        GeneralPurposeT2d = 232477166,
        GraphicsOptimized = 68500563,
        GraphicsOptimizedG4 = 54029369,
        MemoryOptimized = 281753417,
        MemoryOptimizedM3 = 276301372,
        MemoryOptimizedM4 = 276301373,
        MemoryOptimizedM46tb = 210543650,
        /// CUD bucket for X4 machine with 1440 vCPUs and 24TB of memory.
        MemoryOptimizedX4144024t = 206669823,
        MemoryOptimizedX416tb = 183089120,
        /// CUD bucket for X4 machine with 1920 vCPUs and 32TB of memory.
        MemoryOptimizedX4192032t = 291963529,
        MemoryOptimizedX424tb = 183116989,
        MemoryOptimizedX432tb = 183144858,
        /// CUD bucket for X4 machine with 480 vCPUs and 6TB of memory.
        MemoryOptimizedX44806t = 478547742,
        /// CUD bucket for X4 machine with 480 vCPUs and 8TB of memory.
        MemoryOptimizedX44808t = 478547804,
        /// CUD bucket for X4 machine with 960 vCPUs and 12TB of memory.
        MemoryOptimizedX496012t = 424752410,
        /// CUD bucket for X4 machine with 960 vCPUs and 16TB of memory.
        MemoryOptimizedX496016t = 424752534,
        StorageOptimizedZ3 = 316796085,
        /// Note for internal users: When adding a new enum Type for v1, make sure
        /// to also add it in the comment for the `optional Type type` definition.
        /// This ensures that the public documentation displays the new enum Type.
        Unspecified = 437714322,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::AcceleratorOptimized => "ACCELERATOR_OPTIMIZED",
                Self::AcceleratorOptimizedA3 => "ACCELERATOR_OPTIMIZED_A3",
                Self::AcceleratorOptimizedA3Mega => "ACCELERATOR_OPTIMIZED_A3_MEGA",
                Self::AcceleratorOptimizedA3Ultra => "ACCELERATOR_OPTIMIZED_A3_ULTRA",
                Self::AcceleratorOptimizedA4 => "ACCELERATOR_OPTIMIZED_A4",
                Self::ComputeOptimized => "COMPUTE_OPTIMIZED",
                Self::ComputeOptimizedC2d => "COMPUTE_OPTIMIZED_C2D",
                Self::ComputeOptimizedC3 => "COMPUTE_OPTIMIZED_C3",
                Self::ComputeOptimizedC3d => "COMPUTE_OPTIMIZED_C3D",
                Self::ComputeOptimizedH3 => "COMPUTE_OPTIMIZED_H3",
                Self::ComputeOptimizedH4d => "COMPUTE_OPTIMIZED_H4D",
                Self::GeneralPurpose => "GENERAL_PURPOSE",
                Self::GeneralPurposeC4 => "GENERAL_PURPOSE_C4",
                Self::GeneralPurposeC4a => "GENERAL_PURPOSE_C4A",
                Self::GeneralPurposeC4d => "GENERAL_PURPOSE_C4D",
                Self::GeneralPurposeE2 => "GENERAL_PURPOSE_E2",
                Self::GeneralPurposeN2 => "GENERAL_PURPOSE_N2",
                Self::GeneralPurposeN2d => "GENERAL_PURPOSE_N2D",
                Self::GeneralPurposeN4 => "GENERAL_PURPOSE_N4",
                Self::GeneralPurposeN4a => "GENERAL_PURPOSE_N4A",
                Self::GeneralPurposeN4d => "GENERAL_PURPOSE_N4D",
                Self::GeneralPurposeT2d => "GENERAL_PURPOSE_T2D",
                Self::GraphicsOptimized => "GRAPHICS_OPTIMIZED",
                Self::GraphicsOptimizedG4 => "GRAPHICS_OPTIMIZED_G4",
                Self::MemoryOptimized => "MEMORY_OPTIMIZED",
                Self::MemoryOptimizedM3 => "MEMORY_OPTIMIZED_M3",
                Self::MemoryOptimizedM4 => "MEMORY_OPTIMIZED_M4",
                Self::MemoryOptimizedM46tb => "MEMORY_OPTIMIZED_M4_6TB",
                Self::MemoryOptimizedX4144024t => "MEMORY_OPTIMIZED_X4_1440_24T",
                Self::MemoryOptimizedX416tb => "MEMORY_OPTIMIZED_X4_16TB",
                Self::MemoryOptimizedX4192032t => "MEMORY_OPTIMIZED_X4_1920_32T",
                Self::MemoryOptimizedX424tb => "MEMORY_OPTIMIZED_X4_24TB",
                Self::MemoryOptimizedX432tb => "MEMORY_OPTIMIZED_X4_32TB",
                Self::MemoryOptimizedX44806t => "MEMORY_OPTIMIZED_X4_480_6T",
                Self::MemoryOptimizedX44808t => "MEMORY_OPTIMIZED_X4_480_8T",
                Self::MemoryOptimizedX496012t => "MEMORY_OPTIMIZED_X4_960_12T",
                Self::MemoryOptimizedX496016t => "MEMORY_OPTIMIZED_X4_960_16T",
                Self::StorageOptimizedZ3 => "STORAGE_OPTIMIZED_Z3",
                Self::Unspecified => "TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "ACCELERATOR_OPTIMIZED" => Some(Self::AcceleratorOptimized),
                "ACCELERATOR_OPTIMIZED_A3" => Some(Self::AcceleratorOptimizedA3),
                "ACCELERATOR_OPTIMIZED_A3_MEGA" => Some(Self::AcceleratorOptimizedA3Mega),
                "ACCELERATOR_OPTIMIZED_A3_ULTRA" => {
                    Some(Self::AcceleratorOptimizedA3Ultra)
                }
                "ACCELERATOR_OPTIMIZED_A4" => Some(Self::AcceleratorOptimizedA4),
                "COMPUTE_OPTIMIZED" => Some(Self::ComputeOptimized),
                "COMPUTE_OPTIMIZED_C2D" => Some(Self::ComputeOptimizedC2d),
                "COMPUTE_OPTIMIZED_C3" => Some(Self::ComputeOptimizedC3),
                "COMPUTE_OPTIMIZED_C3D" => Some(Self::ComputeOptimizedC3d),
                "COMPUTE_OPTIMIZED_H3" => Some(Self::ComputeOptimizedH3),
                "COMPUTE_OPTIMIZED_H4D" => Some(Self::ComputeOptimizedH4d),
                "GENERAL_PURPOSE" => Some(Self::GeneralPurpose),
                "GENERAL_PURPOSE_C4" => Some(Self::GeneralPurposeC4),
                "GENERAL_PURPOSE_C4A" => Some(Self::GeneralPurposeC4a),
                "GENERAL_PURPOSE_C4D" => Some(Self::GeneralPurposeC4d),
                "GENERAL_PURPOSE_E2" => Some(Self::GeneralPurposeE2),
                "GENERAL_PURPOSE_N2" => Some(Self::GeneralPurposeN2),
                "GENERAL_PURPOSE_N2D" => Some(Self::GeneralPurposeN2d),
                "GENERAL_PURPOSE_N4" => Some(Self::GeneralPurposeN4),
                "GENERAL_PURPOSE_N4A" => Some(Self::GeneralPurposeN4a),
                "GENERAL_PURPOSE_N4D" => Some(Self::GeneralPurposeN4d),
                "GENERAL_PURPOSE_T2D" => Some(Self::GeneralPurposeT2d),
                "GRAPHICS_OPTIMIZED" => Some(Self::GraphicsOptimized),
                "GRAPHICS_OPTIMIZED_G4" => Some(Self::GraphicsOptimizedG4),
                "MEMORY_OPTIMIZED" => Some(Self::MemoryOptimized),
                "MEMORY_OPTIMIZED_M3" => Some(Self::MemoryOptimizedM3),
                "MEMORY_OPTIMIZED_M4" => Some(Self::MemoryOptimizedM4),
                "MEMORY_OPTIMIZED_M4_6TB" => Some(Self::MemoryOptimizedM46tb),
                "MEMORY_OPTIMIZED_X4_1440_24T" => Some(Self::MemoryOptimizedX4144024t),
                "MEMORY_OPTIMIZED_X4_16TB" => Some(Self::MemoryOptimizedX416tb),
                "MEMORY_OPTIMIZED_X4_1920_32T" => Some(Self::MemoryOptimizedX4192032t),
                "MEMORY_OPTIMIZED_X4_24TB" => Some(Self::MemoryOptimizedX424tb),
                "MEMORY_OPTIMIZED_X4_32TB" => Some(Self::MemoryOptimizedX432tb),
                "MEMORY_OPTIMIZED_X4_480_6T" => Some(Self::MemoryOptimizedX44806t),
                "MEMORY_OPTIMIZED_X4_480_8T" => Some(Self::MemoryOptimizedX44808t),
                "MEMORY_OPTIMIZED_X4_960_12T" => Some(Self::MemoryOptimizedX496012t),
                "MEMORY_OPTIMIZED_X4_960_16T" => Some(Self::MemoryOptimizedX496016t),
                "STORAGE_OPTIMIZED_Z3" => Some(Self::StorageOptimizedZ3),
                "TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommitmentAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of CommitmentsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        CommitmentsScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#commitmentAggregatedList for aggregated lists of
    /// commitments.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of Commitment resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommitmentList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Commitment resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Commitment>,
    /// Output only. \[Output Only\] Type of resource. Always compute#commitmentList
    /// for lists of commitments.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Additional commitment params.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommitmentParams {
    /// Input only. Resource manager tags to be bound to the commitment. Tag keys and
    /// values have the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
    /// namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// \[Output Only\] Contains output only fields.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CommitmentResourceStatus {
    /// Output only. \[Output Only\] Indicates the end time of customer's eligibility to send
    /// custom term requests in RFC3339 text format. Term extension requests that
    /// (not the end time in the request) after this time will be rejected.
    #[prost(string, optional, tag = "363976187")]
    pub custom_term_eligibility_end_timestamp: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommitmentsScopedList {
    /// \[Output Only\] The list of commitments contained in this scope.
    #[prost(message, repeated, tag = "450664446")]
    pub commitments: ::prost::alloc::vec::Vec<Commitment>,
    /// \[Output Only\] Informational warning which replaces the list of commitments
    /// when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a composite health check.
///
/// A composite health check resource specifies the health source resources and
/// the health destination resource to which the aggregated health result from
/// the health source resources is delivered.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CompositeHealthCheck {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a CompositeHealthCheck. An up-to-date fingerprint
    /// must be provided in order to patch the CompositeHealthCheck; Otherwise,
    /// the request will fail with error 412 conditionNotMet. To see
    /// the latest fingerprint, make a get() request to retrieve the
    /// CompositeHealthCheck.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// URL to the destination resource. Must be set. Must be aForwardingRule. The ForwardingRule must have
    /// load balancing scheme INTERNAL orINTERNAL_MANAGED and must be regional and in the same region
    /// as the CompositeHealthCheck (cross-region deployment forINTERNAL_MANAGED is not supported). Can be mutated.
    #[prost(string, optional, tag = "311098027")]
    pub health_destination: ::core::option::Option<::prost::alloc::string::String>,
    /// URLs to the HealthSource resources whose results are AND'ed.
    /// I.e. he aggregated result is is HEALTHY only if all sources
    /// are HEALTHY. Must have at least 1. Must not have more than 10.
    /// Must be regional and in the same region as theCompositeHealthCheck. Can be mutated.
    #[prost(string, repeated, tag = "397879509")]
    pub health_sources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A unique identifier for this resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#compositeHealthCheck for composite health checks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the composite health check resides.
    /// This field applies only to the regional resource. You must specify this
    /// field as part of the HTTP request URL. It is not settable as a field in
    /// the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL with id for the resource.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains a list of CompositeHealthChecksScopedList.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CompositeHealthCheckAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of CompositeHealthChecksScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        CompositeHealthChecksScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Response message for RegionCompositeHealthChecks.GetHealth
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CompositeHealthCheckHealth {
    /// Health sources and their corresponding health states.
    #[prost(message, repeated, tag = "397879509")]
    pub health_sources: ::prost::alloc::vec::Vec<
        CompositeHealthChecksGetHealthResponseHealthSourceHealth,
    >,
    /// Health state of the CompositeHealthCheck.
    /// Check the HealthState enum for the list of possible values.
    #[prost(string, optional, tag = "324007150")]
    pub health_state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of
    /// composite health checks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `CompositeHealthCheckHealth`.
pub mod composite_health_check_health {
    /// Health state of the CompositeHealthCheck.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum HealthState {
        /// A value indicating that the enum field is not set.
        UndefinedHealthState = 0,
        Healthy = 439801213,
        Unhealthy = 462118084,
        Unknown = 433141802,
    }
    impl HealthState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedHealthState => "UNDEFINED_HEALTH_STATE",
                Self::Healthy => "HEALTHY",
                Self::Unhealthy => "UNHEALTHY",
                Self::Unknown => "UNKNOWN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_HEALTH_STATE" => Some(Self::UndefinedHealthState),
                "HEALTHY" => Some(Self::Healthy),
                "UNHEALTHY" => Some(Self::Unhealthy),
                "UNKNOWN" => Some(Self::Unknown),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CompositeHealthCheckList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of CompositeHealthCheck resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<CompositeHealthCheck>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#compositeHealthCheck for composite health checks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CompositeHealthChecksGetHealthResponseHealthSourceHealth {
    /// Health state of the associated HealthSource resource.
    /// Check the HealthState enum for the list of possible values.
    #[prost(string, optional, tag = "324007150")]
    pub health_state: ::core::option::Option<::prost::alloc::string::String>,
    /// Fully qualified URL of the associated HealthSource resource.
    #[prost(string, optional, tag = "177235995")]
    pub source: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `CompositeHealthChecksGetHealthResponseHealthSourceHealth`.
pub mod composite_health_checks_get_health_response_health_source_health {
    /// Health state of the associated HealthSource resource.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum HealthState {
        /// A value indicating that the enum field is not set.
        UndefinedHealthState = 0,
        Healthy = 439801213,
        Unhealthy = 462118084,
        Unknown = 433141802,
    }
    impl HealthState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedHealthState => "UNDEFINED_HEALTH_STATE",
                Self::Healthy => "HEALTHY",
                Self::Unhealthy => "UNHEALTHY",
                Self::Unknown => "UNKNOWN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_HEALTH_STATE" => Some(Self::UndefinedHealthState),
                "HEALTHY" => Some(Self::Healthy),
                "UNHEALTHY" => Some(Self::Unhealthy),
                "UNKNOWN" => Some(Self::Unknown),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CompositeHealthChecksScopedList {
    /// A list of CompositeHealthChecks contained in this scope.
    #[prost(message, repeated, tag = "517891062")]
    pub composite_health_checks: ::prost::alloc::vec::Vec<CompositeHealthCheck>,
    /// Informational warning which replaces the list of composite health checks
    /// when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A set of Confidential Instance options.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ConfidentialInstanceConfig {
    /// Defines the type of technology used by the confidential instance.
    /// Check the ConfidentialInstanceType enum for the list of possible values.
    #[prost(string, optional, tag = "43484717")]
    pub confidential_instance_type: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Defines whether the instance should have confidential compute enabled.
    #[prost(bool, optional, tag = "102135228")]
    pub enable_confidential_compute: ::core::option::Option<bool>,
}
/// Nested message and enum types in `ConfidentialInstanceConfig`.
pub mod confidential_instance_config {
    /// Defines the type of technology used by the confidential instance.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ConfidentialInstanceType {
        /// A value indicating that the enum field is not set.
        UndefinedConfidentialInstanceType = 0,
        /// No type specified. Do not use this value.
        Unspecified = 115021829,
        /// AMD Secure Encrypted Virtualization.
        Sev = 81988,
        /// AMD Secure Encrypted Virtualization - Secure Nested Paging.
        SevSnp = 21753562,
        /// Intel Trust Domain eXtension.
        Tdx = 82920,
    }
    impl ConfidentialInstanceType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedConfidentialInstanceType => {
                    "UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE"
                }
                Self::Unspecified => "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED",
                Self::Sev => "SEV",
                Self::SevSnp => "SEV_SNP",
                Self::Tdx => "TDX",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CONFIDENTIAL_INSTANCE_TYPE" => {
                    Some(Self::UndefinedConfidentialInstanceType)
                }
                "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                "SEV" => Some(Self::Sev),
                "SEV_SNP" => Some(Self::SevSnp),
                "TDX" => Some(Self::Tdx),
                _ => None,
            }
        }
    }
}
/// Message containing connection draining configuration.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ConnectionDraining {
    /// Configures a duration timeout for existing requests on a removed backend
    /// instance. For supported load balancers and protocols, as described inEnabling
    /// connection draining.
    #[prost(int32, optional, tag = "225127070")]
    pub draining_timeout_sec: ::core::option::Option<i32>,
}
/// This message defines settings for a consistent hash style load balancer.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ConsistentHashLoadBalancerSettings {
    /// Hash is based on HTTP Cookie. This field describes a HTTP cookie that will
    /// be used as the hash key for the consistent hash load balancer. If the
    /// cookie is not present, it will be generated. This field is applicable if
    /// the sessionAffinity is set to HTTP_COOKIE.
    ///
    /// Not supported when the backend service is referenced by a URL map that is
    /// bound to target gRPC proxy that has validateForProxyless field set to true.
    #[prost(message, optional, tag = "6673915")]
    pub http_cookie: ::core::option::Option<
        ConsistentHashLoadBalancerSettingsHttpCookie,
    >,
    /// The hash based on the value of the specified header field. This field is
    /// applicable if the sessionAffinity is set toHEADER_FIELD.
    #[prost(string, optional, tag = "234798022")]
    pub http_header_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The minimum number of virtual nodes to use for the hash ring. Defaults to
    /// 1024. Larger ring sizes result in more granular load distributions. If the
    /// number of hosts in the load balancing pool is larger than the ring size,
    /// each host will be assigned a single virtual node.
    #[prost(int64, optional, tag = "234380735")]
    pub minimum_ring_size: ::core::option::Option<i64>,
}
/// The information about the HTTP Cookie on which the hash function is based
/// for load balancing policies that use a consistent hash.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ConsistentHashLoadBalancerSettingsHttpCookie {
    /// Name of the cookie.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Path to set for the cookie.
    #[prost(string, optional, tag = "3433509")]
    pub path: ::core::option::Option<::prost::alloc::string::String>,
    /// Lifetime of the cookie.
    #[prost(message, optional, tag = "115180")]
    pub ttl: ::core::option::Option<Duration>,
}
/// A request message for OrganizationSecurityPolicies.CopyRules. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CopyRulesOrganizationSecurityPolicyRequest {
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The security policy from which to copy rules.
    #[prost(string, optional, tag = "234793709")]
    pub source_security_policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// The specification for allowing client-side cross-origin requests. For more
/// information about the W3C recommendation for cross-origin resource sharing
/// (CORS), see Fetch API Living
/// Standard.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CorsPolicy {
    /// In response to a preflight request, setting this to true
    /// indicates that
    /// the actual request can include user credentials. This field translates to
    /// the Access-Control-Allow-Credentials header.
    ///
    /// Default is false.
    #[prost(bool, optional, tag = "481263366")]
    pub allow_credentials: ::core::option::Option<bool>,
    /// Specifies the content for the Access-Control-Allow-Headers
    /// header.
    #[prost(string, repeated, tag = "45179024")]
    pub allow_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies the content for the Access-Control-Allow-Methods
    /// header.
    #[prost(string, repeated, tag = "205405372")]
    pub allow_methods: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies a regular expression that matches allowed origins. For
    /// more information, see regular expression syntax.
    ///
    /// An origin is allowed if it matches either an item inallowOrigins or an item inallowOriginRegexes.
    ///
    /// Regular expressions can only be used when the loadBalancingScheme is
    /// set to INTERNAL_SELF_MANAGED.
    #[prost(string, repeated, tag = "215385810")]
    pub allow_origin_regexes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies the list of origins that is allowed to do CORS requests.
    ///
    /// An origin is allowed if it matches either an item inallowOrigins or an item inallowOriginRegexes.
    #[prost(string, repeated, tag = "194914071")]
    pub allow_origins: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// If true, disables the CORS policy.
    /// The default value is false, which indicates that the CORS
    /// policy is in effect.
    #[prost(bool, optional, tag = "270940796")]
    pub disabled: ::core::option::Option<bool>,
    /// Specifies the content for the Access-Control-Expose-Headers
    /// header.
    #[prost(string, repeated, tag = "247604747")]
    pub expose_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies how long results of a preflight request can be cached in
    /// seconds. This field translates to the Access-Control-Max-Age
    /// header.
    #[prost(int32, optional, tag = "307559332")]
    pub max_age: ::core::option::Option<i32>,
}
/// A request message for InstanceGroupManagers.CreateInstances. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateInstancesInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    /// It should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "24558867")]
    pub instance_group_managers_create_instances_request_resource: ::core::option::Option<
        InstanceGroupManagersCreateInstancesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone
    /// where the managed instance group is located.
    /// It should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.CreateInstances. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateInstancesRegionInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    /// It should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of theregion
    /// where the managed instance group is located.
    /// It should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "359014280")]
    pub region_instance_group_managers_create_instances_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersCreateInstancesRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InterconnectGroups.CreateMembers. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMembersInterconnectGroupRequest {
    /// Name of the group resource to create members for.
    #[prost(string, tag = "388651918")]
    pub interconnect_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "348323437")]
    pub interconnect_groups_create_members_request_resource: ::core::option::Option<
        InterconnectGroupsCreateMembersRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for Disks.CreateSnapshot. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateSnapshotDiskRequest {
    /// Name of the persistent disk to snapshot.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// \[Input Only\] Whether to attempt an application consistent snapshot by
    /// informing the OS to prepare for the snapshot process.
    #[prost(bool, optional, tag = "385550813")]
    pub guest_flush: ::core::option::Option<bool>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "481319977")]
    pub snapshot_resource: ::core::option::Option<Snapshot>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.CreateSnapshot. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateSnapshotRegionDiskRequest {
    /// Name of the regional persistent disk to snapshot.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "481319977")]
    pub snapshot_resource: ::core::option::Option<Snapshot>,
}
/// A resource that represents a cross-site network.
///
/// You can use cross-site networks to connect your on-premises networks to
/// each other through Interconnect connections.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CrossSiteNetwork {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of the cross-site network.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#crossSiteNetwork for cross-site networks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response to the list request that contains a list of cross-site networks.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CrossSiteNetworkList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of CrossSiteNetwork resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<CrossSiteNetwork>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#crossSiteNetwork for cross-site networks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface: MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Specifies the custom error response policy that must be applied when the
/// backend service or backend bucket responds with an error.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomErrorResponsePolicy {
    /// Specifies rules for returning error responses.
    ///
    /// In a given policy, if you specify rules for both a range of error codes
    /// as well as rules for specific error codes then rules with specific error
    /// codes have a higher priority. For example, assume that you configure a rule
    /// for 401 (Un-authorized) code, and another for all 4 series
    /// error codes (4XX). If the backend service returns a401, then the rule for 401 will be applied.
    /// However if the backend service returns a 403, the rule for4xx takes effect.
    #[prost(message, repeated, tag = "14620304")]
    pub error_response_rules: ::prost::alloc::vec::Vec<
        CustomErrorResponsePolicyCustomErrorResponseRule,
    >,
    /// The full or partial URL to the BackendBucket resource that
    /// contains the custom error content. Examples are:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/global/backendBuckets/myBackendBucket>
    ///   - compute/v1/projects/project/global/backendBuckets/myBackendBucket
    ///   - global/backendBuckets/myBackendBucket
    /// ```
    ///
    /// If errorService is not specified at lower levels likepathMatcher, pathRule and routeRule,
    /// an errorService specified at a higher level in theUrlMap will be used. IfUrlMap.defaultCustomErrorResponsePolicy contains one or moreerrorResponseRules\[\], it must specifyerrorService.
    ///
    /// If load balancer cannot reach
    /// the backendBucket, a simple Not Found Error will
    /// be returned, with the original response code (oroverrideResponseCode if configured).
    ///
    /// errorService is not supported for internal or regionalHTTP/HTTPS load balancers.
    #[prost(string, optional, tag = "164214654")]
    pub error_service: ::core::option::Option<::prost::alloc::string::String>,
}
/// Specifies the mapping between the response code that will be returned along
/// with the custom error content and the response code returned by the backend
/// service.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CustomErrorResponsePolicyCustomErrorResponseRule {
    /// Valid values include:
    ///
    /// ```text
    ///   - A number between 400 and 599: For example
    ///   401 or 503, in which case the load balancer
    ///   applies the policy if the error code exactly matches this value.
    ///   - 5xx: Load Balancer will apply the policy if the
    ///   backend service responds with any response code in the range of
    ///   500 to 599.
    /// - 4xx: Load
    ///   Balancer will apply the policy if the backend service responds with any
    ///   response code in the range of 400 to
    ///   499.
    /// ```
    ///
    /// Values must be unique within matchResponseCodes and across allerrorResponseRules ofCustomErrorResponsePolicy.
    #[prost(string, repeated, tag = "104973410")]
    pub match_response_codes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The HTTP status code returned with the response containing the custom
    /// error content. If overrideResponseCode is not supplied, the
    /// same response code returned by the original backend bucket or backend
    /// service is returned to the client.
    #[prost(int32, optional, tag = "530328568")]
    pub override_response_code: ::core::option::Option<i32>,
    /// The full path to a file within backendBucket . For example:/errors/defaultError.html
    ///
    /// path must start
    /// with a leading slash. path cannot have trailing slashes.
    ///
    /// If the file is not available in backendBucket  or the
    /// load balancer cannot reach the BackendBucket, a simpleNot Found Error is returned to the client.
    ///
    /// The value must
    /// be from 1 to 1024 characters
    #[prost(string, optional, tag = "3433509")]
    pub path: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CustomerEncryptionKey {
    /// The name of the encryption key that is stored in Google Cloud KMS.
    /// For example:
    ///
    /// "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/
    /// key_region/cryptoKeys/key
    ///
    /// The fully-qualifed key name may be returned for resource GET requests. For
    /// example:
    ///
    /// "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/
    /// key_region/cryptoKeys/key
    /// /cryptoKeyVersions/1
    #[prost(string, optional, tag = "484373913")]
    pub kms_key_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The service account being used for the encryption request for the given KMS
    /// key. If absent, the Compute Engine default service account is used.
    /// For example:
    ///
    /// "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/
    #[prost(string, optional, tag = "209986261")]
    pub kms_key_service_account: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a 256-bit customer-supplied
    /// encryption key, encoded in RFC
    /// 4648 base64 to either encrypt or decrypt this resource. You can
    /// provide either the rawKey or thersaEncryptedKey.
    /// For example:
    ///
    /// "rawKey":
    /// "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0="
    #[prost(string, optional, tag = "449196488")]
    pub raw_key: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit
    /// customer-supplied encryption key to either encrypt or decrypt this
    /// resource. You can provide either the rawKey or thersaEncryptedKey.
    /// For example:
    ///
    /// "rsaEncryptedKey":
    /// "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH
    /// z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD
    /// D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe=="
    ///
    /// The key must meet the following requirements before you can provide it to
    /// Compute Engine:
    ///
    /// ```text
    /// 1. The key is wrapped using a RSA public key certificate provided by
    /// Google.
    /// 2. After being wrapped, the key must be encoded in RFC 4648 base64
    /// encoding.
    /// ```
    ///
    /// Gets the RSA public key certificate provided by Google at:
    ///
    /// <https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem>
    #[prost(string, optional, tag = "335487397")]
    pub rsa_encrypted_key: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output only\] TheRFC
    /// 4648 base64 encoded SHA-256 hash of the customer-supplied
    /// encryption key that protects this resource.
    #[prost(string, optional, tag = "170112551")]
    pub sha256: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CustomerEncryptionKeyProtectedDisk {
    /// Decrypts data associated with the disk with acustomer-supplied
    /// encryption key.
    #[prost(message, optional, tag = "271660677")]
    pub disk_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// Specifies a valid partial or full URL to an existing Persistent Disk
    /// resource. This field is only applicable for persistent disks.
    /// For example:
    ///
    /// "source": "/compute/v1/projects/project_id/zones/zone/disks/
    /// disk_name
    #[prost(string, optional, tag = "177235995")]
    pub source: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Data {
    /// \[Output Only\] A key that provides more detail on the warning being
    /// returned. For example, for warnings where there are no results in a list
    /// request for a particular zone, this key might be scope and
    /// the key value might be the zone name. Other examples might be a key
    /// indicating a deprecated resource and a suggested replacement, or a
    /// warning about invalid network settings (for example, if an instance
    /// attempts to perform IP forwarding but is not enabled for IP forwarding).
    #[prost(string, optional, tag = "106079")]
    pub key: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A warning data value corresponding to the key.
    #[prost(string, optional, tag = "111972721")]
    pub value: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a whole or partial calendar date, such as a birthday. The time of
/// day and time zone are either specified elsewhere or are insignificant. The
/// date is relative to the Gregorian Calendar. This can represent one of the
/// following:
///
/// * A full date, with non-zero year, month, and day values.
/// * A month and day, with a zero year (for example, an anniversary).
/// * A year on its own, with a zero month and a zero day.
/// * A year and month, with a zero day (for example, a credit card expiration
///   date).
///
/// Related types:
///
/// * google.type.TimeOfDay
/// * google.type.DateTime
/// * google.protobuf.Timestamp
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Date {
    /// Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
    /// to specify a year by itself or a year and month where the day isn't
    /// significant.
    #[prost(int32, optional, tag = "99228")]
    pub day: ::core::option::Option<i32>,
    /// Month of a year. Must be from 1 to 12, or 0 to specify a year without a
    /// month and day.
    #[prost(int32, optional, tag = "104080000")]
    pub month: ::core::option::Option<i32>,
    /// Year of the date. Must be from 1 to 9999, or 0 to specify a date without
    /// a year.
    #[prost(int32, optional, tag = "3704893")]
    pub year: ::core::option::Option<i32>,
}
/// A request message for Instances.DeleteAccessConfig. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteAccessConfigInstanceRequest {
    /// The name of the access config to delete.
    #[prost(string, tag = "72856189")]
    pub access_config: ::prost::alloc::string::String,
    /// The instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The name of the network interface.
    #[prost(string, tag = "365387880")]
    pub network_interface: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Addresses.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteAddressRequest {
    /// Name of the address resource to delete.
    #[prost(string, tag = "462920692")]
    pub address: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Autoscalers.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteAutoscalerRequest {
    /// Name of the autoscaler to delete.
    #[prost(string, tag = "517258967")]
    pub autoscaler: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for BackendBuckets.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteBackendBucketRequest {
    /// Name of the BackendBucket resource to delete.
    #[prost(string, tag = "91714037")]
    pub backend_bucket: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for BackendServices.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteBackendServiceRequest {
    /// Name of the BackendService resource to delete.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for CrossSiteNetworks.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteCrossSiteNetworkRequest {
    /// Name of the cross-site network to delete.
    #[prost(string, tag = "108192469")]
    pub cross_site_network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Disks.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteDiskRequest {
    /// Name of the persistent disk to delete.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ExternalVpnGateways.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteExternalVpnGatewayRequest {
    /// Name of the externalVpnGateways to delete.
    #[prost(string, tag = "109898629")]
    pub external_vpn_gateway: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for FirewallPolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteFirewallPolicyRequest {
    /// Name of the firewall policy to delete.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Firewalls.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteFirewallRequest {
    /// Name of the firewall rule to delete.
    #[prost(string, tag = "511016192")]
    pub firewall: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for ForwardingRules.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteForwardingRuleRequest {
    /// Name of the ForwardingRule resource to delete.
    #[prost(string, tag = "269964030")]
    pub forwarding_rule: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for FutureReservations.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteFutureReservationRequest {
    /// Name of the future reservation to retrieve. Name should conform to RFC1035.
    #[prost(string, tag = "56206160")]
    pub future_reservation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request. Name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for GlobalAddresses.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteGlobalAddressRequest {
    /// Name of the address resource to delete.
    #[prost(string, tag = "462920692")]
    pub address: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for GlobalForwardingRules.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteGlobalForwardingRuleRequest {
    /// Name of the ForwardingRule resource to delete.
    #[prost(string, tag = "269964030")]
    pub forwarding_rule: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for GlobalNetworkEndpointGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteGlobalNetworkEndpointGroupRequest {
    /// The name of the network endpoint group to delete. It should comply with
    /// RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for GlobalOperations.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteGlobalOperationRequest {
    /// Name of the Operations resource to delete, or its unique numeric
    /// identifier.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A response message for GlobalOperations.Delete. See the method description for details.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteGlobalOperationResponse {}
/// A request message for GlobalOrganizationOperations.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteGlobalOrganizationOperationRequest {
    /// Name of the Operations resource to delete, or its unique numeric
    /// identifier.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Parent ID for this request.
    #[prost(string, optional, tag = "459714768")]
    pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A response message for GlobalOrganizationOperations.Delete. See the method description for details.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteGlobalOrganizationOperationResponse {}
/// A request message for GlobalPublicDelegatedPrefixes.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteGlobalPublicDelegatedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the PublicDelegatedPrefix resource to delete.
    #[prost(string, tag = "204238440")]
    pub public_delegated_prefix: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for HealthChecks.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteHealthCheckRequest {
    /// Name of the HealthCheck resource to delete.
    #[prost(string, tag = "308876645")]
    pub health_check: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Images.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteImageRequest {
    /// Name of the image resource to delete.
    #[prost(string, tag = "100313435")]
    pub image: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstanceGroupManagers.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInstanceGroupManagerRequest {
    /// The name of the managed instance group to delete.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagerResizeRequests.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInstanceGroupManagerResizeRequestRequest {
    /// The name of the managed instance group.
    /// The name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the resize request to delete.
    /// The name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "216941060")]
    pub resize_request: ::prost::alloc::string::String,
    /// The name of thezone where the managed
    /// instance group is located. The name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInstanceGroupRequest {
    /// The name of the instance group to delete.
    #[prost(string, tag = "81095253")]
    pub instance_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone
    /// where the instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInstanceRequest {
    /// Name of the instance resource to delete.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceTemplates.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInstanceTemplateRequest {
    /// The name of the instance template to delete.
    #[prost(string, tag = "309248228")]
    pub instance_template: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstanceGroupManagers.DeleteInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInstancesInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "166421252")]
    pub instance_group_managers_delete_instances_request_resource: ::core::option::Option<
        InstanceGroupManagersDeleteInstancesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.DeleteInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInstancesRegionInstanceGroupManagerRequest {
    /// Name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "500876665")]
    pub region_instance_group_managers_delete_instances_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersDeleteInstancesRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstantSnapshotGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInstantSnapshotGroupRequest {
    /// Name of the InstantSnapshot resource to delete.
    #[prost(string, tag = "223180386")]
    pub instant_snapshot_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstantSnapshots.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInstantSnapshotRequest {
    /// Name of the InstantSnapshot resource to delete.
    #[prost(string, tag = "391638626")]
    pub instant_snapshot: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InterconnectAttachmentGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInterconnectAttachmentGroupRequest {
    /// Name of the InterconnectAttachmentGroup resource to delete.
    #[prost(string, tag = "75905012")]
    pub interconnect_attachment_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InterconnectAttachments.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInterconnectAttachmentRequest {
    /// Name of the interconnect attachment to delete.
    #[prost(string, tag = "308135284")]
    pub interconnect_attachment: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InterconnectGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInterconnectGroupRequest {
    /// Name of the InterconnectGroup resource to delete.
    #[prost(string, tag = "388651918")]
    pub interconnect_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Interconnects.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteInterconnectRequest {
    /// Name of the interconnect to delete.
    #[prost(string, tag = "224601230")]
    pub interconnect: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Licenses.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteLicenseRequest {
    /// Name of the license resource to delete.
    #[prost(string, tag = "166757441")]
    pub license: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for MachineImages.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteMachineImageRequest {
    /// The name of the machine image to delete.
    #[prost(string, tag = "69189475")]
    pub machine_image: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkAttachments.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteNetworkAttachmentRequest {
    /// Name of the NetworkAttachment resource to delete.
    #[prost(string, tag = "224644052")]
    pub network_attachment: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkEdgeSecurityServices.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteNetworkEdgeSecurityServiceRequest {
    /// Name of the network edge security service to delete.
    #[prost(string, tag = "157011879")]
    pub network_edge_security_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkEndpointGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteNetworkEndpointGroupRequest {
    /// The name of the network endpoint group to delete. It should comply with
    /// RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone where
    /// the network endpoint group is located. It should comply with RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NetworkFirewallPolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to delete.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Instances.DeleteNetworkInterface. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteNetworkInterfaceInstanceRequest {
    /// The instance name for this request stored as resource_id.
    /// Name should conform to RFC1035 or be an unsigned long integer.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The name of the dynamic network interface to be deleted from the instance.
    #[prost(string, tag = "381342722")]
    pub network_interface_name: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Networks.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteNetworkRequest {
    /// Name of the network to delete.
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NodeGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteNodeGroupRequest {
    /// Name of the NodeGroup resource to delete.
    #[prost(string, tag = "469958146")]
    pub node_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NodeTemplates.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteNodeTemplateRequest {
    /// Name of the NodeTemplate resource to delete.
    #[prost(string, tag = "323154455")]
    pub node_template: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NodeGroups.DeleteNodes. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteNodesNodeGroupRequest {
    /// Name of the NodeGroup resource whose nodes will be deleted.
    #[prost(string, tag = "469958146")]
    pub node_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "183298962")]
    pub node_groups_delete_nodes_request_resource: ::core::option::Option<
        NodeGroupsDeleteNodesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for OrganizationSecurityPolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteOrganizationSecurityPolicyRequest {
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to delete.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for PacketMirrorings.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeletePacketMirroringRequest {
    /// Name of the PacketMirroring resource to delete.
    #[prost(string, tag = "22305996")]
    pub packet_mirroring: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstanceGroupManagers.DeletePerInstanceConfigs. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeletePerInstanceConfigsInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    /// It should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "362427680")]
    pub instance_group_managers_delete_per_instance_configs_req_resource: ::core::option::Option<
        InstanceGroupManagersDeletePerInstanceConfigsReq,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of thezone
    /// where the managed instance
    /// group is located.
    /// It should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.DeletePerInstanceConfigs. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeletePerInstanceConfigsRegionInstanceGroupManagerRequest {
    /// The name of the managed instance group. It should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request, should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "740741")]
    pub region_instance_group_manager_delete_instance_config_req_resource: ::core::option::Option<
        RegionInstanceGroupManagerDeleteInstanceConfigReq,
    >,
}
/// A request message for PublicAdvertisedPrefixes.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeletePublicAdvertisedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the PublicAdvertisedPrefix resource to delete.
    #[prost(string, tag = "101874590")]
    pub public_advertised_prefix: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for PublicDelegatedPrefixes.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeletePublicDelegatedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the PublicDelegatedPrefix resource to delete.
    #[prost(string, tag = "204238440")]
    pub public_delegated_prefix: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionAutoscalers.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionAutoscalerRequest {
    /// Name of the autoscaler to delete.
    #[prost(string, tag = "517258967")]
    pub autoscaler: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionBackendBuckets.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionBackendBucketRequest {
    /// Name of the BackendBucket resource to delete.
    #[prost(string, tag = "91714037")]
    pub backend_bucket: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionBackendServices.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionBackendServiceRequest {
    /// Name of the BackendService resource to delete.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionCompositeHealthChecks.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionCompositeHealthCheckRequest {
    /// Name of the CompositeHealthCheck resource to delete.
    #[prost(string, tag = "466984989")]
    pub composite_health_check: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionDisks.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionDiskRequest {
    /// Name of the regional persistent disk to delete.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthAggregationPolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionHealthAggregationPolicyRequest {
    /// Name of the HealthAggregationPolicy resource to delete.
    #[prost(string, tag = "240314354")]
    pub health_aggregation_policy: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthChecks.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionHealthCheckRequest {
    /// Name of the HealthCheck resource to delete.
    #[prost(string, tag = "308876645")]
    pub health_check: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthCheckServices.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionHealthCheckServiceRequest {
    /// Name of the HealthCheckService to delete. The name
    /// must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, tag = "408374747")]
    pub health_check_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthSources.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionHealthSourceRequest {
    /// Name of the HealthSource resource to delete.
    #[prost(string, tag = "376521566")]
    pub health_source: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstanceGroupManagers.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionInstanceGroupManagerRequest {
    /// Name of the managed instance group to delete.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstanceGroupManagerResizeRequests.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionInstanceGroupManagerResizeRequestRequest {
    /// The name of the managed instance group.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region
    /// scoping this request. Name should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the resize request to delete.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "216941060")]
    pub resize_request: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceTemplates.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionInstanceTemplateRequest {
    /// The name of the instance template to delete.
    #[prost(string, tag = "309248228")]
    pub instance_template: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstantSnapshotGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionInstantSnapshotGroupRequest {
    /// Name of the InstantSnapshotGroup resource to delete.
    #[prost(string, tag = "223180386")]
    pub instant_snapshot_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstantSnapshots.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionInstantSnapshotRequest {
    /// Name of the InstantSnapshot resource to delete.
    #[prost(string, tag = "391638626")]
    pub instant_snapshot: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionNetworkEndpointGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionNetworkEndpointGroupRequest {
    /// The name of the network endpoint group to delete. It should comply with
    /// RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region where
    /// the network endpoint group is located. It should comply with RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionNetworkFirewallPolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to delete.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionNotificationEndpoints.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionNotificationEndpointRequest {
    /// Name of the NotificationEndpoint resource to delete.
    #[prost(string, tag = "376807017")]
    pub notification_endpoint: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionOperations.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionOperationRequest {
    /// Name of the Operations resource to delete, or its unique numeric
    /// identifier.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A response message for RegionOperations.Delete. See the method description for details.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionOperationResponse {}
/// A request message for RegionSecurityPolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to delete.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for RegionSnapshots.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the snapshot resource to delete.
    #[prost(string, tag = "284874180")]
    pub snapshot: ::prost::alloc::string::String,
}
/// A request message for RegionSslCertificates.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionSslCertificateRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the SslCertificate resource to delete.
    #[prost(string, tag = "46443492")]
    pub ssl_certificate: ::prost::alloc::string::String,
}
/// A request message for RegionSslPolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionSslPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the SSL policy to delete. The name must be 1-63 characters long,
    /// and comply with RFC1035.
    #[prost(string, tag = "295190213")]
    pub ssl_policy: ::prost::alloc::string::String,
}
/// A request message for RegionTargetHttpProxies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionTargetHttpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpProxy resource to delete.
    #[prost(string, tag = "206872421")]
    pub target_http_proxy: ::prost::alloc::string::String,
}
/// A request message for RegionTargetHttpsProxies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpsProxy resource to delete.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
}
/// A request message for RegionTargetTcpProxies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionTargetTcpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetTcpProxy resource to delete.
    #[prost(string, tag = "503065442")]
    pub target_tcp_proxy: ::prost::alloc::string::String,
}
/// A request message for RegionUrlMaps.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRegionUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// begin_interface: MixerMutationRequestBuilder
    /// Request ID to support idempotency.
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the UrlMap resource to delete.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
}
/// A request message for Reservations.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteReservationRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the reservation to delete.
    #[prost(string, tag = "47530956")]
    pub reservation: ::prost::alloc::string::String,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ResourcePolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteResourcePolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource policy to delete.
    #[prost(string, tag = "159240835")]
    pub resource_policy: ::prost::alloc::string::String,
}
/// A request message for Routers.DeleteRoutePolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRoutePolicyRouterRequest {
    /// The Policy name for this request. Name must conform to RFC1035
    #[prost(string, optional, tag = "91071794")]
    pub policy: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Router resource where Route Policy is defined.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// A request message for Routes.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRouteRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Route resource to delete.
    #[prost(string, tag = "108704329")]
    pub route: ::prost::alloc::string::String,
}
/// A request message for Routers.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteRouterRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Router resource to delete.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// A request message for SecurityPolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to delete.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for ServiceAttachments.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteServiceAttachmentRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the ServiceAttachment resource to delete.
    #[prost(string, tag = "338957549")]
    pub service_attachment: ::prost::alloc::string::String,
}
/// A request message for BackendBuckets.DeleteSignedUrlKey. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteSignedUrlKeyBackendBucketRequest {
    /// Name of the BackendBucket resource to which the Signed URL Key should be
    /// added. The name should conform to RFC1035.
    #[prost(string, tag = "91714037")]
    pub backend_bucket: ::prost::alloc::string::String,
    /// The name of the Signed URL Key to delete.
    #[prost(string, tag = "500938859")]
    pub key_name: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for BackendServices.DeleteSignedUrlKey. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteSignedUrlKeyBackendServiceRequest {
    /// Name of the BackendService resource to which the Signed URL Key should be
    /// added. The name should conform to RFC1035.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// The name of the Signed URL Key to delete.
    #[prost(string, tag = "500938859")]
    pub key_name: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Snapshots.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Snapshot resource to delete.
    #[prost(string, tag = "284874180")]
    pub snapshot: ::prost::alloc::string::String,
}
/// A request message for SslCertificates.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteSslCertificateRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the SslCertificate resource to delete.
    #[prost(string, tag = "46443492")]
    pub ssl_certificate: ::prost::alloc::string::String,
}
/// A request message for SslPolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteSslPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the SSL policy to delete. The name must be 1-63 characters long,
    /// and comply with RFC1035.
    #[prost(string, tag = "295190213")]
    pub ssl_policy: ::prost::alloc::string::String,
}
/// A request message for StoragePools.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteStoragePoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the storage pool to delete.
    #[prost(string, tag = "360473440")]
    pub storage_pool: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Subnetworks.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteSubnetworkRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Subnetwork resource to delete.
    #[prost(string, tag = "307827694")]
    pub subnetwork: ::prost::alloc::string::String,
}
/// A request message for TargetGrpcProxies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteTargetGrpcProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetGrpcProxy resource to delete.
    #[prost(string, tag = "5020283")]
    pub target_grpc_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetHttpProxies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteTargetHttpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpProxy resource to delete.
    #[prost(string, tag = "206872421")]
    pub target_http_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetHttpsProxies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpsProxy resource to delete.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetInstances.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteTargetInstanceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetInstance resource to delete.
    #[prost(string, tag = "289769347")]
    pub target_instance: ::prost::alloc::string::String,
    /// Name of the zone scoping this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for TargetPools.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteTargetPoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetPool resource to delete.
    #[prost(string, tag = "62796298")]
    pub target_pool: ::prost::alloc::string::String,
}
/// A request message for TargetSslProxies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteTargetSslProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetSslProxy resource to delete.
    #[prost(string, tag = "338795853")]
    pub target_ssl_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetTcpProxies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteTargetTcpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetTcpProxy resource to delete.
    #[prost(string, tag = "503065442")]
    pub target_tcp_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetVpnGateways.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteTargetVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the target VPN gateway to delete.
    #[prost(string, tag = "532512843")]
    pub target_vpn_gateway: ::prost::alloc::string::String,
}
/// A request message for UrlMaps.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the UrlMap resource to delete.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
}
/// A request message for VpnGateways.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the VPN gateway to delete.
    #[prost(string, tag = "406684153")]
    pub vpn_gateway: ::prost::alloc::string::String,
}
/// A request message for VpnTunnels.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteVpnTunnelRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the VpnTunnel resource to delete.
    #[prost(string, tag = "143821331")]
    pub vpn_tunnel: ::prost::alloc::string::String,
}
/// A request message for WireGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteWireGroupRequest {
    #[prost(string, tag = "108192469")]
    pub cross_site_network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the wire group resource to delete.
    #[prost(string, tag = "122540613")]
    pub wire_group: ::prost::alloc::string::String,
}
/// A request message for ZoneOperations.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteZoneOperationRequest {
    /// Name of the Operations resource to delete, or its unique numeric
    /// identifier.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A response message for ZoneOperations.Delete. See the method description for details.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteZoneOperationResponse {}
/// A request message for ZoneVmExtensionPolicies.Delete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteZoneVmExtensionPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone VM extension policy to delete.
    #[prost(string, tag = "331532730")]
    pub vm_extension_policy: ::prost::alloc::string::String,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Denied {
    /// The IP protocol to which this rule applies. The protocol type is
    /// required when creating a firewall rule. This value can either be one of the
    /// following well known protocol strings (tcp, udp,icmp, esp, ah, ipip,sctp) or the IP protocol number.
    #[prost(string, optional, tag = "488094525")]
    pub i_p_protocol: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional list of ports to which this rule applies.
    /// This field is only applicable for the UDP or TCP protocol.
    /// Each entry must be either an integer or a range.
    /// If not specified, this rule applies to connections through any port.
    ///
    /// Example inputs include: \["22"\], \["80","443"\],
    /// and \["12345-12349"\].
    #[prost(string, repeated, tag = "106854418")]
    pub ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// A request message for Images.Deprecate. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeprecateImageRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "333006064")]
    pub deprecation_status_resource: ::core::option::Option<DeprecationStatus>,
    /// Image name.
    #[prost(string, tag = "100313435")]
    pub image: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Deprecation status for a public resource.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeprecationStatus {
    /// An optional RFC3339 timestamp on or after which the state of this
    /// resource is intended to change to DELETED. This is only
    /// informational and the status will not change unless the client explicitly
    /// changes it.
    #[prost(string, optional, tag = "476721177")]
    pub deleted: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional RFC3339 timestamp on or after which the state of this
    /// resource is intended to change to DEPRECATED. This is only
    /// informational and the status will not change unless the client explicitly
    /// changes it.
    #[prost(string, optional, tag = "515138995")]
    pub deprecated: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional RFC3339 timestamp on or after which the state of this
    /// resource is intended to change to OBSOLETE. This is only
    /// informational and the status will not change unless the client explicitly
    /// changes it.
    #[prost(string, optional, tag = "357647769")]
    pub obsolete: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the suggested replacement for a deprecated resource.
    /// The suggested replacement resource must be the same kind of resource as the
    /// deprecated resource.
    #[prost(string, optional, tag = "430919186")]
    pub replacement: ::core::option::Option<::prost::alloc::string::String>,
    /// The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.
    /// Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a
    /// warning indicating the deprecated resource and recommending its
    /// replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `DeprecationStatus`.
pub mod deprecation_status {
    /// The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.
    /// Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a
    /// warning indicating the deprecated resource and recommending its
    /// replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        Active = 314733318,
        Deleted = 120962041,
        Deprecated = 463360435,
        Obsolete = 66532761,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Active => "ACTIVE",
                Self::Deleted => "DELETED",
                Self::Deprecated => "DEPRECATED",
                Self::Obsolete => "OBSOLETE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVE" => Some(Self::Active),
                "DELETED" => Some(Self::Deleted),
                "DEPRECATED" => Some(Self::Deprecated),
                "OBSOLETE" => Some(Self::Obsolete),
                _ => None,
            }
        }
    }
}
/// A request message for Instances.DetachDisk. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DetachDiskInstanceRequest {
    /// The device name of the disk to detach. Make a get() request on
    /// the instance to view currently attached disks and device names.
    #[prost(string, tag = "67541716")]
    pub device_name: ::prost::alloc::string::String,
    /// Instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for GlobalNetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "8898269")]
    pub global_network_endpoint_groups_detach_endpoints_request_resource: ::core::option::Option<
        GlobalNetworkEndpointGroupsDetachEndpointsRequest,
    >,
    /// The name of the network endpoint group where you are removing network
    /// endpoints. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DetachNetworkEndpointsNetworkEndpointGroupRequest {
    /// The name of the network endpoint group where you are removing network
    /// endpoints. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "515608697")]
    pub network_endpoint_groups_detach_endpoints_request_resource: ::core::option::Option<
        NetworkEndpointGroupsDetachEndpointsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone where
    /// the network endpoint group is located. It should comply with RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DetachNetworkEndpointsRegionNetworkEndpointGroupRequest {
    /// The name of the network endpoint group you are detaching network
    /// endpoints from. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region where
    /// the network endpoint group is located. It should comply with
    /// RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "313193198")]
    pub region_network_endpoint_groups_detach_endpoints_request_resource: ::core::option::Option<
        RegionNetworkEndpointGroupsDetachEndpointsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Projects.DisableXpnHost. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DisableXpnHostProjectRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Projects.DisableXpnResource. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DisableXpnResourceProjectRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "209136170")]
    pub projects_disable_xpn_resource_request_resource: ::core::option::Option<
        ProjectsDisableXpnResourceRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a Persistent Disk resource.
///
/// Google Compute Engine has two Disk resources:
///
/// * [Zonal](/compute/docs/reference/rest/v1/disks)
/// * [Regional](/compute/docs/reference/rest/v1/regionDisks)
///
/// Persistent disks are required for running your VM instances.
/// Create both boot and non-boot (data) persistent disks. For more information,
/// read Persistent Disks. For more
/// storage options, read Storage options.
///
/// The disks resource represents a zonal persistent disk.
/// For more information, readZonal persistent disks.
///
/// The regionDisks resource represents a
/// regional persistent disk.  For more information, read
/// Regional resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Disk {
    /// The access mode of the disk.
    ///
    /// ```text
    ///   - READ_WRITE_SINGLE: The default AccessMode, means the
    ///   disk can be attached to single instance in RW mode.
    ///   - READ_WRITE_MANY: The AccessMode means the disk can be
    ///   attached to multiple instances in RW mode.
    ///   - READ_ONLY_MANY: The AccessMode means the disk can be
    ///   attached to multiple instances in RO mode.
    /// ```
    ///
    /// The AccessMode is only valid for Hyperdisk disk types.
    /// Check the AccessMode enum for the list of possible values.
    #[prost(string, optional, tag = "41155486")]
    pub access_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// The architecture of the disk. Valid values are
    /// ARM64 or X86_64.
    /// Check the Architecture enum for the list of possible values.
    #[prost(string, optional, tag = "302803283")]
    pub architecture: ::core::option::Option<::prost::alloc::string::String>,
    /// Disk asynchronously replicated into this disk.
    #[prost(message, optional, tag = "180517533")]
    pub async_primary_disk: ::core::option::Option<DiskAsyncReplication>,
    /// Output only. \[Output Only\] A list of disks this disk is asynchronously replicated to.
    #[prost(map = "string, message", tag = "322925608")]
    pub async_secondary_disks: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        DiskAsyncReplicationList,
    >,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Encrypts the disk using a
    /// customer-supplied encryption key or a
    /// customer-managed encryption key.
    ///
    /// Encryption keys do not protect access to metadata of the disk.
    ///
    /// After you encrypt a disk with a customer-supplied key, you must provide the
    /// same key if you use the disk later. For example, to create a disk snapshot,
    /// to create a disk image, to create a machine image, or to attach the disk to
    /// a virtual machine.
    ///
    /// After you encrypt a disk with a customer-managed key, thediskEncryptionKey.kmsKeyName is set to a key *version*
    /// name once the disk is created. The disk is encrypted with this version of
    /// the key. In the response, diskEncryptionKey.kmsKeyName appears
    /// in the following format:
    ///
    /// "diskEncryptionKey.kmsKeyName":
    /// "projects/kms_project_id/locations/region/keyRings/
    /// key_region/cryptoKeys/key
    /// /cryptoKeysVersions/version
    ///
    /// If you do not provide an encryption key when creating the disk, then the
    /// disk is encrypted using an automatically generated key and you don't need
    /// to provide a key to use the disk later.
    #[prost(message, optional, tag = "271660677")]
    pub disk_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// Whether this disk is using confidential compute mode.
    #[prost(bool, optional, tag = "102135228")]
    pub enable_confidential_compute: ::core::option::Option<bool>,
    /// A list of features to enable on the guest operating system. Applicable
    /// only for bootable images. Read
    /// Enabling guest operating system features to see a list of available
    /// options.
    #[prost(message, repeated, tag = "79294545")]
    pub guest_os_features: ::prost::alloc::vec::Vec<GuestOsFeature>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#disk for
    /// disks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this disk, which is
    /// essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a disk.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels to apply to this disk. These can be later modified by
    /// the setLabels method.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Last attach timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "42159653")]
    pub last_attach_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Last detach timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "56471027")]
    pub last_detach_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Integer license codes indicating which licenses are attached to this disk.
    #[prost(int64, repeated, tag = "45482664")]
    pub license_codes: ::prost::alloc::vec::Vec<i64>,
    /// A list of publicly visible licenses. Reserved for Google's use.
    #[prost(string, repeated, tag = "337642578")]
    pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// An opaque location hint used to place the disk close to other resources.
    /// This field is for use by internal tools that use the public API.
    #[prost(string, optional, tag = "350519505")]
    pub location_hint: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?`
    /// which means the first character must be a lowercase letter, and all
    /// following characters must be a dash, lowercase letter, or digit, except
    /// the last character, which cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Internal use only.
    #[prost(string, optional, tag = "361137822")]
    pub options: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<DiskParams>,
    /// Physical block size of the persistent disk, in bytes.
    /// If not present in a request, a default value is used.
    /// The currently supported size is 4096, other sizes may be added in
    /// the future.
    /// If an unsupported value is requested, the error message will list
    /// the supported values for the caller's project.
    #[prost(int64, optional, tag = "420007943")]
    pub physical_block_size_bytes: ::core::option::Option<i64>,
    /// Indicates how many IOPS to provision for the disk. This sets the number
    /// of I/O operations per second that the disk can handle. Values must be
    /// between 10,000 and 120,000. For more details, see theExtreme persistent
    /// disk documentation.
    #[prost(int64, optional, tag = "186769108")]
    pub provisioned_iops: ::core::option::Option<i64>,
    /// Indicates how much throughput to provision for the disk. This sets the
    /// number of throughput mb per second that the disk can handle. Values must be
    /// greater than or equal to 1.
    #[prost(int64, optional, tag = "526524181")]
    pub provisioned_throughput: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] URL of the region where the disk resides. Only applicable for
    /// regional resources.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// URLs of the zones where the disk should be replicated to. Only applicable
    /// for regional resources.
    #[prost(string, repeated, tag = "48438272")]
    pub replica_zones: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Resource policies applied to this disk for automatic snapshot creations.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Status information for the disk resource.
    #[prost(message, optional, tag = "249429315")]
    pub resource_status: ::core::option::Option<DiskResourceStatus>,
    /// Output only. Reserved for future use.
    #[prost(bool, optional, tag = "480964257")]
    pub satisfies_pzi: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Server-defined fully-qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Size, in GB, of the persistent disk. You can specify
    /// this field when creating a persistent disk using thesourceImage, sourceSnapshot, orsourceDisk parameter, or specify it alone to create an empty
    /// persistent disk.
    ///
    /// If you specify this field along with a source, the value ofsizeGb must not be less than the size of the
    /// source.
    /// Acceptable values are greater than 0.
    #[prost(int64, optional, tag = "494929369")]
    pub size_gb: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] URL of the DiskConsistencyGroupPolicy for a secondary disk
    /// that was created using a consistency group.
    #[prost(string, optional, tag = "19616093")]
    pub source_consistency_group_policy: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] ID of the DiskConsistencyGroupPolicy for a secondary disk
    /// that was created using a consistency group.
    #[prost(string, optional, tag = "267568957")]
    pub source_consistency_group_policy_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// The source disk used to create this disk. You can provide this as a
    /// partial or full URL to the resource. For example, the following are valid
    /// values:
    ///
    /// ```text
    ///   -
    ///     <https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk>
    ///
    ///   -
    ///     <https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk>
    ///
    ///   -
    ///     projects/project/zones/zone/disks/disk
    ///
    ///   -
    ///     projects/project/regions/region/disks/disk
    ///
    ///   -
    ///     zones/zone/disks/disk
    ///
    ///   -
    ///     regions/region/disks/disk
    /// ```
    #[prost(string, optional, tag = "451753793")]
    pub source_disk: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique ID of the disk used to create this disk. This
    /// value identifies the exact disk that was used to create this persistent
    /// disk. For example, if you created the persistent disk from a disk that
    /// was later deleted and recreated under the same name, the source disk ID
    /// would identify the exact version of the disk that was used.
    #[prost(string, optional, tag = "454190809")]
    pub source_disk_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The source image used to create this disk. If the source image is
    /// deleted, this field will not be set.
    ///
    /// To create a disk with one of the public operating system images, specify
    /// the image by its family name. For example, specifyfamily/debian-9 to use the latest Debian 9 image:
    ///
    /// projects/debian-cloud/global/images/family/debian-9
    ///
    /// Alternatively, use a specific version of a public operating system image:
    ///
    /// projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD
    ///
    /// To create a disk with a custom image that you created, specify the
    /// image name in the following format:
    ///
    /// global/images/my-custom-image
    ///
    /// You can also specify a custom image by its image family, which returns
    /// the latest version of the image in that family. Replace the image name
    /// with family/family-name:
    ///
    /// global/images/family/my-image-family
    #[prost(string, optional, tag = "50443319")]
    pub source_image: ::core::option::Option<::prost::alloc::string::String>,
    /// Thecustomer-supplied
    /// encryption key of the source image. Required if the source image is
    /// protected by a customer-supplied encryption key.
    #[prost(message, optional, tag = "381503659")]
    pub source_image_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// Output only. \[Output Only\] The ID value of the image used to create this disk. This
    /// value identifies the exact image that was used to create this persistent
    /// disk. For example, if you created the persistent disk from an image that
    /// was later deleted and recreated under the same name, the source image ID
    /// would identify the exact version of the image that was used.
    #[prost(string, optional, tag = "55328291")]
    pub source_image_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The source instant snapshot used to create this disk. You can provide
    /// this as a partial or full URL to the resource. For example, the following
    /// are valid values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot>
    ///   - projects/project/zones/zone/instantSnapshots/instantSnapshot
    /// - zones/zone/instantSnapshots/instantSnapshot
    /// ```
    #[prost(string, optional, tag = "219202054")]
    pub source_instant_snapshot: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique ID of the instant snapshot used to create this
    /// disk. This value identifies the exact instant snapshot that was used to
    /// create this persistent disk. For example, if you created the persistent
    /// disk from an instant snapshot that was later deleted and recreated under
    /// the same name, the source instant snapshot ID would identify the exact
    /// version of the instant snapshot that was used.
    #[prost(string, optional, tag = "287582708")]
    pub source_instant_snapshot_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// The source snapshot used to create this disk. You can provide this as a
    /// partial or full URL to the resource. For example, the following are valid
    /// values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot>
    /// - projects/project/global/snapshots/snapshot
    ///   - global/snapshots/snapshot
    /// ```
    #[prost(string, optional, tag = "126061928")]
    pub source_snapshot: ::core::option::Option<::prost::alloc::string::String>,
    /// Thecustomer-supplied
    /// encryption key of the source snapshot. Required if the source snapshot
    /// is protected by a customer-supplied encryption key.
    #[prost(message, optional, tag = "303679322")]
    pub source_snapshot_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// Output only. \[Output Only\] The unique ID of the snapshot used to create this disk. This
    /// value identifies the exact snapshot that was used to create this persistent
    /// disk. For example, if you created the persistent disk from a snapshot that
    /// was later deleted and recreated under the same name, the source snapshot ID
    /// would identify the exact version of the snapshot that was used.
    #[prost(string, optional, tag = "98962258")]
    pub source_snapshot_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The full Google Cloud Storage URI where the disk image is stored. This file
    /// must be a gzip-compressed tarball whose name ends in .tar.gz or virtual
    /// machine disk whose name ends in vmdk. Valid URIs may start with gs:// or
    /// <https://storage.googleapis.com/.> This flag is not optimized for creating
    /// multiple disks from a source storage object. To create many disks from a
    /// source storage object, use gcloud compute images
    /// import instead.
    #[prost(string, optional, tag = "233052711")]
    pub source_storage_object: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The status of disk creation.
    ///
    /// ```text
    ///   - CREATING: Disk is provisioning.
    ///   - RESTORING: Source data is being copied into the
    ///   disk.
    ///   - FAILED: Disk creation failed.
    ///   - READY: Disk is ready for use.
    ///   - DELETING: Disk is deleting.
    /// ```
    ///
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// The storage pool in which the new disk is created. You can provide
    /// this as a partial or full URL to the resource. For example, the following
    /// are valid values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/storagePools/storagePool>
    ///   - projects/project/zones/zone/storagePools/storagePool
    /// - zones/zone/storagePools/storagePool
    /// ```
    #[prost(string, optional, tag = "360473440")]
    pub storage_pool: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the disk type resource describing which disk type to use to create
    /// the disk. Provide this when creating the disk. For example:projects/project/zones/zone/diskTypes/pd-ssd. See Persistent disk
    /// types.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Links to the users of the disk (attached instances)
    /// in form:projects/project/zones/zone/instances/instance
    #[prost(string, repeated, tag = "111578632")]
    pub users: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the zone where the disk resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Disk`.
pub mod disk {
    /// The access mode of the disk.
    ///
    /// ```text
    ///   - READ_WRITE_SINGLE: The default AccessMode, means the
    ///   disk can be attached to single instance in RW mode.
    ///   - READ_WRITE_MANY: The AccessMode means the disk can be
    ///   attached to multiple instances in RW mode.
    ///   - READ_ONLY_MANY: The AccessMode means the disk can be
    ///   attached to multiple instances in RO mode.
    /// ```
    ///
    /// The AccessMode is only valid for Hyperdisk disk types.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AccessMode {
        /// A value indicating that the enum field is not set.
        UndefinedAccessMode = 0,
        /// The AccessMode means the disk can be attached to multiple instances in RO
        /// mode.
        ReadOnlyMany = 63460265,
        /// The AccessMode means the disk can be attached to multiple instances in RW
        /// mode.
        ReadWriteMany = 488743208,
        /// The default AccessMode, means the disk can be attached to single instance
        /// in RW mode.
        ReadWriteSingle = 99323089,
    }
    impl AccessMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAccessMode => "UNDEFINED_ACCESS_MODE",
                Self::ReadOnlyMany => "READ_ONLY_MANY",
                Self::ReadWriteMany => "READ_WRITE_MANY",
                Self::ReadWriteSingle => "READ_WRITE_SINGLE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ACCESS_MODE" => Some(Self::UndefinedAccessMode),
                "READ_ONLY_MANY" => Some(Self::ReadOnlyMany),
                "READ_WRITE_MANY" => Some(Self::ReadWriteMany),
                "READ_WRITE_SINGLE" => Some(Self::ReadWriteSingle),
                _ => None,
            }
        }
    }
    /// The architecture of the disk. Valid values are
    /// ARM64 or X86_64.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Architecture {
        /// A value indicating that the enum field is not set.
        UndefinedArchitecture = 0,
        /// Default value indicating Architecture is not set.
        Unspecified = 394750507,
        /// Machines with architecture ARM64
        Arm64 = 62547450,
        /// Machines with architecture X86_64
        X8664 = 425300551,
    }
    impl Architecture {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedArchitecture => "UNDEFINED_ARCHITECTURE",
                Self::Unspecified => "ARCHITECTURE_UNSPECIFIED",
                Self::Arm64 => "ARM64",
                Self::X8664 => "X86_64",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ARCHITECTURE" => Some(Self::UndefinedArchitecture),
                "ARCHITECTURE_UNSPECIFIED" => Some(Self::Unspecified),
                "ARM64" => Some(Self::Arm64),
                "X86_64" => Some(Self::X8664),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of disk creation.
    ///
    /// ```text
    ///   - CREATING: Disk is provisioning.
    ///   - RESTORING: Source data is being copied into the
    ///   disk.
    ///   - FAILED: Disk creation failed.
    ///   - READY: Disk is ready for use.
    ///   - DELETING: Disk is deleting.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Disk is provisioning
        Creating = 455564985,
        /// Disk is deleting.
        Deleting = 528602024,
        /// Disk creation failed.
        Failed = 455706685,
        /// Disk is ready for use.
        Ready = 77848963,
        /// Source data is being copied into the disk.
        Restoring = 404263851,
        /// Disk is currently unavailable and cannot be accessed, attached or
        /// detached.
        Unavailable = 413756464,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Failed => "FAILED",
                Self::Ready => "READY",
                Self::Restoring => "RESTORING",
                Self::Unavailable => "UNAVAILABLE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "FAILED" => Some(Self::Failed),
                "READY" => Some(Self::Ready),
                "RESTORING" => Some(Self::Restoring),
                "UNAVAILABLE" => Some(Self::Unavailable),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DiskAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of DisksScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        DisksScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#diskAggregatedList for aggregated lists of persistent
    /// disks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DiskAsyncReplication {
    /// Output only. \[Output Only\] URL of the DiskConsistencyGroupPolicy if replication was
    /// started on the disk as a member of a group.
    #[prost(string, optional, tag = "1991097")]
    pub consistency_group_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] ID of the DiskConsistencyGroupPolicy if replication was
    /// started on the disk as a member of a group.
    #[prost(string, optional, tag = "261065057")]
    pub consistency_group_policy_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// The other disk asynchronously replicated to or from the current disk.
    /// You can provide this as a partial or full URL to the resource.
    /// For example, the following are valid values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk>
    /// - projects/project/zones/zone/disks/disk
    /// - zones/zone/disks/disk
    /// ```
    #[prost(string, optional, tag = "3083677")]
    pub disk: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique ID of the other disk asynchronously replicated
    /// to or from the current disk. This value identifies the exact disk that
    /// was used to create this replication. For example, if you started
    /// replicating the persistent disk from a disk that was later deleted and
    /// recreated under the same name, the disk ID would identify the exact
    /// version of the disk that was used.
    #[prost(string, optional, tag = "60990205")]
    pub disk_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DiskAsyncReplicationList {
    #[prost(message, optional, tag = "231794067")]
    pub async_replication_disk: ::core::option::Option<DiskAsyncReplication>,
}
/// A specification of the desired way to instantiate a disk in the instance
/// template when its created from a source instance.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DiskInstantiationConfig {
    /// Specifies whether the disk will be auto-deleted when the instance is
    /// deleted (but not when the disk is detached from the instance).
    #[prost(bool, optional, tag = "464761403")]
    pub auto_delete: ::core::option::Option<bool>,
    /// The custom source image to be used to restore this disk when instantiating
    /// this instance template.
    #[prost(string, optional, tag = "184123149")]
    pub custom_image: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the device name of the disk to which the configurations apply to.
    #[prost(string, optional, tag = "67541716")]
    pub device_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether to include the disk and what image to use. Possible
    /// values are:
    ///
    /// ```text
    ///   - source-image: to use the same image that was used to
    ///   create the source instance's corresponding disk. Applicable to the boot
    ///   disk and additional read-write disks.
    ///   - source-image-family: to use the same image family that
    ///   was used to create the source instance's corresponding disk. Applicable
    ///   to the boot disk and additional read-write disks.
    ///   - custom-image: to use a user-provided image url for disk
    ///   creation. Applicable to the boot disk and additional read-write
    ///   disks.
    /// - attach-read-only: to attach a read-only
    ///   disk. Applicable to read-only disks.
    ///   - do-not-include: to exclude a disk from the template.
    ///   Applicable to additional read-write disks, local SSDs, and read-only
    ///   disks.
    /// ```
    ///
    /// Check the InstantiateFrom enum for the list of possible values.
    #[prost(string, optional, tag = "393383903")]
    pub instantiate_from: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `DiskInstantiationConfig`.
pub mod disk_instantiation_config {
    /// Specifies whether to include the disk and what image to use. Possible
    /// values are:
    ///
    /// ```text
    ///   - source-image: to use the same image that was used to
    ///   create the source instance's corresponding disk. Applicable to the boot
    ///   disk and additional read-write disks.
    ///   - source-image-family: to use the same image family that
    ///   was used to create the source instance's corresponding disk. Applicable
    ///   to the boot disk and additional read-write disks.
    ///   - custom-image: to use a user-provided image url for disk
    ///   creation. Applicable to the boot disk and additional read-write
    ///   disks.
    /// - attach-read-only: to attach a read-only
    ///   disk. Applicable to read-only disks.
    ///   - do-not-include: to exclude a disk from the template.
    ///   Applicable to additional read-write disks, local SSDs, and read-only
    ///   disks.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum InstantiateFrom {
        /// A value indicating that the enum field is not set.
        UndefinedInstantiateFrom = 0,
        /// Attach the existing disk in read-only mode. The request will fail if the
        /// disk was attached in read-write mode on the source instance. Applicable
        /// to: read-only disks.
        AttachReadOnly = 513775419,
        /// Create a blank disk. The disk will be created unformatted. Applicable to:
        /// additional read-write disks, local SSDs.
        Blank = 63281460,
        /// Use the custom image specified in the custom_image field. Applicable to:
        /// boot disk, additional read-write disks.
        CustomImage = 196311789,
        /// Use the default instantiation option for the corresponding type of disk.
        /// For boot disk and any other R/W disks, new custom images will be created
        /// from each disk. For read-only disks, they will be attached in read-only
        /// mode. Local SSD disks will be created as blank volumes.
        Default = 115302945,
        /// Do not include the disk in the instance template. Applicable to:
        /// additional read-write disks, local SSDs, read-only disks.
        DoNotInclude = 104218952,
        /// Use the same source image used for creation of the source instance's
        /// corresponding disk. The request will fail if the source VM's disk was
        /// created from a snapshot. Applicable to: boot disk, additional read-write
        /// disks.
        SourceImage = 62631959,
        /// Use the same source image family used for creation of the source
        /// instance's corresponding disk. The request will fail if the source image
        /// of the source disk does not belong to any image family. Applicable to:
        /// boot disk, additional read-write disks.
        SourceImageFamily = 76850316,
    }
    impl InstantiateFrom {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInstantiateFrom => "UNDEFINED_INSTANTIATE_FROM",
                Self::AttachReadOnly => "ATTACH_READ_ONLY",
                Self::Blank => "BLANK",
                Self::CustomImage => "CUSTOM_IMAGE",
                Self::Default => "DEFAULT",
                Self::DoNotInclude => "DO_NOT_INCLUDE",
                Self::SourceImage => "SOURCE_IMAGE",
                Self::SourceImageFamily => "SOURCE_IMAGE_FAMILY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INSTANTIATE_FROM" => Some(Self::UndefinedInstantiateFrom),
                "ATTACH_READ_ONLY" => Some(Self::AttachReadOnly),
                "BLANK" => Some(Self::Blank),
                "CUSTOM_IMAGE" => Some(Self::CustomImage),
                "DEFAULT" => Some(Self::Default),
                "DO_NOT_INCLUDE" => Some(Self::DoNotInclude),
                "SOURCE_IMAGE" => Some(Self::SourceImage),
                "SOURCE_IMAGE_FAMILY" => Some(Self::SourceImageFamily),
                _ => None,
            }
        }
    }
}
/// A list of Disk resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DiskList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Disk resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Disk>,
    /// Output only. \[Output Only\] Type of resource. Always compute#diskList for
    /// lists of disks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DiskMoveRequest {
    /// The URL of the destination zone to move the disk. This can be a full or
    /// partial URL. For example, the following are all valid URLs to a zone:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project/zones/zone>
    /// - projects/project/zones/zone
    /// - zones/zone
    /// ```
    #[prost(string, optional, tag = "131854653")]
    pub destination_zone: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the target disk to move. This can be a full or partial URL.
    /// For example, the following are all valid URLs to a disk:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk>
    /// - projects/project/zones/zone/disks/disk
    /// - zones/zone/disks/disk
    /// ```
    #[prost(string, optional, tag = "62433163")]
    pub target_disk: ::core::option::Option<::prost::alloc::string::String>,
}
/// Additional disk params.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DiskParams {
    /// Input only. Resource manager tags to be bound to the disk. Tag keys and values
    /// have the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
    /// format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DiskResourceStatus {
    #[prost(message, optional, tag = "180517533")]
    pub async_primary_disk: ::core::option::Option<
        DiskResourceStatusAsyncReplicationStatus,
    >,
    /// Key: disk, value: AsyncReplicationStatus message
    #[prost(map = "string, message", tag = "322925608")]
    pub async_secondary_disks: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        DiskResourceStatusAsyncReplicationStatus,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DiskResourceStatusAsyncReplicationStatus {
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `DiskResourceStatusAsyncReplicationStatus`.
pub mod disk_resource_status_async_replication_status {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// Replication is active.
        Active = 314733318,
        /// Secondary disk is created and is waiting for replication to start.
        Created = 135924424,
        /// Replication is starting.
        Starting = 488820800,
        Unspecified = 470755401,
        /// Replication is stopped.
        Stopped = 444276141,
        /// Replication is stopping.
        Stopping = 350791796,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Active => "ACTIVE",
                Self::Created => "CREATED",
                Self::Starting => "STARTING",
                Self::Unspecified => "STATE_UNSPECIFIED",
                Self::Stopped => "STOPPED",
                Self::Stopping => "STOPPING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVE" => Some(Self::Active),
                "CREATED" => Some(Self::Created),
                "STARTING" => Some(Self::Starting),
                "STATE_UNSPECIFIED" => Some(Self::Unspecified),
                "STOPPED" => Some(Self::Stopped),
                "STOPPING" => Some(Self::Stopping),
                _ => None,
            }
        }
    }
}
/// Represents a Disk Type resource.
///
/// Google Compute Engine has two Disk Type resources:
///
/// * [Regional](/compute/docs/reference/rest/v1/regionDiskTypes)
/// * [Zonal](/compute/docs/reference/rest/v1/diskTypes)
///
/// You can choose from a variety of disk types based on your needs.
/// For more information, readStorage options.
///
/// The diskTypes resource represents disk types for a zonal
/// persistent disk.
/// For more information, readZonal persistent disks.
///
/// The regionDiskTypes resource represents disk types for a
/// regional persistent disk. For more information, read Regional persistent disks.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DiskType {
    /// \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined default disk size in GB.
    #[prost(int64, optional, tag = "270619253")]
    pub default_disk_size_gb: ::core::option::Option<i64>,
    /// \[Output Only\] The deprecation status associated with this disk type.
    #[prost(message, optional, tag = "515138995")]
    pub deprecated: ::core::option::Option<DeprecationStatus>,
    /// \[Output Only\] An optional description of this resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#diskType
    /// for disk types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Name of the resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] URL of the region where the disk type resides. Only
    /// applicable for regional resources.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] An optional textual description of the valid disk size,
    /// such as "10GB-10TB".
    #[prost(string, optional, tag = "493962464")]
    pub valid_disk_size: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] URL of the zone where the disk type resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DiskTypeAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of DiskTypesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        DiskTypesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#diskTypeAggregatedList.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of disk types.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DiskTypeList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of DiskType resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<DiskType>,
    /// Output only. \[Output Only\] Type of resource. Always compute#diskTypeList
    /// for disk types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DiskTypesScopedList {
    /// \[Output Only\] A list of disk types contained in this scope.
    #[prost(message, repeated, tag = "198926167")]
    pub disk_types: ::prost::alloc::vec::Vec<DiskType>,
    /// \[Output Only\] Informational warning which replaces the list of disk types
    /// when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DiskUpdateKmsKeyRequest {
    /// Optional. The new KMS key to replace the current one on the disk. If empty, the disk
    /// will be re-encrypted using the primary version of the disk's current KMS
    /// key.
    ///
    /// The KMS key can be provided in the following formats:
    ///
    /// ```text
    ///   - projects/project_id/locations/location/keyRings/key_ring/cryptoKeys/key
    /// ```
    ///
    /// Where project is the project ID or
    /// project number.
    #[prost(string, optional, tag = "484373913")]
    pub kms_key_name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DisksAddResourcePoliciesRequest {
    /// Full or relative path to the resource policy to be added to this disk. You
    /// can only specify one resource policy.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DisksRemoveResourcePoliciesRequest {
    /// Resource policies to be removed from this disk.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DisksResizeRequest {
    /// The new size of the persistent disk, which is specified in GB.
    #[prost(int64, optional, tag = "494929369")]
    pub size_gb: ::core::option::Option<i64>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DisksScopedList {
    /// \[Output Only\] A list of disks contained in this scope.
    #[prost(message, repeated, tag = "95594102")]
    pub disks: ::prost::alloc::vec::Vec<Disk>,
    /// \[Output Only\] Informational warning which replaces the list of disks when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DisksStartAsyncReplicationRequest {
    /// The secondary disk to start asynchronous replication to.
    /// You can provide this as a partial or full URL to the resource. For example,
    /// the following are valid values:
    ///
    /// ```text
    ///   -
    ///     <https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk>
    ///
    ///   -
    ///     <https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk>
    ///
    ///   -
    ///     projects/project/zones/zone/disks/disk
    ///
    ///   -
    ///     projects/project/regions/region/disks/disk
    ///
    ///   -
    ///     zones/zone/disks/disk
    ///
    ///   -
    ///     regions/region/disks/disk
    /// ```
    #[prost(string, optional, tag = "131645867")]
    pub async_secondary_disk: ::core::option::Option<::prost::alloc::string::String>,
}
/// A transient resource used in compute.disks.stopGroupAsyncReplication and
/// compute.regionDisks.stopGroupAsyncReplication. It is only used to process
/// requests and is not persisted.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DisksStopGroupAsyncReplicationResource {
    /// The URL of the DiskConsistencyGroupPolicy for the group of disks to stop.
    /// This may be a full or partial URL, such as:
    ///
    /// ```text
    ///   -
    ///     <https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy>
    ///
    ///   -
    ///     projects/project/regions/region/resourcePolicies/resourcePolicy
    ///
    ///   -
    ///     regions/region/resourcePolicies/resourcePolicy
    /// ```
    #[prost(string, optional, tag = "159240835")]
    pub resource_policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// A set of Display Device options
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DisplayDevice {
    /// Defines whether the instance has Display enabled.
    #[prost(bool, optional, tag = "14266886")]
    pub enable_display: ::core::option::Option<bool>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DistributionPolicy {
    /// The distribution shape to which the group converges either proactively or
    /// on resize events (depending on the value set inupdatePolicy.instanceRedistributionType).
    /// Check the TargetShape enum for the list of possible values.
    #[prost(string, optional, tag = "338621299")]
    pub target_shape: ::core::option::Option<::prost::alloc::string::String>,
    /// Zones where the regional managed instance group will create and manage
    /// its instances.
    /// By default, a regional MIG doesn't automatically select an AI zone to create
    /// instances, even if an AI zone is available in the specified region. To
    /// create instances in an AI zone in the selected region, you must explicitly
    /// specify it in the distribution policy together with the other preferred
    /// zones.
    #[prost(message, repeated, tag = "116085319")]
    pub zones: ::prost::alloc::vec::Vec<DistributionPolicyZoneConfiguration>,
}
/// Nested message and enum types in `DistributionPolicy`.
pub mod distribution_policy {
    /// The distribution shape to which the group converges either proactively or
    /// on resize events (depending on the value set inupdatePolicy.instanceRedistributionType).
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum TargetShape {
        /// A value indicating that the enum field is not set.
        UndefinedTargetShape = 0,
        /// The group picks zones for creating VM instances to fulfill the requested
        /// number of VMs within present resource constraints and to maximize
        /// utilization of unused zonal reservations. Recommended for batch workloads
        /// that do not require high availability.
        Any = 64972,
        /// The group creates all VM instances within a single zone. The zone is
        /// selected based on the present resource constraints and to maximize
        /// utilization of unused zonal reservations.
        /// Recommended for batch workloads with heavy interprocess communication.
        AnySingleZone = 61100880,
        /// The group prioritizes acquisition of resources, scheduling VMs in zones
        /// where resources are available while distributing VMs as evenly as
        /// possible across selected zones to minimize the impact of zonal failure.
        /// Recommended for highly available serving workloads.
        Balanced = 468409608,
        /// The group schedules VM instance creation and deletion to achieve and
        /// maintain an even number of managed instances across the selected zones.
        /// The distribution is even when the number of managed instances does not
        /// differ by more than 1 between any two zones. Recommended for highly
        /// available serving workloads.
        Even = 2140442,
    }
    impl TargetShape {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedTargetShape => "UNDEFINED_TARGET_SHAPE",
                Self::Any => "ANY",
                Self::AnySingleZone => "ANY_SINGLE_ZONE",
                Self::Balanced => "BALANCED",
                Self::Even => "EVEN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TARGET_SHAPE" => Some(Self::UndefinedTargetShape),
                "ANY" => Some(Self::Any),
                "ANY_SINGLE_ZONE" => Some(Self::AnySingleZone),
                "BALANCED" => Some(Self::Balanced),
                "EVEN" => Some(Self::Even),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DistributionPolicyZoneConfiguration {
    /// The URL of thezone.
    /// The zone must exist in the region where the managed instance group is
    /// located.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// A Duration represents a fixed-length span of time represented
/// as a count of seconds and fractions of seconds at nanosecond
/// resolution. It is independent of any calendar and concepts like "day"
/// or "month". Range is approximately 10,000 years.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Duration {
    /// Span of time that's a fraction of a second at nanosecond resolution.
    /// Durations less than one second are represented with a 0
    /// `seconds` field and a positive `nanos` field. Must be from 0
    /// to 999,999,999 inclusive.
    #[prost(int32, optional, tag = "104586303")]
    pub nanos: ::core::option::Option<i32>,
    /// Span of time at a resolution of a second. Must be from 0
    /// to 315,576,000,000 inclusive. Note: these bounds are computed from:
    /// 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
    #[prost(int64, optional, tag = "359484031")]
    pub seconds: ::core::option::Option<i64>,
}
/// A request message for Projects.EnableXpnHost. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct EnableXpnHostProjectRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Projects.EnableXpnResource. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct EnableXpnResourceProjectRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "421980207")]
    pub projects_enable_xpn_resource_request_resource: ::core::option::Option<
        ProjectsEnableXpnResourceRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Output only. Encountered errors.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Error {
    /// \[Output Only\] The array of errors encountered while processing this
    /// operation.
    #[prost(message, repeated, tag = "315977579")]
    pub errors: ::prost::alloc::vec::Vec<Errors>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ErrorDetails {
    #[prost(message, optional, tag = "25251973")]
    pub error_info: ::core::option::Option<ErrorInfo>,
    #[prost(message, optional, tag = "3198785")]
    pub help: ::core::option::Option<Help>,
    #[prost(message, optional, tag = "404537155")]
    pub localized_message: ::core::option::Option<LocalizedMessage>,
    #[prost(message, optional, tag = "93923861")]
    pub quota_info: ::core::option::Option<QuotaExceededInfo>,
}
/// Describes the cause of the error with structured details.
///
/// Example of an error when contacting the "pubsub.googleapis.com" API when it
/// is not enabled:
///
/// ```text
/// { "reason": "API_DISABLED"
///    "domain": "googleapis.com"
///    "metadata": {
///      "resource": "projects/123",
///      "service": "pubsub.googleapis.com"
///    }
/// }
/// ```
///
/// This response indicates that the pubsub.googleapis.com API is not enabled.
///
/// Example of an error that is returned when attempting to create a Spanner
/// instance in a region that is out of stock:
///
/// ```text
/// { "reason": "STOCKOUT"
///    "domain": "spanner.googleapis.com",
///    "metadata": {
///      "availableRegions": "us-central1,us-east2"
///    }
/// }
/// ```
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ErrorInfo {
    /// The logical grouping to which the "reason" belongs. The error domain
    /// is typically the registered service name of the tool or product that
    /// generates the error. Example: "pubsub.googleapis.com". If the error is
    /// generated by some common infrastructure, the error domain must be a
    /// globally unique value that identifies the infrastructure. For Google API
    /// infrastructure, the error domain is "googleapis.com".
    #[prost(string, optional, tag = "284415172")]
    pub domain: ::core::option::Option<::prost::alloc::string::String>,
    /// Additional structured details about this error.
    ///
    /// Keys must match a regular expression of `a-z+` but should
    /// ideally be lowerCamelCase. Also, they must be limited to 64 characters in
    /// length. When identifying the current value of an exceeded limit, the units
    /// should be contained in the key, not the value.  For example, rather than
    /// `{"instanceLimit": "100/request"}`, should be returned as,
    /// `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
    /// instances that can be created in a single (batch) request.
    #[prost(map = "string, string", tag = "8514340")]
    pub metadatas: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// The reason of the error. This is a constant value that identifies the
    /// proximate cause of the error. Error reasons are unique within a particular
    /// domain of errors. This should be at most 63 characters and match a
    /// regular expression of `A-Z+\[A-Z0-9\]`, which represents
    /// UPPER_SNAKE_CASE.
    #[prost(string, optional, tag = "138777156")]
    pub reason: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Errors {
    /// \[Output Only\] The error type identifier for this error.
    #[prost(string, optional, tag = "3059181")]
    pub code: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] An optional list of messages that contain the error
    /// details. There is a set of defined message types to use for providing
    /// details.The syntax depends on the error code. For example,
    /// QuotaExceededInfo will have details when the error code is
    /// QUOTA_EXCEEDED.
    #[prost(message, repeated, tag = "274653963")]
    pub error_details: ::prost::alloc::vec::Vec<ErrorDetails>,
    /// \[Output Only\] Indicates the field in the request that caused the error.
    /// This property is optional.
    #[prost(string, optional, tag = "290430901")]
    pub location: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] An optional, human-readable error message.
    #[prost(string, optional, tag = "418054151")]
    pub message: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExchangedPeeringRoute {
    /// The destination range of the route.
    #[prost(string, optional, tag = "381327712")]
    pub dest_range: ::core::option::Option<::prost::alloc::string::String>,
    /// True if the peering route has been imported from a peer. The actual import
    /// happens if the field networkPeering.importCustomRoutes is true
    /// for this network, and networkPeering.exportCustomRoutes is
    /// true for the peer network, and the import does not result in a route
    /// conflict.
    #[prost(bool, optional, tag = "114502404")]
    pub imported: ::core::option::Option<bool>,
    /// The region of peering route next hop, only applies to dynamic routes.
    #[prost(string, optional, tag = "122577014")]
    pub next_hop_region: ::core::option::Option<::prost::alloc::string::String>,
    /// The priority of the peering route.
    #[prost(uint32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<u32>,
    /// The type of the peering route.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ExchangedPeeringRoute`.
pub mod exchanged_peering_route {
    /// The type of the peering route.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// For routes exported from local network.
        DynamicPeeringRoute = 469794858,
        /// The peering route.
        StaticPeeringRoute = 473407545,
        /// The peering route corresponding to subnetwork range.
        SubnetPeeringRoute = 465782504,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::DynamicPeeringRoute => "DYNAMIC_PEERING_ROUTE",
                Self::StaticPeeringRoute => "STATIC_PEERING_ROUTE",
                Self::SubnetPeeringRoute => "SUBNET_PEERING_ROUTE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "DYNAMIC_PEERING_ROUTE" => Some(Self::DynamicPeeringRoute),
                "STATIC_PEERING_ROUTE" => Some(Self::StaticPeeringRoute),
                "SUBNET_PEERING_ROUTE" => Some(Self::SubnetPeeringRoute),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExchangedPeeringRoutesList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of ExchangedPeeringRoute resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<ExchangedPeeringRoute>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#exchangedPeeringRoutesList for exchanged peering
    /// routes lists.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A request message for Subnetworks.ExpandIpCidrRange. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExpandIpCidrRangeSubnetworkRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Subnetwork resource to update.
    #[prost(string, tag = "307827694")]
    pub subnetwork: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "477014110")]
    pub subnetworks_expand_ip_cidr_range_request_resource: ::core::option::Option<
        SubnetworksExpandIpCidrRangeRequest,
    >,
}
/// Represents a textual expression in the Common Expression Language (CEL)
/// syntax. CEL is a C-like expression language. The syntax and semantics of CEL
/// are documented at <https://github.com/google/cel-spec.>
///
/// Example (Comparison):
///
/// ```text
/// title: "Summary size limit"
/// description: "Determines if a summary is less than 100 chars"
/// expression: "document.summary.size() < 100"
/// ```
///
/// Example (Equality):
///
/// ```text
/// title: "Requestor is owner"
/// description: "Determines if requestor is the document owner"
/// expression: "document.owner == request.auth.claims.email"
/// ```
///
/// Example (Logic):
///
/// ```text
/// title: "Public documents"
/// description: "Determine whether the document should be publicly visible"
/// expression: "document.type != 'private' && document.type != 'internal'"
/// ```
///
/// Example (Data Manipulation):
///
/// ```text
/// title: "Notification string"
/// description: "Create a notification string with a timestamp."
/// expression: "'New message received at ' + string(document.create_time)"
/// ```
///
/// The exact variables and functions that may be referenced within an expression
/// are determined by the service that evaluates it. See the service
/// documentation for additional information.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Expr {
    /// Optional. Description of the expression. This is a longer text which
    /// describes the expression, e.g. when hovered over it in a UI.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Textual representation of an expression in Common Expression Language
    /// syntax.
    #[prost(string, optional, tag = "352031384")]
    pub expression: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. String indicating the location of the expression for error
    /// reporting, e.g. a file name and a position in the file.
    #[prost(string, optional, tag = "290430901")]
    pub location: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. Title for the expression, i.e. a short string describing
    /// its purpose. This can be used e.g. in UIs which allow to enter the
    /// expression.
    #[prost(string, optional, tag = "110371416")]
    pub title: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents an external VPN gateway.
///
/// External VPN gateway is the on-premises VPN gateway(s) or another cloud
/// provider's VPN gateway that connects to your Google Cloud VPN gateway.
///
/// To create a highly available VPN from Google Cloud Platform to your
/// VPN gateway or another cloud provider's VPN gateway, you must create a
/// external VPN gateway resource with information about the other gateway.
///
/// For more information about using external VPN gateways, see
/// Creating an HA VPN gateway and tunnel pair to a peer VPN.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExternalVpnGateway {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// A list of interfaces for this external VPN gateway.
    ///
    /// If your peer-side gateway is an on-premises gateway and non-AWS cloud
    /// providers' gateway, at most two interfaces can be provided for an external
    /// VPN gateway. If your peer side is an AWS virtual private gateway, four
    /// interfaces should be provided for an external VPN gateway.
    #[prost(message, repeated, tag = "12073562")]
    pub interfaces: ::prost::alloc::vec::Vec<ExternalVpnGatewayInterface>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#externalVpnGateway for externalVpnGateways.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this ExternalVpnGateway,
    /// which is essentially a hash of the labels set used for optimistic locking.
    /// The fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve an ExternalVpnGateway.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<ExternalVpnGatewayParams>,
    /// Indicates the user-supplied redundancy type of this external VPN gateway.
    /// Check the RedundancyType enum for the list of possible values.
    #[prost(string, optional, tag = "271443740")]
    pub redundancy_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ExternalVpnGateway`.
pub mod external_vpn_gateway {
    /// Indicates the user-supplied redundancy type of this external VPN gateway.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RedundancyType {
        /// A value indicating that the enum field is not set.
        UndefinedRedundancyType = 0,
        /// The external VPN gateway has four public IP addresses; at the time of
        /// writing this API, the AWS virtual private gateway is an example which has
        /// four public IP addresses for high availability connections; there should
        /// be two VPN connections in the AWS virtual private gateway , each AWS VPN
        /// connection has two public IP addresses;  please make sure to put two
        /// public IP addresses from one AWS VPN connection into interfaces 0 and 1
        /// of this external VPN gateway, and put the other two public IP addresses
        /// from another AWS VPN connection into interfaces 2 and 3 of this external
        /// VPN gateway. When displaying highly available configuration status
        /// for the VPN tunnels connected to FOUR_IPS_REDUNDANCY external VPN
        /// gateway, Google will always detect whether interfaces 0 and 1 are
        /// connected on one interface of HA Cloud VPN gateway, and detect whether
        /// interfaces 2 and 3 are connected to another interface of the HA Cloud VPN
        /// gateway.
        FourIpsRedundancy = 520087913,
        /// The external VPN gateway has only one public IP address which internally
        /// provide redundancy or failover.
        SingleIpInternallyRedundant = 133914873,
        /// The external VPN gateway has two public IP addresses which are redundant
        /// with each other, the following two types of setup on your on-premises
        /// side would have this type of redundancy:
        /// (1) Two separate on-premises gateways, each with one public IP address,
        /// the two on-premises gateways are redundant with each other.
        /// (2) A single on-premise gateway with two public IP addresses that are
        /// redundant with eatch other.
        TwoIpsRedundancy = 367049635,
    }
    impl RedundancyType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRedundancyType => "UNDEFINED_REDUNDANCY_TYPE",
                Self::FourIpsRedundancy => "FOUR_IPS_REDUNDANCY",
                Self::SingleIpInternallyRedundant => "SINGLE_IP_INTERNALLY_REDUNDANT",
                Self::TwoIpsRedundancy => "TWO_IPS_REDUNDANCY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_REDUNDANCY_TYPE" => Some(Self::UndefinedRedundancyType),
                "FOUR_IPS_REDUNDANCY" => Some(Self::FourIpsRedundancy),
                "SINGLE_IP_INTERNALLY_REDUNDANT" => {
                    Some(Self::SingleIpInternallyRedundant)
                }
                "TWO_IPS_REDUNDANCY" => Some(Self::TwoIpsRedundancy),
                _ => None,
            }
        }
    }
}
/// The interface for the external VPN gateway.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ExternalVpnGatewayInterface {
    /// The numeric ID of this interface.
    /// The allowed input values for this id for different redundancy types of
    /// external VPN gateway:
    ///
    /// ```text
    /// - SINGLE_IP_INTERNALLY_REDUNDANT - 0
    /// - TWO_IPS_REDUNDANCY - 0, 1
    /// - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
    /// ```
    #[prost(uint32, optional, tag = "3355")]
    pub id: ::core::option::Option<u32>,
    /// IP address of the interface in the external VPN gateway. Only IPv4 is
    /// supported. This IP address can be either from your on-premise gateway or
    /// another Cloud provider's VPN gateway, it cannot be an IP address from
    /// Google Compute Engine.
    #[prost(string, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// IPv6 address of the interface in the external VPN gateway. This IPv6
    /// address can be either from your on-premise gateway or another Cloud
    /// provider's VPN gateway, it cannot be an IP address from Google Compute
    /// Engine. Must specify an IPv6 address (not IPV4-mapped) using any format
    /// described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format
    /// is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
    #[prost(string, optional, tag = "341563804")]
    pub ipv6_address: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response to the list request, and contains a list of externalVpnGateways.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExternalVpnGatewayList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of ExternalVpnGateway resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<ExternalVpnGateway>,
    /// Output only. \[Output Only\] Type of resource. Always compute#externalVpnGatewayList for lists of externalVpnGateways.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExternalVpnGatewayParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    /// * Inconsistent format is not supported. For instance:
    ///   {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FileContentBuffer {
    /// The raw content in the secure keys file.
    #[prost(string, optional, tag = "414659705")]
    pub content: ::core::option::Option<::prost::alloc::string::String>,
    /// The file type of source file.
    /// Check the FileType enum for the list of possible values.
    #[prost(string, optional, tag = "294346781")]
    pub file_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `FileContentBuffer`.
pub mod file_content_buffer {
    /// The file type of source file.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum FileType {
        /// A value indicating that the enum field is not set.
        UndefinedFileType = 0,
        Bin = 65767,
        Undefined = 137851184,
        X509 = 2674086,
    }
    impl FileType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedFileType => "UNDEFINED_FILE_TYPE",
                Self::Bin => "BIN",
                Self::Undefined => "UNDEFINED",
                Self::X509 => "X509",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_FILE_TYPE" => Some(Self::UndefinedFileType),
                "BIN" => Some(Self::Bin),
                "UNDEFINED" => Some(Self::Undefined),
                "X509" => Some(Self::X509),
                _ => None,
            }
        }
    }
}
/// Represents a Firewall Rule resource.
///
/// Firewall rules allow or deny ingress traffic to, and egress traffic from your
/// instances. For more information, readFirewall rules.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Firewall {
    /// The list of ALLOW rules specified by this firewall. Each rule specifies a
    /// protocol and port-range tuple that describes a permitted connection.
    #[prost(message, repeated, tag = "162398632")]
    pub allowed: ::prost::alloc::vec::Vec<Allowed>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of DENY rules specified by this firewall. Each rule specifies a
    /// protocol and port-range tuple that describes a denied connection.
    #[prost(message, repeated, tag = "275217307")]
    pub denied: ::prost::alloc::vec::Vec<Denied>,
    /// An optional description of this resource. Provide this field when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// If destination ranges are specified, the firewall rule applies only to
    /// traffic that has destination IP address in these ranges. These ranges must
    /// be expressed inCIDR format. Both IPv4 and IPv6 are supported.
    #[prost(string, repeated, tag = "305699879")]
    pub destination_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Direction of traffic to which this firewall applies, either `INGRESS` or
    /// `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot
    /// specify the sourceTags fields.
    /// Check the Direction enum for the list of possible values.
    #[prost(string, optional, tag = "111150975")]
    pub direction: ::core::option::Option<::prost::alloc::string::String>,
    /// Denotes whether the firewall rule is disabled. When set to true, the
    /// firewall rule is not enforced and the network behaves as if it did not
    /// exist. If this is unspecified, the firewall rule will be enabled.
    #[prost(bool, optional, tag = "270940796")]
    pub disabled: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#firewall
    /// for firewall rules.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// This field denotes the logging options for a particular firewall rule. If
    /// logging is enabled, logs will be exported to Cloud Logging.
    #[prost(message, optional, tag = "351299741")]
    pub log_config: ::core::option::Option<FirewallLogConfig>,
    /// Name of the resource; provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?`. The first character
    /// must be a lowercase letter, and all following characters (except for the
    /// last character) must be a dash, lowercase letter, or digit. The last
    /// character must be a lowercase letter or digit.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the network resource for this firewall rule. If not
    /// specified when creating a firewall rule, the default network
    /// is used:
    ///
    /// global/networks/default
    ///
    /// If you choose to specify this field, you can specify the network as a full
    /// or partial URL. For example, the following are all valid URLs:
    ///
    /// ```text
    /// -
    /// <https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network>
    /// - projects/myproject/global/networks/my-network
    /// - global/networks/default
    /// ```
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<FirewallParams>,
    /// Priority for this rule.
    /// This is an integer between `0` and `65535`, both inclusive.
    /// The default value is `1000`.
    /// Relative priorities determine which rule takes effect if multiple rules
    /// apply. Lower values indicate higher priority. For example, a rule with
    /// priority `0` has higher precedence than a rule with priority `1`.
    /// DENY rules take precedence over ALLOW rules if they have equal priority.
    /// Note that VPC networks have implied
    /// rules with a priority of `65535`. To avoid conflicts with the implied
    /// rules, use a priority number less than `65535`.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// If source ranges are specified, the firewall rule applies only to traffic
    /// that has a source IP address in these ranges. These ranges must be
    /// expressed inCIDR format. One or both of sourceRanges
    /// and sourceTags may be set.
    /// If both fields are set, the rule applies to traffic that has a
    /// source IP address within sourceRanges OR a source IP
    /// from a resource with a matching tag listed in thesourceTags field. The connection does not need to match
    /// both fields for the rule to
    /// apply. Both IPv4 and IPv6 are supported.
    #[prost(string, repeated, tag = "200097658")]
    pub source_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// If source service accounts are specified, the firewall rules apply only to
    /// traffic originating from an instance with a service account in this list.
    /// Source service accounts cannot be used to control traffic to an instance's
    /// external IP address because service accounts are associated with an
    /// instance, not an IP address.sourceRanges can be set at the same time assourceServiceAccounts.
    /// If both are set, the firewall applies to traffic that
    /// has a source IP address within the sourceRanges OR a source
    /// IP that belongs to an instance with service account listed insourceServiceAccount. The connection does not need to match
    /// both fields for the firewall to apply.sourceServiceAccounts cannot be used at the same time assourceTags or targetTags.
    #[prost(string, repeated, tag = "105100756")]
    pub source_service_accounts: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// If source tags are specified, the firewall rule applies only to traffic
    /// with source IPs that match the primary network interfaces of VM instances
    /// that have the tag and are in the same VPC network.
    /// Source tags cannot be used to control traffic to an instance's external IP
    /// address, it only applies to traffic between instances in the same virtual
    /// network. Because tags are associated with instances, not IP addresses.
    /// One or both of sourceRanges and sourceTags may be
    /// set. If both fields are set, the firewall applies to traffic that has a
    /// source IP address within sourceRanges OR a source IP from a
    /// resource with a matching tag listed in the sourceTags
    /// field. The connection does not need to match both fields for the
    /// firewall to apply.
    #[prost(string, repeated, tag = "452222397")]
    pub source_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A list of service accounts indicating sets of instances located in the
    /// network that may make network connections as specified inallowed\[\].targetServiceAccounts cannot be used at the same time astargetTags or sourceTags.
    /// If neither targetServiceAccounts nor targetTags
    /// are specified, the firewall rule applies to all instances on the specified
    /// network.
    #[prost(string, repeated, tag = "457639710")]
    pub target_service_accounts: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// A list of tags that controls which instances the firewall rule
    /// applies to. If targetTags are specified, then the firewall
    /// rule applies only to instances in the VPC network that have one of those
    /// tags. If no targetTags are specified, the firewall rule
    /// applies to all instances on the specified network.
    #[prost(string, repeated, tag = "62901767")]
    pub target_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Firewall`.
pub mod firewall {
    /// Direction of traffic to which this firewall applies, either `INGRESS` or
    /// `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot
    /// specify the sourceTags fields.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Direction {
        /// A value indicating that the enum field is not set.
        UndefinedDirection = 0,
        /// Indicates that firewall should apply to outgoing traffic.
        Egress = 432880501,
        /// Indicates that firewall should apply to incoming traffic.
        Ingress = 516931221,
    }
    impl Direction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDirection => "UNDEFINED_DIRECTION",
                Self::Egress => "EGRESS",
                Self::Ingress => "INGRESS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DIRECTION" => Some(Self::UndefinedDirection),
                "EGRESS" => Some(Self::Egress),
                "INGRESS" => Some(Self::Ingress),
                _ => None,
            }
        }
    }
}
/// Contains a list of firewalls.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FirewallList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Firewall resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Firewall>,
    /// Output only. \[Output Only\] Type of resource. Always compute#firewallList
    /// for lists of firewalls.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// The available logging options for a firewall rule.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirewallLogConfig {
    /// This field denotes whether to enable logging for a particular firewall
    /// rule.
    #[prost(bool, optional, tag = "311764355")]
    pub enable: ::core::option::Option<bool>,
    /// This field can only be specified for a particular firewall rule if
    /// logging is enabled for that rule. This field denotes whether to include
    /// or exclude metadata for firewall logs.
    /// Check the Metadata enum for the list of possible values.
    #[prost(string, optional, tag = "86866735")]
    pub metadata: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `FirewallLogConfig`.
pub mod firewall_log_config {
    /// This field can only be specified for a particular firewall rule if
    /// logging is enabled for that rule. This field denotes whether to include
    /// or exclude metadata for firewall logs.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Metadata {
        /// A value indicating that the enum field is not set.
        UndefinedMetadata = 0,
        ExcludeAllMetadata = 334519954,
        IncludeAllMetadata = 164619908,
    }
    impl Metadata {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMetadata => "UNDEFINED_METADATA",
                Self::ExcludeAllMetadata => "EXCLUDE_ALL_METADATA",
                Self::IncludeAllMetadata => "INCLUDE_ALL_METADATA",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_METADATA" => Some(Self::UndefinedMetadata),
                "EXCLUDE_ALL_METADATA" => Some(Self::ExcludeAllMetadata),
                "INCLUDE_ALL_METADATA" => Some(Self::IncludeAllMetadata),
                _ => None,
            }
        }
    }
}
/// Additional firewall parameters.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FirewallParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FirewallPoliciesListAssociationsResponse {
    /// A list of associations.
    #[prost(message, repeated, tag = "508736530")]
    pub associations: ::prost::alloc::vec::Vec<FirewallPolicyAssociation>,
    /// Output only. \[Output Only\] Type of firewallPolicy associations. Alwayscompute#FirewallPoliciesListAssociations for lists of
    /// firewallPolicy associations.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FirewallPoliciesScopedList {
    /// A list of firewall policies contained in this scope.
    #[prost(message, repeated, tag = "392512943")]
    pub firewall_policies: ::prost::alloc::vec::Vec<FirewallPolicy>,
    /// Informational warning which replaces the list of firewall policies when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a Firewall Policy resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FirewallPolicy {
    /// A list of associations that belong to this firewall policy.
    #[prost(message, repeated, tag = "508736530")]
    pub associations: ::prost::alloc::vec::Vec<FirewallPolicyAssociation>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Deprecated, please use short name instead. User-provided name of the
    /// Organization firewall policy. The name should be unique in the organization
    /// in which the firewall policy is created.
    /// This field is not applicable to network firewall policies.
    /// This name must be set on creation and cannot be changed.
    /// The name must be 1-63 characters long, and comply
    /// with RFC1035. Specifically, the name must be 1-63 characters
    /// long and match the regular expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which
    /// means the first character must be a lowercase letter, and all following
    /// characters must be a dash, lowercase letter, or digit, except the last
    /// character, which cannot be a dash.
    #[prost(string, optional, tag = "4473832")]
    pub display_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a fingerprint for this resource, which is essentially a hash of
    /// the metadata's contents and used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update metadata. You must always provide an
    /// up-to-date fingerprint hash in order to update or change metadata,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make get() request to the
    /// firewall policy.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output only\] Type of the resource. Alwayscompute#firewallPolicyfor firewall policies
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. For Organization Firewall Policies it's a
    /// \[Output Only\] numeric ID allocated by Google Cloud which uniquely
    /// identifies the Organization Firewall Policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of packet mirroring rules that belong to this policy.
    #[prost(message, repeated, tag = "531644356")]
    pub packet_mirroring_rules: ::prost::alloc::vec::Vec<FirewallPolicyRule>,
    /// Output only. \[Output Only\] The parent of the firewall policy.
    /// This field is not applicable to network firewall policies.
    #[prost(string, optional, tag = "78317738")]
    pub parent: ::core::option::Option<::prost::alloc::string::String>,
    /// The type of the firewall policy. This field can be eitherVPC_POLICY or RDMA_ROCE_POLICY.
    ///
    /// Note: if not specified then VPC_POLICY will be used.
    /// Check the PolicyType enum for the list of possible values.
    #[prost(string, optional, tag = "18158119")]
    pub policy_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the regional firewall policy resides.
    /// This field is not applicable to global firewall policies.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Total count of all firewall policy rule tuples. A firewall
    /// policy can not exceed a set number of tuples.
    #[prost(int32, optional, tag = "388342037")]
    pub rule_tuple_count: ::core::option::Option<i32>,
    /// A list of rules that belong to this policy.
    /// There must always be a default rule (rule with priority 2147483647 and
    /// match "\*"). If no rules are provided when creating a firewall policy, a
    /// default rule with action "allow" will be added.
    #[prost(message, repeated, tag = "108873975")]
    pub rules: ::prost::alloc::vec::Vec<FirewallPolicyRule>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// User-provided name of the Organization firewall policy. The name should be
    /// unique in the organization in which the firewall policy is created.
    /// This field is not applicable to network firewall policies.
    /// This name must be set on creation and cannot be changed. The name must be
    /// 1-63 characters long, and comply with RFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "492051566")]
    pub short_name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `FirewallPolicy`.
pub mod firewall_policy {
    /// The type of the firewall policy. This field can be eitherVPC_POLICY or RDMA_ROCE_POLICY.
    ///
    /// Note: if not specified then VPC_POLICY will be used.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PolicyType {
        /// A value indicating that the enum field is not set.
        UndefinedPolicyType = 0,
        RdmaRocePolicy = 148757145,
        VpcPolicy = 74319208,
    }
    impl PolicyType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPolicyType => "UNDEFINED_POLICY_TYPE",
                Self::RdmaRocePolicy => "RDMA_ROCE_POLICY",
                Self::VpcPolicy => "VPC_POLICY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_POLICY_TYPE" => Some(Self::UndefinedPolicyType),
                "RDMA_ROCE_POLICY" => Some(Self::RdmaRocePolicy),
                "VPC_POLICY" => Some(Self::VpcPolicy),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirewallPolicyAssociation {
    /// The target that the firewall policy is attached to.
    #[prost(string, optional, tag = "175773741")]
    pub attachment_target: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Deprecated, please use short name instead. The display name
    /// of the firewall policy of the association.
    #[prost(string, optional, tag = "4473832")]
    pub display_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The firewall policy ID of the association.
    #[prost(string, optional, tag = "357211849")]
    pub firewall_policy_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name for an association.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The short name of the firewall policy of the association.
    #[prost(string, optional, tag = "492051566")]
    pub short_name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FirewallPolicyList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of FirewallPolicy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<FirewallPolicy>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#firewallPolicyList for listsof FirewallPolicies
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a rule that describes one or more match conditions along with
/// the action to be taken when traffic matches this condition (allow or deny).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FirewallPolicyRule {
    /// The Action to perform when the client connection triggers the rule.
    /// Valid actions for firewall rules are: "allow", "deny",
    /// "apply_security_profile_group" and "goto_next".
    /// Valid actions for packet mirroring rules are: "mirror", "do_not_mirror"
    /// and "goto_next".
    #[prost(string, optional, tag = "187661878")]
    pub action: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description for this resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// The direction in which this rule applies.
    /// Check the Direction enum for the list of possible values.
    #[prost(string, optional, tag = "111150975")]
    pub direction: ::core::option::Option<::prost::alloc::string::String>,
    /// Denotes whether the firewall policy rule is disabled. When set to true,
    /// the firewall policy rule is not enforced and traffic behaves as if it did
    /// not exist. If this is unspecified, the firewall policy rule will be
    /// enabled.
    #[prost(bool, optional, tag = "270940796")]
    pub disabled: ::core::option::Option<bool>,
    /// Denotes whether to enable logging for a particular rule. If logging is
    /// enabled, logs will be exported to the configured export destination in
    /// Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you
    /// cannot enable logging on "goto_next" rules.
    #[prost(bool, optional, tag = "295396515")]
    pub enable_logging: ::core::option::Option<bool>,
    /// Output only. \[Output only\] Type of the resource. Returnscompute#firewallPolicyRule for firewall rules andcompute#packetMirroringRule for packet mirroring rules.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A match condition that incoming traffic is evaluated against.
    /// If it evaluates to true, the corresponding 'action' is enforced.
    #[prost(message, optional, tag = "103668165")]
    pub r#match: ::core::option::Option<FirewallPolicyRuleMatcher>,
    /// An integer indicating the priority of a rule in the list. The priority
    /// must be a positive value between 0 and 2147483647.
    /// Rules are evaluated from highest to lowest priority where 0 is the
    /// highest priority and 2147483647 is the lowest priority.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// An optional name for the rule. This field is not a unique identifier
    /// and can be updated.
    #[prost(string, optional, tag = "55286254")]
    pub rule_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Calculation of the complexity of a single firewall policy
    /// rule.
    #[prost(int32, optional, tag = "388342037")]
    pub rule_tuple_count: ::core::option::Option<i32>,
    /// A fully-qualified URL of a SecurityProfile resource instance.
    /// Example:
    /// <https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group>
    /// Must be specified if action is one of 'apply_security_profile_group' or
    /// 'mirror'. Cannot be specified for other actions.
    #[prost(string, optional, tag = "207411626")]
    pub security_profile_group: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of network resource URLs to which this rule applies.  This field
    /// allows you to control which network's VMs get this rule.  If this field
    /// is left blank, all VMs within the organization will receive the rule.
    #[prost(string, repeated, tag = "528230647")]
    pub target_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A list of secure tags that controls which instances the firewall rule
    /// applies to. If targetSecureTag are specified, then the
    /// firewall rule applies only to instances in the VPC network that have one
    /// of those EFFECTIVE secure tags, if all the target_secure_tag are in
    /// INEFFECTIVE state, then this rule will be ignored.targetSecureTag may not be set at the same time astargetServiceAccounts.
    /// If neither targetServiceAccounts nortargetSecureTag are specified, the firewall rule applies
    /// to all instances on the specified network.
    /// Maximum number of target label tags allowed is 256.
    #[prost(message, repeated, tag = "468132403")]
    pub target_secure_tags: ::prost::alloc::vec::Vec<FirewallPolicyRuleSecureTag>,
    /// A list of service accounts indicating the sets of instances that are
    /// applied with this rule.
    #[prost(string, repeated, tag = "457639710")]
    pub target_service_accounts: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Boolean flag indicating if the traffic should be TLS decrypted.
    /// Can be set only if action = 'apply_security_profile_group' and cannot
    /// be set for other actions.
    #[prost(bool, optional, tag = "43425488")]
    pub tls_inspect: ::core::option::Option<bool>,
}
/// Nested message and enum types in `FirewallPolicyRule`.
pub mod firewall_policy_rule {
    /// The direction in which this rule applies.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Direction {
        /// A value indicating that the enum field is not set.
        UndefinedDirection = 0,
        Egress = 432880501,
        Ingress = 516931221,
    }
    impl Direction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDirection => "UNDEFINED_DIRECTION",
                Self::Egress => "EGRESS",
                Self::Ingress => "INGRESS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DIRECTION" => Some(Self::UndefinedDirection),
                "EGRESS" => Some(Self::Egress),
                "INGRESS" => Some(Self::Ingress),
                _ => None,
            }
        }
    }
}
/// Represents a match condition that incoming traffic is evaluated against.
/// Exactly one field must be specified.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FirewallPolicyRuleMatcher {
    /// Address groups which should be matched against the traffic destination.
    /// Maximum number of destination address groups is 10.
    #[prost(string, repeated, tag = "468760508")]
    pub dest_address_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Fully Qualified Domain Name (FQDN) which should be matched against
    /// traffic destination.
    /// Maximum number of destination fqdn allowed is 100.
    #[prost(string, repeated, tag = "370712737")]
    pub dest_fqdns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// CIDR IP address range.
    /// Maximum number of destination CIDR IP ranges allowed is 5000.
    #[prost(string, repeated, tag = "337357713")]
    pub dest_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Network context of the traffic destination. Allowed values are:
    ///
    /// ```text
    ///   - UNSPECIFIED
    ///   - INTERNET
    ///   - NON_INTERNET
    /// ```
    ///
    /// Check the DestNetworkContext enum for the list of possible values.
    #[prost(string, optional, tag = "76347649")]
    pub dest_network_context: ::core::option::Option<::prost::alloc::string::String>,
    /// Network type of the traffic destination. Allowed values are:
    ///
    /// ```text
    ///   - UNSPECIFIED
    ///   - INTERNET
    ///   - NON_INTERNET
    /// ```
    ///
    /// Check the DestNetworkType enum for the list of possible values.
    #[prost(string, optional, tag = "409853224")]
    pub dest_network_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Region codes whose IP addresses will be used to match for destination
    /// of traffic. Should be specified as 2 letter country code defined as per
    /// ISO 3166 alpha-2 country codes. ex."US"
    /// Maximum number of dest region codes allowed is 5000.
    #[prost(string, repeated, tag = "199120280")]
    pub dest_region_codes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Names of Network Threat Intelligence lists.
    /// The IPs in these lists will be matched against traffic destination.
    #[prost(string, repeated, tag = "119896492")]
    pub dest_threat_intelligences: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Pairs of IP protocols and ports that the rule should match.
    #[prost(message, repeated, tag = "373534261")]
    pub layer4_configs: ::prost::alloc::vec::Vec<FirewallPolicyRuleMatcherLayer4Config>,
    /// Address groups which should be matched against the traffic source.
    /// Maximum number of source address groups is 10.
    #[prost(string, repeated, tag = "436423738")]
    pub src_address_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Fully Qualified Domain Name (FQDN) which should be matched against
    /// traffic source.
    /// Maximum number of source fqdn allowed is 100.
    #[prost(string, repeated, tag = "435906147")]
    pub src_fqdns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// CIDR IP address range.
    /// Maximum number of source CIDR IP ranges allowed is 5000.
    #[prost(string, repeated, tag = "432128083")]
    pub src_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Network context of the traffic source. Allowed values are:
    ///
    /// ```text
    ///   - UNSPECIFIED
    ///   - INTERNET
    ///   - INTRA_VPC
    ///   - NON_INTERNET
    ///   - VPC_NETWORKS
    /// ```
    ///
    /// Check the SrcNetworkContext enum for the list of possible values.
    #[prost(string, optional, tag = "147649603")]
    pub src_network_context: ::core::option::Option<::prost::alloc::string::String>,
    /// Network type of the traffic source. Allowed values are:
    ///
    /// ```text
    ///   - UNSPECIFIED
    ///   - INTERNET
    ///   - INTRA_VPC
    ///   - NON_INTERNET
    ///   - VPC_NETWORKS
    /// ```
    ///
    /// Check the SrcNetworkType enum for the list of possible values.
    #[prost(string, optional, tag = "309819686")]
    pub src_network_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Networks of the traffic source. It can be either a full or partial url.
    #[prost(string, repeated, tag = "247119872")]
    pub src_networks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Region codes whose IP addresses will be used to match for source
    /// of traffic. Should be specified as 2 letter country code defined as per
    /// ISO 3166 alpha-2 country codes. ex."US"
    /// Maximum number of source region codes allowed is 5000.
    #[prost(string, repeated, tag = "99086742")]
    pub src_region_codes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// List of secure tag values, which should be matched at the source
    /// of the traffic.
    /// For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
    /// and there is no srcIpRange, this rule will be ignored.
    /// Maximum number of source tag values allowed is 256.
    #[prost(message, repeated, tag = "508791302")]
    pub src_secure_tags: ::prost::alloc::vec::Vec<FirewallPolicyRuleSecureTag>,
    /// Names of Network Threat Intelligence lists.
    /// The IPs in these lists will be matched against traffic source.
    #[prost(string, repeated, tag = "323631018")]
    pub src_threat_intelligences: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
}
/// Nested message and enum types in `FirewallPolicyRuleMatcher`.
pub mod firewall_policy_rule_matcher {
    /// Network context of the traffic destination. Allowed values are:
    ///
    /// ```text
    ///   - UNSPECIFIED
    ///   - INTERNET
    ///   - NON_INTERNET
    /// ```
    ///
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// INTERNET
    /// INTRA_VPC
    /// NON_INTERNET
    /// UNSPECIFIED
    /// VPC_NETWORKS
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DestNetworkContext {
        /// A value indicating that the enum field is not set.
        UndefinedDestNetworkContext = 0,
    }
    impl DestNetworkContext {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDestNetworkContext => "UNDEFINED_DEST_NETWORK_CONTEXT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DEST_NETWORK_CONTEXT" => {
                    Some(Self::UndefinedDestNetworkContext)
                }
                _ => None,
            }
        }
    }
    /// Network type of the traffic destination. Allowed values are:
    ///
    /// ```text
    ///   - UNSPECIFIED
    ///   - INTERNET
    ///   - NON_INTERNET
    /// ```
    ///
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// INTERNET
    /// INTRA_VPC
    /// NON_INTERNET
    /// UNSPECIFIED
    /// VPC_NETWORKS
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DestNetworkType {
        /// A value indicating that the enum field is not set.
        UndefinedDestNetworkType = 0,
    }
    impl DestNetworkType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDestNetworkType => "UNDEFINED_DEST_NETWORK_TYPE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DEST_NETWORK_TYPE" => Some(Self::UndefinedDestNetworkType),
                _ => None,
            }
        }
    }
    /// Network context of the traffic source. Allowed values are:
    ///
    /// ```text
    ///   - UNSPECIFIED
    ///   - INTERNET
    ///   - INTRA_VPC
    ///   - NON_INTERNET
    ///   - VPC_NETWORKS
    /// ```
    ///
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// INTERNET
    /// INTRA_VPC
    /// NON_INTERNET
    /// UNSPECIFIED
    /// VPC_NETWORKS
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SrcNetworkContext {
        /// A value indicating that the enum field is not set.
        UndefinedSrcNetworkContext = 0,
    }
    impl SrcNetworkContext {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSrcNetworkContext => "UNDEFINED_SRC_NETWORK_CONTEXT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SRC_NETWORK_CONTEXT" => Some(Self::UndefinedSrcNetworkContext),
                _ => None,
            }
        }
    }
    /// Network type of the traffic source. Allowed values are:
    ///
    /// ```text
    ///   - UNSPECIFIED
    ///   - INTERNET
    ///   - INTRA_VPC
    ///   - NON_INTERNET
    ///   - VPC_NETWORKS
    /// ```
    ///
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// INTERNET
    /// INTRA_VPC
    /// NON_INTERNET
    /// UNSPECIFIED
    /// VPC_NETWORKS
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SrcNetworkType {
        /// A value indicating that the enum field is not set.
        UndefinedSrcNetworkType = 0,
    }
    impl SrcNetworkType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSrcNetworkType => "UNDEFINED_SRC_NETWORK_TYPE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SRC_NETWORK_TYPE" => Some(Self::UndefinedSrcNetworkType),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirewallPolicyRuleMatcherLayer4Config {
    /// The IP protocol to which this rule applies. The protocol type is
    /// required when creating a firewall rule. This value can either be
    /// one of the following well known protocol strings (tcp,udp, icmp, esp,ah, ipip, sctp), or the IP
    /// protocol number.
    #[prost(string, optional, tag = "475958960")]
    pub ip_protocol: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional list of ports to which this rule applies. This field is
    /// only applicable for UDP or TCP protocol. Each entry must be either
    /// an integer or a range. If not specified, this rule applies to
    /// connections through any port.
    ///
    /// Example inputs include: \["22"\],\["80","443"\], and \["12345-12349"\].
    #[prost(string, repeated, tag = "106854418")]
    pub ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FirewallPolicyRuleSecureTag {
    /// Name of the secure tag, created with TagManager's TagValue API.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] State of the secure tag, either `EFFECTIVE` or
    /// `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted
    /// or its network is deleted.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `FirewallPolicyRuleSecureTag`.
pub mod firewall_policy_rule_secure_tag {
    /// Output only. \[Output Only\] State of the secure tag, either `EFFECTIVE` or
    /// `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted
    /// or its network is deleted.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        Effective = 244201863,
        Ineffective = 304458242,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Effective => "EFFECTIVE",
                Self::Ineffective => "INEFFECTIVE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "EFFECTIVE" => Some(Self::Effective),
                "INEFFECTIVE" => Some(Self::Ineffective),
                _ => None,
            }
        }
    }
}
/// Encapsulates numeric value that can be either absolute or relative.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FixedOrPercent {
    /// Output only. \[Output Only\] Absolute value of VM instances calculated based on the
    /// specific mode.
    ///
    /// ```text
    /// - If the value is fixed, then the calculated
    ///   value is equal to the fixed value.
    /// - If the value is a percent, then the
    /// calculated
    ///   value is percent/100 * targetSize. For example,
    ///   the calculated value of a 80% of a managed instance group
    ///   with 150 instances would be (80/100 * 150) = 120 VM instances. If there
    ///   is a remainder, the number is rounded.
    /// ```
    #[prost(int32, optional, tag = "472082878")]
    pub calculated: ::core::option::Option<i32>,
    /// Specifies a fixed number of VM instances. This must be a positive integer.
    #[prost(int32, optional, tag = "97445748")]
    pub fixed: ::core::option::Option<i32>,
    /// Specifies a percentage of instances between 0 to 100%, inclusive. For
    /// example, specify 80 for 80%.
    #[prost(int32, optional, tag = "394814533")]
    pub percent: ::core::option::Option<i32>,
}
/// Specifies a flexible time range with flexible start time and duration.
///
/// It is possible to specify a contradictory time range that cannot be matched
/// by any Interval. This causes a validation error.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FlexibleTimeRange {
    #[prost(string, optional, tag = "39954959")]
    pub max_duration: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "514381025")]
    pub min_duration: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "490386497")]
    pub start_time_not_earlier_than: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    #[prost(string, optional, tag = "212764853")]
    pub start_time_not_later_than: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Represents a Forwarding Rule resource.
///
/// Forwarding rule resources in Google Cloud can be either regional or global in
/// scope:
///
/// * [Global](<https://cloud.google.com/compute/docs/reference/rest/v1/globalForwardingRules>)
/// * [Regional](<https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules>)
///
/// A forwarding rule and its corresponding IP address represent the frontend
/// configuration of a Google Cloud load balancer.
/// Forwarding rules can also reference target instances and Cloud VPN Classic
/// gateways (targetVpnGateway).
///
/// For more information, read
/// Forwarding rule concepts and
/// Using protocol forwarding.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ForwardingRule {
    /// IP address for which this forwarding rule accepts traffic. When a client
    /// sends traffic to this IP address, the forwarding rule directs the traffic
    /// to the referenced target or backendService.
    /// While creating a forwarding rule, specifying an IPAddress is
    /// required under the following circumstances:
    ///
    /// ```text
    /// - When the target is set to targetGrpcProxy andvalidateForProxyless is set to true, theIPAddress should be set to 0.0.0.0.
    /// - When the target is a Private Service Connect Google APIs
    /// bundle, you must specify an IPAddress.
    /// ```
    ///
    /// Otherwise, you can optionally specify an IP address that references an
    /// existing static (reserved) IP address resource. When omitted, Google Cloud
    /// assigns an ephemeral IP address.
    ///
    /// Use one of the following formats to specify an IP address while creating a
    /// forwarding rule:
    ///
    /// * IP address number, as in `100.1.2.3`
    ///
    /// * IPv6 address range, as in `2600:1234::/96`
    ///
    /// * Full resource URL, as in<https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name>
    ///
    /// * Partial URL or by name, as in:
    ///
    ///   * projects/project_id/regions/region/addresses/address-name
    ///   * regions/region/addresses/address-name
    ///   * global/addresses/address-name
    ///   * address-name
    ///
    /// The forwarding rule's target or backendService,
    /// and in most cases, also the loadBalancingScheme, determine the
    /// type of IP address that you can use. For detailed information, see
    /// [IP address
    /// specifications](<https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications>).
    ///
    /// When reading an IPAddress, the API always returns the IP
    /// address number.
    #[prost(string, optional, tag = "42976943")]
    pub i_p_address: ::core::option::Option<::prost::alloc::string::String>,
    /// The IP protocol to which this rule applies.
    ///
    /// For protocol forwarding, valid
    /// options are TCP, UDP, ESP,AH, SCTP, ICMP andL3_DEFAULT.
    ///
    /// The valid IP protocols are different for different load balancing products
    /// as described in [Load balancing
    /// features](<https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends>).
    /// Check the IPProtocolEnum enum for the list of possible values.
    #[prost(string, optional, tag = "488094525")]
    pub i_p_protocol: ::core::option::Option<::prost::alloc::string::String>,
    /// The ports, portRange, and allPorts
    /// fields are mutually exclusive. Only packets addressed to ports in the
    /// specified range will be forwarded to the backends configured with this
    /// forwarding rule.
    ///
    /// The allPorts field has the following limitations:
    ///
    /// ```text
    /// - It requires that the forwarding rule IPProtocol be TCP,
    /// UDP, SCTP, or L3_DEFAULT.
    /// - It's applicable only to the following products: internal passthrough
    /// Network Load Balancers, backend service-based external passthrough Network
    /// Load Balancers, and internal and external protocol forwarding.
    /// - Set this field to true to allow packets addressed to any port or
    /// packets lacking destination port information (for example, UDP fragments
    /// after the first fragment) to be forwarded to the backends configured with
    /// this forwarding rule. The L3_DEFAULT protocol requiresallPorts be set to true.
    /// ```
    #[prost(bool, optional, tag = "445175796")]
    pub all_ports: ::core::option::Option<bool>,
    /// If set to true, clients can access the internal passthrough Network Load
    /// Balancers, the regional internal Application Load Balancer, and the
    /// regional internal proxy Network Load Balancer from all regions.
    /// If false, only allows access from the local region the load balancer is
    /// located at. Note that for INTERNAL_MANAGED forwarding rules, this field
    /// cannot be changed after the forwarding rule is created.
    #[prost(bool, optional, tag = "499409674")]
    pub allow_global_access: ::core::option::Option<bool>,
    /// This is used in PSC consumer ForwardingRule to control whether the PSC
    /// endpoint can be accessed from another region.
    #[prost(bool, optional, tag = "263471819")]
    pub allow_psc_global_access: ::core::option::Option<bool>,
    /// Identifies the backend service to which the forwarding rule sends traffic.
    /// Required for internal and external passthrough Network Load Balancers;
    /// must be omitted for all other load balancer types.
    #[prost(string, optional, tag = "306946058")]
    pub backend_service: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL for the corresponding base forwarding rule. By base
    /// forwarding rule, we mean the forwarding rule that has the same IP address,
    /// protocol, and port settings with the current forwarding rule, but without
    /// sourceIPRanges specified.
    /// Always empty if the current forwarding rule does not have sourceIPRanges
    /// specified.
    #[prost(string, optional, tag = "524873104")]
    pub base_forwarding_rule: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the canary migration state for the backend buckets attached to
    /// this forwarding rule. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
    /// TEST_ALL_TRAFFIC.
    ///
    /// To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be
    /// changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before
    /// the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the
    /// TEST_BY_PERCENTAGE state can be used to migrate traffic to backend buckets
    /// attached to this forwarding rule by percentage using
    /// externalManagedBackendBucketMigrationTestingPercentage.
    ///
    /// Rolling back a migration requires the states to be set in reverse order. So
    /// changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to
    /// be set to TEST_ALL_TRAFFIC at the same time. Optionally, the
    /// TEST_BY_PERCENTAGE state can be used to migrate some traffic back to
    /// EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
    /// Check the ExternalManagedBackendBucketMigrationState enum for the list of possible values.
    #[prost(string, optional, tag = "107811370")]
    pub external_managed_backend_bucket_migration_state: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Determines the fraction of requests to backend buckets that should be
    /// processed by the global external Application Load Balancer.
    ///
    /// The value of this field must be in the range \[0, 100\].
    ///
    /// This value can only be set if the loadBalancingScheme in the BackendService
    /// is set to EXTERNAL (when using the classic Application Load Balancer) and
    /// the migration state is TEST_BY_PERCENTAGE.
    #[prost(float, optional, tag = "105676592")]
    pub external_managed_backend_bucket_migration_testing_percentage: ::core::option::Option<
        f32,
    >,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a ForwardingRule. Include the fingerprint in patch request to
    /// ensure that you do not overwrite changes that were applied from another
    /// concurrent request.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a ForwardingRule.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Resource reference of a PublicDelegatedPrefix. The PDP must
    /// be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode.
    ///
    /// Use one of the following formats to specify a sub-PDP when creating an IPv6
    /// NetLB forwarding rule using BYOIP:
    /// Full resource URL, as in<https://www.googleapis.com/compute/v1/projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name>
    /// Partial URL, as in:
    ///
    /// ```text
    /// - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name
    /// - regions/region/publicDelegatedPrefixes/sub-pdp-name
    /// ```
    #[prost(string, optional, tag = "176818358")]
    pub ip_collection: ::core::option::Option<::prost::alloc::string::String>,
    /// The IP Version that will be used by this forwarding rule.  Valid options
    /// are IPV4 or IPV6.
    /// Check the IpVersion enum for the list of possible values.
    #[prost(string, optional, tag = "294959552")]
    pub ip_version: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether or not this load balancer can be used as a collector for
    /// packet mirroring. To prevent mirroring loops, instances behind this
    /// load balancer will not have their traffic mirrored even if aPacketMirroring rule applies to them.
    /// This can only be set to true for load balancers that have theirloadBalancingScheme set to INTERNAL.
    #[prost(bool, optional, tag = "119255164")]
    pub is_mirroring_collector: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#forwardingRule for forwarding rule resources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this resource, which is
    /// essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a ForwardingRule.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Specifies the forwarding rule type.
    ///
    /// For more information about forwarding rules, refer to
    /// Forwarding rule concepts.
    /// Check the LoadBalancingScheme enum for the list of possible values.
    #[prost(string, optional, tag = "363890244")]
    pub load_balancing_scheme: ::core::option::Option<::prost::alloc::string::String>,
    /// Opaque filter criteria used by load balancer to restrict routing
    /// configuration to a limited set of xDS
    /// compliant clients. In their xDS requests to load balancer, xDS clients
    /// present node
    /// metadata. When there is a match, the relevant configuration
    /// is made available to those proxies. Otherwise, all the resources (e.g.TargetHttpProxy, UrlMap)
    /// referenced by the ForwardingRule are not visible to
    /// those proxies.
    ///
    /// For each metadataFilter in this list, if itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels must match the corresponding label provided in
    /// the metadata. If its filterMatchCriteria is set to
    /// MATCH_ALL, then all of its filterLabels must match with
    /// corresponding labels provided in the metadata. If multiplemetadataFilters are specified, all of them need to be satisfied
    /// in order to be considered a match.
    ///
    /// metadataFilters specified here will be applifed before
    /// those specified in the UrlMap that thisForwardingRule references.
    ///
    /// metadataFilters only applies to Loadbalancers that have
    /// their loadBalancingScheme set toINTERNAL_SELF_MANAGED.
    #[prost(message, repeated, tag = "464725739")]
    pub metadata_filters: ::prost::alloc::vec::Vec<MetadataFilter>,
    /// Name of the resource; provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    ///
    /// For Private Service Connect forwarding rules that forward traffic to Google
    /// APIs, the forwarding rule name must be a 1-20 characters string with
    /// lowercase letters and numbers and must start with a letter.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// This field is not used for global external load balancing.
    ///
    /// For internal passthrough Network Load Balancers, this field identifies the
    /// network that the load balanced IP should belong to for this forwarding
    /// rule.
    /// If the subnetwork is specified, the network of the subnetwork will be used.
    /// If neither subnetwork nor this field is specified, the default network will
    /// be used.
    ///
    /// For Private Service Connect forwarding rules that forward traffic to Google
    /// APIs, a network must be provided.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// This signifies the networking tier used for configuring
    /// this load balancer and can only take the following values:PREMIUM, STANDARD.
    ///
    /// For regional ForwardingRule, the valid values are PREMIUM andSTANDARD. For GlobalForwardingRule, the valid value isPREMIUM.
    ///
    /// If this field is not specified, it is assumed to be PREMIUM.
    /// If IPAddress is specified, this value must be equal to the
    /// networkTier of the Address.
    /// Check the NetworkTier enum for the list of possible values.
    #[prost(string, optional, tag = "517397843")]
    pub network_tier: ::core::option::Option<::prost::alloc::string::String>,
    /// This is used in PSC consumer ForwardingRule to control whether it should
    /// try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use
    /// this field. Once set, this field is not mutable.
    #[prost(bool, optional, tag = "64546991")]
    pub no_automate_dns_zone: ::core::option::Option<bool>,
    /// The ports, portRange, and allPorts
    /// fields are mutually exclusive. Only packets addressed to ports in the
    /// specified range will be forwarded to the backends configured with this
    /// forwarding rule.
    ///
    /// The portRange field has the following limitations:
    ///
    /// ```text
    /// - It requires that the forwarding rule IPProtocol be TCP,
    /// UDP, or SCTP, and
    /// - It's applicable only to the following products: external passthrough
    /// Network Load Balancers, internal and external proxy Network Load Balancers,
    /// internal and external Application Load Balancers, external protocol
    /// forwarding, and Classic VPN.
    /// - Some products have restrictions on what ports can be used. See
    /// port specifications for details.
    /// ```
    ///
    /// For external forwarding rules, two or more forwarding rules cannot use the
    /// same \[IPAddress, IPProtocol\] pair, and cannot have overlappingportRanges.
    ///
    /// For internal forwarding rules within the same VPC network, two or more
    /// forwarding rules cannot use the same \[IPAddress, IPProtocol\]
    /// pair, and cannot have overlapping portRanges.
    ///
    /// @pattern: \\d+(?:-\\d+)?
    #[prost(string, optional, tag = "217518079")]
    pub port_range: ::core::option::Option<::prost::alloc::string::String>,
    /// The ports, portRange, and allPorts
    /// fields are mutually exclusive. Only packets addressed to ports in the
    /// specified range will be forwarded to the backends configured with this
    /// forwarding rule.
    ///
    /// The ports field has the following limitations:
    ///
    /// ```text
    /// - It requires that the forwarding rule IPProtocol be TCP,
    /// UDP, or SCTP, and
    /// - It's applicable only to the following products: internal passthrough
    /// Network Load Balancers, backend service-based external passthrough Network
    /// Load Balancers, and internal protocol forwarding.
    /// - You can specify a list of up to five ports by number, separated by
    /// commas. The ports can be contiguous or discontiguous.
    /// ```
    ///
    /// For external forwarding rules, two or more forwarding rules cannot use the
    /// same \[IPAddress, IPProtocol\] pair if they share at least one
    /// port number.
    ///
    /// For internal forwarding rules within the same VPC network, two or more
    /// forwarding rules cannot use the same \[IPAddress, IPProtocol\]
    /// pair if they share at least one port number.
    ///
    /// @pattern: \\d+(?:-\\d+)?
    #[prost(string, repeated, tag = "106854418")]
    pub ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] The PSC connection id of the PSC forwarding rule.
    #[prost(uint64, optional, tag = "292082397")]
    pub psc_connection_id: ::core::option::Option<u64>,
    /// Check the PscConnectionStatus enum for the list of possible values.
    #[prost(string, optional, tag = "184149172")]
    pub psc_connection_status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the regional forwarding rule resides.
    /// This field is not applicable to global forwarding rules.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Service Directory resources to register this forwarding rule with.
    /// Currently, only supports a single Service Directory resource.
    #[prost(message, repeated, tag = "223549694")]
    pub service_directory_registrations: ::prost::alloc::vec::Vec<
        ForwardingRuleServiceDirectoryRegistration,
    >,
    /// An optional prefix to the service name for this forwarding rule.
    /// If specified, the prefix is the first label of the fully qualified service
    /// name.
    ///
    /// The label must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the label must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    ///
    /// This field is only used for internal load balancing.
    #[prost(string, optional, tag = "417008874")]
    pub service_label: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\]
    /// The internal fully qualified service name for this forwarding rule.
    ///
    /// This field is only used for internal load balancing.
    #[prost(string, optional, tag = "359880149")]
    pub service_name: ::core::option::Option<::prost::alloc::string::String>,
    /// If not empty, this forwarding rule will only forward the traffic when the
    /// source IP address matches one of the IP addresses or CIDR ranges set here.
    /// Note that a forwarding rule can only have up to 64 source IP ranges, and
    /// this field can only be used with a regional forwarding rule whose scheme isEXTERNAL.
    /// Each source_ip_range entry should be either an IP address (for
    /// example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).
    #[prost(string, repeated, tag = "111563210")]
    pub source_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// This field identifies the subnetwork that the load balanced IP should
    /// belong to for this forwarding rule, used with internal load balancers and
    /// external passthrough Network Load Balancers with IPv6.
    ///
    /// If the network specified is in auto subnet mode, this field is optional.
    /// However, a subnetwork must be specified if the network is in custom subnet
    /// mode or when creating external forwarding rule with IPv6.
    #[prost(string, optional, tag = "307827694")]
    pub subnetwork: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the target resource to receive the matched traffic.  For
    /// regional forwarding rules, this target must be in the same region as the
    /// forwarding rule. For global forwarding rules, this target must be a global
    /// load balancing resource.
    ///
    /// The forwarded traffic must be of a type appropriate to the target object.
    ///
    /// ```text
    ///   -  For load balancers, see the "Target" column in [Port specifications](<https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications>).
    ///   -  For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle:
    ///
    ///
    ///          -  vpc-sc -  APIs that support VPC Service Controls.
    ///          -  all-apis - All supported Google APIs.
    ///
    ///
    ///   -  For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment.
    /// ```
    #[prost(string, optional, tag = "192835985")]
    pub target: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ForwardingRule`.
pub mod forwarding_rule {
    /// Specifies the canary migration state for the backend buckets attached to
    /// this forwarding rule. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
    /// TEST_ALL_TRAFFIC.
    ///
    /// To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be
    /// changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before
    /// the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the
    /// TEST_BY_PERCENTAGE state can be used to migrate traffic to backend buckets
    /// attached to this forwarding rule by percentage using
    /// externalManagedBackendBucketMigrationTestingPercentage.
    ///
    /// Rolling back a migration requires the states to be set in reverse order. So
    /// changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to
    /// be set to TEST_ALL_TRAFFIC at the same time. Optionally, the
    /// TEST_BY_PERCENTAGE state can be used to migrate some traffic back to
    /// EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ExternalManagedBackendBucketMigrationState {
        /// A value indicating that the enum field is not set.
        UndefinedExternalManagedBackendBucketMigrationState = 0,
        Prepare = 399612135,
        TestAllTraffic = 79728882,
        TestByPercentage = 513738389,
    }
    impl ExternalManagedBackendBucketMigrationState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedExternalManagedBackendBucketMigrationState => {
                    "UNDEFINED_EXTERNAL_MANAGED_BACKEND_BUCKET_MIGRATION_STATE"
                }
                Self::Prepare => "PREPARE",
                Self::TestAllTraffic => "TEST_ALL_TRAFFIC",
                Self::TestByPercentage => "TEST_BY_PERCENTAGE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_EXTERNAL_MANAGED_BACKEND_BUCKET_MIGRATION_STATE" => {
                    Some(Self::UndefinedExternalManagedBackendBucketMigrationState)
                }
                "PREPARE" => Some(Self::Prepare),
                "TEST_ALL_TRAFFIC" => Some(Self::TestAllTraffic),
                "TEST_BY_PERCENTAGE" => Some(Self::TestByPercentage),
                _ => None,
            }
        }
    }
    /// The IP protocol to which this rule applies.
    ///
    /// For protocol forwarding, valid
    /// options are TCP, UDP, ESP,AH, SCTP, ICMP andL3_DEFAULT.
    ///
    /// The valid IP protocols are different for different load balancing products
    /// as described in [Load balancing
    /// features](<https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends>).
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum IpProtocolEnum {
        /// A value indicating that the enum field is not set.
        UndefinedIPProtocolEnum = 0,
        Ah = 2087,
        Esp = 68962,
        Icmp = 2241597,
        L3Default = 48151369,
        Sctp = 2539724,
        Tcp = 82881,
        Udp = 83873,
    }
    impl IpProtocolEnum {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIPProtocolEnum => "UNDEFINED_I_P_PROTOCOL_ENUM",
                Self::Ah => "AH",
                Self::Esp => "ESP",
                Self::Icmp => "ICMP",
                Self::L3Default => "L3_DEFAULT",
                Self::Sctp => "SCTP",
                Self::Tcp => "TCP",
                Self::Udp => "UDP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_I_P_PROTOCOL_ENUM" => Some(Self::UndefinedIPProtocolEnum),
                "AH" => Some(Self::Ah),
                "ESP" => Some(Self::Esp),
                "ICMP" => Some(Self::Icmp),
                "L3_DEFAULT" => Some(Self::L3Default),
                "SCTP" => Some(Self::Sctp),
                "TCP" => Some(Self::Tcp),
                "UDP" => Some(Self::Udp),
                _ => None,
            }
        }
    }
    /// The IP Version that will be used by this forwarding rule.  Valid options
    /// are IPV4 or IPV6.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum IpVersion {
        /// A value indicating that the enum field is not set.
        UndefinedIpVersion = 0,
        Ipv4 = 2254341,
        Ipv6 = 2254343,
        UnspecifiedVersion = 21850000,
    }
    impl IpVersion {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpVersion => "UNDEFINED_IP_VERSION",
                Self::Ipv4 => "IPV4",
                Self::Ipv6 => "IPV6",
                Self::UnspecifiedVersion => "UNSPECIFIED_VERSION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IP_VERSION" => Some(Self::UndefinedIpVersion),
                "IPV4" => Some(Self::Ipv4),
                "IPV6" => Some(Self::Ipv6),
                "UNSPECIFIED_VERSION" => Some(Self::UnspecifiedVersion),
                _ => None,
            }
        }
    }
    /// Specifies the forwarding rule type.
    ///
    /// For more information about forwarding rules, refer to
    /// Forwarding rule concepts.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LoadBalancingScheme {
        /// A value indicating that the enum field is not set.
        UndefinedLoadBalancingScheme = 0,
        External = 35607499,
        ExternalManaged = 512006923,
        Internal = 279295677,
        InternalManaged = 37350397,
        InternalSelfManaged = 236211150,
        Invalid = 530283991,
    }
    impl LoadBalancingScheme {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLoadBalancingScheme => "UNDEFINED_LOAD_BALANCING_SCHEME",
                Self::External => "EXTERNAL",
                Self::ExternalManaged => "EXTERNAL_MANAGED",
                Self::Internal => "INTERNAL",
                Self::InternalManaged => "INTERNAL_MANAGED",
                Self::InternalSelfManaged => "INTERNAL_SELF_MANAGED",
                Self::Invalid => "INVALID",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LOAD_BALANCING_SCHEME" => {
                    Some(Self::UndefinedLoadBalancingScheme)
                }
                "EXTERNAL" => Some(Self::External),
                "EXTERNAL_MANAGED" => Some(Self::ExternalManaged),
                "INTERNAL" => Some(Self::Internal),
                "INTERNAL_MANAGED" => Some(Self::InternalManaged),
                "INTERNAL_SELF_MANAGED" => Some(Self::InternalSelfManaged),
                "INVALID" => Some(Self::Invalid),
                _ => None,
            }
        }
    }
    /// This signifies the networking tier used for configuring
    /// this load balancer and can only take the following values:PREMIUM, STANDARD.
    ///
    /// For regional ForwardingRule, the valid values are PREMIUM andSTANDARD. For GlobalForwardingRule, the valid value isPREMIUM.
    ///
    /// If this field is not specified, it is assumed to be PREMIUM.
    /// If IPAddress is specified, this value must be equal to the
    /// networkTier of the Address.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NetworkTier {
        /// A value indicating that the enum field is not set.
        UndefinedNetworkTier = 0,
        /// Public internet quality with fixed bandwidth.
        FixedStandard = 310464328,
        /// High quality, Google-grade network tier, support for all networking
        /// products.
        Premium = 399530551,
        /// Public internet quality, only limited support for other networking
        /// products.
        Standard = 484642493,
        /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
        /// is expired or not configured.
        StandardOverridesFixedStandard = 465847234,
    }
    impl NetworkTier {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNetworkTier => "UNDEFINED_NETWORK_TIER",
                Self::FixedStandard => "FIXED_STANDARD",
                Self::Premium => "PREMIUM",
                Self::Standard => "STANDARD",
                Self::StandardOverridesFixedStandard => {
                    "STANDARD_OVERRIDES_FIXED_STANDARD"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NETWORK_TIER" => Some(Self::UndefinedNetworkTier),
                "FIXED_STANDARD" => Some(Self::FixedStandard),
                "PREMIUM" => Some(Self::Premium),
                "STANDARD" => Some(Self::Standard),
                "STANDARD_OVERRIDES_FIXED_STANDARD" => {
                    Some(Self::StandardOverridesFixedStandard)
                }
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PscConnectionStatus {
        /// A value indicating that the enum field is not set.
        UndefinedPscConnectionStatus = 0,
        /// The connection has been accepted by the producer.
        Accepted = 246714279,
        /// The connection has been closed by the producer and will not serve traffic
        /// going forward.
        Closed = 380163436,
        /// The connection has been accepted by the producer, but the producer needs
        /// to take further action before the forwarding rule can serve traffic.
        NeedsAttention = 344491452,
        /// The connection is pending acceptance by the producer.
        Pending = 35394935,
        /// The connection has been rejected by the producer.
        Rejected = 174130302,
        StatusUnspecified = 42133066,
    }
    impl PscConnectionStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPscConnectionStatus => "UNDEFINED_PSC_CONNECTION_STATUS",
                Self::Accepted => "ACCEPTED",
                Self::Closed => "CLOSED",
                Self::NeedsAttention => "NEEDS_ATTENTION",
                Self::Pending => "PENDING",
                Self::Rejected => "REJECTED",
                Self::StatusUnspecified => "STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PSC_CONNECTION_STATUS" => {
                    Some(Self::UndefinedPscConnectionStatus)
                }
                "ACCEPTED" => Some(Self::Accepted),
                "CLOSED" => Some(Self::Closed),
                "NEEDS_ATTENTION" => Some(Self::NeedsAttention),
                "PENDING" => Some(Self::Pending),
                "REJECTED" => Some(Self::Rejected),
                "STATUS_UNSPECIFIED" => Some(Self::StatusUnspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ForwardingRuleAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of ForwardingRulesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ForwardingRulesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#forwardingRuleAggregatedList for lists of forwarding rules.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of ForwardingRule resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ForwardingRuleList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of ForwardingRule resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<ForwardingRule>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ForwardingRuleReference {
    #[prost(string, optional, tag = "269964030")]
    pub forwarding_rule: ::core::option::Option<::prost::alloc::string::String>,
}
/// Describes the auto-registration of the forwarding rule to Service Directory.
/// The region and project of the Service Directory resource generated from
/// this registration will be the same as this forwarding rule.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ForwardingRuleServiceDirectoryRegistration {
    /// Service Directory namespace to register the forwarding rule under.
    #[prost(string, optional, tag = "178476379")]
    pub namespace: ::core::option::Option<::prost::alloc::string::String>,
    /// Service Directory service to register the forwarding rule under.
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Optional\] Service Directory region to register this global forwarding
    /// rule under. Default to "us-central1". Only used for PSC for Google APIs.
    /// All PSC for Google APIs forwarding rules on the same network should use
    /// the same Service Directory region.
    #[prost(string, optional, tag = "74030416")]
    pub service_directory_region: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ForwardingRulesScopedList {
    /// A list of forwarding rules contained in this scope.
    #[prost(message, repeated, tag = "315821365")]
    pub forwarding_rules: ::prost::alloc::vec::Vec<ForwardingRule>,
    /// Informational warning which replaces the list of forwarding rules when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureReservation {
    /// Aggregate reservation details for the future reservation.
    #[prost(message, optional, tag = "291567948")]
    pub aggregate_reservation: ::core::option::Option<AllocationAggregateReservation>,
    /// Future timestamp when the FR auto-created reservations will be deleted by
    /// Compute Engine. Format of this field must be a valid
    /// href="<https://www.ietf.org/rfc/rfc3339.txt">RFC3339> value.
    #[prost(string, optional, tag = "242855120")]
    pub auto_created_reservations_delete_time: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies the duration of auto-created reservations.
    /// It represents relative time to future reservation start_time when
    /// auto-created reservations will be automatically deleted by Compute
    /// Engine. Duration time unit is represented as a count of seconds
    /// and fractions of seconds at nanosecond resolution.
    #[prost(message, optional, tag = "496244741")]
    pub auto_created_reservations_duration: ::core::option::Option<Duration>,
    /// Setting for enabling or disabling automatic deletion for auto-created
    /// reservation. If set to true, auto-created reservations will be
    /// deleted at Future Reservation's end time (default) or at user's defined
    /// timestamp if any of the
    /// \[auto_created_reservations_delete_time, auto_created_reservations_duration\]
    /// values is specified.
    /// For keeping auto-created reservation indefinitely, this value should be set
    /// to false.
    #[prost(bool, optional, tag = "491352490")]
    pub auto_delete_auto_created_reservations: ::core::option::Option<bool>,
    /// If not present, then FR will not deliver a new commitment or update an
    /// existing commitment.
    #[prost(message, optional, tag = "164362136")]
    pub commitment_info: ::core::option::Option<FutureReservationCommitmentInfo>,
    /// Check the ConfidentialComputeType enum for the list of possible values.
    #[prost(string, optional, tag = "386447257")]
    pub confidential_compute_type: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] The creation timestamp for this future reservation inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Type of the deployment requested as part of future reservation.
    /// Check the DeploymentType enum for the list of possible values.
    #[prost(string, optional, tag = "396722292")]
    pub deployment_type: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the future reservation.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates if this group of VMs have emergent maintenance enabled.
    #[prost(bool, optional, tag = "353759497")]
    pub enable_emergent_maintenance: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] A unique identifier for this future reservation. The server
    /// defines this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#futureReservation for future reservations.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the resource, provided by the client when initially creating
    /// the resource. The resource name must be 1-63 characters long, and comply
    /// withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Name prefix for the reservations to be created at the time of
    /// delivery. The name prefix must comply with RFC1035.
    /// Maximum allowed length for name prefix is 20. Automatically created
    /// reservations name format will be -date-####.
    #[prost(string, optional, tag = "236409542")]
    pub name_prefix: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<FutureReservationParams>,
    /// Planning state before being submitted for evaluation
    /// Check the PlanningStatus enum for the list of possible values.
    #[prost(string, optional, tag = "19714836")]
    pub planning_status: ::core::option::Option<::prost::alloc::string::String>,
    /// The reservation mode which determines reservation-termination behavior and
    /// expected pricing.
    /// Check the ReservationMode enum for the list of possible values.
    #[prost(string, optional, tag = "277294646")]
    pub reservation_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of reservations where the capacity is provisioned at the time of
    /// delivery of  future reservations. If the reservation with the given name
    /// does not exist already, it is created automatically at the time of Approval
    /// with INACTIVE state till specified start-time. Either provide the
    /// reservation_name or a name_prefix.
    #[prost(string, optional, tag = "277311262")]
    pub reservation_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Maintenance information for this reservation
    /// Check the SchedulingType enum for the list of possible values.
    #[prost(string, optional, tag = "199835397")]
    pub scheduling_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined fully-qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// List of Projects/Folders to share with.
    #[prost(message, optional, tag = "266668163")]
    pub share_settings: ::core::option::Option<ShareSettings>,
    /// Indicates whether the auto-created reservation can be consumed by VMs with
    /// affinity for "any" reservation. If the field is set, then only VMs that
    /// target the reservation by name can consume from the delivered reservation.
    #[prost(bool, optional, tag = "226550687")]
    pub specific_reservation_required: ::core::option::Option<bool>,
    /// Future Reservation configuration to indicate instance properties and
    /// total count.
    #[prost(message, optional, tag = "108887106")]
    pub specific_sku_properties: ::core::option::Option<
        FutureReservationSpecificSkuProperties,
    >,
    /// Output only. \[Output only\] Status of the Future Reservation
    #[prost(message, optional, tag = "181260274")]
    pub status: ::core::option::Option<FutureReservationStatus>,
    /// Time window for this Future Reservation.
    #[prost(message, optional, tag = "422983074")]
    pub time_window: ::core::option::Option<FutureReservationTimeWindow>,
    /// Output only. \[Output Only\] URL of the Zone where this future reservation resides.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `FutureReservation`.
pub mod future_reservation {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ConfidentialComputeType {
        /// A value indicating that the enum field is not set.
        UndefinedConfidentialComputeType = 0,
        /// Intel Trust Domain Extensions.
        Tdx = 301241954,
        Unspecified = 42227601,
    }
    impl ConfidentialComputeType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedConfidentialComputeType => {
                    "UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE"
                }
                Self::Tdx => "CONFIDENTIAL_COMPUTE_TYPE_TDX",
                Self::Unspecified => "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE" => {
                    Some(Self::UndefinedConfidentialComputeType)
                }
                "CONFIDENTIAL_COMPUTE_TYPE_TDX" => Some(Self::Tdx),
                "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
    /// Type of the deployment requested as part of future reservation.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DeploymentType {
        /// A value indicating that the enum field is not set.
        UndefinedDeploymentType = 0,
        /// The reserved capacity is made up of densely deployed reservation blocks.
        Dense = 64932607,
        Unspecified = 234847180,
    }
    impl DeploymentType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDeploymentType => "UNDEFINED_DEPLOYMENT_TYPE",
                Self::Dense => "DENSE",
                Self::Unspecified => "DEPLOYMENT_TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DEPLOYMENT_TYPE" => Some(Self::UndefinedDeploymentType),
                "DENSE" => Some(Self::Dense),
                "DEPLOYMENT_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
    /// Planning state before being submitted for evaluation
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PlanningStatus {
        /// A value indicating that the enum field is not set.
        UndefinedPlanningStatus = 0,
        /// Future Reservation is being drafted.
        Draft = 65307009,
        Unspecified = 252728940,
        /// Future Reservation has been submitted for evaluation by GCP.
        Submitted = 450918619,
    }
    impl PlanningStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPlanningStatus => "UNDEFINED_PLANNING_STATUS",
                Self::Draft => "DRAFT",
                Self::Unspecified => "PLANNING_STATUS_UNSPECIFIED",
                Self::Submitted => "SUBMITTED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PLANNING_STATUS" => Some(Self::UndefinedPlanningStatus),
                "DRAFT" => Some(Self::Draft),
                "PLANNING_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                "SUBMITTED" => Some(Self::Submitted),
                _ => None,
            }
        }
    }
    /// The reservation mode which determines reservation-termination behavior and
    /// expected pricing.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ReservationMode {
        /// A value indicating that the enum field is not set.
        UndefinedReservationMode = 0,
        /// The delivered reservations will delivered at specified start time and
        /// terminated at specified end time along with terminating the VMs running
        /// on it.
        Calendar = 67431230,
        /// The delivered reservations do not terminate VMs at the end of
        /// reservations. This is default mode.
        Default = 115302945,
        Unspecified = 233810606,
    }
    impl ReservationMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedReservationMode => "UNDEFINED_RESERVATION_MODE",
                Self::Calendar => "CALENDAR",
                Self::Default => "DEFAULT",
                Self::Unspecified => "RESERVATION_MODE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_RESERVATION_MODE" => Some(Self::UndefinedReservationMode),
                "CALENDAR" => Some(Self::Calendar),
                "DEFAULT" => Some(Self::Default),
                "RESERVATION_MODE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
    /// Maintenance information for this reservation
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SchedulingType {
        /// A value indicating that the enum field is not set.
        UndefinedSchedulingType = 0,
        /// Maintenance on all reserved instances in the reservation is synchronized.
        Grouped = 474540862,
        /// Unknown maintenance type.
        GroupMaintenanceTypeUnspecified = 447183678,
        /// Maintenance is not synchronized for this reservation. Instead, each
        /// instance has its own maintenance window.
        Independent = 127011674,
    }
    impl SchedulingType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSchedulingType => "UNDEFINED_SCHEDULING_TYPE",
                Self::Grouped => "GROUPED",
                Self::GroupMaintenanceTypeUnspecified => {
                    "GROUP_MAINTENANCE_TYPE_UNSPECIFIED"
                }
                Self::Independent => "INDEPENDENT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SCHEDULING_TYPE" => Some(Self::UndefinedSchedulingType),
                "GROUPED" => Some(Self::Grouped),
                "GROUP_MAINTENANCE_TYPE_UNSPECIFIED" => {
                    Some(Self::GroupMaintenanceTypeUnspecified)
                }
                "INDEPENDENT" => Some(Self::Independent),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FutureReservationCommitmentInfo {
    /// name of the commitment where capacity is being delivered to.
    #[prost(string, optional, tag = "164498805")]
    pub commitment_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates if a Commitment needs to be created as part of FR delivery. If
    /// this field is not present, then no
    /// commitment needs to be created.
    /// Check the CommitmentPlan enum for the list of possible values.
    #[prost(string, optional, tag = "164568595")]
    pub commitment_plan: ::core::option::Option<::prost::alloc::string::String>,
    /// Only applicable if FR is delivering to the same reservation. If set, all
    /// parent commitments will be extended to match the end date of the plan for
    /// this commitment.
    /// Check the PreviousCommitmentTerms enum for the list of possible values.
    #[prost(string, optional, tag = "447490085")]
    pub previous_commitment_terms: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Nested message and enum types in `FutureReservationCommitmentInfo`.
pub mod future_reservation_commitment_info {
    /// Indicates if a Commitment needs to be created as part of FR delivery. If
    /// this field is not present, then no
    /// commitment needs to be created.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CommitmentPlan {
        /// A value indicating that the enum field is not set.
        UndefinedCommitmentPlan = 0,
        Invalid = 530283991,
        ThirtySixMonth = 266295942,
        TwelveMonth = 173083962,
    }
    impl CommitmentPlan {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCommitmentPlan => "UNDEFINED_COMMITMENT_PLAN",
                Self::Invalid => "INVALID",
                Self::ThirtySixMonth => "THIRTY_SIX_MONTH",
                Self::TwelveMonth => "TWELVE_MONTH",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_COMMITMENT_PLAN" => Some(Self::UndefinedCommitmentPlan),
                "INVALID" => Some(Self::Invalid),
                "THIRTY_SIX_MONTH" => Some(Self::ThirtySixMonth),
                "TWELVE_MONTH" => Some(Self::TwelveMonth),
                _ => None,
            }
        }
    }
    /// Only applicable if FR is delivering to the same reservation. If set, all
    /// parent commitments will be extended to match the end date of the plan for
    /// this commitment.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PreviousCommitmentTerms {
        /// A value indicating that the enum field is not set.
        UndefinedPreviousCommitmentTerms = 0,
        /// All associated parent Committed Used Discount(s) end-date/term will be
        /// extended to the end-time of this future reservation. Default is to
        /// extend previous commitment(s) time to the end_time of the reservation.
        Extend = 448639770,
        /// No changes to associated parents Committed Used Discount(s) terms.
        PreviouscommitmenttermUnspecified = 98482448,
    }
    impl PreviousCommitmentTerms {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPreviousCommitmentTerms => {
                    "UNDEFINED_PREVIOUS_COMMITMENT_TERMS"
                }
                Self::Extend => "EXTEND",
                Self::PreviouscommitmenttermUnspecified => {
                    "PREVIOUSCOMMITMENTTERM_UNSPECIFIED"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PREVIOUS_COMMITMENT_TERMS" => {
                    Some(Self::UndefinedPreviousCommitmentTerms)
                }
                "EXTEND" => Some(Self::Extend),
                "PREVIOUSCOMMITMENTTERM_UNSPECIFIED" => {
                    Some(Self::PreviouscommitmenttermUnspecified)
                }
                _ => None,
            }
        }
    }
}
/// Additional future reservation params.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureReservationParams {
    /// Input only. Resource manager tags to be bound to the future reservation. Tag keys and
    /// values have the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
    /// namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureReservationSpecificSkuProperties {
    /// Properties of the SKU instances being reserved.
    #[prost(message, optional, tag = "215355165")]
    pub instance_properties: ::core::option::Option<
        AllocationSpecificSkuAllocationReservedInstanceProperties,
    >,
    /// The instance template that will be used to populate the
    /// ReservedInstanceProperties of the future reservation
    #[prost(string, optional, tag = "332423616")]
    pub source_instance_template: ::core::option::Option<::prost::alloc::string::String>,
    /// Total number of instances for which capacity assurance is requested at a
    /// future time period.
    #[prost(int64, optional, tag = "129109076")]
    pub total_count: ::core::option::Option<i64>,
}
/// \[Output only\] Represents status related to the future reservation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureReservationStatus {
    /// Output only. \[Output Only\] The current status of the requested amendment.
    /// Check the AmendmentStatus enum for the list of possible values.
    #[prost(string, optional, tag = "250270052")]
    pub amendment_status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Fully qualified urls of the automatically created reservations at
    /// start_time.
    #[prost(string, repeated, tag = "140217006")]
    pub auto_created_reservations: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Represents the existing matching usage for the future
    /// reservation.
    #[prost(message, optional, tag = "509920602")]
    pub existing_matching_usage_info: ::core::option::Option<
        FutureReservationStatusExistingMatchingUsageInfo,
    >,
    /// Output only. This count indicates the fulfilled capacity so far. This is set during
    /// "PROVISIONING" state. This count also includes capacity delivered as part
    /// of existing matching reservations.
    #[prost(int64, optional, tag = "319392239")]
    pub fulfilled_count: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] This field represents the future reservation before an
    /// amendment was requested. If the amendment is declined, the Future
    /// Reservation will be reverted to the last known good state. The last known
    /// good state is not set when updating a future reservation whose
    /// Procurement Status is DRAFTING.
    #[prost(message, optional, tag = "192819092")]
    pub last_known_good_state: ::core::option::Option<
        FutureReservationStatusLastKnownGoodState,
    >,
    /// Output only. Time when Future Reservation would become LOCKED, after which no
    /// modifications to Future Reservation will be allowed. Applicable only
    /// after the Future Reservation is in the APPROVED state. The lock_time is
    /// an RFC3339 string. The procurement_status will transition to PROCURING
    /// state at this time.
    #[prost(string, optional, tag = "143772001")]
    pub lock_time: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Current state of this Future Reservation
    /// Check the ProcurementStatus enum for the list of possible values.
    #[prost(string, optional, tag = "224718945")]
    pub procurement_status: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "108887106")]
    pub specific_sku_properties: ::core::option::Option<
        FutureReservationStatusSpecificSkuProperties,
    >,
}
/// Nested message and enum types in `FutureReservationStatus`.
pub mod future_reservation_status {
    /// Output only. \[Output Only\] The current status of the requested amendment.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AmendmentStatus {
        /// A value indicating that the enum field is not set.
        UndefinedAmendmentStatus = 0,
        /// The requested amendment to the Future Resevation has been approved and
        /// applied by GCP.
        AmendmentApproved = 150573001,
        /// The requested amendment to the Future Reservation has been declined by
        /// GCP and the original state was restored.
        AmendmentDeclined = 70395200,
        /// The requested amendment to the Future Reservation is currently being
        /// reviewd by GCP.
        AmendmentInReview = 25830624,
        Unspecified = 412250332,
    }
    impl AmendmentStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAmendmentStatus => "UNDEFINED_AMENDMENT_STATUS",
                Self::AmendmentApproved => "AMENDMENT_APPROVED",
                Self::AmendmentDeclined => "AMENDMENT_DECLINED",
                Self::AmendmentInReview => "AMENDMENT_IN_REVIEW",
                Self::Unspecified => "AMENDMENT_STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AMENDMENT_STATUS" => Some(Self::UndefinedAmendmentStatus),
                "AMENDMENT_APPROVED" => Some(Self::AmendmentApproved),
                "AMENDMENT_DECLINED" => Some(Self::AmendmentDeclined),
                "AMENDMENT_IN_REVIEW" => Some(Self::AmendmentInReview),
                "AMENDMENT_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
    /// Output only. Current state of this Future Reservation
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProcurementStatus {
        /// A value indicating that the enum field is not set.
        UndefinedProcurementStatus = 0,
        /// Future reservation is approved by GCP.
        Approved = 357258935,
        /// Future reservation is cancelled by the customer.
        Cancelled = 41957681,
        /// Future reservation is committed by the customer.
        Committed = 221710172,
        /// Future reservation is rejected by GCP.
        Declined = 277081134,
        /// Related status for PlanningStatus.Draft. Transitions to
        /// PENDING_APPROVAL upon user submitting FR.
        Drafting = 477863585,
        /// Future reservation failed. No additional reservations were provided.
        Failed = 455706685,
        /// Future reservation is partially fulfilled. Additional reservations were
        /// provided but did not reach total_count reserved instance slots.
        FailedPartiallyFulfilled = 14455212,
        /// Future reservation is fulfilled completely.
        Fulfilled = 409958655,
        /// An Amendment to the Future Reservation has been requested. If the
        /// Amendment is declined, the Future Reservation will be restored to the
        /// last known good state.
        PendingAmendmentApproval = 510150429,
        /// Future reservation is pending approval by GCP.
        PendingApproval = 209692683,
        Unspecified = 45807705,
        /// Future reservation is being procured by GCP. Beyond this point, Future
        /// reservation is locked and no further modifications are allowed.
        Procuring = 95959663,
        /// Future reservation capacity is being provisioned. This state will be
        /// entered after start_time, while reservations are being created to
        /// provide total_count reserved instance slots. This state will not
        /// persist past start_time + 24h.
        Provisioning = 290896621,
    }
    impl ProcurementStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProcurementStatus => "UNDEFINED_PROCUREMENT_STATUS",
                Self::Approved => "APPROVED",
                Self::Cancelled => "CANCELLED",
                Self::Committed => "COMMITTED",
                Self::Declined => "DECLINED",
                Self::Drafting => "DRAFTING",
                Self::Failed => "FAILED",
                Self::FailedPartiallyFulfilled => "FAILED_PARTIALLY_FULFILLED",
                Self::Fulfilled => "FULFILLED",
                Self::PendingAmendmentApproval => "PENDING_AMENDMENT_APPROVAL",
                Self::PendingApproval => "PENDING_APPROVAL",
                Self::Unspecified => "PROCUREMENT_STATUS_UNSPECIFIED",
                Self::Procuring => "PROCURING",
                Self::Provisioning => "PROVISIONING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROCUREMENT_STATUS" => Some(Self::UndefinedProcurementStatus),
                "APPROVED" => Some(Self::Approved),
                "CANCELLED" => Some(Self::Cancelled),
                "COMMITTED" => Some(Self::Committed),
                "DECLINED" => Some(Self::Declined),
                "DRAFTING" => Some(Self::Drafting),
                "FAILED" => Some(Self::Failed),
                "FAILED_PARTIALLY_FULFILLED" => Some(Self::FailedPartiallyFulfilled),
                "FULFILLED" => Some(Self::Fulfilled),
                "PENDING_AMENDMENT_APPROVAL" => Some(Self::PendingAmendmentApproval),
                "PENDING_APPROVAL" => Some(Self::PendingApproval),
                "PROCUREMENT_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                "PROCURING" => Some(Self::Procuring),
                "PROVISIONING" => Some(Self::Provisioning),
                _ => None,
            }
        }
    }
}
/// \[Output Only\] Represents the existing matching usage for the future
/// reservation.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FutureReservationStatusExistingMatchingUsageInfo {
    /// Output only. Count to represent min(FR total_count,
    /// matching_reserved_capacity+matching_unreserved_instances)
    #[prost(int64, optional, tag = "94851343")]
    pub count: ::core::option::Option<i64>,
    /// Output only. Timestamp when the matching usage was calculated
    #[prost(string, optional, tag = "55126294")]
    pub timestamp: ::core::option::Option<::prost::alloc::string::String>,
}
/// The state that the future reservation will be reverted to should the
/// amendment be declined.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureReservationStatusLastKnownGoodState {
    /// Output only. \[Output Only\] The description of the FutureReservation before an
    /// amendment was requested.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Represents the matching usage for the future
    /// reservation before an amendment was requested.
    #[prost(message, optional, tag = "509920602")]
    pub existing_matching_usage_info: ::core::option::Option<
        FutureReservationStatusExistingMatchingUsageInfo,
    >,
    #[prost(message, optional, tag = "82528873")]
    pub future_reservation_specs: ::core::option::Option<
        FutureReservationStatusLastKnownGoodStateFutureReservationSpecs,
    >,
    /// Output only. \[Output Only\] The lock time of the FutureReservation before an
    /// amendment was requested.
    #[prost(string, optional, tag = "143772001")]
    pub lock_time: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name prefix of the Future Reservation before an
    /// amendment was requested.
    #[prost(string, optional, tag = "236409542")]
    pub name_prefix: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The status of the last known good state for the Future
    /// Reservation.
    /// Check the ProcurementStatus enum for the list of possible values.
    #[prost(string, optional, tag = "224718945")]
    pub procurement_status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `FutureReservationStatusLastKnownGoodState`.
pub mod future_reservation_status_last_known_good_state {
    /// Output only. \[Output Only\] The status of the last known good state for the Future
    /// Reservation.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProcurementStatus {
        /// A value indicating that the enum field is not set.
        UndefinedProcurementStatus = 0,
        /// Future reservation is approved by GCP.
        Approved = 357258935,
        /// Future reservation is cancelled by the customer.
        Cancelled = 41957681,
        /// Future reservation is committed by the customer.
        Committed = 221710172,
        /// Future reservation is rejected by GCP.
        Declined = 277081134,
        /// Related status for PlanningStatus.Draft. Transitions to
        /// PENDING_APPROVAL upon user submitting FR.
        Drafting = 477863585,
        /// Future reservation failed. No additional reservations were provided.
        Failed = 455706685,
        /// Future reservation is partially fulfilled. Additional reservations were
        /// provided but did not reach total_count reserved instance slots.
        FailedPartiallyFulfilled = 14455212,
        /// Future reservation is fulfilled completely.
        Fulfilled = 409958655,
        /// An Amendment to the Future Reservation has been requested. If the
        /// Amendment is declined, the Future Reservation will be restored to the
        /// last known good state.
        PendingAmendmentApproval = 510150429,
        /// Future reservation is pending approval by GCP.
        PendingApproval = 209692683,
        Unspecified = 45807705,
        /// Future reservation is being procured by GCP. Beyond this point, Future
        /// reservation is locked and no further modifications are allowed.
        Procuring = 95959663,
        /// Future reservation capacity is being provisioned. This state will be
        /// entered after start_time, while reservations are being created to
        /// provide total_count reserved instance slots. This state will not
        /// persist past start_time + 24h.
        Provisioning = 290896621,
    }
    impl ProcurementStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProcurementStatus => "UNDEFINED_PROCUREMENT_STATUS",
                Self::Approved => "APPROVED",
                Self::Cancelled => "CANCELLED",
                Self::Committed => "COMMITTED",
                Self::Declined => "DECLINED",
                Self::Drafting => "DRAFTING",
                Self::Failed => "FAILED",
                Self::FailedPartiallyFulfilled => "FAILED_PARTIALLY_FULFILLED",
                Self::Fulfilled => "FULFILLED",
                Self::PendingAmendmentApproval => "PENDING_AMENDMENT_APPROVAL",
                Self::PendingApproval => "PENDING_APPROVAL",
                Self::Unspecified => "PROCUREMENT_STATUS_UNSPECIFIED",
                Self::Procuring => "PROCURING",
                Self::Provisioning => "PROVISIONING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROCUREMENT_STATUS" => Some(Self::UndefinedProcurementStatus),
                "APPROVED" => Some(Self::Approved),
                "CANCELLED" => Some(Self::Cancelled),
                "COMMITTED" => Some(Self::Committed),
                "DECLINED" => Some(Self::Declined),
                "DRAFTING" => Some(Self::Drafting),
                "FAILED" => Some(Self::Failed),
                "FAILED_PARTIALLY_FULFILLED" => Some(Self::FailedPartiallyFulfilled),
                "FULFILLED" => Some(Self::Fulfilled),
                "PENDING_AMENDMENT_APPROVAL" => Some(Self::PendingAmendmentApproval),
                "PENDING_APPROVAL" => Some(Self::PendingApproval),
                "PROCUREMENT_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                "PROCURING" => Some(Self::Procuring),
                "PROVISIONING" => Some(Self::Provisioning),
                _ => None,
            }
        }
    }
}
/// The properties of the last known good state for the Future Reservation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureReservationStatusLastKnownGoodStateFutureReservationSpecs {
    /// Output only. \[Output Only\] The previous share settings of the Future Reservation.
    #[prost(message, optional, tag = "266668163")]
    pub share_settings: ::core::option::Option<ShareSettings>,
    /// Output only. \[Output Only\] The previous instance related properties of the
    /// Future Reservation.
    #[prost(message, optional, tag = "108887106")]
    pub specific_sku_properties: ::core::option::Option<
        FutureReservationSpecificSkuProperties,
    >,
    /// Output only. \[Output Only\] The previous time window of the Future Reservation.
    #[prost(message, optional, tag = "422983074")]
    pub time_window: ::core::option::Option<FutureReservationTimeWindow>,
}
/// Properties to be set for the Future Reservation.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FutureReservationStatusSpecificSkuProperties {
    /// ID of the instance template used to populate the Future Reservation
    /// properties.
    #[prost(string, optional, tag = "111196154")]
    pub source_instance_template_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FutureReservationTimeWindow {
    #[prost(message, optional, tag = "155471252")]
    pub duration: ::core::option::Option<Duration>,
    #[prost(string, optional, tag = "114938801")]
    pub end_time: ::core::option::Option<::prost::alloc::string::String>,
    /// Start time of the Future Reservation. The start_time is an RFC3339
    /// string.
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains a list of future reservations.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureReservationsAggregatedListResponse {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Future reservation resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        FutureReservationsScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#futureReservationsAggregatedListResponse for future
    /// resevation aggregated list response.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureReservationsListResponse {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of future reservation resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<FutureReservation>,
    /// Output only. \[Output Only\] Type of resource.Alwayscompute#FutureReservationsListResponse for lists of
    /// reservations
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureReservationsScopedList {
    /// A list of future reservations contained in this scope.
    #[prost(message, repeated, tag = "131778339")]
    pub future_reservations: ::prost::alloc::vec::Vec<FutureReservation>,
    /// Informational warning which replaces the list of future reservations when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Recommendation for single resources specification, to be created in the
/// future.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureResourcesRecommendation {
    #[prost(string, optional, tag = "114938801")]
    pub end_time: ::core::option::Option<::prost::alloc::string::String>,
    /// The advised location for resource usage. When a zone, in format
    /// 'zones/'.
    /// If not set, it means that no location is recommended - see
    /// other_locations for details.
    #[prost(string, optional, tag = "290430901")]
    pub location: ::core::option::Option<::prost::alloc::string::String>,
    /// List of locations in the request scope that were not
    /// recommended. Keys of the map are zones, in format 'zones/'.
    /// The values are status information indicating the recommendation status.
    #[prost(map = "string, message", tag = "179322095")]
    pub other_locations: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        FutureResourcesRecommendationOtherLocation,
    >,
    /// Unique id of the recommendation, a UUID string generated by the API.
    #[prost(string, optional, tag = "474540897")]
    pub recommendation_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Type of recommendation. Currently only FUTURE_RESERVATION is supported.
    /// Check the RecommendationType enum for the list of possible values.
    #[prost(string, optional, tag = "230749184")]
    pub recommendation_type: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `FutureResourcesRecommendation`.
pub mod future_resources_recommendation {
    /// Type of recommendation. Currently only FUTURE_RESERVATION is supported.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RecommendationType {
        /// A value indicating that the enum field is not set.
        UndefinedRecommendationType = 0,
        /// A Future Reservation is recommended.
        FutureReservation = 41036592,
        /// Default value, unused.
        Unspecified = 140641624,
    }
    impl RecommendationType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRecommendationType => "UNDEFINED_RECOMMENDATION_TYPE",
                Self::FutureReservation => "FUTURE_RESERVATION",
                Self::Unspecified => "RECOMMENDATION_TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_RECOMMENDATION_TYPE" => {
                    Some(Self::UndefinedRecommendationType)
                }
                "FUTURE_RESERVATION" => Some(Self::FutureReservation),
                "RECOMMENDATION_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Information about recommendation status for locations
/// that were allowed but not used by the response.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FutureResourcesRecommendationOtherLocation {
    /// Details (human readable) describing the situation.
    /// For example, if status is CONDITION_NOT_MET, then
    /// details contain information about the parameters of the time window
    /// that did not meet the required conditions.
    #[prost(string, optional, tag = "483979842")]
    pub details: ::core::option::Option<::prost::alloc::string::String>,
    /// Status of recommendation in this location.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `FutureResourcesRecommendationOtherLocation`.
pub mod future_resources_recommendation_other_location {
    /// Status of recommendation in this location.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The requested resources are offered in this location
        /// but the requested time window is does not meet the required conditions.
        ConditionsNotMet = 363628457,
        /// The requested resources are not offered in this location.
        /// Retrying the request will not change this status.
        NotSupported = 317950466,
        /// The requested resources are offered in this location
        /// and the requested time window is accepted
        /// but there is no capacity within the requested time window.
        NoCapacity = 274240888,
        /// Default value, unused.
        OtherLocationStatusUndefined = 222662622,
        /// The requested resources are offered in this location
        /// and it is possible to request them. However, another location
        /// was better and was recommended.
        Recommended = 369652283,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::ConditionsNotMet => "CONDITIONS_NOT_MET",
                Self::NotSupported => "NOT_SUPPORTED",
                Self::NoCapacity => "NO_CAPACITY",
                Self::OtherLocationStatusUndefined => "OTHER_LOCATION_STATUS_UNDEFINED",
                Self::Recommended => "RECOMMENDED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CONDITIONS_NOT_MET" => Some(Self::ConditionsNotMet),
                "NOT_SUPPORTED" => Some(Self::NotSupported),
                "NO_CAPACITY" => Some(Self::NoCapacity),
                "OTHER_LOCATION_STATUS_UNDEFINED" => {
                    Some(Self::OtherLocationStatusUndefined)
                }
                "RECOMMENDED" => Some(Self::Recommended),
                _ => None,
            }
        }
    }
}
/// Specification of resources to be created at some time in the future within an
/// optionally specified set of locations, and within the specified time range.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureResourcesSpec {
    /// Indicates if the reservation allocation strategy is static (DENSE) or
    /// dynamic (STANDARD). Defaults to DENSE.
    /// Check the DeploymentType enum for the list of possible values.
    #[prost(string, optional, tag = "396722292")]
    pub deployment_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional location policy allowing to exclude some zone(s) in which
    /// the resources must not be created.
    #[prost(message, optional, tag = "465689852")]
    pub location_policy: ::core::option::Option<FutureResourcesSpecLocationPolicy>,
    /// Specification of the reserved resources.
    #[prost(message, optional, tag = "528230647")]
    pub target_resources: ::core::option::Option<FutureResourcesSpecTargetResources>,
    /// Specification of a time range in which the resources may be created.
    /// The time range specifies start of resource use and planned end of resource
    /// use.
    #[prost(message, optional, tag = "116516399")]
    pub time_range_spec: ::core::option::Option<FlexibleTimeRange>,
}
/// Nested message and enum types in `FutureResourcesSpec`.
pub mod future_resources_spec {
    /// Indicates if the reservation allocation strategy is static (DENSE) or
    /// dynamic (STANDARD). Defaults to DENSE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DeploymentType {
        /// A value indicating that the enum field is not set.
        UndefinedDeploymentType = 0,
        /// The reserved capacity is made up of densely deployed reservation blocks.
        Dense = 64932607,
        Unspecified = 234847180,
    }
    impl DeploymentType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDeploymentType => "UNDEFINED_DEPLOYMENT_TYPE",
                Self::Dense => "DENSE",
                Self::Unspecified => "DEPLOYMENT_TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DEPLOYMENT_TYPE" => Some(Self::UndefinedDeploymentType),
                "DENSE" => Some(Self::Dense),
                "DEPLOYMENT_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FutureResourcesSpecAggregateResources {
    /// Size of the request, in accelerator (chip) count.
    #[prost(int64, optional, tag = "504879675")]
    pub accelerator_count: ::core::option::Option<i64>,
    /// The VM family that all instances scheduled against this reservation
    /// must belong to. Use for TPU reservations.
    /// Check the VmFamily enum for the list of possible values.
    #[prost(string, optional, tag = "125017580")]
    pub vm_family: ::core::option::Option<::prost::alloc::string::String>,
    /// Workload type. Use for TPU reservations.
    /// Check the WorkloadType enum for the list of possible values.
    #[prost(string, optional, tag = "273432322")]
    pub workload_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `FutureResourcesSpecAggregateResources`.
pub mod future_resources_spec_aggregate_resources {
    /// The VM family that all instances scheduled against this reservation
    /// must belong to. Use for TPU reservations.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum VmFamily {
        /// A value indicating that the enum field is not set.
        UndefinedVmFamily = 0,
        CloudTpuDeviceCt3 = 42845948,
        CloudTpuLiteDeviceCt5l = 108020067,
        CloudTpuLitePodSliceCt5lp = 18705267,
        CloudTpuLitePodSliceCt6e = 398926997,
        CloudTpuPodSliceCt3p = 517384376,
        CloudTpuPodSliceCt4p = 517384407,
        CloudTpuPodSliceCt5p = 517384438,
        CloudTpuPodSliceTpu7x = 485271888,
    }
    impl VmFamily {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedVmFamily => "UNDEFINED_VM_FAMILY",
                Self::CloudTpuDeviceCt3 => "VM_FAMILY_CLOUD_TPU_DEVICE_CT3",
                Self::CloudTpuLiteDeviceCt5l => "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L",
                Self::CloudTpuLitePodSliceCt5lp => {
                    "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP"
                }
                Self::CloudTpuLitePodSliceCt6e => {
                    "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E"
                }
                Self::CloudTpuPodSliceCt3p => "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P",
                Self::CloudTpuPodSliceCt4p => "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P",
                Self::CloudTpuPodSliceCt5p => "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P",
                Self::CloudTpuPodSliceTpu7x => "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_VM_FAMILY" => Some(Self::UndefinedVmFamily),
                "VM_FAMILY_CLOUD_TPU_DEVICE_CT3" => Some(Self::CloudTpuDeviceCt3),
                "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L" => {
                    Some(Self::CloudTpuLiteDeviceCt5l)
                }
                "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP" => {
                    Some(Self::CloudTpuLitePodSliceCt5lp)
                }
                "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E" => {
                    Some(Self::CloudTpuLitePodSliceCt6e)
                }
                "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P" => Some(Self::CloudTpuPodSliceCt3p),
                "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P" => Some(Self::CloudTpuPodSliceCt4p),
                "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P" => Some(Self::CloudTpuPodSliceCt5p),
                "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X" => {
                    Some(Self::CloudTpuPodSliceTpu7x)
                }
                _ => None,
            }
        }
    }
    /// Workload type. Use for TPU reservations.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum WorkloadType {
        /// A value indicating that the enum field is not set.
        UndefinedWorkloadType = 0,
        /// Reserved resources will be optimized for BATCH workloads, such as ML
        /// training.
        Batch = 62971674,
        /// Reserved resources will be optimized for SERVING workloads, such as ML
        /// inference.
        Serving = 17781740,
        Unspecified = 526786327,
    }
    impl WorkloadType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedWorkloadType => "UNDEFINED_WORKLOAD_TYPE",
                Self::Batch => "BATCH",
                Self::Serving => "SERVING",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_WORKLOAD_TYPE" => Some(Self::UndefinedWorkloadType),
                "BATCH" => Some(Self::Batch),
                "SERVING" => Some(Self::Serving),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FutureResourcesSpecLocalSsdPartition {
    /// Disk interface. Defaults to SCSI.
    /// Check the DiskInterface enum for the list of possible values.
    #[prost(string, optional, tag = "66770199")]
    pub disk_interface: ::core::option::Option<::prost::alloc::string::String>,
    /// The size of the disk in GB.
    #[prost(int64, optional, tag = "316263735")]
    pub disk_size_gb: ::core::option::Option<i64>,
}
/// Nested message and enum types in `FutureResourcesSpecLocalSsdPartition`.
pub mod future_resources_spec_local_ssd_partition {
    /// Disk interface. Defaults to SCSI.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DiskInterface {
        /// A value indicating that the enum field is not set.
        UndefinedDiskInterface = 0,
        Nvme = 2408800,
        Scsi = 2539686,
    }
    impl DiskInterface {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDiskInterface => "UNDEFINED_DISK_INTERFACE",
                Self::Nvme => "NVME",
                Self::Scsi => "SCSI",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DISK_INTERFACE" => Some(Self::UndefinedDiskInterface),
                "NVME" => Some(Self::Nvme),
                "SCSI" => Some(Self::Scsi),
                _ => None,
            }
        }
    }
}
/// Specification of locations to create resources in.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureResourcesSpecLocationPolicy {
    /// Preferences for specified locations.
    /// Keys of the map are locations - zones, in format of 'zones/'.
    /// Values are preferences for the zones.
    /// If a zone is not specified in this map, it is ALLOWed.
    #[prost(map = "string, message", tag = "413423454")]
    pub locations: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        FutureResourcesSpecLocationPolicyLocation,
    >,
}
/// Preference for a single specified location.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FutureResourcesSpecLocationPolicyLocation {
    /// Preference for this location.
    /// Check the Preference enum for the list of possible values.
    #[prost(string, optional, tag = "150781147")]
    pub preference: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `FutureResourcesSpecLocationPolicyLocation`.
pub mod future_resources_spec_location_policy_location {
    /// Preference for this location.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Preference {
        /// A value indicating that the enum field is not set.
        UndefinedPreference = 0,
        /// Location is allowed for use.
        Allow = 62368553,
        /// Location is prohibited.
        Deny = 2094604,
        /// Default value, unused.
        Unspecified = 496219571,
    }
    impl Preference {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPreference => "UNDEFINED_PREFERENCE",
                Self::Allow => "ALLOW",
                Self::Deny => "DENY",
                Self::Unspecified => "PREFERENCE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PREFERENCE" => Some(Self::UndefinedPreference),
                "ALLOW" => Some(Self::Allow),
                "DENY" => Some(Self::Deny),
                "PREFERENCE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureResourcesSpecSpecificSkuResources {
    /// Size of the request, in instance count.
    #[prost(int64, optional, tag = "77317349")]
    pub instance_count: ::core::option::Option<i64>,
    /// Local SSD partitions. You do not have to include SSD partitions that
    /// are built in the machine type.
    #[prost(message, repeated, tag = "470688568")]
    pub local_ssd_partitions: ::prost::alloc::vec::Vec<
        FutureResourcesSpecLocalSsdPartition,
    >,
    /// The machine type to use for instances that will use the reservation.
    /// This field only accepts machine type names. e.g. n2-standard-4
    /// and does not accept machine type full or partial url. e.g.
    /// projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4.
    /// Use for GPU reservations.
    #[prost(string, optional, tag = "227711026")]
    pub machine_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Specification of reserved resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FutureResourcesSpecTargetResources {
    #[prost(message, optional, tag = "180868005")]
    pub aggregate_resources: ::core::option::Option<
        FutureResourcesSpecAggregateResources,
    >,
    #[prost(message, optional, tag = "267071798")]
    pub specific_sku_resources: ::core::option::Option<
        FutureResourcesSpecSpecificSkuResources,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GrpcHealthCheck {
    /// The gRPC service name for the health check. This field is optional. The
    /// value of grpc_service_name has the following meanings by convention:
    ///
    /// * Empty service_name means the overall status of all services at the
    ///   backend.
    ///
    /// * Non-empty service_name means the health of that gRPC service, as defined
    ///   by the owner of the service.
    ///
    /// The grpc_service_name can only be ASCII.
    #[prost(string, optional, tag = "136533078")]
    pub grpc_service_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The TCP port number to which the health check prober sends packets. Valid
    /// values are 1 through 65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Not supported.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    /// Check the PortSpecification enum for the list of possible values.
    #[prost(string, optional, tag = "51590597")]
    pub port_specification: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `GRPCHealthCheck`.
pub mod grpc_health_check {
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PortSpecification {
        /// A value indicating that the enum field is not set.
        UndefinedPortSpecification = 0,
        /// The port number in the health check's port is used for health
        /// checking. Applies to network endpoint group and instance group backends.
        UseFixedPort = 190235748,
        /// Not supported.
        UseNamedPort = 349300671,
        /// For network endpoint group backends, the health check uses the port number
        /// specified on each endpoint in the network endpoint group. For instance
        /// group backends, the health check uses the port number specified for the
        /// backend service's named port defined in the instance group's named ports.
        UseServingPort = 362637516,
    }
    impl PortSpecification {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPortSpecification => "UNDEFINED_PORT_SPECIFICATION",
                Self::UseFixedPort => "USE_FIXED_PORT",
                Self::UseNamedPort => "USE_NAMED_PORT",
                Self::UseServingPort => "USE_SERVING_PORT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PORT_SPECIFICATION" => Some(Self::UndefinedPortSpecification),
                "USE_FIXED_PORT" => Some(Self::UseFixedPort),
                "USE_NAMED_PORT" => Some(Self::UseNamedPort),
                "USE_SERVING_PORT" => Some(Self::UseServingPort),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GrpctlsHealthCheck {
    /// The gRPC service name for the health check. This field is optional. The
    /// value of grpc_service_name has the following meanings by convention:
    ///
    /// * Empty service_name means the overall status of all services at the
    ///   backend.
    ///
    /// * Non-empty service_name means the health of that gRPC service, as defined
    ///   by the owner of the service.
    ///
    /// The grpc_service_name can only be ASCII.
    #[prost(string, optional, tag = "136533078")]
    pub grpc_service_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The TCP port number to which the health check prober sends packets. Valid
    /// values are 1 through 65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    /// Check the PortSpecification enum for the list of possible values.
    #[prost(string, optional, tag = "51590597")]
    pub port_specification: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `GRPCTLSHealthCheck`.
pub mod grpctls_health_check {
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PortSpecification {
        /// A value indicating that the enum field is not set.
        UndefinedPortSpecification = 0,
        /// The port number in the health check's port is used for health
        /// checking. Applies to network endpoint group and instance group backends.
        UseFixedPort = 190235748,
        /// Not supported.
        UseNamedPort = 349300671,
        /// For network endpoint group backends, the health check uses the port number
        /// specified on each endpoint in the network endpoint group. For instance
        /// group backends, the health check uses the port number specified for the
        /// backend service's named port defined in the instance group's named ports.
        UseServingPort = 362637516,
    }
    impl PortSpecification {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPortSpecification => "UNDEFINED_PORT_SPECIFICATION",
                Self::UseFixedPort => "USE_FIXED_PORT",
                Self::UseNamedPort => "USE_NAMED_PORT",
                Self::UseServingPort => "USE_SERVING_PORT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PORT_SPECIFICATION" => Some(Self::UndefinedPortSpecification),
                "USE_FIXED_PORT" => Some(Self::UseFixedPort),
                "USE_NAMED_PORT" => Some(Self::UseNamedPort),
                "USE_SERVING_PORT" => Some(Self::UseServingPort),
                _ => None,
            }
        }
    }
}
/// A request message for AcceleratorTypes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetAcceleratorTypeRequest {
    /// Name of the accelerator type to return.
    #[prost(string, tag = "138031246")]
    pub accelerator_type: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Addresses.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetAddressRequest {
    /// Name of the address resource to return.
    #[prost(string, tag = "462920692")]
    pub address: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for FirewallPolicies.GetAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetAssociationFirewallPolicyRequest {
    /// Name of the firewall policy to which the queried rule belongs.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The name of the association to get from the firewall policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkFirewallPolicies.GetAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetAssociationNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to which the queried association belongs.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The name of the association to get from the firewall policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for OrganizationSecurityPolicies.GetAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetAssociationOrganizationSecurityPolicyRequest {
    /// The name of the association to get from the security policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to which the queried rule belongs.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkFirewallPolicies.GetAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetAssociationRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to which the queried association belongs.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The name of the association to get from the firewall policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for Autoscalers.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetAutoscalerRequest {
    /// Name of the autoscaler to return.
    #[prost(string, tag = "517258967")]
    pub autoscaler: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for BackendBuckets.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetBackendBucketRequest {
    /// Name of the BackendBucket resource to return.
    #[prost(string, tag = "91714037")]
    pub backend_bucket: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for BackendServices.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetBackendServiceRequest {
    /// Name of the BackendService resource to return.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for CrossSiteNetworks.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetCrossSiteNetworkRequest {
    /// Name of the cross-site network to return.
    #[prost(string, tag = "108192469")]
    pub cross_site_network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for Interconnects.GetDiagnostics. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetDiagnosticsInterconnectRequest {
    /// Name of the interconnect resource to query.
    #[prost(string, tag = "224601230")]
    pub interconnect: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for Disks.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetDiskRequest {
    /// Name of the persistent disk to return.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for DiskTypes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetDiskTypeRequest {
    /// Name of the disk type to return.
    #[prost(string, tag = "93009052")]
    pub disk_type: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.GetEffectiveFirewalls. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetEffectiveFirewallsInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The name of the network interface to get the effective firewalls.
    #[prost(string, tag = "365387880")]
    pub network_interface: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Networks.GetEffectiveFirewalls. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetEffectiveFirewallsNetworkRequest {
    /// Name of the network for this request.
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkFirewallPolicies.GetEffectiveFirewalls. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest {
    /// Network reference
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for BackendServices.GetEffectiveSecurityPolicies. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetEffectiveSecurityPoliciesBackendServiceRequest {
    /// Name of the Backend Service for this request.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A response message for BackendServices.GetEffectiveSecurityPolicies. See the method description for details.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetEffectiveSecurityPoliciesBackendServiceResponse {}
/// A request message for ExternalVpnGateways.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetExternalVpnGatewayRequest {
    /// Name of the externalVpnGateway to return.
    #[prost(string, tag = "109898629")]
    pub external_vpn_gateway: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for FirewallPolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetFirewallPolicyRequest {
    /// Name of the firewall policy to get.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
}
/// A request message for Firewalls.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetFirewallRequest {
    /// Name of the firewall rule to return.
    #[prost(string, tag = "511016192")]
    pub firewall: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for ForwardingRules.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetForwardingRuleRequest {
    /// Name of the ForwardingRule resource to return.
    #[prost(string, tag = "269964030")]
    pub forwarding_rule: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for Images.GetFromFamily. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetFromFamilyImageRequest {
    /// Name of the image family to search for.
    #[prost(string, tag = "328751972")]
    pub family: ::prost::alloc::string::String,
    /// The image project that the image belongs to. For example, to get a CentOS
    /// image, specify centos-cloud as the image project.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for FutureReservations.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetFutureReservationRequest {
    /// Name of the future reservation to retrieve. Name should conform to RFC1035.
    #[prost(string, tag = "56206160")]
    pub future_reservation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the zone for this request. Name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for GlobalAddresses.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetGlobalAddressRequest {
    /// Name of the address resource to return.
    #[prost(string, tag = "462920692")]
    pub address: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for GlobalForwardingRules.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetGlobalForwardingRuleRequest {
    /// Name of the ForwardingRule resource to return.
    #[prost(string, tag = "269964030")]
    pub forwarding_rule: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for GlobalNetworkEndpointGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetGlobalNetworkEndpointGroupRequest {
    /// The name of the network endpoint group. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for GlobalOperations.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetGlobalOperationRequest {
    /// Name of the Operations resource to return, or its unique numeric
    /// identifier.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for GlobalOrganizationOperations.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetGlobalOrganizationOperationRequest {
    /// Name of the Operations resource to return. Parent is derived from this
    /// field.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Parent ID for this request. Not used. Parent is derived from resource_id.
    #[prost(string, optional, tag = "459714768")]
    pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for GlobalPublicDelegatedPrefixes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetGlobalPublicDelegatedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the PublicDelegatedPrefix resource to return.
    #[prost(string, tag = "204238440")]
    pub public_delegated_prefix: ::prost::alloc::string::String,
}
/// A request message for Instances.GetGuestAttributes. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetGuestAttributesInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Specifies the guest attributes path to be queried.
    #[prost(string, optional, tag = "368591164")]
    pub query_path: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the key for the guest attributes entry.
    #[prost(string, optional, tag = "164364828")]
    pub variable_key: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for BackendServices.GetHealth. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetHealthBackendServiceRequest {
    /// Name of the BackendService resource to which the queried instance belongs.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "112951123")]
    pub resource_group_reference_resource: ::core::option::Option<
        ResourceGroupReference,
    >,
}
/// A request message for HealthChecks.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetHealthCheckRequest {
    /// Name of the HealthCheck resource to return.
    #[prost(string, tag = "308876645")]
    pub health_check: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for RegionBackendServices.GetHealth. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetHealthRegionBackendServiceRequest {
    /// Name of the BackendService resource for which to get health.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "112951123")]
    pub resource_group_reference_resource: ::core::option::Option<
        ResourceGroupReference,
    >,
}
/// A request message for RegionCompositeHealthChecks.GetHealth. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetHealthRegionCompositeHealthCheckRequest {
    /// Name of the CompositeHealthCheck resource to get health for.
    #[prost(string, tag = "466984989")]
    pub composite_health_check: ::prost::alloc::string::String,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionHealthSources.GetHealth. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetHealthRegionHealthSourceRequest {
    /// Name of the HealthSource resource to get health for.
    #[prost(string, tag = "376521566")]
    pub health_source: ::prost::alloc::string::String,
    /// Name of the project scoping this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for TargetPools.GetHealth. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetHealthTargetPoolRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "292926060")]
    pub instance_reference_resource: ::core::option::Option<InstanceReference>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the TargetPool resource to which the queried instance belongs.
    #[prost(string, tag = "62796298")]
    pub target_pool: ::prost::alloc::string::String,
}
/// A request message for BackendBuckets.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyBackendBucketRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for BackendServices.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyBackendServiceRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Disks.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyDiskRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for FirewallPolicies.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyFirewallPolicyRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Images.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyImageRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Instances.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyInstanceRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceTemplates.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyInstanceTemplateRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for InstantSnapshotGroups.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyInstantSnapshotGroupRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstantSnapshots.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyInstantSnapshotRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InterconnectAttachmentGroups.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyInterconnectAttachmentGroupRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for InterconnectGroups.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyInterconnectGroupRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Licenses.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyLicenseRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for MachineImages.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyMachineImageRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for NetworkAttachments.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyNetworkAttachmentRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for NetworkFirewallPolicies.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyNetworkFirewallPolicyRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for NodeGroups.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyNodeGroupRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NodeTemplates.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyNodeTemplateRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionBackendBuckets.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyRegionBackendBucketRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionBackendServices.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyRegionBackendServiceRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyRegionDiskRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionInstantSnapshotGroups.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyRegionInstantSnapshotGroupRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionInstantSnapshots.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyRegionInstantSnapshotRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkFirewallPolicies.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyRegionNetworkFirewallPolicyRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionSnapshots.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyRegionSnapshotRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for ReservationBlocks.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyReservationBlockRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Name or id of parent resource of the resource for this request.
    #[prost(string, tag = "18091011")]
    pub parent_resource: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Reservations.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyReservationRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ReservationSubBlocks.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyReservationSubBlockRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Name or id of parent resource of the resource for this request.
    #[prost(string, tag = "18091011")]
    pub parent_resource: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ResourcePolicies.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyResourcePolicyRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for ServiceAttachments.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyServiceAttachmentRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Snapshots.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicySnapshotRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for StoragePools.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicyStoragePoolRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Subnetworks.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetIamPolicySubnetworkRequest {
    /// Requested IAM Policy version.
    #[prost(int32, optional, tag = "499220029")]
    pub options_requested_policy_version: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for ImageFamilyViews.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetImageFamilyViewRequest {
    /// Name of the image family to search for.
    #[prost(string, tag = "328751972")]
    pub family: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Images.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetImageRequest {
    /// Name of the image resource to return.
    #[prost(string, tag = "100313435")]
    pub image: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagers.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagerResizeRequests.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInstanceGroupManagerResizeRequestRequest {
    /// The name of the managed instance group.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the resize request.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "216941060")]
    pub resize_request: ::prost::alloc::string::String,
    /// Name of the href="/compute/docs/regions-zones/#available">zone
    /// scoping this request. Name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInstanceGroupRequest {
    /// The name of the instance group.
    #[prost(string, tag = "81095253")]
    pub instance_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone
    /// where the instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInstanceRequest {
    /// Name of the instance resource to return.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceSettingsService.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInstanceSettingRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceTemplates.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInstanceTemplateRequest {
    /// The name of the instance template.
    #[prost(string, tag = "309248228")]
    pub instance_template: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for InstantSnapshotGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInstantSnapshotGroupRequest {
    /// Name of the InstantSnapshotGroup resource to return.
    #[prost(string, tag = "223180386")]
    pub instant_snapshot_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstantSnapshots.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInstantSnapshotRequest {
    /// Name of the InstantSnapshot resource to return.
    #[prost(string, tag = "391638626")]
    pub instant_snapshot: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InterconnectAttachmentGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInterconnectAttachmentGroupRequest {
    /// Name of the InterconnectAttachmentGroup resource to return.
    #[prost(string, tag = "75905012")]
    pub interconnect_attachment_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for InterconnectAttachments.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInterconnectAttachmentRequest {
    /// Name of the interconnect attachment to return.
    #[prost(string, tag = "308135284")]
    pub interconnect_attachment: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for InterconnectGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInterconnectGroupRequest {
    /// Name of the InterconnectGroup resource to return.
    #[prost(string, tag = "388651918")]
    pub interconnect_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for InterconnectLocations.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInterconnectLocationRequest {
    /// Name of the interconnect location to return.
    #[prost(string, tag = "492235846")]
    pub interconnect_location: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for InterconnectRemoteLocations.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInterconnectRemoteLocationRequest {
    /// Name of the interconnect remote location to return.
    #[prost(string, tag = "290153949")]
    pub interconnect_remote_location: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for Interconnects.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetInterconnectRequest {
    /// Name of the interconnect to return.
    #[prost(string, tag = "224601230")]
    pub interconnect: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for LicenseCodes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetLicenseCodeRequest {
    /// Number corresponding to the License code resource to return.
    #[prost(string, tag = "1467179")]
    pub license_code: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for Licenses.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetLicenseRequest {
    /// Name of the License resource to return.
    #[prost(string, tag = "166757441")]
    pub license: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for MachineImages.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetMachineImageRequest {
    /// The name of the machine image.
    #[prost(string, tag = "69189475")]
    pub machine_image: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for MachineTypes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetMachineTypeRequest {
    /// Name of the machine type to return.
    #[prost(string, tag = "227711026")]
    pub machine_type: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Interconnects.GetMacsecConfig. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetMacsecConfigInterconnectRequest {
    /// Name of the interconnect resource to query.
    #[prost(string, tag = "224601230")]
    pub interconnect: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for Routers.GetNatIpInfo. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNatIpInfoRouterRequest {
    /// Name of the nat service to filter the NAT IP information.
    /// If it is omitted, all nats for this router will be returned.
    /// Name should conform to RFC1035.
    #[prost(string, optional, tag = "425596649")]
    pub nat_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the Router resource to query for Nat IP information. The name
    /// should conform to RFC1035.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// A request message for Routers.GetNatMappingInfo. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNatMappingInfoRoutersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Name of the nat service to filter the Nat Mapping information.
    /// If it is omitted, all nats for this router will be returned.
    /// Name should conform to RFC1035.
    #[prost(string, optional, tag = "425596649")]
    pub nat_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name of the Router resource to query for Nat Mapping information of
    /// VM endpoints.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// A request message for NetworkAttachments.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNetworkAttachmentRequest {
    /// Name of the NetworkAttachment resource to return.
    #[prost(string, tag = "224644052")]
    pub network_attachment: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for NetworkEdgeSecurityServices.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNetworkEdgeSecurityServiceRequest {
    /// Name of the network edge security service to get.
    #[prost(string, tag = "157011879")]
    pub network_edge_security_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for NetworkEndpointGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNetworkEndpointGroupRequest {
    /// The name of the network endpoint group. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone where
    /// the network endpoint group is located. It should comply with RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NetworkFirewallPolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to get.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for NetworkProfiles.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNetworkProfileRequest {
    /// Name of the network profile to return.
    #[prost(string, tag = "173112472")]
    pub network_profile: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for Networks.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNetworkRequest {
    /// Name of the network to return.
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for NodeGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNodeGroupRequest {
    /// Name of the node group to return.
    #[prost(string, tag = "469958146")]
    pub node_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NodeTemplates.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNodeTemplateRequest {
    /// Name of the node template to return.
    #[prost(string, tag = "323154455")]
    pub node_template: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for NodeTypes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetNodeTypeRequest {
    /// Name of the node type to return.
    #[prost(string, tag = "465832791")]
    pub node_type: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InterconnectAttachmentGroups.GetOperationalStatus. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetOperationalStatusInterconnectAttachmentGroupRequest {
    /// Name of the interconnectAttachmentGroup resource to query.
    #[prost(string, tag = "75905012")]
    pub interconnect_attachment_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for InterconnectGroups.GetOperationalStatus. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetOperationalStatusInterconnectGroupRequest {
    /// Name of the interconnectGroup resource to query.
    #[prost(string, tag = "388651918")]
    pub interconnect_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for OrganizationSecurityPolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetOrganizationSecurityPolicyRequest {
    /// Name of the security policy to get.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for PacketMirrorings.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetPacketMirroringRequest {
    /// Name of the PacketMirroring resource to return.
    #[prost(string, tag = "22305996")]
    pub packet_mirroring: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for NetworkFirewallPolicies.GetPacketMirroringRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetPacketMirroringRuleNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to which the queried rule belongs.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The priority of the rule to get from the firewall policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for PreviewFeatures.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetPreviewFeatureRequest {
    /// Name of the PreviewFeature for this request.
    #[prost(string, tag = "454999423")]
    pub preview_feature: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for Projects.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetProjectRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for PublicAdvertisedPrefixes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetPublicAdvertisedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the PublicAdvertisedPrefix resource to return.
    #[prost(string, tag = "101874590")]
    pub public_advertised_prefix: ::prost::alloc::string::String,
}
/// A request message for PublicDelegatedPrefixes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetPublicDelegatedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the PublicDelegatedPrefix resource to return.
    #[prost(string, tag = "204238440")]
    pub public_delegated_prefix: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionAutoscalers.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionAutoscalerRequest {
    /// Name of the autoscaler to return.
    #[prost(string, tag = "517258967")]
    pub autoscaler: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionBackendBuckets.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionBackendBucketRequest {
    /// Name of the BackendBucket resource to return.
    #[prost(string, tag = "91714037")]
    pub backend_bucket: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionBackendServices.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionBackendServiceRequest {
    /// Name of the BackendService resource to return.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionCommitments.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionCommitmentRequest {
    /// Name of the commitment to return.
    #[prost(string, tag = "482134805")]
    pub commitment: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionCompositeHealthChecks.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionCompositeHealthCheckRequest {
    /// Name of the CompositeHealthCheck resource to return.
    #[prost(string, tag = "466984989")]
    pub composite_health_check: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionDiskRequest {
    /// Name of the regional persistent disk to return.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionDiskTypes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionDiskTypeRequest {
    /// Name of the disk type to return.
    #[prost(string, tag = "93009052")]
    pub disk_type: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionHealthAggregationPolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionHealthAggregationPolicyRequest {
    /// Name of the HealthAggregationPolicy resource to return.
    #[prost(string, tag = "240314354")]
    pub health_aggregation_policy: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionHealthChecks.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionHealthCheckRequest {
    /// Name of the HealthCheck resource to return.
    #[prost(string, tag = "308876645")]
    pub health_check: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionHealthCheckServices.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionHealthCheckServiceRequest {
    /// Name of the HealthCheckService to update. The name
    /// must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, tag = "408374747")]
    pub health_check_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionHealthSources.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionHealthSourceRequest {
    /// Name of the HealthSource resource to return.
    #[prost(string, tag = "376521566")]
    pub health_source: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionInstanceGroupManagerRequest {
    /// Name of the managed instance group to return.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagerResizeRequests.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionInstanceGroupManagerResizeRequestRequest {
    /// The name of the managed instance group.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region
    /// scoping this request. Name should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The name of the resize request.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "216941060")]
    pub resize_request: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionInstanceGroupRequest {
    /// Name of the instance group resource to return.
    #[prost(string, tag = "81095253")]
    pub instance_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceTemplates.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionInstanceTemplateRequest {
    /// The name of the instance template.
    #[prost(string, tag = "309248228")]
    pub instance_template: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionInstantSnapshotGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionInstantSnapshotGroupRequest {
    /// Name of the InstantSnapshotGroup resource to return.
    #[prost(string, tag = "223180386")]
    pub instant_snapshot_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionInstantSnapshots.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionInstantSnapshotRequest {
    /// Name of the InstantSnapshot resource to return.
    #[prost(string, tag = "391638626")]
    pub instant_snapshot: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkEndpointGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionNetworkEndpointGroupRequest {
    /// The name of the network endpoint group. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region where
    /// the network endpoint group is located. It should comply with RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkFirewallPolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to get.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionNotificationEndpoints.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionNotificationEndpointRequest {
    /// Name of the NotificationEndpoint resource to return.
    #[prost(string, tag = "376807017")]
    pub notification_endpoint: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionOperations.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionOperationRequest {
    /// Name of the Operations resource to return, or its unique numeric
    /// identifier.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for Regions.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region resource to return.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionSecurityPolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the security policy to get.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for RegionSnapshots.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the Snapshot resource to return.
    #[prost(string, tag = "284874180")]
    pub snapshot: ::prost::alloc::string::String,
}
/// A request message for RegionSnapshotSettings.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionSnapshotSettingRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionSslCertificates.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionSslCertificateRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the SslCertificate resource to return.
    #[prost(string, tag = "46443492")]
    pub ssl_certificate: ::prost::alloc::string::String,
}
/// A request message for RegionSslPolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionSslPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the SSL policy to update. The name must be 1-63 characters long,
    /// and comply with RFC1035.
    #[prost(string, tag = "295190213")]
    pub ssl_policy: ::prost::alloc::string::String,
}
/// A request message for RegionTargetHttpProxies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionTargetHttpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the TargetHttpProxy resource to return.
    #[prost(string, tag = "206872421")]
    pub target_http_proxy: ::prost::alloc::string::String,
}
/// A request message for RegionTargetHttpsProxies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the TargetHttpsProxy resource to return.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
}
/// A request message for RegionTargetTcpProxies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionTargetTcpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the TargetTcpProxy resource to return.
    #[prost(string, tag = "503065442")]
    pub target_tcp_proxy: ::prost::alloc::string::String,
}
/// A request message for RegionUrlMaps.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRegionUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the UrlMap resource to return.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
}
/// A request message for ReservationBlocks.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetReservationBlockRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the reservation.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "47530956")]
    pub reservation: ::prost::alloc::string::String,
    /// The name of the reservation block.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "532832858")]
    pub reservation_block: ::prost::alloc::string::String,
    /// View of the Block.
    /// Check the View enum for the list of possible values.
    #[prost(string, optional, tag = "3619493")]
    pub view: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request. Zone name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// Nested message and enum types in `GetReservationBlockRequest`.
pub mod get_reservation_block_request {
    /// View of the Block.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum View {
        /// A value indicating that the enum field is not set.
        UndefinedView = 0,
        /// This view includes basic information about the reservation block
        Basic = 62970894,
        /// The default / unset value. The API will default to the BASIC view.
        BlockViewUnspecified = 275070479,
        /// Includes detailed topology view.
        Full = 2169487,
    }
    impl View {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedView => "UNDEFINED_VIEW",
                Self::Basic => "BASIC",
                Self::BlockViewUnspecified => "BLOCK_VIEW_UNSPECIFIED",
                Self::Full => "FULL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_VIEW" => Some(Self::UndefinedView),
                "BASIC" => Some(Self::Basic),
                "BLOCK_VIEW_UNSPECIFIED" => Some(Self::BlockViewUnspecified),
                "FULL" => Some(Self::Full),
                _ => None,
            }
        }
    }
}
/// A request message for Reservations.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetReservationRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the reservation to retrieve.
    #[prost(string, tag = "47530956")]
    pub reservation: ::prost::alloc::string::String,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ReservationSlots.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetReservationSlotRequest {
    /// The name of the parent reservation and parent block, formatted as
    /// reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
    #[prost(string, tag = "478151936")]
    pub parent_name: ::prost::alloc::string::String,
    /// The project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the reservation slot, formatted as RFC1035 or a resource ID
    /// number.
    #[prost(string, tag = "277470865")]
    pub reservation_slot: ::prost::alloc::string::String,
    /// The name of the zone for this request, formatted as RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ReservationSubBlocks.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetReservationSubBlockRequest {
    /// The name of the parent reservation and parent block. In the format of
    /// reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
    #[prost(string, tag = "478151936")]
    pub parent_name: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the reservation subBlock.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "22750491")]
    pub reservation_sub_block: ::prost::alloc::string::String,
    /// View of the subBlock.
    /// Check the View enum for the list of possible values.
    #[prost(string, optional, tag = "3619493")]
    pub view: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request. Zone name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// Nested message and enum types in `GetReservationSubBlockRequest`.
pub mod get_reservation_sub_block_request {
    /// View of the subBlock.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum View {
        /// A value indicating that the enum field is not set.
        UndefinedView = 0,
        /// This view includes basic information about the reservation sub block
        SubBlockViewBasic = 236009797,
        /// Includes detailed topology view.
        SubBlockViewFull = 440711800,
        /// The default / unset value. The API will default to the BASIC view.
        SubBlockViewUnspecified = 246642446,
    }
    impl View {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedView => "UNDEFINED_VIEW",
                Self::SubBlockViewBasic => "SUB_BLOCK_VIEW_BASIC",
                Self::SubBlockViewFull => "SUB_BLOCK_VIEW_FULL",
                Self::SubBlockViewUnspecified => "SUB_BLOCK_VIEW_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_VIEW" => Some(Self::UndefinedView),
                "SUB_BLOCK_VIEW_BASIC" => Some(Self::SubBlockViewBasic),
                "SUB_BLOCK_VIEW_FULL" => Some(Self::SubBlockViewFull),
                "SUB_BLOCK_VIEW_UNSPECIFIED" => Some(Self::SubBlockViewUnspecified),
                _ => None,
            }
        }
    }
}
/// A request message for ResourcePolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetResourcePolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the resource policy to retrieve.
    #[prost(string, tag = "159240835")]
    pub resource_policy: ::prost::alloc::string::String,
}
/// A request message for Routers.GetRoutePolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRoutePolicyRouterRequest {
    /// The Policy name for this request. Name must conform to RFC1035
    #[prost(string, optional, tag = "91071794")]
    pub policy: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the Router resource to query for the route policy. The name should
    /// conform to RFC1035.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// A request message for Routes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRouteRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the Route resource to return.
    #[prost(string, tag = "108704329")]
    pub route: ::prost::alloc::string::String,
}
/// A request message for Routers.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRouterRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the Router resource to return.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// A request message for Routers.GetRouterStatus. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRouterStatusRouterRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the Router resource to query.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// A request message for FirewallPolicies.GetRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRuleFirewallPolicyRequest {
    /// Name of the firewall policy to which the queried rule belongs.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The priority of the rule to get from the firewall policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
}
/// A request message for NetworkFirewallPolicies.GetRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRuleNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to which the queried rule belongs.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The priority of the rule to get from the firewall policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for OrganizationSecurityPolicies.GetRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRuleOrganizationSecurityPolicyRequest {
    /// The priority of the rule to get from the security policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Name of the security policy to which the queried rule belongs.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkFirewallPolicies.GetRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRuleRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to which the queried rule belongs.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The priority of the rule to get from the firewall policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for RegionSecurityPolicies.GetRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRuleRegionSecurityPolicyRequest {
    /// The priority of the rule to get from the security policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the security policy to which the queried rule belongs.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for SecurityPolicies.GetRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRuleSecurityPolicyRequest {
    /// The priority of the rule to get from the security policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the security policy to which the queried rule belongs.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for Instances.GetScreenshot. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetScreenshotInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for SecurityPolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the security policy to get.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for Instances.GetSerialPortOutput. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetSerialPortOutputInstanceRequest {
    /// Name of the instance for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Specifies which COM or serial port to retrieve data from.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Specifies the starting byte position of the output to return. To start with
    /// the first byte of output to the specified port, omit this field or set it
    /// to `0`.
    ///
    /// If the output for that byte position is available, this field matches the
    /// `start` parameter sent with the request. If the amount of serial console
    /// output exceeds the size of the buffer (1 MB), the oldest output is
    /// discarded and is no longer available. If the requested start position
    /// refers to discarded output, the start position is adjusted to the oldest
    /// output still available, and the adjusted start position is returned as the
    /// `start` property value.
    ///
    /// You can also provide a negative start position, which translates to the
    /// most recent number of bytes written to the serial port. For example, -3 is
    /// interpreted as the most recent 3 bytes written to the serial console. Note
    /// that the negative start is bounded by the retained buffer size, and the
    /// returned serial console output will not exceed the max buffer size.
    #[prost(int64, optional, tag = "109757538")]
    pub start: ::core::option::Option<i64>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ServiceAttachments.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetServiceAttachmentRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the ServiceAttachment resource to return.
    #[prost(string, tag = "338957549")]
    pub service_attachment: ::prost::alloc::string::String,
    /// Indicates whether NAT IPs should be included in the response.
    #[prost(bool, optional, tag = "485502156")]
    pub show_nat_ips: ::core::option::Option<bool>,
}
/// A request message for Instances.GetShieldedInstanceIdentity. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetShieldedInstanceIdentityInstanceRequest {
    /// Name or id of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Snapshots.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the Snapshot resource to return.
    #[prost(string, tag = "284874180")]
    pub snapshot: ::prost::alloc::string::String,
}
/// A request message for SnapshotSettingsService.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetSnapshotSettingRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for SslCertificates.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetSslCertificateRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the SslCertificate resource to return.
    #[prost(string, tag = "46443492")]
    pub ssl_certificate: ::prost::alloc::string::String,
}
/// A request message for SslPolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetSslPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the SSL policy to update. The name must be 1-63 characters long,
    /// and comply with RFC1035.
    #[prost(string, tag = "295190213")]
    pub ssl_policy: ::prost::alloc::string::String,
}
/// A request message for VpnGateways.GetStatus. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetStatusVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the VPN gateway to return.
    #[prost(string, tag = "406684153")]
    pub vpn_gateway: ::prost::alloc::string::String,
}
/// A request message for StoragePools.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetStoragePoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the storage pool to return.
    #[prost(string, tag = "360473440")]
    pub storage_pool: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for StoragePoolTypes.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetStoragePoolTypeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the storage pool type to return.
    #[prost(string, tag = "285999289")]
    pub storage_pool_type: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Subnetworks.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetSubnetworkRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the Subnetwork resource to return.
    #[prost(string, tag = "307827694")]
    pub subnetwork: ::prost::alloc::string::String,
    /// Defines the extra views returned back in the subnetwork resource.
    /// Supported values:
    ///
    /// ```text
    /// - WITH_UTILIZATION: Utilization data is included in the
    /// response.
    /// ```
    ///
    /// Check the Views enum for the list of possible values.
    #[prost(string, optional, tag = "112204398")]
    pub views: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `GetSubnetworkRequest`.
pub mod get_subnetwork_request {
    /// Defines the extra views returned back in the subnetwork resource.
    /// Supported values:
    ///
    /// ```text
    /// - WITH_UTILIZATION: Utilization data is included in the
    /// response.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Views {
        /// A value indicating that the enum field is not set.
        UndefinedViews = 0,
        Default = 115302945,
        /// Utilization data is included in the response.
        WithUtilization = 504090633,
    }
    impl Views {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedViews => "UNDEFINED_VIEWS",
                Self::Default => "DEFAULT",
                Self::WithUtilization => "WITH_UTILIZATION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_VIEWS" => Some(Self::UndefinedViews),
                "DEFAULT" => Some(Self::Default),
                "WITH_UTILIZATION" => Some(Self::WithUtilization),
                _ => None,
            }
        }
    }
}
/// A request message for TargetGrpcProxies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTargetGrpcProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the TargetGrpcProxy resource to return.
    #[prost(string, tag = "5020283")]
    pub target_grpc_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetHttpProxies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTargetHttpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the TargetHttpProxy resource to return.
    #[prost(string, tag = "206872421")]
    pub target_http_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetHttpsProxies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the TargetHttpsProxy resource to return.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetInstances.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTargetInstanceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the TargetInstance resource to return.
    #[prost(string, tag = "289769347")]
    pub target_instance: ::prost::alloc::string::String,
    /// Name of the zone scoping this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for TargetPools.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTargetPoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the TargetPool resource to return.
    #[prost(string, tag = "62796298")]
    pub target_pool: ::prost::alloc::string::String,
}
/// A request message for TargetSslProxies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTargetSslProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the TargetSslProxy resource to return.
    #[prost(string, tag = "338795853")]
    pub target_ssl_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetTcpProxies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTargetTcpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the TargetTcpProxy resource to return.
    #[prost(string, tag = "503065442")]
    pub target_tcp_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetVpnGateways.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTargetVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the target VPN gateway to return.
    #[prost(string, tag = "532512843")]
    pub target_vpn_gateway: ::prost::alloc::string::String,
}
/// A request message for UrlMaps.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the UrlMap resource to return.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetVersionOperationMetadata {
    #[prost(message, optional, tag = "7079706")]
    pub inline_sbom_info: ::core::option::Option<GetVersionOperationMetadataSbomInfo>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetVersionOperationMetadataSbomInfo {
    /// SBOM versions currently applied to the resource. The key is the component
    /// name and the value is the version.
    #[prost(map = "string, string", tag = "273325091")]
    pub current_component_versions: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// SBOM versions scheduled for the next maintenance. The key is the
    /// component name and the value is the version.
    #[prost(map = "string, string", tag = "345997579")]
    pub target_component_versions: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// A request message for ReservationSlots.GetVersion. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetVersionReservationSlotRequest {
    /// The name of the parent reservation and parent block. In the format of
    /// reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
    #[prost(string, tag = "478151936")]
    pub parent_name: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the reservation slot.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "277470865")]
    pub reservation_slot: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "335316011")]
    pub reservation_slots_get_version_request_resource: ::core::option::Option<
        ReservationSlotsGetVersionRequest,
    >,
    /// Name of the zone for this request. Zone name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ReservationSubBlocks.GetVersion. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetVersionReservationSubBlockRequest {
    /// The name of the parent reservation and parent block. In the format of
    /// reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
    #[prost(string, tag = "478151936")]
    pub parent_name: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the reservation subBlock.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "22750491")]
    pub reservation_sub_block: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "223034677")]
    pub reservation_sub_blocks_get_version_request_resource: ::core::option::Option<
        ReservationSubBlocksGetVersionRequest,
    >,
    /// Name of the zone for this request. Zone name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for VpnGateways.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the VPN gateway to return.
    #[prost(string, tag = "406684153")]
    pub vpn_gateway: ::prost::alloc::string::String,
}
/// A request message for VpnTunnels.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetVpnTunnelRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the VpnTunnel resource to return.
    #[prost(string, tag = "143821331")]
    pub vpn_tunnel: ::prost::alloc::string::String,
}
/// A request message for WireGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetWireGroupRequest {
    #[prost(string, tag = "108192469")]
    pub cross_site_network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the wire group resource to return.
    #[prost(string, tag = "122540613")]
    pub wire_group: ::prost::alloc::string::String,
}
/// A request message for Projects.GetXpnHost. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetXpnHostProjectRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for Projects.GetXpnResources. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetXpnResourcesProjectsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for ZoneOperations.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetZoneOperationRequest {
    /// Name of the Operations resource to return, or its unique numeric
    /// identifier.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Zones.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetZoneRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the zone resource to return.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ZoneVmExtensionPolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetZoneVmExtensionPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the VM extension policy resource to return.
    #[prost(string, tag = "331532730")]
    pub vm_extension_policy: ::prost::alloc::string::String,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GlobalAddressesMoveRequest {
    /// An optional destination address description if intended to be different
    /// from the source.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the destination address to move to. This can be a full or
    /// partial URL. For example, the following are all valid URLs to a address:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project/global/addresses/address>
    /// - projects/project/global/addresses/address
    /// ```
    ///
    /// Note that destination project must be different from the source project. So/global/addresses/address is not valid partial url.
    #[prost(string, optional, tag = "371693763")]
    pub destination_address: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GlobalNetworkEndpointGroupsAttachEndpointsRequest {
    /// The list of network endpoints to be attached.
    #[prost(message, repeated, tag = "149850285")]
    pub network_endpoints: ::prost::alloc::vec::Vec<NetworkEndpoint>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GlobalNetworkEndpointGroupsDetachEndpointsRequest {
    /// The list of network endpoints to be detached.
    #[prost(message, repeated, tag = "149850285")]
    pub network_endpoints: ::prost::alloc::vec::Vec<NetworkEndpoint>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GlobalOrganizationSetPolicyRequest {
    /// Flatten Policy to create a backward compatible wire-format.
    /// Deprecated. Use 'policy' to specify bindings.
    #[prost(message, repeated, tag = "403251854")]
    pub bindings: ::prost::alloc::vec::Vec<Binding>,
    /// Flatten Policy to create a backward compatible wire-format.
    /// Deprecated. Use 'policy' to specify the etag.
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// REQUIRED: The complete policy to be applied to the 'resource'. The size of
    /// the policy is limited to a few 10s of KB. An empty policy is in general a
    /// valid policy but certain services (like Projects) might reject them.
    #[prost(message, optional, tag = "91071794")]
    pub policy: ::core::option::Option<Policy>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GlobalSetLabelsRequest {
    /// The fingerprint of the previous set of labels for this resource,
    /// used to detect conflicts. The fingerprint is initially generated by Compute
    /// Engine and changes after every request to modify or update labels. You must
    /// always provide an up-to-date fingerprint hash when updating or changing
    /// labels, otherwise the request will fail with error412 conditionNotMet.  Make a get() request to the
    /// resource to get the latest fingerprint.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of labels to apply for this resource. Each label must comply with
    /// the
    /// requirements for labels. For example,"webserver-frontend": "images". A label value can also be
    /// empty (e.g. "my-label": "").
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GlobalSetPolicyRequest {
    /// Flatten Policy to create a backward compatible wire-format.
    /// Deprecated. Use 'policy' to specify bindings.
    #[prost(message, repeated, tag = "403251854")]
    pub bindings: ::prost::alloc::vec::Vec<Binding>,
    /// Flatten Policy to create a backward compatible wire-format.
    /// Deprecated. Use 'policy' to specify the etag.
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// REQUIRED: The complete policy to be applied to the 'resource'. The size of
    /// the policy is limited to a few 10s of KB. An empty policy is in general a
    /// valid policy but certain services (like Projects) might reject them.
    #[prost(message, optional, tag = "91071794")]
    pub policy: ::core::option::Option<Policy>,
}
/// Maintenance Info for ReservationBlocks.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GroupMaintenanceInfo {
    /// Describes number of instances that have ongoing maintenance.
    #[prost(int32, optional, tag = "137611253")]
    pub instance_maintenance_ongoing_count: ::core::option::Option<i32>,
    /// Describes number of instances that have pending maintenance.
    #[prost(int32, optional, tag = "76612881")]
    pub instance_maintenance_pending_count: ::core::option::Option<i32>,
    /// Progress for ongoing maintenance for this group of VMs/hosts.
    /// Describes number of hosts in the block that have ongoing maintenance.
    #[prost(int32, optional, tag = "219781919")]
    pub maintenance_ongoing_count: ::core::option::Option<i32>,
    /// Progress for ongoing maintenance for this group of VMs/hosts.
    /// Describes number of hosts in the block that have pending maintenance.
    #[prost(int32, optional, tag = "158783547")]
    pub maintenance_pending_count: ::core::option::Option<i32>,
    /// The type of maintenance for the reservation.
    /// Check the SchedulingType enum for the list of possible values.
    #[prost(string, optional, tag = "199835397")]
    pub scheduling_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Describes number of subblock Infrastructure that has ongoing maintenance.
    /// Here, Subblock Infrastructure Maintenance pertains to upstream hardware
    /// contained in the Subblock that is necessary for a VM Family(e.g. NVLink
    /// Domains). Not all VM Families will support this field.
    #[prost(int32, optional, tag = "366161790")]
    pub subblock_infra_maintenance_ongoing_count: ::core::option::Option<i32>,
    /// Describes number of subblock Infrastructure that has pending maintenance.
    /// Here, Subblock Infrastructure Maintenance pertains to upstream hardware
    /// contained in the Subblock that is necessary for a VM Family (e.g. NVLink
    /// Domains). Not all VM Families will support this field.
    #[prost(int32, optional, tag = "305163418")]
    pub subblock_infra_maintenance_pending_count: ::core::option::Option<i32>,
    /// Maintenance information on this group of VMs.
    #[prost(message, optional, tag = "393438448")]
    pub upcoming_group_maintenance: ::core::option::Option<UpcomingMaintenance>,
}
/// Nested message and enum types in `GroupMaintenanceInfo`.
pub mod group_maintenance_info {
    /// The type of maintenance for the reservation.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SchedulingType {
        /// A value indicating that the enum field is not set.
        UndefinedSchedulingType = 0,
        /// Maintenance on all reserved instances in the reservation is synchronized.
        Grouped = 474540862,
        /// Unknown maintenance type.
        GroupMaintenanceTypeUnspecified = 447183678,
        /// Maintenance is not synchronized for this reservation. Instead, each
        /// instance has its own maintenance window.
        Independent = 127011674,
    }
    impl SchedulingType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSchedulingType => "UNDEFINED_SCHEDULING_TYPE",
                Self::Grouped => "GROUPED",
                Self::GroupMaintenanceTypeUnspecified => {
                    "GROUP_MAINTENANCE_TYPE_UNSPECIFIED"
                }
                Self::Independent => "INDEPENDENT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SCHEDULING_TYPE" => Some(Self::UndefinedSchedulingType),
                "GROUPED" => Some(Self::Grouped),
                "GROUP_MAINTENANCE_TYPE_UNSPECIFIED" => {
                    Some(Self::GroupMaintenanceTypeUnspecified)
                }
                "INDEPENDENT" => Some(Self::Independent),
                _ => None,
            }
        }
    }
}
/// A guest attributes entry.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GuestAttributes {
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The path to be queried. This can be the default namespace ('') or a
    /// nested namespace ('/') or a specified key
    /// ('/').
    #[prost(string, optional, tag = "368591164")]
    pub query_path: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The value of the requested queried path.
    #[prost(message, optional, tag = "157570874")]
    pub query_value: ::core::option::Option<GuestAttributesValue>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// The key to search for.
    #[prost(string, optional, tag = "164364828")]
    pub variable_key: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The value found for the requested key.
    #[prost(string, optional, tag = "124582382")]
    pub variable_value: ::core::option::Option<::prost::alloc::string::String>,
}
/// A guest attributes namespace/key/value entry.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GuestAttributesEntry {
    /// Key for the guest attribute entry.
    #[prost(string, optional, tag = "106079")]
    pub key: ::core::option::Option<::prost::alloc::string::String>,
    /// Namespace for the guest attribute entry.
    #[prost(string, optional, tag = "178476379")]
    pub namespace: ::core::option::Option<::prost::alloc::string::String>,
    /// Value for the guest attribute entry.
    #[prost(string, optional, tag = "111972721")]
    pub value: ::core::option::Option<::prost::alloc::string::String>,
}
/// Array of guest attribute namespace/key/value tuples.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GuestAttributesValue {
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<GuestAttributesEntry>,
}
/// Guest OS features.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GuestOsFeature {
    /// The ID of a supported feature. To add multiple values, use commas to
    /// separate values. Set to one or more of the following values:
    ///
    /// ```text
    /// - VIRTIO_SCSI_MULTIQUEUE
    /// - WINDOWS
    /// - MULTI_IP_SUBNET
    /// - UEFI_COMPATIBLE
    /// - GVNIC
    /// - SEV_CAPABLE
    /// - SUSPEND_RESUME_COMPATIBLE
    /// - SEV_LIVE_MIGRATABLE_V2
    /// - SEV_SNP_CAPABLE
    /// - TDX_CAPABLE
    /// - IDPF
    /// - SNP_SVSM_CAPABLE
    /// - CCA_CAPABLE
    /// ```
    ///
    /// For more information, see
    /// Enabling guest operating system features.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `GuestOsFeature`.
pub mod guest_os_feature {
    /// The ID of a supported feature. To add multiple values, use commas to
    /// separate values. Set to one or more of the following values:
    ///
    /// ```text
    /// - VIRTIO_SCSI_MULTIQUEUE
    /// - WINDOWS
    /// - MULTI_IP_SUBNET
    /// - UEFI_COMPATIBLE
    /// - GVNIC
    /// - SEV_CAPABLE
    /// - SUSPEND_RESUME_COMPATIBLE
    /// - SEV_LIVE_MIGRATABLE_V2
    /// - SEV_SNP_CAPABLE
    /// - TDX_CAPABLE
    /// - IDPF
    /// - SNP_SVSM_CAPABLE
    /// - CCA_CAPABLE
    /// ```
    ///
    /// For more information, see
    /// Enabling guest operating system features.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        BareMetalLinuxCompatible = 354232740,
        FeatureTypeUnspecified = 531767259,
        Gvnic = 68209305,
        Idpf = 2242641,
        MultiIpSubnet = 151776719,
        SecureBoot = 376811194,
        SevCapable = 87083793,
        SevLiveMigratable = 392039820,
        SevLiveMigratableV2 = 168551983,
        SevSnpCapable = 426919,
        SnpSvsmCapable = 52921460,
        TdxCapable = 240446133,
        UefiCompatible = 195865408,
        VirtioScsiMultiqueue = 201597069,
        Windows = 456863331,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::BareMetalLinuxCompatible => "BARE_METAL_LINUX_COMPATIBLE",
                Self::FeatureTypeUnspecified => "FEATURE_TYPE_UNSPECIFIED",
                Self::Gvnic => "GVNIC",
                Self::Idpf => "IDPF",
                Self::MultiIpSubnet => "MULTI_IP_SUBNET",
                Self::SecureBoot => "SECURE_BOOT",
                Self::SevCapable => "SEV_CAPABLE",
                Self::SevLiveMigratable => "SEV_LIVE_MIGRATABLE",
                Self::SevLiveMigratableV2 => "SEV_LIVE_MIGRATABLE_V2",
                Self::SevSnpCapable => "SEV_SNP_CAPABLE",
                Self::SnpSvsmCapable => "SNP_SVSM_CAPABLE",
                Self::TdxCapable => "TDX_CAPABLE",
                Self::UefiCompatible => "UEFI_COMPATIBLE",
                Self::VirtioScsiMultiqueue => "VIRTIO_SCSI_MULTIQUEUE",
                Self::Windows => "WINDOWS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "BARE_METAL_LINUX_COMPATIBLE" => Some(Self::BareMetalLinuxCompatible),
                "FEATURE_TYPE_UNSPECIFIED" => Some(Self::FeatureTypeUnspecified),
                "GVNIC" => Some(Self::Gvnic),
                "IDPF" => Some(Self::Idpf),
                "MULTI_IP_SUBNET" => Some(Self::MultiIpSubnet),
                "SECURE_BOOT" => Some(Self::SecureBoot),
                "SEV_CAPABLE" => Some(Self::SevCapable),
                "SEV_LIVE_MIGRATABLE" => Some(Self::SevLiveMigratable),
                "SEV_LIVE_MIGRATABLE_V2" => Some(Self::SevLiveMigratableV2),
                "SEV_SNP_CAPABLE" => Some(Self::SevSnpCapable),
                "SNP_SVSM_CAPABLE" => Some(Self::SnpSvsmCapable),
                "TDX_CAPABLE" => Some(Self::TdxCapable),
                "UEFI_COMPATIBLE" => Some(Self::UefiCompatible),
                "VIRTIO_SCSI_MULTIQUEUE" => Some(Self::VirtioScsiMultiqueue),
                "WINDOWS" => Some(Self::Windows),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Http2HealthCheck {
    /// The value of the host header in the HTTP/2 health check request. If left
    /// empty (default value), the host header is set to the destination IP address
    /// to which health check packets are sent. The destination IP address depends
    /// on the type of load balancer. For details, see:
    /// <https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest>
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// The TCP port number to which the health check prober sends packets. The
    /// default value is 443. Valid values are 1 through65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Not supported.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    /// Check the PortSpecification enum for the list of possible values.
    #[prost(string, optional, tag = "51590597")]
    pub port_specification: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    /// Check the ProxyHeader enum for the list of possible values.
    #[prost(string, optional, tag = "160374142")]
    pub proxy_header: ::core::option::Option<::prost::alloc::string::String>,
    /// The request path of the HTTP/2 health check request. The default value is/. Must comply withRFC3986.
    #[prost(string, optional, tag = "229403605")]
    pub request_path: ::core::option::Option<::prost::alloc::string::String>,
    /// Creates a content-based HTTP/2 health check. In addition to the required
    /// HTTP 200 (OK) status code, you can configure the health check to pass only
    /// when the backend sends this specific ASCII response string within the first
    /// 1024 bytes of the HTTP response body. For details, see:
    /// <https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http>
    #[prost(string, optional, tag = "196547649")]
    pub response: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `HTTP2HealthCheck`.
pub mod http2_health_check {
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PortSpecification {
        /// A value indicating that the enum field is not set.
        UndefinedPortSpecification = 0,
        /// The port number in the health check's port is used for health
        /// checking. Applies to network endpoint group and instance group backends.
        UseFixedPort = 190235748,
        /// Not supported.
        UseNamedPort = 349300671,
        /// For network endpoint group backends, the health check uses the port number
        /// specified on each endpoint in the network endpoint group. For instance
        /// group backends, the health check uses the port number specified for the
        /// backend service's named port defined in the instance group's named ports.
        UseServingPort = 362637516,
    }
    impl PortSpecification {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPortSpecification => "UNDEFINED_PORT_SPECIFICATION",
                Self::UseFixedPort => "USE_FIXED_PORT",
                Self::UseNamedPort => "USE_NAMED_PORT",
                Self::UseServingPort => "USE_SERVING_PORT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PORT_SPECIFICATION" => Some(Self::UndefinedPortSpecification),
                "USE_FIXED_PORT" => Some(Self::UseFixedPort),
                "USE_NAMED_PORT" => Some(Self::UseNamedPort),
                "USE_SERVING_PORT" => Some(Self::UseServingPort),
                _ => None,
            }
        }
    }
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProxyHeader {
        /// A value indicating that the enum field is not set.
        UndefinedProxyHeader = 0,
        None = 2402104,
        ProxyV1 = 334352940,
    }
    impl ProxyHeader {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProxyHeader => "UNDEFINED_PROXY_HEADER",
                Self::None => "NONE",
                Self::ProxyV1 => "PROXY_V1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROXY_HEADER" => Some(Self::UndefinedProxyHeader),
                "NONE" => Some(Self::None),
                "PROXY_V1" => Some(Self::ProxyV1),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HttpHealthCheck {
    /// The value of the host header in the HTTP health check request. If left
    /// empty (default value), the host header is set to the destination IP address
    /// to which health check packets are sent. The destination IP address depends
    /// on the type of load balancer. For details, see:
    /// <https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest>
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// The TCP port number to which the health check prober sends packets. The
    /// default value is 80. Valid values are 1 through65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Not supported.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Also supported in legacy HTTP health checks for target pools.
    /// The health check supports all backends supported by the backend service
    /// provided the backend can be health checked. For example,GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT
    /// network endpoint groups, and instance group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for pass-through load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    /// Check the PortSpecification enum for the list of possible values.
    #[prost(string, optional, tag = "51590597")]
    pub port_specification: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    /// Check the ProxyHeader enum for the list of possible values.
    #[prost(string, optional, tag = "160374142")]
    pub proxy_header: ::core::option::Option<::prost::alloc::string::String>,
    /// The request path of the HTTP health check request. The default value is/. Must comply withRFC3986.
    #[prost(string, optional, tag = "229403605")]
    pub request_path: ::core::option::Option<::prost::alloc::string::String>,
    /// Creates a content-based HTTP health check. In addition to the required
    /// HTTP 200 (OK) status code, you can configure the health check to pass only
    /// when the backend sends this specific ASCII response string within the first
    /// 1024 bytes of the HTTP response body. For details, see:
    /// <https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http>
    #[prost(string, optional, tag = "196547649")]
    pub response: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `HTTPHealthCheck`.
pub mod http_health_check {
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Also supported in legacy HTTP health checks for target pools.
    /// The health check supports all backends supported by the backend service
    /// provided the backend can be health checked. For example,GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT
    /// network endpoint groups, and instance group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for pass-through load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PortSpecification {
        /// A value indicating that the enum field is not set.
        UndefinedPortSpecification = 0,
        /// The port number in the health check's port is used for health
        /// checking. Applies to network endpoint group and instance group backends.
        UseFixedPort = 190235748,
        /// Not supported.
        UseNamedPort = 349300671,
        /// For network endpoint group backends, the health check uses the port number
        /// specified on each endpoint in the network endpoint group. For instance
        /// group backends, the health check uses the port number specified for the
        /// backend service's named port defined in the instance group's named ports.
        UseServingPort = 362637516,
    }
    impl PortSpecification {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPortSpecification => "UNDEFINED_PORT_SPECIFICATION",
                Self::UseFixedPort => "USE_FIXED_PORT",
                Self::UseNamedPort => "USE_NAMED_PORT",
                Self::UseServingPort => "USE_SERVING_PORT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PORT_SPECIFICATION" => Some(Self::UndefinedPortSpecification),
                "USE_FIXED_PORT" => Some(Self::UseFixedPort),
                "USE_NAMED_PORT" => Some(Self::UseNamedPort),
                "USE_SERVING_PORT" => Some(Self::UseServingPort),
                _ => None,
            }
        }
    }
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProxyHeader {
        /// A value indicating that the enum field is not set.
        UndefinedProxyHeader = 0,
        None = 2402104,
        ProxyV1 = 334352940,
    }
    impl ProxyHeader {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProxyHeader => "UNDEFINED_PROXY_HEADER",
                Self::None => "NONE",
                Self::ProxyV1 => "PROXY_V1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROXY_HEADER" => Some(Self::UndefinedProxyHeader),
                "NONE" => Some(Self::None),
                "PROXY_V1" => Some(Self::ProxyV1),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HttpsHealthCheck {
    /// The value of the host header in the HTTPS health check request. If left
    /// empty (default value), the host header is set to the destination IP address
    /// to which health check packets are sent. The destination IP address depends
    /// on the type of load balancer. For details, see:
    /// <https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest>
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// The TCP port number to which the health check prober sends packets. The
    /// default value is 443. Valid values are 1 through65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Not supported.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    /// Check the PortSpecification enum for the list of possible values.
    #[prost(string, optional, tag = "51590597")]
    pub port_specification: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    /// Check the ProxyHeader enum for the list of possible values.
    #[prost(string, optional, tag = "160374142")]
    pub proxy_header: ::core::option::Option<::prost::alloc::string::String>,
    /// The request path of the HTTPS health check request. The default value is/. Must comply withRFC3986.
    #[prost(string, optional, tag = "229403605")]
    pub request_path: ::core::option::Option<::prost::alloc::string::String>,
    /// Creates a content-based HTTPS health check. In addition to the required
    /// HTTP 200 (OK) status code, you can configure the health check to pass only
    /// when the backend sends this specific ASCII response string within the first
    /// 1024 bytes of the HTTP response body. For details, see:
    /// <https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http>
    #[prost(string, optional, tag = "196547649")]
    pub response: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `HTTPSHealthCheck`.
pub mod https_health_check {
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PortSpecification {
        /// A value indicating that the enum field is not set.
        UndefinedPortSpecification = 0,
        /// The port number in the health check's port is used for health
        /// checking. Applies to network endpoint group and instance group backends.
        UseFixedPort = 190235748,
        /// Not supported.
        UseNamedPort = 349300671,
        /// For network endpoint group backends, the health check uses the port number
        /// specified on each endpoint in the network endpoint group. For instance
        /// group backends, the health check uses the port number specified for the
        /// backend service's named port defined in the instance group's named ports.
        UseServingPort = 362637516,
    }
    impl PortSpecification {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPortSpecification => "UNDEFINED_PORT_SPECIFICATION",
                Self::UseFixedPort => "USE_FIXED_PORT",
                Self::UseNamedPort => "USE_NAMED_PORT",
                Self::UseServingPort => "USE_SERVING_PORT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PORT_SPECIFICATION" => Some(Self::UndefinedPortSpecification),
                "USE_FIXED_PORT" => Some(Self::UseFixedPort),
                "USE_NAMED_PORT" => Some(Self::UseNamedPort),
                "USE_SERVING_PORT" => Some(Self::UseServingPort),
                _ => None,
            }
        }
    }
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProxyHeader {
        /// A value indicating that the enum field is not set.
        UndefinedProxyHeader = 0,
        None = 2402104,
        ProxyV1 = 334352940,
    }
    impl ProxyHeader {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProxyHeader => "UNDEFINED_PROXY_HEADER",
                Self::None => "NONE",
                Self::ProxyV1 => "PROXY_V1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROXY_HEADER" => Some(Self::UndefinedProxyHeader),
                "NONE" => Some(Self::None),
                "PROXY_V1" => Some(Self::ProxyV1),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthAggregationPoliciesScopedList {
    /// A list of HealthAggregationPolicys contained in this scope.
    #[prost(message, repeated, tag = "87589904")]
    pub health_aggregation_policies: ::prost::alloc::vec::Vec<HealthAggregationPolicy>,
    /// Informational warning which replaces the list of health aggregation
    /// policies when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a health aggregation policy.
///
/// A health aggregation policy resource defines a policy to aggregate health.
///
/// For more information, see
/// Health checks overview.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HealthAggregationPolicy {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a HealthAggregationPolicy. An up-to-date fingerprint
    /// must be provided in order to patch the HealthAggregationPolicy; Otherwise,
    /// the request will fail with error 412 conditionNotMet. To see
    /// the latest fingerprint, make a get() request to retrieve the
    /// HealthAggregationPolicy.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Can only be set if the policyType field isBACKEND_SERVICE_POLICY. Specifies the threshold (as a
    /// percentage) of healthy endpoints required in order to consider the
    /// aggregated health result HEALTHY. Defaults to 60. Must be in
    /// range \[0, 100\]. Not applicable if the policyType field isDNB_PUBLIC_IP_POLICY. Can be mutated. This field is optional,
    /// and will be set to the default if unspecified. Note that both this
    /// threshold and minHealthyThreshold must be satisfied in order
    /// for HEALTHY to be the aggregated result. "Endpoints" refers to network
    /// endpoints within a Network Endpoint Group or instances within an Instance
    /// Group.
    #[prost(uint32, optional, tag = "72242895")]
    pub healthy_percent_threshold: ::core::option::Option<u32>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#healthAggregationPolicy for health aggregation
    /// policies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Can only be set if the policyType field isBACKEND_SERVICE_POLICY. Specifies the minimum number of
    /// healthy endpoints required in order to consider the aggregated health
    /// result HEALTHY. Defaults to 1. Must be positive. Not
    /// applicable if the policyType field isDNB_PUBLIC_IP_POLICY. Can be mutated. This field is optional,
    /// and will be set to the default if unspecified. Note that both this
    /// threshold and healthyPercentThreshold must be satisfied in
    /// order for HEALTHY to be the aggregated result. "Endpoints" refers to
    /// network endpoints within a Network Endpoint Group or instances within an
    /// Instance Group.
    #[prost(uint32, optional, tag = "132310940")]
    pub min_healthy_threshold: ::core::option::Option<u32>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of the healthAggregationPolicy. The only allowed value
    /// for global resources is DNS_PUBLIC_IP_POLICY. The only allowed
    /// value for regional resources is BACKEND_SERVICE_POLICY. Must
    /// be specified when the healthAggregationPolicy is created, and cannot be
    /// mutated.
    /// Check the PolicyType enum for the list of possible values.
    #[prost(string, optional, tag = "18158119")]
    pub policy_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the health aggregation policy
    /// resides. This field applies only to the regional resource. You must specify
    /// this field as part of the HTTP request URL. It is not settable as a field
    /// in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL with id for the resource.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `HealthAggregationPolicy`.
pub mod health_aggregation_policy {
    /// Specifies the type of the healthAggregationPolicy. The only allowed value
    /// for global resources is DNS_PUBLIC_IP_POLICY. The only allowed
    /// value for regional resources is BACKEND_SERVICE_POLICY. Must
    /// be specified when the healthAggregationPolicy is created, and cannot be
    /// mutated.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PolicyType {
        /// A value indicating that the enum field is not set.
        UndefinedPolicyType = 0,
        BackendServicePolicy = 415582023,
        DnsPublicIpPolicy = 366354794,
    }
    impl PolicyType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPolicyType => "UNDEFINED_POLICY_TYPE",
                Self::BackendServicePolicy => "BACKEND_SERVICE_POLICY",
                Self::DnsPublicIpPolicy => "DNS_PUBLIC_IP_POLICY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_POLICY_TYPE" => Some(Self::UndefinedPolicyType),
                "BACKEND_SERVICE_POLICY" => Some(Self::BackendServicePolicy),
                "DNS_PUBLIC_IP_POLICY" => Some(Self::DnsPublicIpPolicy),
                _ => None,
            }
        }
    }
}
/// Contains a list of HealthAggregationPoliciesScopedList.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthAggregationPolicyAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of HealthAggregationPoliciesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        HealthAggregationPoliciesScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthAggregationPolicyList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of HealthAggregationPolicy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<HealthAggregationPolicy>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#healthAggregationPolicy for health aggregation
    /// policies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a health check resource.
///
/// Google Compute Engine has two health check resources:
///
/// * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks)
/// * [Global](/compute/docs/reference/rest/v1/healthChecks)
///
/// These health check resources can be used for load balancing and for
/// autohealing VMs in a managed instance group (MIG).
///
/// **Load balancing**
///
/// Health check requirements vary depending on the type of load balancer. For
/// details about the type of health check supported for
/// each load balancer and corresponding backend type,
/// see Health
/// checks overview: Load balancer guide.
///
/// **Autohealing in MIGs**
///
/// The health checks that you use for autohealing VMs in a MIG can be either
/// regional or global. For more information, see  Set up an
/// application health check and autohealing.
///
/// For more information, seeHealth checks
/// overview.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HealthCheck {
    /// How often (in seconds) to send a health check. The default value is 5
    /// seconds.
    #[prost(int32, optional, tag = "345561006")]
    pub check_interval_sec: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Creation timestamp in3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "85529574")]
    pub grpc_health_check: ::core::option::Option<GrpcHealthCheck>,
    #[prost(message, optional, tag = "267273258")]
    pub grpc_tls_health_check: ::core::option::Option<GrpctlsHealthCheck>,
    /// A so-far unhealthy instance will be marked healthy after this
    /// many consecutive successes. The default value is 2.
    #[prost(int32, optional, tag = "403212361")]
    pub healthy_threshold: ::core::option::Option<i32>,
    #[prost(message, optional, tag = "11360986")]
    pub http2_health_check: ::core::option::Option<Http2HealthCheck>,
    #[prost(message, optional, tag = "412586940")]
    pub http_health_check: ::core::option::Option<HttpHealthCheck>,
    #[prost(message, optional, tag = "436046905")]
    pub https_health_check: ::core::option::Option<HttpsHealthCheck>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. Type of the resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Configure logging on this health check.
    #[prost(message, optional, tag = "351299741")]
    pub log_config: ::core::option::Option<HealthCheckLogConfig>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// For example, a name that is 1-63 characters long, matches the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?`, and otherwise complies with
    /// RFC1035. This regular expression describes a name where the first
    /// character is a lowercase letter, and all following characters are a dash,
    /// lowercase letter, or digit, except the last character, which isn't a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Region where the health check resides.  Not applicable to
    /// global health checks.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of cloud regions from which health checks are performed. If any
    /// regions are specified, then exactly 3 regions should be specified. The
    /// region names must be valid names of Google Cloud regions.
    /// This can only be set for global health check.
    /// If this list is non-empty, then there are restrictions
    /// on what other health check fields are supported and what other resources
    /// can use this health check:
    ///
    /// ```text
    /// - SSL, HTTP2, and GRPC protocols are not supported.
    /// - The TCP request field is not supported.
    /// - The proxyHeader field for HTTP, HTTPS, and TCP is not
    /// supported.
    /// - The checkIntervalSec field must be at least 30.
    /// - The health check cannot be used with BackendService nor with managed
    /// instance group auto-healing.
    /// ```
    #[prost(string, repeated, tag = "405568475")]
    pub source_regions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "280032440")]
    pub ssl_health_check: ::core::option::Option<SslHealthCheck>,
    #[prost(message, optional, tag = "469980419")]
    pub tcp_health_check: ::core::option::Option<TcpHealthCheck>,
    /// How long (in seconds) to wait before claiming failure. The default value is
    /// 5 seconds. It is invalid for timeoutSec to have greater
    /// value than checkIntervalSec.
    #[prost(int32, optional, tag = "79994995")]
    pub timeout_sec: ::core::option::Option<i32>,
    /// Specifies the type of the healthCheck, either TCP,SSL, HTTP, HTTPS,HTTP2 or GRPC. Exactly one of the
    /// protocol-specific health check fields must be specified, which must matchtype field.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
    /// A so-far healthy instance will be marked unhealthy after this many
    /// consecutive failures. The default value is 2.
    #[prost(int32, optional, tag = "227958480")]
    pub unhealthy_threshold: ::core::option::Option<i32>,
}
/// Nested message and enum types in `HealthCheck`.
pub mod health_check {
    /// Specifies the type of the healthCheck, either TCP,SSL, HTTP, HTTPS,HTTP2 or GRPC. Exactly one of the
    /// protocol-specific health check fields must be specified, which must matchtype field.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        Grpc = 2196510,
        GrpcWithTls = 268089571,
        Http = 2228360,
        Http2 = 69079210,
        Https = 69079243,
        Invalid = 530283991,
        Ssl = 82412,
        Tcp = 82881,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Grpc => "GRPC",
                Self::GrpcWithTls => "GRPC_WITH_TLS",
                Self::Http => "HTTP",
                Self::Http2 => "HTTP2",
                Self::Https => "HTTPS",
                Self::Invalid => "INVALID",
                Self::Ssl => "SSL",
                Self::Tcp => "TCP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "GRPC" => Some(Self::Grpc),
                "GRPC_WITH_TLS" => Some(Self::GrpcWithTls),
                "HTTP" => Some(Self::Http),
                "HTTP2" => Some(Self::Http2),
                "HTTPS" => Some(Self::Https),
                "INVALID" => Some(Self::Invalid),
                "SSL" => Some(Self::Ssl),
                "TCP" => Some(Self::Tcp),
                _ => None,
            }
        }
    }
}
/// Contains a list of HealthCheck resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthCheckList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of HealthCheck resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<HealthCheck>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Configuration of logging on a health check. If logging is enabled, logs
/// will be exported to Stackdriver.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HealthCheckLogConfig {
    /// Indicates whether or not to export logs. This is false by default, which
    /// means no health check logging will be done.
    #[prost(bool, optional, tag = "311764355")]
    pub enable: ::core::option::Option<bool>,
}
/// A full or valid partial URL to a health check. For example, the following are
/// valid URLs:
///
/// ```text
/// - <https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check>
/// - projects/project-id/global/httpHealthChecks/health-check
/// - global/httpHealthChecks/health-check
/// ```
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HealthCheckReference {
    #[prost(string, optional, tag = "308876645")]
    pub health_check: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a Health-Check as a Service resource.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HealthCheckService {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a HealthCheckService. An up-to-date fingerprint must
    /// be provided in order to patch/update the HealthCheckService; Otherwise, the
    /// request will fail with error 412 conditionNotMet. To see the
    /// latest fingerprint, make a get() request to retrieve the
    /// HealthCheckService.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of URLs to the HealthCheck resources. Must have
    /// at least one HealthCheck, and not more than 10 for regionalHealthCheckService, and not more than 1 for globalHealthCheckService.HealthCheck resources must haveportSpecification=USE_SERVING_PORT orportSpecification=USE_FIXED_PORT. For
    /// regional HealthCheckService, theHealthCheck must be regional and in the same
    /// region. For global HealthCheckService,HealthCheck must be global. Mix of regional and globalHealthChecks is not supported. Multiple regionalHealthChecks must belong to the same region. RegionalHealthChecks must belong to the same region as zones ofNetworkEndpointGroups. For globalHealthCheckService using globalINTERNET_IP_PORT NetworkEndpointGroups, the
    /// global HealthChecks must specify sourceRegions,
    /// and HealthChecks that specify sourceRegions can
    /// only be used with global INTERNET_IP_PORTNetworkEndpointGroups.
    #[prost(string, repeated, tag = "448370606")]
    pub health_checks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Optional. Policy for how the results from multiple health checks
    /// for the same endpoint are aggregated. Defaults to NO_AGGREGATION
    /// if unspecified.
    ///
    /// ```text
    /// - NO_AGGREGATION. An EndpointHealth message is
    /// returned for each  pair in the health check
    /// service.
    /// - AND. If any health check of an endpoint reportsUNHEALTHY, then UNHEALTHY is theHealthState of the endpoint. If all health checks reportHEALTHY, the HealthState of the endpoint isHEALTHY.
    /// ```
    ///
    /// .
    /// This is only allowed with regional HealthCheckService.
    /// Check the HealthStatusAggregationPolicy enum for the list of possible values.
    #[prost(string, optional, tag = "253163129")]
    pub health_status_aggregation_policy: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output only\] Type of the resource. Alwayscompute#healthCheckServicefor health check services.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. The name must be 1-63 characters long, and comply
    /// with RFC1035. Specifically, the name must be 1-63 characters
    /// long and match the regular expression
    /// `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first character
    /// must be a lowercase letter, and all following characters must be a dash,
    /// lowercase letter, or digit, except the last character, which cannot be a
    /// dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of URLs to the NetworkEndpointGroup
    /// resources. Must not have more than 100.  For regionalHealthCheckService, NEGs must be in
    /// zones in the region of the HealthCheckService. For globalHealthCheckServices, the NetworkEndpointGroups
    /// must be global INTERNET_IP_PORT.
    #[prost(string, repeated, tag = "29346733")]
    pub network_endpoint_groups: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// A list of URLs to the NotificationEndpoint
    /// resources. Must not have more than 10.  A list of endpoints for
    /// receiving notifications of change in health status. For regionalHealthCheckService,NotificationEndpoint must be regional and in the
    /// same region. For global HealthCheckService,NotificationEndpoint must be global.
    #[prost(string, repeated, tag = "406728490")]
    pub notification_endpoints: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the health check service
    /// resides. This field is not applicable to global health check services.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `HealthCheckService`.
pub mod health_check_service {
    /// Optional. Policy for how the results from multiple health checks
    /// for the same endpoint are aggregated. Defaults to NO_AGGREGATION
    /// if unspecified.
    ///
    /// ```text
    /// - NO_AGGREGATION. An EndpointHealth message is
    /// returned for each  pair in the health check
    /// service.
    /// - AND. If any health check of an endpoint reportsUNHEALTHY, then UNHEALTHY is theHealthState of the endpoint. If all health checks reportHEALTHY, the HealthState of the endpoint isHEALTHY.
    /// ```
    ///
    /// .
    /// This is only allowed with regional HealthCheckService.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum HealthStatusAggregationPolicy {
        /// A value indicating that the enum field is not set.
        UndefinedHealthStatusAggregationPolicy = 0,
        /// If any backend's health check reports UNHEALTHY,
        /// then UNHEALTHY is the HealthState of
        /// the entire health check service. If all backend's are healthy,
        /// the HealthState of the health check service isHEALTHY.
        And = 64951,
        /// An EndpointHealth message is returned for each
        /// backend in the health check service.
        NoAggregation = 426445124,
    }
    impl HealthStatusAggregationPolicy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedHealthStatusAggregationPolicy => {
                    "UNDEFINED_HEALTH_STATUS_AGGREGATION_POLICY"
                }
                Self::And => "AND",
                Self::NoAggregation => "NO_AGGREGATION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_HEALTH_STATUS_AGGREGATION_POLICY" => {
                    Some(Self::UndefinedHealthStatusAggregationPolicy)
                }
                "AND" => Some(Self::And),
                "NO_AGGREGATION" => Some(Self::NoAggregation),
                _ => None,
            }
        }
    }
}
/// Contains a list of HealthCheckServicesScopedList.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthCheckServiceAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of HealthCheckServicesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        HealthCheckServicesScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A full or valid partial URL to a health check service. For example, the
/// following are valid URLs:
///
/// ```text
/// - <https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/healthCheckServices/health-check-service>
/// - projects/project-id/regions/us-west1/healthCheckServices/health-check-service
/// - regions/us-west1/healthCheckServices/health-check-service
/// ```
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HealthCheckServiceReference {
    #[prost(string, optional, tag = "408374747")]
    pub health_check_service: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthCheckServicesList {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. A list of HealthCheckService resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<HealthCheckService>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#healthCheckServicesList for lists of
    /// HealthCheckServices.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthCheckServicesScopedList {
    /// A list of HealthCheckServices contained in this scope.
    #[prost(message, repeated, tag = "164412965")]
    pub resources: ::prost::alloc::vec::Vec<HealthCheckService>,
    /// Informational warning which replaces the list of
    /// backend services when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthChecksAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of HealthChecksScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        HealthChecksScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthChecksScopedList {
    /// A list of HealthChecks contained in this scope.
    #[prost(message, repeated, tag = "448370606")]
    pub health_checks: ::prost::alloc::vec::Vec<HealthCheck>,
    /// Informational warning which replaces the list of
    /// backend services when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a health source.
///
/// A health source resource specifies the source resources and the health
/// aggregation policy applied to the source resources to determine the
/// aggregated health status.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HealthSource {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a HealthSource. An up-to-date fingerprint
    /// must be provided in order to patch the HealthSource; Otherwise, the request
    /// will fail with error 412 conditionNotMet. To see the latest
    /// fingerprint, make a get() request to retrieve the
    /// HealthSource.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// URL to the HealthAggregationPolicy resource. Must be set. Must
    /// be regional and in the same region as the HealthSource. Can be
    /// mutated.
    #[prost(string, optional, tag = "240314354")]
    pub health_aggregation_policy: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] A unique identifier for this resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#healthSource for health sources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the health source resides.
    /// This field applies only to the regional resource. You must specify this
    /// field as part of the HTTP request URL. It is not settable as a field in
    /// the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL with id for the resource.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of the HealthSource. The only allowed value
    /// is BACKEND_SERVICE. Must be specified when theHealthSource is created, and cannot be mutated.
    /// Check the SourceType enum for the list of possible values.
    #[prost(string, optional, tag = "452245726")]
    pub source_type: ::core::option::Option<::prost::alloc::string::String>,
    /// URLs to the source resources. Must be size 1. Must be aBackendService if
    /// the sourceType is BACKEND_SERVICE. TheBackendService must have load balancing schemeINTERNAL or INTERNAL_MANAGED and must be regional
    /// and in the same region as the HealthSource (cross-region
    /// deployment for INTERNAL_MANAGED is not supported). TheBackendService may use only IGs, MIGs, or NEGs of typeGCE_VM_IP or GCE_VM_IP_PORT. TheBackendService may not use haPolicy. Can be
    /// mutated.
    #[prost(string, repeated, tag = "125606840")]
    pub sources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `HealthSource`.
pub mod health_source {
    /// Specifies the type of the HealthSource. The only allowed value
    /// is BACKEND_SERVICE. Must be specified when theHealthSource is created, and cannot be mutated.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SourceType {
        /// A value indicating that the enum field is not set.
        UndefinedSourceType = 0,
        BackendService = 285792202,
    }
    impl SourceType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSourceType => "UNDEFINED_SOURCE_TYPE",
                Self::BackendService => "BACKEND_SERVICE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SOURCE_TYPE" => Some(Self::UndefinedSourceType),
                "BACKEND_SERVICE" => Some(Self::BackendService),
                _ => None,
            }
        }
    }
}
/// Contains a list of HealthSourcesScopedList.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthSourceAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of HealthSourcesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        HealthSourcesScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Response message for RegionHealthSources.GetHealth
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthSourceHealth {
    /// Health state of the HealthSource.
    /// Check the HealthState enum for the list of possible values.
    #[prost(string, optional, tag = "324007150")]
    pub health_state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#healthSourceHealth for the health of health sources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Health state details of the sources.
    #[prost(message, repeated, tag = "125606840")]
    pub sources: ::prost::alloc::vec::Vec<HealthSourcesGetHealthResponseSourceInfo>,
}
/// Nested message and enum types in `HealthSourceHealth`.
pub mod health_source_health {
    /// Health state of the HealthSource.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum HealthState {
        /// A value indicating that the enum field is not set.
        UndefinedHealthState = 0,
        Healthy = 439801213,
        Unhealthy = 462118084,
        Unknown = 433141802,
    }
    impl HealthState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedHealthState => "UNDEFINED_HEALTH_STATE",
                Self::Healthy => "HEALTHY",
                Self::Unhealthy => "UNHEALTHY",
                Self::Unknown => "UNKNOWN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_HEALTH_STATE" => Some(Self::UndefinedHealthState),
                "HEALTHY" => Some(Self::Healthy),
                "UNHEALTHY" => Some(Self::Unhealthy),
                "UNKNOWN" => Some(Self::Unknown),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthSourceList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of HealthSource resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<HealthSource>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#healthSource for health sources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthSourcesGetHealthResponseSourceInfo {
    /// Represents an instance group or network endpoint group behind the source
    /// backend service. Only used if the sourceType of the regionHealthSource
    /// is BACKEND_SERVICE.
    #[prost(message, repeated, tag = "510839903")]
    pub backends: ::prost::alloc::vec::Vec<
        HealthSourcesGetHealthResponseSourceInfoBackendInfo,
    >,
    /// Fully qualified URL of the forwarding rule associated with the source
    /// resource if it is a L4ILB backend service.
    #[prost(string, optional, tag = "269964030")]
    pub forwarding_rule: ::core::option::Option<::prost::alloc::string::String>,
    /// Fully qualified URL of the associated source resource. This is always a
    /// backend service URL.
    #[prost(string, optional, tag = "177235995")]
    pub source: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HealthSourcesGetHealthResponseSourceInfoBackendInfo {
    /// Total number of endpoints when determining the health of the
    /// regionHealthSource.
    #[prost(int32, optional, tag = "486641125")]
    pub endpoint_count: ::core::option::Option<i32>,
    /// Fully qualified URL of an instance group or network endpoint group
    /// behind the source backend service.
    #[prost(string, optional, tag = "98629247")]
    pub group: ::core::option::Option<::prost::alloc::string::String>,
    /// Number of endpoints considered healthy when determining health of the
    /// regionHealthSource.
    #[prost(int32, optional, tag = "291284167")]
    pub healthy_endpoint_count: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthSourcesScopedList {
    /// A list of HealthSources contained in this scope.
    #[prost(message, repeated, tag = "397879509")]
    pub health_sources: ::prost::alloc::vec::Vec<HealthSource>,
    /// Informational warning which replaces the list of
    /// health sources when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HealthStatus {
    /// Metadata defined as annotations for network endpoint.
    #[prost(map = "string, string", tag = "112032548")]
    pub annotations: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// URL of the forwarding rule associated with the health status of the
    /// instance.
    #[prost(string, optional, tag = "269964030")]
    pub forwarding_rule: ::core::option::Option<::prost::alloc::string::String>,
    /// A forwarding rule IP address assigned to this instance.
    #[prost(string, optional, tag = "172250632")]
    pub forwarding_rule_ip: ::core::option::Option<::prost::alloc::string::String>,
    /// Health state of the IPv4 address of the instance.
    /// Check the HealthState enum for the list of possible values.
    #[prost(string, optional, tag = "324007150")]
    pub health_state: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the instance resource.
    #[prost(string, optional, tag = "18257045")]
    pub instance: ::core::option::Option<::prost::alloc::string::String>,
    /// For target pool based Network Load Balancing, it indicates the forwarding
    /// rule's IP address assigned to this instance. For other types of load
    /// balancing, the field indicates VM internal ip.
    #[prost(string, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "341563804")]
    pub ipv6_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Health state of the IPv6 address of the instance.
    /// Check the Ipv6HealthState enum for the list of possible values.
    #[prost(string, optional, tag = "190316614")]
    pub ipv6_health_state: ::core::option::Option<::prost::alloc::string::String>,
    /// The named port of the instance group, not necessarily the port that is
    /// health-checked.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    #[prost(string, optional, tag = "282149496")]
    pub weight: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the WeightError enum for the list of possible values.
    #[prost(string, optional, tag = "522501505")]
    pub weight_error: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `HealthStatus`.
pub mod health_status {
    /// Health state of the IPv4 address of the instance.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// HEALTHY
    /// UNHEALTHY
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum HealthState {
        /// A value indicating that the enum field is not set.
        UndefinedHealthState = 0,
        Healthy = 439801213,
        Unhealthy = 462118084,
    }
    impl HealthState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedHealthState => "UNDEFINED_HEALTH_STATE",
                Self::Healthy => "HEALTHY",
                Self::Unhealthy => "UNHEALTHY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_HEALTH_STATE" => Some(Self::UndefinedHealthState),
                "HEALTHY" => Some(Self::Healthy),
                "UNHEALTHY" => Some(Self::Unhealthy),
                _ => None,
            }
        }
    }
    /// Health state of the IPv6 address of the instance.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// HEALTHY
    /// UNHEALTHY
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Ipv6HealthState {
        /// A value indicating that the enum field is not set.
        UndefinedIpv6HealthState = 0,
    }
    impl Ipv6HealthState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpv6HealthState => "UNDEFINED_IPV6_HEALTH_STATE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IPV6_HEALTH_STATE" => Some(Self::UndefinedIpv6HealthState),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum WeightError {
        /// A value indicating that the enum field is not set.
        UndefinedWeightError = 0,
        /// The response to a Health Check probe had the HTTP response header field
        /// X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not
        /// a non-negative single-precision floating-point number in decimal string
        /// representation).
        InvalidWeight = 383698400,
        /// The response to a Health Check probe did not have the HTTP response
        /// header field X-Load-Balancing-Endpoint-Weight.
        MissingWeight = 384027537,
        /// This is the value when the accompanied health status is either TIMEOUT
        /// (i.e.,the Health Check probe was not able to get a response in time) or
        /// UNKNOWN. For the latter, it should be typically because there has not
        /// been sufficient time to parse and report the weight for a new backend
        /// (which is with 0.0.0.0 ip address). However, it can be also due to an
        /// outage case for which the health status is explicitly reset to UNKNOWN.
        UnavailableWeight = 439464295,
        /// This is the default value when WeightReportMode is DISABLE,
        /// and is also the initial value when WeightReportMode has just updated to
        /// ENABLE or DRY_RUN and there has not been
        /// sufficient time to parse and report the backend weight.
        WeightNone = 502428831,
    }
    impl WeightError {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedWeightError => "UNDEFINED_WEIGHT_ERROR",
                Self::InvalidWeight => "INVALID_WEIGHT",
                Self::MissingWeight => "MISSING_WEIGHT",
                Self::UnavailableWeight => "UNAVAILABLE_WEIGHT",
                Self::WeightNone => "WEIGHT_NONE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_WEIGHT_ERROR" => Some(Self::UndefinedWeightError),
                "INVALID_WEIGHT" => Some(Self::InvalidWeight),
                "MISSING_WEIGHT" => Some(Self::MissingWeight),
                "UNAVAILABLE_WEIGHT" => Some(Self::UnavailableWeight),
                "WEIGHT_NONE" => Some(Self::WeightNone),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HealthStatusForNetworkEndpoint {
    /// URL of the backend service associated with the health state of the network
    /// endpoint.
    #[prost(message, optional, tag = "306946058")]
    pub backend_service: ::core::option::Option<BackendServiceReference>,
    /// URL of the forwarding rule associated with the health state of the network
    /// endpoint.
    #[prost(message, optional, tag = "269964030")]
    pub forwarding_rule: ::core::option::Option<ForwardingRuleReference>,
    /// URL of the health check associated with the health state of the network
    /// endpoint.
    #[prost(message, optional, tag = "308876645")]
    pub health_check: ::core::option::Option<HealthCheckReference>,
    /// URL of the health check service associated with the health state of the
    /// network endpoint.
    #[prost(message, optional, tag = "408374747")]
    pub health_check_service: ::core::option::Option<HealthCheckServiceReference>,
    /// Health state of the network endpoint determined based on the health checks
    /// configured.
    /// Check the HealthState enum for the list of possible values.
    #[prost(string, optional, tag = "324007150")]
    pub health_state: ::core::option::Option<::prost::alloc::string::String>,
    /// Health state of the ipv6 network endpoint determined based on the health
    /// checks configured.
    /// Check the Ipv6HealthState enum for the list of possible values.
    #[prost(string, optional, tag = "190316614")]
    pub ipv6_health_state: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `HealthStatusForNetworkEndpoint`.
pub mod health_status_for_network_endpoint {
    /// Health state of the network endpoint determined based on the health checks
    /// configured.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// DRAINING
    /// HEALTHY
    /// UNHEALTHY
    /// UNKNOWN
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum HealthState {
        /// A value indicating that the enum field is not set.
        UndefinedHealthState = 0,
        Draining = 480455402,
        Healthy = 439801213,
        Unhealthy = 462118084,
        Unknown = 433141802,
    }
    impl HealthState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedHealthState => "UNDEFINED_HEALTH_STATE",
                Self::Draining => "DRAINING",
                Self::Healthy => "HEALTHY",
                Self::Unhealthy => "UNHEALTHY",
                Self::Unknown => "UNKNOWN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_HEALTH_STATE" => Some(Self::UndefinedHealthState),
                "DRAINING" => Some(Self::Draining),
                "HEALTHY" => Some(Self::Healthy),
                "UNHEALTHY" => Some(Self::Unhealthy),
                "UNKNOWN" => Some(Self::Unknown),
                _ => None,
            }
        }
    }
    /// Health state of the ipv6 network endpoint determined based on the health
    /// checks configured.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// DRAINING
    /// HEALTHY
    /// UNHEALTHY
    /// UNKNOWN
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Ipv6HealthState {
        /// A value indicating that the enum field is not set.
        UndefinedIpv6HealthState = 0,
    }
    impl Ipv6HealthState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpv6HealthState => "UNDEFINED_IPV6_HEALTH_STATE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IPV6_HEALTH_STATE" => Some(Self::UndefinedIpv6HealthState),
                _ => None,
            }
        }
    }
}
/// Provides links to documentation or for performing an out of band action.
///
/// For example, if a quota check failed with an error indicating the calling
/// project hasn't enabled the accessed service, this can contain a URL pointing
/// directly to the right place in the developer console to flip the bit.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Help {
    /// URL(s) pointing to additional information on handling the current error.
    #[prost(message, repeated, tag = "102977465")]
    pub links: ::prost::alloc::vec::Vec<HelpLink>,
}
/// Describes a URL link.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HelpLink {
    /// Describes what the link offers.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the link.
    #[prost(string, optional, tag = "116079")]
    pub url: ::core::option::Option<::prost::alloc::string::String>,
}
/// UrlMaps
/// A host-matching rule for a URL. If matched, will use the namedPathMatcher to select the BackendService.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HostRule {
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of host patterns to match. They must be valid hostnames with
    /// optional port numbers in the format host:port.\* matches any string of (\[a-z0-9-.\]\*). In
    /// that case, * must be the first character, and if followed by
    /// anything, the immediate following character must be either -
    /// or ..
    ///
    /// * based matching is not supported when the URL map is bound
    ///   to a target gRPC proxy that has the validateForProxyless field
    ///   set to true.
    #[prost(string, repeated, tag = "99467211")]
    pub hosts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The name of the PathMatcher to use to match the path portion
    /// of the URL if the hostRule matches the URL's host portion.
    #[prost(string, optional, tag = "337813272")]
    pub path_matcher: ::core::option::Option<::prost::alloc::string::String>,
}
/// Specification for how requests are aborted as part of fault injection.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct HttpFaultAbort {
    /// The HTTP status code used to abort the request.
    ///
    /// The value must be from 200 to 599 inclusive.
    ///
    /// For gRPC protocol, the gRPC status code is mapped to HTTP status code
    /// according to this
    /// mapping table. HTTP status 200 is mapped to gRPC status
    /// UNKNOWN. Injecting an OK status is currently not supported by
    /// Traffic Director.
    #[prost(uint32, optional, tag = "468949897")]
    pub http_status: ::core::option::Option<u32>,
    /// The percentage of traffic for connections, operations, or requests
    /// that is aborted as part of fault injection.
    ///
    /// The value must be from 0.0 to 100.0 inclusive.
    #[prost(double, optional, tag = "151909018")]
    pub percentage: ::core::option::Option<f64>,
}
/// Specifies the delay introduced by the load balancer before forwarding the
/// request to the backend service as part of fault injection.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct HttpFaultDelay {
    /// Specifies the value of the fixed delay interval.
    #[prost(message, optional, tag = "317037816")]
    pub fixed_delay: ::core::option::Option<Duration>,
    /// The percentage of traffic for connections, operations, or requests for
    /// which a delay is introduced as part of fault injection.
    ///
    /// The value must be from 0.0 to 100.0 inclusive.
    #[prost(double, optional, tag = "151909018")]
    pub percentage: ::core::option::Option<f64>,
}
/// The specification for fault injection introduced into traffic to test
/// the resiliency of clients to backend service failure. As part of fault
/// injection, when clients send requests to a backend service, delays can be
/// introduced by the load balancer on a percentage of requests before sending
/// those request to the backend service. Similarly requests from clients can be
/// aborted by the load balancer for a percentage of requests.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct HttpFaultInjection {
    /// The specification for how client requests are aborted as part of fault
    /// injection.
    #[prost(message, optional, tag = "92611376")]
    pub abort: ::core::option::Option<HttpFaultAbort>,
    /// The specification for how client requests are delayed as part of fault
    /// injection, before being sent to a backend service.
    #[prost(message, optional, tag = "95467907")]
    pub delay: ::core::option::Option<HttpFaultDelay>,
}
/// The request and response header transformations that take effect before
/// the request is passed along to the selected backendService.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpHeaderAction {
    /// Headers to add to a matching request before forwarding the request to thebackendService.
    #[prost(message, repeated, tag = "72111974")]
    pub request_headers_to_add: ::prost::alloc::vec::Vec<HttpHeaderOption>,
    /// A list of header names for headers that need to be removed from the
    /// request before forwarding the request to the backendService.
    #[prost(string, repeated, tag = "218425247")]
    pub request_headers_to_remove: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Headers to add the response before sending the response back to the
    /// client.
    #[prost(message, repeated, tag = "32136052")]
    pub response_headers_to_add: ::prost::alloc::vec::Vec<HttpHeaderOption>,
    /// A list of header names for headers that need to be removed from the
    /// response before sending the response back to the client.
    #[prost(string, repeated, tag = "75415761")]
    pub response_headers_to_remove: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
}
/// matchRule criteria for request header matches.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HttpHeaderMatch {
    /// The value should exactly match contents of exactMatch.
    ///
    /// Only one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.
    #[prost(string, optional, tag = "457641093")]
    pub exact_match: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the HTTP header to match.
    ///
    /// For matching against the HTTP request's authority, use a headerMatch
    /// with the header name ":authority".
    ///
    /// For matching a request's method, use the headerName ":method".
    ///
    /// When the URL map is bound to a target gRPC proxy that has
    /// the validateForProxyless field set to true, only
    /// non-binary
    /// user-specified custom metadata and the `content-type` header are supported.
    /// The following transport-level headers cannot be used in header matching
    /// rules:
    /// `:authority`, `:method`, `:path`, `:scheme`, `user-agent`,
    /// `accept-encoding`, `content-encoding`, `grpc-accept-encoding`,
    /// `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`,
    /// `grpc-timeout` and `grpc-trace-bin`.
    #[prost(string, optional, tag = "110223613")]
    pub header_name: ::core::option::Option<::prost::alloc::string::String>,
    /// If set to false, the headerMatch is considered a
    /// match if the preceding match criteria are met. If set to true,
    /// the headerMatch is considered a match if the preceding
    /// match criteria are NOT met.
    ///
    /// The default setting is false.
    #[prost(bool, optional, tag = "501130268")]
    pub invert_match: ::core::option::Option<bool>,
    /// The value of the header must start with the contents ofprefixMatch.
    ///
    /// Only one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.
    #[prost(string, optional, tag = "257898968")]
    pub prefix_match: ::core::option::Option<::prost::alloc::string::String>,
    /// A header with the contents of headerName must exist. The
    /// match takes place whether or not the request's header has a value.
    ///
    /// Only one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.
    #[prost(bool, optional, tag = "67435841")]
    pub present_match: ::core::option::Option<bool>,
    /// The header value must be an integer and its value must be in the range
    /// specified in rangeMatch. If the header does not contain an
    /// integer, number or is empty, the match fails.
    ///
    /// For example for a range \[-5, 0\]
    ///
    /// ```text
    ///    - -3 will match.
    ///    - 0 will not match.
    ///    - 0.25 will not match.
    ///    - -3someString will not match.
    /// ```
    ///
    /// Only one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.
    ///
    /// rangeMatch is not supported for load balancers
    /// that have loadBalancingScheme set to EXTERNAL.
    #[prost(message, optional, tag = "97244227")]
    pub range_match: ::core::option::Option<Int64RangeMatch>,
    /// The value of the header must match the regular expression specified inregexMatch.
    /// For more information about regular expression syntax, see Syntax.
    ///
    /// For matching against a port specified in the HTTP request, use a
    /// headerMatch with headerName set to PORT and a regular expression that
    /// satisfies the RFC2616 Host header's port specifier.
    ///
    /// Only one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.
    ///
    /// Regular expressions can only be used when the loadBalancingScheme is
    /// set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED
    /// (regional scope) or INTERNAL_MANAGED.
    #[prost(string, optional, tag = "107387853")]
    pub regex_match: ::core::option::Option<::prost::alloc::string::String>,
    /// The value of the header must end with the contents ofsuffixMatch.
    ///
    /// Only one of exactMatch, prefixMatch,suffixMatch, regexMatch,presentMatch or rangeMatch must be set.
    #[prost(string, optional, tag = "426488663")]
    pub suffix_match: ::core::option::Option<::prost::alloc::string::String>,
}
/// Specification determining how headers are added to requests or responses.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HttpHeaderOption {
    /// The name of the header.
    #[prost(string, optional, tag = "110223613")]
    pub header_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The value of the header to add.
    #[prost(string, optional, tag = "203094335")]
    pub header_value: ::core::option::Option<::prost::alloc::string::String>,
    /// If false, headerValue is appended to any values
    /// that already
    /// exist for the header. If true, headerValue is set for the
    /// header, discarding any values that were set for that header.
    ///
    /// The default value is true,
    /// unless a variable is present in headerValue,
    /// in which case the default value is false.
    /// .
    #[prost(bool, optional, tag = "20755124")]
    pub replace: ::core::option::Option<bool>,
}
/// HttpRouteRuleMatch criteria for a request's query parameter.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HttpQueryParameterMatch {
    /// The queryParameterMatch matches if the value of the
    /// parameter exactly matches the contents of exactMatch.
    ///
    /// Only one of presentMatch, exactMatch, orregexMatch must be set.
    #[prost(string, optional, tag = "457641093")]
    pub exact_match: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the query parameter to match. The query parameter must exist in
    /// the request, in the absence of which the request match fails.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies that the queryParameterMatch matches if the
    /// request contains the query parameter, irrespective of whether the
    /// parameter has a value or not.
    ///
    /// Only one of presentMatch, exactMatch, orregexMatch must be set.
    #[prost(bool, optional, tag = "67435841")]
    pub present_match: ::core::option::Option<bool>,
    /// The queryParameterMatch matches if the value of the
    /// parameter matches the regular expression specified byregexMatch. For
    /// more information about regular expression syntax, see Syntax.
    ///
    /// Only one of presentMatch, exactMatch, orregexMatch must be set.
    ///
    /// Regular expressions can only be used when the loadBalancingScheme is
    /// set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED
    /// (regional scope) or INTERNAL_MANAGED.
    #[prost(string, optional, tag = "107387853")]
    pub regex_match: ::core::option::Option<::prost::alloc::string::String>,
}
/// Specifies settings for an HTTP redirect.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HttpRedirectAction {
    /// The host that is used in the redirect response instead of the one that
    /// was supplied in the request.
    ///
    /// The value must be from 1 to 255
    /// characters.
    #[prost(string, optional, tag = "107417747")]
    pub host_redirect: ::core::option::Option<::prost::alloc::string::String>,
    /// If set to true, the URL scheme in the redirected request is
    /// set to HTTPS.
    /// If set to false, the URL scheme of the redirected request
    /// remains the same as that of the request.
    ///
    /// This must only be set for URL maps used inTargetHttpProxys. Setting this true forTargetHttpsProxy is not permitted.
    ///
    /// The default is set to false.
    #[prost(bool, optional, tag = "170260656")]
    pub https_redirect: ::core::option::Option<bool>,
    /// The path that is used in the redirect response instead of the one
    /// that was supplied in the request.
    ///
    /// pathRedirect cannot be supplied together withprefixRedirect. Supply one alone or neither. If neither is
    /// supplied, the path of the original request is used for the redirect.
    ///
    /// The value must be from 1 to 1024 characters.
    #[prost(string, optional, tag = "272342710")]
    pub path_redirect: ::core::option::Option<::prost::alloc::string::String>,
    /// The prefix that replaces the prefixMatch specified in
    /// the HttpRouteRuleMatch, retaining the remaining portion
    /// of the URL before redirecting the request.
    ///
    /// prefixRedirect cannot be supplied together withpathRedirect. Supply one alone or neither. If neither is
    /// supplied, the path of the original request is used for the redirect.
    ///
    /// The value must be from 1 to 1024 characters.
    #[prost(string, optional, tag = "446184169")]
    pub prefix_redirect: ::core::option::Option<::prost::alloc::string::String>,
    /// The HTTP Status code to use for this RedirectAction.
    ///
    /// Supported values are:
    ///
    /// ```text
    /// - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds
    /// to 301.
    /// - FOUND, which corresponds to 302.
    /// - SEE_OTHER which corresponds to 303.
    /// - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request
    /// method is retained.
    /// - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request
    /// method is retained.
    /// ```
    ///
    /// Check the RedirectResponseCode enum for the list of possible values.
    #[prost(string, optional, tag = "436710408")]
    pub redirect_response_code: ::core::option::Option<::prost::alloc::string::String>,
    /// If set to true, any accompanying query portion of the original
    /// URL is
    /// removed before redirecting the request. If set to false, the
    /// query portion of the original URL is retained.
    ///
    /// The default is set to false.
    #[prost(bool, optional, tag = "52284641")]
    pub strip_query: ::core::option::Option<bool>,
}
/// Nested message and enum types in `HttpRedirectAction`.
pub mod http_redirect_action {
    /// The HTTP Status code to use for this RedirectAction.
    ///
    /// Supported values are:
    ///
    /// ```text
    /// - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds
    /// to 301.
    /// - FOUND, which corresponds to 302.
    /// - SEE_OTHER which corresponds to 303.
    /// - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request
    /// method is retained.
    /// - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request
    /// method is retained.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RedirectResponseCode {
        /// A value indicating that the enum field is not set.
        UndefinedRedirectResponseCode = 0,
        /// Http Status Code 302 - Found.
        Found = 67084130,
        /// Http Status Code 301 - Moved Permanently.
        MovedPermanentlyDefault = 386698449,
        /// Http Status Code 308 - Permanent Redirect maintaining HTTP method.
        PermanentRedirect = 382006381,
        /// Http Status Code 303 - See Other.
        SeeOther = 445380580,
        /// Http Status Code 307 - Temporary Redirect maintaining HTTP method.
        TemporaryRedirect = 489550378,
    }
    impl RedirectResponseCode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRedirectResponseCode => "UNDEFINED_REDIRECT_RESPONSE_CODE",
                Self::Found => "FOUND",
                Self::MovedPermanentlyDefault => "MOVED_PERMANENTLY_DEFAULT",
                Self::PermanentRedirect => "PERMANENT_REDIRECT",
                Self::SeeOther => "SEE_OTHER",
                Self::TemporaryRedirect => "TEMPORARY_REDIRECT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_REDIRECT_RESPONSE_CODE" => {
                    Some(Self::UndefinedRedirectResponseCode)
                }
                "FOUND" => Some(Self::Found),
                "MOVED_PERMANENTLY_DEFAULT" => Some(Self::MovedPermanentlyDefault),
                "PERMANENT_REDIRECT" => Some(Self::PermanentRedirect),
                "SEE_OTHER" => Some(Self::SeeOther),
                "TEMPORARY_REDIRECT" => Some(Self::TemporaryRedirect),
                _ => None,
            }
        }
    }
}
/// The retry policy associates with HttpRouteRule
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct HttpRetryPolicy {
    /// Specifies the allowed number retries. This number must be > 0.
    /// If not specified, defaults to 1.
    #[prost(uint32, optional, tag = "251680141")]
    pub num_retries: ::core::option::Option<u32>,
    /// Specifies a non-zero timeout per retry attempt.
    ///
    /// If not specified, will use the timeout set in theHttpRouteAction field.
    /// If timeout in the HttpRouteAction field is not set, this field
    /// uses the largest timeout
    /// among all backend services associated with the route.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy that
    /// has the validateForProxyless field set to true.
    #[prost(message, optional, tag = "280041147")]
    pub per_try_timeout: ::core::option::Option<Duration>,
    /// Specifies one or more conditions when this retry policy applies. Valid
    /// values are:
    ///
    /// ```text
    /// - 5xx: retry is attempted if the instance or endpoint
    /// responds with any 5xx response code, or if the instance or
    /// endpoint does not respond at all. For example, disconnects, reset, read
    /// timeout, connection failure, and refused streams.
    /// - gateway-error: Similar to 5xx, but only
    /// applies to response codes 502, 503 or504.
    /// - connect-failure: a retry is attempted on failures
    /// connecting to the instance or endpoint. For example, connection
    /// timeouts.
    /// - retriable-4xx: a retry is attempted if the instance
    /// or endpoint responds with a 4xx response code.
    /// The only error that you can retry is error code 409.
    /// - refused-stream: a retry is attempted if the instance
    /// or endpoint resets the stream with a REFUSED_STREAM error
    /// code. This reset type indicates that it is safe to retry.
    /// - cancelled: a retry is attempted if the gRPC status
    /// code in the response header is set to cancelled.
    /// - deadline-exceeded: a retry is attempted if the gRPC
    /// status code in the response header is set todeadline-exceeded.
    /// - internal: a retry is attempted if the gRPC
    /// status code in the response header is set tointernal.
    /// - resource-exhausted: a retry is attempted if the gRPC
    /// status code in the response header is set toresource-exhausted.
    /// - unavailable: a retry is attempted if the gRPC
    /// status code in the response header is set tounavailable.
    /// ```
    ///
    /// Only the following codes are supported when the URL map is bound to
    /// target gRPC proxy that has validateForProxyless field set to true.
    ///
    /// ```text
    /// - cancelled
    /// - deadline-exceeded
    /// - internal
    /// - resource-exhausted
    /// - unavailable
    /// ```
    #[prost(string, repeated, tag = "28815535")]
    pub retry_conditions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpRouteAction {
    /// Specifies the cache policy configuration for matched traffic. Available
    /// only for Global `EXTERNAL_MANAGED` load balancer schemes. At least one
    /// property must be specified. This policy cannot be specified if any target
    /// backend has Identity-Aware Proxy enabled.
    #[prost(message, optional, tag = "457366671")]
    pub cache_policy: ::core::option::Option<CachePolicy>,
    /// The specification for allowing client-side cross-origin requests. For more
    /// information about the W3C recommendation for cross-origin resource sharing
    /// (CORS), see Fetch API Living
    /// Standard.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy.
    #[prost(message, optional, tag = "398943748")]
    pub cors_policy: ::core::option::Option<CorsPolicy>,
    /// The specification for fault injection introduced into traffic to test
    /// the resiliency of clients to backend service failure. As part of fault
    /// injection, when clients send requests to a backend service, delays can be
    /// introduced by a load balancer on a percentage of requests before sending
    /// those requests to the backend service. Similarly requests from clients can
    /// be aborted by the load balancer for a percentage of requests.timeout and retry_policy is ignored by clients
    /// that are configured with a fault_injection_policy if:
    ///
    /// 1. The traffic is generated by fault injection AND
    /// 1. The fault injection is not a delay fault injection.
    ///    Fault injection is not supported with the classic Application Load Balancer
    ///    . To see which load balancers support fault injection,
    ///    see Load
    ///    balancing: Routing and traffic management features.
    #[prost(message, optional, tag = "412781079")]
    pub fault_injection_policy: ::core::option::Option<HttpFaultInjection>,
    /// Specifies the maximum duration (timeout) for streams on the selected route.
    /// Unlike the timeout field where the timeout duration starts
    /// from the time the request has been fully processed (known as*end-of-stream*),
    /// the duration in this field is computed from the beginning of the stream
    /// until the response has been processed, including all retries. A
    /// stream that does not complete in this duration is closed.
    ///
    /// If not specified, this field uses the maximummaxStreamDuration value among all backend services associated
    /// with the route.
    ///
    /// This field is only allowed if the Url map is used with backend services
    /// with loadBalancingScheme set toINTERNAL_SELF_MANAGED.
    #[prost(message, optional, tag = "61428376")]
    pub max_stream_duration: ::core::option::Option<Duration>,
    /// Specifies the policy on how requests intended for the route's backends
    /// are shadowed to a separate mirrored backend service. The load balancer does
    /// not wait for responses from the shadow service. Before sending traffic
    /// to the shadow service, the host / authority header is suffixed with-shadow.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy that
    /// has the validateForProxyless field set to true.
    #[prost(message, optional, tag = "220196866")]
    pub request_mirror_policy: ::core::option::Option<RequestMirrorPolicy>,
    /// Specifies the retry policy associated with this route.
    #[prost(message, optional, tag = "56799913")]
    pub retry_policy: ::core::option::Option<HttpRetryPolicy>,
    /// Specifies the timeout for the selected route. Timeout is computed from the
    /// time the request has been fully processed (known as *end-of-stream*)
    /// up until the response has been processed. Timeout includes
    /// all retries.
    ///
    /// If not specified, this field uses the largest timeout among all backend
    /// services associated with the route.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy that
    /// has validateForProxyless field set to true.
    #[prost(message, optional, tag = "296701281")]
    pub timeout: ::core::option::Option<Duration>,
    /// The spec to modify the URL of the request, before forwarding the request
    /// to the matched service.
    ///
    /// urlRewrite is the only action supported in UrlMaps
    /// for classic Application Load Balancers.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy that
    /// has the validateForProxyless field set to true.
    #[prost(message, optional, tag = "273333948")]
    pub url_rewrite: ::core::option::Option<UrlRewrite>,
    /// A list of weighted backend services to send traffic to when a route match
    /// occurs. The weights determine the fraction of traffic that flows to
    /// their corresponding backend service. If all traffic needs to
    /// go to a single backend service, there must be oneweightedBackendService with weight set to a non-zero number.
    ///
    /// After a backend service is identified and before forwarding
    /// the request to
    /// the backend service, advanced routing actions such as URL rewrites and
    /// header transformations are applied depending on additional settings
    /// specified in this HttpRouteAction.
    #[prost(message, repeated, tag = "337028049")]
    pub weighted_backend_services: ::prost::alloc::vec::Vec<WeightedBackendService>,
}
/// The HttpRouteRule setting specifies how to match an HTTP request
/// and the corresponding routing action that load balancing proxies perform.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpRouteRule {
    /// customErrorResponsePolicy specifies how the Load
    /// Balancer returns error responses when BackendServiceorBackendBucket responds with an error.
    ///
    /// If a policy for an
    /// error code is not configured for the RouteRule, a policy for
    /// the error code configured inpathMatcher.defaultCustomErrorResponsePolicy is applied. If
    /// one is not specified inpathMatcher.defaultCustomErrorResponsePolicy, the policy
    /// configured in UrlMap.defaultCustomErrorResponsePolicy takes
    /// effect.
    ///
    /// For example, consider a UrlMap with the following configuration:
    ///
    /// ```text
    ///   - UrlMap.defaultCustomErrorResponsePolicy are configured
    ///   with policies for 5xx and 4xx errors
    ///   - A RouteRule for /coming_soon/ is configured for the
    ///   error code 404.
    /// ```
    ///
    /// If the request is for www.myotherdomain.com and a404 is encountered, the policy underUrlMap.defaultCustomErrorResponsePolicy takes effect. If a404 response is encountered for the requestwww.example.com/current_events/, the pathMatcher's policy
    /// takes effect. If however, the request forwww.example.com/coming_soon/ encounters a 404,
    /// the policy in RouteRule.customErrorResponsePolicy takes
    /// effect. If any of the requests in this example encounter a 500
    /// error code, the policy atUrlMap.defaultCustomErrorResponsePolicy takes effect.
    ///
    /// When
    /// used in conjunction withrouteRules.routeAction.retryPolicy, retries take
    /// precedence. Only once all retries are exhausted, thecustomErrorResponsePolicy is applied. While attempting
    /// a retry, if load balancer is successful in reaching the
    /// service, the customErrorResponsePolicy is ignored and
    /// the response from the service is returned to the client.
    ///
    /// customErrorResponsePolicy is supported only for
    /// global external Application Load Balancers.
    #[prost(message, optional, tag = "202816619")]
    pub custom_error_response_policy: ::core::option::Option<CustomErrorResponsePolicy>,
    /// The short description conveying the intent of this routeRule.
    ///
    /// The description can have a maximum length of 1024 characters.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies changes to request and response headers that need to take effect
    /// for the selected backendService.
    ///
    /// The headerAction value specified here is applied before the
    /// matching pathMatchers\[\].headerAction and afterpathMatchers\[\].routeRules\[\].routeAction.weightedBackendService.backendServiceWeightAction\[\].headerAction
    ///
    /// HeaderAction is not supported for load balancers
    /// that have
    /// their loadBalancingScheme set to EXTERNAL.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy that
    /// has validateForProxyless field set to true.
    #[prost(message, optional, tag = "328077352")]
    pub header_action: ::core::option::Option<HttpHeaderAction>,
    /// The list of criteria for matching attributes of a request to thisrouteRule. This list has OR semantics: the request matches
    /// this routeRule when any of thematchRules are satisfied. However predicates within
    /// a given matchRule have AND semantics. All predicates
    /// within a matchRule must match for the request to
    /// match the rule.
    #[prost(message, repeated, tag = "376200701")]
    pub match_rules: ::prost::alloc::vec::Vec<HttpRouteRuleMatch>,
    /// For routeRules within a given pathMatcher,
    /// priority determines the order in which a load balancer interpretsrouteRules. RouteRules are evaluated in order
    /// of priority, from the lowest to highest number. The priority of a
    /// rule decreases as its number increases (1, 2, 3, N+1). The first rule
    /// that matches the request is applied.
    ///
    /// You cannot configure two or more routeRules with the same priority.
    /// Priority for each rule must be set to a number from 0 to 2147483647
    /// inclusive.
    ///
    /// Priority numbers can have gaps, which enable you to add or remove rules
    /// in the future without affecting the rest of the rules. For example, 1, 2,
    /// 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you
    /// could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future
    /// without any impact on existing rules.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// In response to a matching matchRule, the load balancer
    /// performs advanced routing actions, such as URL rewrites and header
    /// transformations, before forwarding the request to the selected backend.
    ///
    /// Only one of urlRedirect, service orrouteAction.weightedBackendService can be set.
    ///
    /// URL maps for classic Application Load Balancers only support
    /// the urlRewrite action within a route rule'srouteAction.
    #[prost(message, optional, tag = "424563948")]
    pub route_action: ::core::option::Option<HttpRouteAction>,
    /// The full or partial URL of the backend service resource to which traffic
    /// is directed if this rule is matched. If routeAction is
    /// also specified, advanced routing actions, such as URL rewrites,
    /// take effect before sending the request to the backend.
    ///
    /// Only one of urlRedirect, service orrouteAction.weightedBackendService can be set.
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
    /// When this rule is matched, the request is redirected to a URL
    /// specified by urlRedirect.
    ///
    /// Only one of urlRedirect, service orrouteAction.weightedBackendService can be set.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy.
    #[prost(message, optional, tag = "405147820")]
    pub url_redirect: ::core::option::Option<HttpRedirectAction>,
}
/// HttpRouteRuleMatch specifies a set of criteria for matching
/// requests to an HttpRouteRule. All specified criteria must
/// be satisfied for a match to occur.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpRouteRuleMatch {
    /// For satisfying the matchRule condition, the path of the
    /// request must exactly match the value specified infullPathMatch after removing any query parameters and anchor
    /// that may be part of the original URL.
    ///
    /// fullPathMatch must be from 1 to 1024 characters.
    ///
    /// Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be
    /// specified.
    #[prost(string, optional, tag = "214598875")]
    pub full_path_match: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a list of header match criteria, all of which must match
    /// corresponding headers in the request.
    #[prost(message, repeated, tag = "361903489")]
    pub header_matches: ::prost::alloc::vec::Vec<HttpHeaderMatch>,
    /// Specifies that prefixMatch and fullPathMatch
    /// matches are case sensitive.
    ///
    /// The default value is false.
    ///
    /// ignoreCase must not be used with regexMatch.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy.
    #[prost(bool, optional, tag = "464324989")]
    pub ignore_case: ::core::option::Option<bool>,
    /// Opaque filter criteria used by the load balancer to restrict routing
    /// configuration to a limited set of xDS
    /// compliant clients. In their xDS requests to the load balancer, xDS clients
    /// present node
    /// metadata. When there is a match, the relevant routing configuration
    /// is made available to those proxies.
    ///
    /// For each metadataFilter in this list, if itsfilterMatchCriteria is set to MATCH_ANY, at least one of thefilterLabels must match the corresponding label provided in
    /// the metadata. If its filterMatchCriteria is set to
    /// MATCH_ALL, then all of its filterLabels must match with
    /// corresponding labels provided in the metadata. If multiple
    /// metadata filters are specified, all of them need to be
    /// satisfied in order to be considered a match.
    ///
    /// metadataFilters specified here is applied after those
    /// specified in ForwardingRule that refers to theUrlMap this HttpRouteRuleMatch belongs to.
    ///
    /// metadataFilters only applies to load balancers that haveloadBalancingScheme set toINTERNAL_SELF_MANAGED.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy that
    /// has validateForProxyless field set to true.
    #[prost(message, repeated, tag = "464725739")]
    pub metadata_filters: ::prost::alloc::vec::Vec<MetadataFilter>,
    /// If specified, this field defines a path template pattern that must match
    /// the :path header after the query string is removed.
    ///
    /// A path template pattern can include variables and wildcards.
    /// Variables are enclosed in curly braces, for example{variable_name}. Wildcards include * that
    /// matches a single path segment, and ** that matches zero or
    /// more path segments. The pattern must follow these rules:
    ///
    /// ```text
    ///    - The value must be between 1 and 1024 characters.
    ///    - The pattern must start with a leading slash ("/").
    ///    - No more than 5 operators (variables or wildcards) may appear in
    ///    the pattern.
    /// ```
    ///
    /// Precisely one ofprefixMatch, fullPathMatch,regexMatch, or pathTemplateMatch must be
    /// set.
    #[prost(string, optional, tag = "292348186")]
    pub path_template_match: ::core::option::Option<::prost::alloc::string::String>,
    /// For satisfying the matchRule condition, the request's
    /// path must begin with the specified prefixMatch.prefixMatch must begin with a /.
    ///
    /// The value must be from 1 to 1024 characters.
    ///
    /// The * character inside a prefix match is
    /// treated as a literal character, not as a wildcard.
    ///
    /// Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match can be
    /// used within a matchRule.
    #[prost(string, optional, tag = "257898968")]
    pub prefix_match: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a list of query parameter match criteria, all of which must
    /// match corresponding query parameters in the request.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy.
    #[prost(message, repeated, tag = "286231270")]
    pub query_parameter_matches: ::prost::alloc::vec::Vec<HttpQueryParameterMatch>,
    /// For satisfying the matchRule condition, the path of the
    /// request must satisfy the regular expression specified inregexMatch after removing any query parameters and anchor
    /// supplied with the original URL. For
    /// more information about regular expression syntax, see Syntax.
    ///
    /// Only one of prefixMatch, fullPathMatch,regexMatch or path_template_match must be
    /// specified.
    ///
    /// Regular expressions can only be used when the loadBalancingScheme is
    /// set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED
    /// (regional scope) or INTERNAL_MANAGED.
    #[prost(string, optional, tag = "107387853")]
    pub regex_match: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents an Image resource.
///
/// You can use images to create boot disks for your VM instances.
/// For more information, read Images.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Image {
    /// The architecture of the image. Valid values are
    /// ARM64 or X86_64.
    /// Check the Architecture enum for the list of possible values.
    #[prost(string, optional, tag = "302803283")]
    pub architecture: ::core::option::Option<::prost::alloc::string::String>,
    /// Size of the image tar.gz archive stored in Google Cloud
    /// Storage (in bytes).
    #[prost(int64, optional, tag = "381093450")]
    pub archive_size_bytes: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The deprecation status associated with this image.
    #[prost(message, optional, tag = "515138995")]
    pub deprecated: ::core::option::Option<DeprecationStatus>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Size of the image when restored onto a persistent disk (in GB).
    #[prost(int64, optional, tag = "316263735")]
    pub disk_size_gb: ::core::option::Option<i64>,
    /// Output only. Whether this image is created from a confidential compute mode disk.
    /// \[Output Only\]: This field is not set by user, but from source disk.
    #[prost(bool, optional, tag = "102135228")]
    pub enable_confidential_compute: ::core::option::Option<bool>,
    /// The name of the image family to which this image belongs. The image
    /// family name can be from a publicly managed image family provided by
    /// Compute Engine, or from a custom image family you create. For example,centos-stream-9 is a publicly available image family.
    /// For more information, see Image
    /// family best practices.
    ///
    /// When creating disks, you can specify an image family instead of a specific
    /// image name. The image family always returns its latest image that is not
    /// deprecated. The name of the image family must comply with RFC1035.
    #[prost(string, optional, tag = "328751972")]
    pub family: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of features to enable on the guest operating system. Applicable
    /// only for bootable images. To see a list of available options, see theguestOSfeatures\[\].type parameter.
    #[prost(message, repeated, tag = "79294545")]
    pub guest_os_features: ::prost::alloc::vec::Vec<GuestOsFeature>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Encrypts the image using acustomer-supplied
    /// encryption key.
    ///
    /// After you encrypt an image with a customer-supplied key, you must provide
    /// the same key if you use the image later (e.g. to create a disk from
    /// the image).
    ///
    /// Customer-supplied encryption keys do not protect access to metadata
    /// of the disk.
    ///
    /// If you do not provide an encryption key when creating the image, then the
    /// disk will be encrypted using an automatically generated key and you do not
    /// need to provide a key to use the image later.
    #[prost(message, optional, tag = "379512583")]
    pub image_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#image for
    /// images.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this image, which is
    /// essentially a hash of the labels used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve an image.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels to apply to this image. These can be later modified by
    /// the setLabels method.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Integer license codes indicating which licenses are attached to this image.
    #[prost(int64, repeated, tag = "45482664")]
    pub license_codes: ::prost::alloc::vec::Vec<i64>,
    /// Any applicable license URI.
    #[prost(string, repeated, tag = "337642578")]
    pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Name of the resource; provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<ImageParams>,
    /// The parameters of the raw disk image.
    #[prost(message, optional, tag = "503113556")]
    pub raw_disk: ::core::option::Option<RawDisk>,
    /// Output only. Reserved for future use.
    #[prost(bool, optional, tag = "480964257")]
    pub satisfies_pzi: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Set the secure boot keys of shielded instance.
    #[prost(message, optional, tag = "192356867")]
    pub shielded_instance_initial_state: ::core::option::Option<InitialStateConfig>,
    /// URL of the source disk used to create this image.
    /// For example, the following are valid values:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk>
    /// - projects/project/zones/zone/disks/disk
    /// - zones/zone/disks/disk
    /// ```
    ///
    /// In order to create an image, you must provide the full or partial URL of
    /// one of the following:
    ///
    /// ```text
    /// - The rawDisk.source URL
    /// - The sourceDisk URL
    /// - The sourceImage URL
    /// - The sourceSnapshot URL
    /// ```
    #[prost(string, optional, tag = "451753793")]
    pub source_disk: ::core::option::Option<::prost::alloc::string::String>,
    /// Thecustomer-supplied
    /// encryption key of the source disk. Required if the source disk is
    /// protected by a customer-supplied encryption key.
    #[prost(message, optional, tag = "531501153")]
    pub source_disk_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// Output only. \[Output Only\]
    /// The ID value of the disk used to create this image. This value may be used
    /// to determine whether the image was taken from the current or a previous
    /// instance of a given disk name.
    #[prost(string, optional, tag = "454190809")]
    pub source_disk_id: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the source image used to create this image.
    /// The following are valid formats for the URL:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project_id/global/>
    /// images/image_name
    /// - projects/project_id/global/images/image_name
    /// ```
    ///
    /// In order to create an image, you must provide the full or partial URL of
    /// one of the following:
    ///
    /// ```text
    /// - The rawDisk.source URL
    /// - The sourceDisk URL
    /// - The sourceImage URL
    /// - The sourceSnapshot URL
    /// ```
    #[prost(string, optional, tag = "50443319")]
    pub source_image: ::core::option::Option<::prost::alloc::string::String>,
    /// The customer-supplied encryption key of the source image. Required if the
    /// source image is protected by a customer-supplied encryption key.
    #[prost(message, optional, tag = "381503659")]
    pub source_image_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// Output only. \[Output Only\]
    /// The ID value of the image used to create this image. This value may be used
    /// to determine whether the image was taken from the current or a previous
    /// instance of a given image name.
    #[prost(string, optional, tag = "55328291")]
    pub source_image_id: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the source snapshot used to create this image.
    /// The following are valid formats for the URL:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project_id/global/>
    /// snapshots/snapshot_name
    /// - projects/project_id/global/snapshots/snapshot_name
    /// ```
    ///
    /// In order to create an image, you must provide the full or partial URL of
    /// one of the following:
    ///
    /// ```text
    /// - The rawDisk.source URL
    /// - The sourceDisk URL
    /// - The sourceImage URL
    /// - The sourceSnapshot URL
    /// ```
    #[prost(string, optional, tag = "126061928")]
    pub source_snapshot: ::core::option::Option<::prost::alloc::string::String>,
    /// The customer-supplied encryption key of the source snapshot. Required if
    /// the source snapshot is protected by a customer-supplied encryption key.
    #[prost(message, optional, tag = "303679322")]
    pub source_snapshot_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// Output only. \[Output Only\]
    /// The ID value of the snapshot used to create this image. This value may be
    /// used to determine whether the snapshot was taken from the current or a
    /// previous instance of a given snapshot name.
    #[prost(string, optional, tag = "98962258")]
    pub source_snapshot_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The type of the image used to create this disk. The
    /// default and only valid value is RAW.
    /// Check the SourceType enum for the list of possible values.
    #[prost(string, optional, tag = "452245726")]
    pub source_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The status of the image. An image can be used to create other
    /// resources, such as instances, only after the image has been successfully
    /// created and the status is set to READY. Possible
    /// values are FAILED, PENDING, orREADY.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Cloud Storage bucket storage location of the image (regional or
    /// multi-regional).
    #[prost(string, repeated, tag = "328005274")]
    pub storage_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Image`.
pub mod image {
    /// The architecture of the image. Valid values are
    /// ARM64 or X86_64.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Architecture {
        /// A value indicating that the enum field is not set.
        UndefinedArchitecture = 0,
        /// Default value indicating Architecture is not set.
        Unspecified = 394750507,
        /// Machines with architecture ARM64
        Arm64 = 62547450,
        /// Machines with architecture X86_64
        X8664 = 425300551,
    }
    impl Architecture {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedArchitecture => "UNDEFINED_ARCHITECTURE",
                Self::Unspecified => "ARCHITECTURE_UNSPECIFIED",
                Self::Arm64 => "ARM64",
                Self::X8664 => "X86_64",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ARCHITECTURE" => Some(Self::UndefinedArchitecture),
                "ARCHITECTURE_UNSPECIFIED" => Some(Self::Unspecified),
                "ARM64" => Some(Self::Arm64),
                "X86_64" => Some(Self::X8664),
                _ => None,
            }
        }
    }
    /// The type of the image used to create this disk. The
    /// default and only valid value is RAW.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SourceType {
        /// A value indicating that the enum field is not set.
        UndefinedSourceType = 0,
        Raw = 80904,
    }
    impl SourceType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSourceType => "UNDEFINED_SOURCE_TYPE",
                Self::Raw => "RAW",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SOURCE_TYPE" => Some(Self::UndefinedSourceType),
                "RAW" => Some(Self::Raw),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of the image. An image can be used to create other
    /// resources, such as instances, only after the image has been successfully
    /// created and the status is set to READY. Possible
    /// values are FAILED, PENDING, orREADY.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Image is deleting.
        Deleting = 528602024,
        /// Image creation failed due to an error.
        Failed = 455706685,
        /// Image hasn't been created as yet.
        Pending = 35394935,
        /// Image has been successfully created.
        Ready = 77848963,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Deleting => "DELETING",
                Self::Failed => "FAILED",
                Self::Pending => "PENDING",
                Self::Ready => "READY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "DELETING" => Some(Self::Deleting),
                "FAILED" => Some(Self::Failed),
                "PENDING" => Some(Self::Pending),
                "READY" => Some(Self::Ready),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImageFamilyView {
    /// The latest image that is part of the specified image family in the
    /// requested location, and that is not deprecated.
    #[prost(message, optional, tag = "100313435")]
    pub image: ::core::option::Option<Image>,
}
/// Contains a list of images.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImageList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Image resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Image>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Additional image params.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImageParams {
    /// Input only. Resource manager tags to be bound to the image. Tag keys and values have
    /// the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
    /// format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// Initial State for shielded instance,
/// these are public keys which are safe to store in public
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InitialStateConfig {
    /// The Key Database (db).
    #[prost(message, repeated, tag = "99253")]
    pub dbs: ::prost::alloc::vec::Vec<FileContentBuffer>,
    /// The forbidden key database (dbx).
    #[prost(message, repeated, tag = "3077113")]
    pub dbxs: ::prost::alloc::vec::Vec<FileContentBuffer>,
    /// The Key Exchange Key (KEK).
    #[prost(message, repeated, tag = "3288130")]
    pub keks: ::prost::alloc::vec::Vec<FileContentBuffer>,
    /// The Platform Key (PK).
    #[prost(message, optional, tag = "3579")]
    pub pk: ::core::option::Option<FileContentBuffer>,
}
/// A request message for Addresses.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertAddressRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "483888121")]
    pub address_resource: ::core::option::Option<Address>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Autoscalers.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertAutoscalerRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "207616118")]
    pub autoscaler_resource: ::core::option::Option<Autoscaler>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for BackendBuckets.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertBackendBucketRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "380757784")]
    pub backend_bucket_resource: ::core::option::Option<BackendBucket>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for BackendServices.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertBackendServiceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "347586723")]
    pub backend_service_resource: ::core::option::Option<BackendService>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for CrossSiteNetworks.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertCrossSiteNetworkRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "30896696")]
    pub cross_site_network_resource: ::core::option::Option<CrossSiteNetwork>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Input Only\] Validate the new configuration, but don't create it.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
}
/// A request message for Disks.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertDiskRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "25880688")]
    pub disk_resource: ::core::option::Option<Disk>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Source image to restore onto a disk. This field is optional.
    #[prost(string, optional, tag = "50443319")]
    pub source_image: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ExternalVpnGateways.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertExternalVpnGatewayRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "486813576")]
    pub external_vpn_gateway_resource: ::core::option::Option<ExternalVpnGateway>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for FirewallPolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertFirewallPolicyRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "495049532")]
    pub firewall_policy_resource: ::core::option::Option<FirewallPolicy>,
    /// Parent ID for this request. The ID can be either be "folders/\[FOLDER_ID\]"
    /// if the parent is a folder or "organizations/\[ORGANIZATION_ID\]" if the
    /// parent is an organization.
    #[prost(string, tag = "459714768")]
    pub parent_id: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Firewalls.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertFirewallRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "41425005")]
    pub firewall_resource: ::core::option::Option<Firewall>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for ForwardingRules.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertForwardingRuleRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "301211695")]
    pub forwarding_rule_resource: ::core::option::Option<ForwardingRule>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for FutureReservations.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertFutureReservationRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "466750493")]
    pub future_reservation_resource: ::core::option::Option<FutureReservation>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request. Name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for GlobalAddresses.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertGlobalAddressRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "483888121")]
    pub address_resource: ::core::option::Option<Address>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for GlobalForwardingRules.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertGlobalForwardingRuleRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "301211695")]
    pub forwarding_rule_resource: ::core::option::Option<ForwardingRule>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for GlobalNetworkEndpointGroups.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertGlobalNetworkEndpointGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "525788839")]
    pub network_endpoint_group_resource: ::core::option::Option<NetworkEndpointGroup>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for GlobalPublicDelegatedPrefixes.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertGlobalPublicDelegatedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "47594501")]
    pub public_delegated_prefix_resource: ::core::option::Option<PublicDelegatedPrefix>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for HealthChecks.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertHealthCheckRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "201925032")]
    pub health_check_resource: ::core::option::Option<HealthCheck>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Images.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertImageRequest {
    /// Force image creation if true.
    #[prost(bool, optional, tag = "197723344")]
    pub force_create: ::core::option::Option<bool>,
    /// The body resource for this request
    #[prost(message, optional, tag = "371171954")]
    pub image_resource: ::core::option::Option<Image>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstanceGroupManagers.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertInstanceGroupManagerRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "261063946")]
    pub instance_group_manager_resource: ::core::option::Option<InstanceGroupManager>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone
    /// where you want to create the managed instance group.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagerResizeRequests.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertInstanceGroupManagerResizeRequestRequest {
    /// The name of the managed instance group to which the resize request will
    /// be added.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "468541293")]
    pub instance_group_manager_resize_request_resource: ::core::option::Option<
        InstanceGroupManagerResizeRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located and where the resize request will be created.
    /// Name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroups.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertInstanceGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "286612152")]
    pub instance_group_resource: ::core::option::Option<InstanceGroup>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone
    /// where you want to create the instance group.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertInstanceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "215988344")]
    pub instance_resource: ::core::option::Option<Instance>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies instance template to create the instance.
    ///
    /// This field is optional. It can be a full or partial URL. For example, the
    /// following are all valid URLs to an instance template:
    ///
    /// ```text
    ///    - <https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate>
    ///    - projects/project/global/instanceTemplates/instanceTemplate
    ///    - global/instanceTemplates/instanceTemplate
    /// ```
    #[prost(string, optional, tag = "332423616")]
    pub source_instance_template: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the machine image to use to create the instance.
    ///
    /// This field is optional. It can be a full or partial URL. For example, the
    /// following are all valid URLs to a machine image:
    ///
    /// ```text
    ///    - <https://www.googleapis.com/compute/v1/projects/project/global/global/machineImages/machineImage>
    ///    - projects/project/global/global/machineImages/machineImage
    ///    - global/machineImages/machineImage
    /// ```
    #[prost(string, optional, tag = "21769791")]
    pub source_machine_image: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceTemplates.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertInstanceTemplateRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "10679561")]
    pub instance_template_resource: ::core::option::Option<InstanceTemplate>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstantSnapshotGroups.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertInstantSnapshotGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "145067339")]
    pub instant_snapshot_group_resource: ::core::option::Option<InstantSnapshotGroup>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// begin_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "531359348")]
    pub source_consistency_group: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstantSnapshots.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertInstantSnapshotRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "383915339")]
    pub instant_snapshot_resource: ::core::option::Option<InstantSnapshot>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InterconnectAttachmentGroups.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertInterconnectAttachmentGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "9990137")]
    pub interconnect_attachment_group_resource: ::core::option::Option<
        InterconnectAttachmentGroup,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InterconnectAttachments.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertInterconnectAttachmentRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "212341369")]
    pub interconnect_attachment_resource: ::core::option::Option<InterconnectAttachment>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// If true, the request will not be committed.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
}
/// A request message for InterconnectGroups.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertInterconnectGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "85571999")]
    pub interconnect_group_resource: ::core::option::Option<InterconnectGroup>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Interconnects.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertInterconnectRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "397611167")]
    pub interconnect_resource: ::core::option::Option<Interconnect>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Licenses.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertLicenseRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "437955148")]
    pub license_resource: ::core::option::Option<License>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for MachineImages.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertMachineImageRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "60740970")]
    pub machine_image_resource: ::core::option::Option<MachineImage>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Required. Source instance that is used to create the machine image from.
    #[prost(string, optional, tag = "396315705")]
    pub source_instance: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkAttachments.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertNetworkAttachmentRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "210974745")]
    pub network_attachment_resource: ::core::option::Option<NetworkAttachment>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkEdgeSecurityServices.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertNetworkEdgeSecurityServiceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "477548966")]
    pub network_edge_security_service_resource: ::core::option::Option<
        NetworkEdgeSecurityService,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// If true, the request will not be committed.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
}
/// A request message for NetworkEndpointGroups.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertNetworkEndpointGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "525788839")]
    pub network_endpoint_group_resource: ::core::option::Option<NetworkEndpointGroup>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone where
    /// you want to create the network endpoint group. It should comply with
    /// RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NetworkFirewallPolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertNetworkFirewallPolicyRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "495049532")]
    pub firewall_policy_resource: ::core::option::Option<FirewallPolicy>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Networks.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertNetworkRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "122105599")]
    pub network_resource: ::core::option::Option<Network>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NodeGroups.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertNodeGroupRequest {
    /// Initial count of nodes in the node group.
    #[prost(int32, tag = "71951469")]
    pub initial_node_count: i32,
    /// The body resource for this request
    #[prost(message, optional, tag = "505321899")]
    pub node_group_resource: ::core::option::Option<NodeGroup>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NodeTemplates.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertNodeTemplateRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "127364406")]
    pub node_template_resource: ::core::option::Option<NodeTemplate>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for OrganizationSecurityPolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertOrganizationSecurityPolicyRequest {
    /// Parent ID for this request. The ID can be either be "folders/\[FOLDER_ID\]"
    /// if the parent is a folder or "organizations/\[ORGANIZATION_ID\]" if the
    /// parent is an organization.
    #[prost(string, optional, tag = "459714768")]
    pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "216159612")]
    pub security_policy_resource: ::core::option::Option<SecurityPolicy>,
}
/// A request message for PacketMirrorings.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertPacketMirroringRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "493501985")]
    pub packet_mirroring_resource: ::core::option::Option<PacketMirroring>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for PublicAdvertisedPrefixes.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertPublicAdvertisedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "233614223")]
    pub public_advertised_prefix_resource: ::core::option::Option<
        PublicAdvertisedPrefix,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for PublicDelegatedPrefixes.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertPublicDelegatedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "47594501")]
    pub public_delegated_prefix_resource: ::core::option::Option<PublicDelegatedPrefix>,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionAutoscalers.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionAutoscalerRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "207616118")]
    pub autoscaler_resource: ::core::option::Option<Autoscaler>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionBackendBuckets.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionBackendBucketRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "380757784")]
    pub backend_bucket_resource: ::core::option::Option<BackendBucket>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionBackendServices.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionBackendServiceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "347586723")]
    pub backend_service_resource: ::core::option::Option<BackendService>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionCommitments.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionCommitmentRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "244240888")]
    pub commitment_resource: ::core::option::Option<Commitment>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionCompositeHealthChecks.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertRegionCompositeHealthCheckRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "132195824")]
    pub composite_health_check_resource: ::core::option::Option<CompositeHealthCheck>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionDisks.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionDiskRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "25880688")]
    pub disk_resource: ::core::option::Option<Disk>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Source image to restore onto a disk. This field is optional.
    #[prost(string, optional, tag = "50443319")]
    pub source_image: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthAggregationPolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertRegionHealthAggregationPolicyRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "293526971")]
    pub health_aggregation_policy_resource: ::core::option::Option<
        HealthAggregationPolicy,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthChecks.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertRegionHealthCheckRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "201925032")]
    pub health_check_resource: ::core::option::Option<HealthCheck>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthCheckServices.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertRegionHealthCheckServiceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "477367794")]
    pub health_check_service_resource: ::core::option::Option<HealthCheckService>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthSources.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertRegionHealthSourceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "357735375")]
    pub health_source_resource: ::core::option::Option<HealthSource>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstanceGroupManagers.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionInstanceGroupManagerRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "261063946")]
    pub instance_group_manager_resource: ::core::option::Option<InstanceGroupManager>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstanceGroupManagerResizeRequests.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionInstanceGroupManagerResizeRequestRequest {
    /// Name of the managed instance group to which the resize request is scoped.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "468541293")]
    pub instance_group_manager_resize_request_resource: ::core::option::Option<
        InstanceGroupManagerResizeRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region
    /// scoping this request. Name should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstanceTemplates.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionInstanceTemplateRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "10679561")]
    pub instance_template_resource: ::core::option::Option<InstanceTemplate>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstantSnapshotGroups.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertRegionInstantSnapshotGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "145067339")]
    pub instant_snapshot_group_resource: ::core::option::Option<InstantSnapshotGroup>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// begin_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "531359348")]
    pub source_consistency_group: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstantSnapshots.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionInstantSnapshotRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "383915339")]
    pub instant_snapshot_resource: ::core::option::Option<InstantSnapshot>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionNetworkEndpointGroups.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionNetworkEndpointGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "525788839")]
    pub network_endpoint_group_resource: ::core::option::Option<NetworkEndpointGroup>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region where
    /// you want to create the network endpoint group. It should comply with
    /// RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionNetworkFirewallPolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionNetworkFirewallPolicyRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "495049532")]
    pub firewall_policy_resource: ::core::option::Option<FirewallPolicy>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID
    /// so that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionNotificationEndpoints.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertRegionNotificationEndpointRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "338459940")]
    pub notification_endpoint_resource: ::core::option::Option<NotificationEndpoint>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionSecurityPolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "216159612")]
    pub security_policy_resource: ::core::option::Option<SecurityPolicy>,
    /// If true, the request will not be committed.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
}
/// A request message for RegionSnapshots.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "481319977")]
    pub snapshot_resource: ::core::option::Option<Snapshot>,
}
/// A request message for RegionSslCertificates.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionSslCertificateRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "180709897")]
    pub ssl_certificate_resource: ::core::option::Option<SslCertificate>,
}
/// A request message for RegionSslPolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionSslPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "274891848")]
    pub ssl_policy_resource: ::core::option::Option<SslPolicy>,
}
/// A request message for RegionTargetHttpProxies.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertRegionTargetHttpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "24696744")]
    pub target_http_proxy_resource: ::core::option::Option<TargetHttpProxy>,
}
/// A request message for RegionTargetHttpsProxies.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertRegionTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "433657473")]
    pub target_https_proxy_resource: ::core::option::Option<TargetHttpsProxy>,
}
/// A request message for RegionTargetTcpProxies.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertRegionTargetTcpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "145913931")]
    pub target_tcp_proxy_resource: ::core::option::Option<TargetTcpProxy>,
}
/// A request message for RegionUrlMaps.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRegionUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// begin_interface: MixerMutationRequestBuilder
    /// Request ID to support idempotency.
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "168675425")]
    pub url_map_resource: ::core::option::Option<UrlMap>,
}
/// A request message for Reservations.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertReservationRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "285030177")]
    pub reservation_resource: ::core::option::Option<Reservation>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ResourcePolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertResourcePolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "76826186")]
    pub resource_policy_resource: ::core::option::Option<ResourcePolicy>,
}
/// A request message for Routes.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRouteRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "225428804")]
    pub route_resource: ::core::option::Option<Route>,
}
/// A request message for Routers.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertRouterRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "155222084")]
    pub router_resource: ::core::option::Option<Router>,
}
/// A request message for SecurityPolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "216159612")]
    pub security_policy_resource: ::core::option::Option<SecurityPolicy>,
    /// If true, the request will not be committed.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
}
/// A request message for ServiceAttachments.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertServiceAttachmentRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "472980256")]
    pub service_attachment_resource: ::core::option::Option<ServiceAttachment>,
}
/// A request message for Snapshots.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "481319977")]
    pub snapshot_resource: ::core::option::Option<Snapshot>,
}
/// A request message for SslCertificates.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertSslCertificateRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "180709897")]
    pub ssl_certificate_resource: ::core::option::Option<SslCertificate>,
}
/// A request message for SslPolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertSslPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "274891848")]
    pub ssl_policy_resource: ::core::option::Option<SslPolicy>,
}
/// A request message for StoragePools.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertStoragePoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "157179405")]
    pub storage_pool_resource: ::core::option::Option<StoragePool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Subnetworks.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertSubnetworkRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "42233151")]
    pub subnetwork_resource: ::core::option::Option<Subnetwork>,
}
/// A request message for TargetGrpcProxies.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertTargetGrpcProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "328922450")]
    pub target_grpc_proxy_resource: ::core::option::Option<TargetGrpcProxy>,
}
/// A request message for TargetHttpProxies.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertTargetHttpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "24696744")]
    pub target_http_proxy_resource: ::core::option::Option<TargetHttpProxy>,
}
/// A request message for TargetHttpsProxies.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "433657473")]
    pub target_https_proxy_resource: ::core::option::Option<TargetHttpsProxy>,
}
/// A request message for TargetInstances.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertTargetInstanceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "430453066")]
    pub target_instance_resource: ::core::option::Option<TargetInstance>,
    /// Name of the zone scoping this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for TargetPools.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertTargetPoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "101281443")]
    pub target_pool_resource: ::core::option::Option<TargetPool>,
}
/// A request message for TargetSslProxies.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertTargetSslProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "142016192")]
    pub target_ssl_proxy_resource: ::core::option::Option<TargetSslProxy>,
}
/// A request message for TargetTcpProxies.Insert. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InsertTargetTcpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "145913931")]
    pub target_tcp_proxy_resource: ::core::option::Option<TargetTcpProxy>,
}
/// A request message for TargetVpnGateways.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertTargetVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "498050")]
    pub target_vpn_gateway_resource: ::core::option::Option<TargetVpnGateway>,
}
/// A request message for UrlMaps.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "168675425")]
    pub url_map_resource: ::core::option::Option<UrlMap>,
}
/// A request message for VpnGateways.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "182688660")]
    pub vpn_gateway_resource: ::core::option::Option<VpnGateway>,
}
/// A request message for VpnTunnels.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertVpnTunnelRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "86839482")]
    pub vpn_tunnel_resource: ::core::option::Option<VpnTunnel>,
}
/// A request message for WireGroups.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertWireGroupRequest {
    #[prost(string, tag = "108192469")]
    pub cross_site_network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Input Only\] Validate the new configuration, but don't create it.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
    /// The body resource for this request
    #[prost(message, optional, tag = "117104840")]
    pub wire_group_resource: ::core::option::Option<WireGroup>,
}
/// A request message for ZoneVmExtensionPolicies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InsertZoneVmExtensionPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "515669235")]
    pub vm_extension_policy_resource: ::core::option::Option<VmExtensionPolicy>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// Represents an Instance resource.
///
/// An instance is a virtual machine that is hosted on Google Cloud Platform.
/// For more information, readVirtual Machine Instances.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Instance {
    /// Controls for advanced machine-related behavior features.
    #[prost(message, optional, tag = "409646002")]
    pub advanced_machine_features: ::core::option::Option<AdvancedMachineFeatures>,
    /// Allows this instance to send and receive packets with non-matching
    /// destination or source IPs. This is required if you plan to use this
    /// instance to forward routes. For more information, seeEnabling IP Forwarding.
    #[prost(bool, optional, tag = "467731324")]
    pub can_ip_forward: ::core::option::Option<bool>,
    #[prost(message, optional, tag = "490637685")]
    pub confidential_instance_config: ::core::option::Option<ConfidentialInstanceConfig>,
    /// Output only. \[Output Only\] The CPU platform used by this instance.
    #[prost(string, optional, tag = "410285354")]
    pub cpu_platform: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Whether the resource should be protected against deletion.
    #[prost(bool, optional, tag = "458014698")]
    pub deletion_protection: ::core::option::Option<bool>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Array of disks associated with this instance. Persistent disks must be
    /// created before you can assign them.
    #[prost(message, repeated, tag = "95594102")]
    pub disks: ::prost::alloc::vec::Vec<AttachedDisk>,
    /// Enables display device for the instance.
    #[prost(message, optional, tag = "258933875")]
    pub display_device: ::core::option::Option<DisplayDevice>,
    /// Specifies a fingerprint for this resource, which is essentially a hash of
    /// the instance's contents and used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update the instance. You must always provide an
    /// up-to-date fingerprint hash in order to update the instance.
    ///
    /// To see the latest fingerprint, make get() request to the
    /// instance.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of the type and count of accelerator cards attached to the instance.
    #[prost(message, repeated, tag = "463595119")]
    pub guest_accelerators: ::prost::alloc::vec::Vec<AcceleratorConfig>,
    /// Specifies the hostname of the instance. The specified hostname must be
    /// RFC1035 compliant. If hostname is not specified, the default hostname is
    /// \[INSTANCE_NAME\].c.\[PROJECT_ID\].internal when using the global DNS, and
    /// \[INSTANCE_NAME\].\[ZONE\].c.\[PROJECT_ID\].internal when using zonal DNS.
    #[prost(string, optional, tag = "237067315")]
    pub hostname: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Encrypts suspended data for an instance with acustomer-managed
    /// encryption key.
    ///
    /// If you are creating a new instance, this field will encrypt the local SSD
    /// and in-memory contents of the instance during the suspend operation.
    ///
    /// If you do not provide an encryption key when creating the instance, then
    /// the local SSD and in-memory contents will be encrypted using
    /// an automatically generated key during the suspend operation.
    #[prost(message, optional, tag = "64741517")]
    pub instance_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// KeyRevocationActionType of the instance. Supported options are "STOP" and
    /// "NONE". The default value is "NONE" if it is not specified.
    /// Check the KeyRevocationActionType enum for the list of possible values.
    #[prost(string, optional, tag = "235941474")]
    pub key_revocation_action_type: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Type of the resource. Always compute#instance
    /// for instances.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for this request, which is essentially a hash of
    /// the label's contents and used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels.
    ///
    /// To see the latest fingerprint, make get() request to the
    /// instance.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels to apply to this instance. These can be later modified by
    /// the setLabels method.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Last start timestamp inRFC3339 text format.
    #[prost(string, optional, tag = "443830736")]
    pub last_start_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Last stop timestamp inRFC3339 text format.
    #[prost(string, optional, tag = "412823010")]
    pub last_stop_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Last suspended timestamp inRFC3339 text format.
    #[prost(string, optional, tag = "356275337")]
    pub last_suspended_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Full or partial URL of the machine type resource to use for this instance,
    /// in the format:zones/zone/machineTypes/machine-type. This is provided by the client
    /// when the instance is created. For example, the following is a valid partial
    /// url to a predefined
    /// machine type:
    ///
    /// zones/us-central1-f/machineTypes/n1-standard-1
    ///
    /// To create acustom
    /// machine type, provide a URL to a machine type in the following format,
    /// where CPUS is 1 or an even number up to 32 (2,
    /// 4, 6, ... 24, etc), and MEMORY is the total
    /// memory for this instance. Memory must be a multiple of 256 MB and must
    /// be supplied in MB (e.g. 5 GB of memory is 5120 MB):
    ///
    /// zones/zone/machineTypes/custom-CPUS-MEMORY
    ///
    /// For example: zones/us-central1-f/machineTypes/custom-4-5120
    /// For a full list of restrictions, read theSpecifications
    /// for custom machine types.
    #[prost(string, optional, tag = "227711026")]
    pub machine_type: ::core::option::Option<::prost::alloc::string::String>,
    /// The metadata key/value pairs assigned
    /// to this instance. This includes metadata keys that were explicitly defined
    /// for the instance.
    #[prost(message, optional, tag = "86866735")]
    pub metadata: ::core::option::Option<Metadata>,
    /// Specifies aminimum CPU
    /// platform for the VM instance. Applicable values are the friendly names
    /// of CPU platforms, such as minCpuPlatform: "Intel
    /// Haswell" or minCpuPlatform: "Intel Sandy
    /// Bridge".
    #[prost(string, optional, tag = "242912759")]
    pub min_cpu_platform: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the resource, provided by the client when initially creating
    /// the resource. The resource name must be 1-63 characters long, and comply
    /// withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// An array of network configurations for this instance. These specify how
    /// interfaces are configured to interact with other network services, such as
    /// connecting to the internet. Multiple interfaces are supported
    /// per instance.
    #[prost(message, repeated, tag = "52735243")]
    pub network_interfaces: ::prost::alloc::vec::Vec<NetworkInterface>,
    #[prost(message, optional, tag = "398330850")]
    pub network_performance_config: ::core::option::Option<NetworkPerformanceConfig>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<InstanceParams>,
    /// The private IPv6 google access type for the VM.
    /// If not specified, use  INHERIT_FROM_SUBNETWORK as default.
    /// Check the PrivateIpv6GoogleAccess enum for the list of possible values.
    #[prost(string, optional, tag = "48277006")]
    pub private_ipv6_google_access: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies the reservations that this instance can consume from.
    #[prost(message, optional, tag = "157850683")]
    pub reservation_affinity: ::core::option::Option<ReservationAffinity>,
    /// Resource policies applied to this instance.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Specifies values set for instance attributes as
    /// compared to the values requested by user in the corresponding input only
    /// field.
    #[prost(message, optional, tag = "249429315")]
    pub resource_status: ::core::option::Option<ResourceStatus>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964257")]
    pub satisfies_pzi: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// Sets the scheduling options for this instance.
    #[prost(message, optional, tag = "386688404")]
    pub scheduling: ::core::option::Option<Scheduling>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of service accounts, with their specified scopes, authorized for
    /// this instance. Only one service account per VM instance is supported.
    ///
    /// Service accounts generate access tokens that can be accessed
    /// through the metadata server and used to authenticate applications on the
    /// instance. SeeService Accounts
    /// for more information.
    #[prost(message, repeated, tag = "277537328")]
    pub service_accounts: ::prost::alloc::vec::Vec<ServiceAccount>,
    #[prost(message, optional, tag = "12862901")]
    pub shielded_instance_config: ::core::option::Option<ShieldedInstanceConfig>,
    #[prost(message, optional, tag = "163696919")]
    pub shielded_instance_integrity_policy: ::core::option::Option<
        ShieldedInstanceIntegrityPolicy,
    >,
    /// Source machine image
    #[prost(string, optional, tag = "21769791")]
    pub source_machine_image: ::core::option::Option<::prost::alloc::string::String>,
    /// Source machine image encryption key when creating an instance from a
    /// machine image.
    #[prost(message, optional, tag = "192839075")]
    pub source_machine_image_encryption_key: ::core::option::Option<
        CustomerEncryptionKey,
    >,
    /// Output only. \[Output Only\] Whether a VM has been restricted for start because Compute
    /// Engine has detected suspicious activity.
    #[prost(bool, optional, tag = "123693144")]
    pub start_restricted: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] The status of the instance. One of the
    /// following values: PROVISIONING, STAGING,RUNNING, STOPPING, SUSPENDING,SUSPENDED, REPAIRING, andTERMINATED. For more information about the status of the
    /// instance, see
    /// Instance life cycle.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] An optional, human-readable explanation of the status.
    #[prost(string, optional, tag = "297428154")]
    pub status_message: ::core::option::Option<::prost::alloc::string::String>,
    /// Tags to apply to this instance. Tags are used to identify valid
    /// sources or targets for network firewalls and are specified by the client
    /// during instance creation. The tags can be later modified by the setTags
    /// method. Each tag within the list must comply withRFC1035.
    /// Multiple tags can be specified via the 'tags.items' field.
    #[prost(message, optional, tag = "3552281")]
    pub tags: ::core::option::Option<Tags>,
    #[prost(message, optional, tag = "338198811")]
    pub workload_identity_config: ::core::option::Option<WorkloadIdentityConfig>,
    /// Output only. \[Output Only\] URL of the zone where the instance resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Instance`.
pub mod instance {
    /// KeyRevocationActionType of the instance. Supported options are "STOP" and
    /// "NONE". The default value is "NONE" if it is not specified.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum KeyRevocationActionType {
        /// A value indicating that the enum field is not set.
        UndefinedKeyRevocationActionType = 0,
        /// Default value. This value is unused.
        Unspecified = 467110106,
        /// Indicates user chose no operation.
        None = 2402104,
        /// Indicates user chose to opt for VM shutdown on key revocation.
        Stop = 2555906,
    }
    impl KeyRevocationActionType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedKeyRevocationActionType => {
                    "UNDEFINED_KEY_REVOCATION_ACTION_TYPE"
                }
                Self::Unspecified => "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED",
                Self::None => "NONE",
                Self::Stop => "STOP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_KEY_REVOCATION_ACTION_TYPE" => {
                    Some(Self::UndefinedKeyRevocationActionType)
                }
                "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                "NONE" => Some(Self::None),
                "STOP" => Some(Self::Stop),
                _ => None,
            }
        }
    }
    /// The private IPv6 google access type for the VM.
    /// If not specified, use  INHERIT_FROM_SUBNETWORK as default.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PrivateIpv6GoogleAccess {
        /// A value indicating that the enum field is not set.
        UndefinedPrivateIpv6GoogleAccess = 0,
        /// Bidirectional private IPv6 access to/from Google services. If
        /// specified, the subnetwork who is attached to the instance's default network
        /// interface will be assigned an internal IPv6 prefix if it doesn't have
        /// before.
        EnableBidirectionalAccessToGoogle = 427975994,
        /// Outbound private IPv6 access from VMs in this subnet to Google services. If
        /// specified, the subnetwork who is attached to the instance's default network
        /// interface will be assigned an internal IPv6 prefix if it doesn't have
        /// before.
        EnableOutboundVmAccessToGoogle = 288210263,
        /// Each network interface inherits PrivateIpv6GoogleAccess from its
        /// subnetwork.
        InheritFromSubnetwork = 530256959,
    }
    impl PrivateIpv6GoogleAccess {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPrivateIpv6GoogleAccess => {
                    "UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS"
                }
                Self::EnableBidirectionalAccessToGoogle => {
                    "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE"
                }
                Self::EnableOutboundVmAccessToGoogle => {
                    "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE"
                }
                Self::InheritFromSubnetwork => "INHERIT_FROM_SUBNETWORK",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS" => {
                    Some(Self::UndefinedPrivateIpv6GoogleAccess)
                }
                "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE" => {
                    Some(Self::EnableBidirectionalAccessToGoogle)
                }
                "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE" => {
                    Some(Self::EnableOutboundVmAccessToGoogle)
                }
                "INHERIT_FROM_SUBNETWORK" => Some(Self::InheritFromSubnetwork),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of the instance. One of the
    /// following values: PROVISIONING, STAGING,RUNNING, STOPPING, SUSPENDING,SUSPENDED, REPAIRING, andTERMINATED. For more information about the status of the
    /// instance, see
    /// Instance life cycle.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The instance is halted and we are performing tear down tasks like network
        /// deprogramming, releasing quota, IP, tearing down disks etc.
        Deprovisioning = 428935662,
        /// For Flex Start provisioning instance is waiting for available capacity
        /// from Dynamic Workload Scheduler (DWS).
        Pending = 35394935,
        /// Resources are being allocated for the instance.
        Provisioning = 290896621,
        /// The instance is in repair.
        Repairing = 413483285,
        /// The instance is running.
        Running = 121282975,
        /// All required resources have been allocated and the instance
        /// is being started.
        Staging = 431072283,
        /// The instance has stopped successfully.
        Stopped = 444276141,
        /// The instance is currently stopping (either being deleted or killed).
        Stopping = 350791796,
        /// The instance has suspended.
        Suspended = 51223995,
        /// The instance is suspending.
        Suspending = 514206246,
        /// The instance has stopped (either by explicit action or underlying
        /// failure).
        Terminated = 250018339,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Deprovisioning => "DEPROVISIONING",
                Self::Pending => "PENDING",
                Self::Provisioning => "PROVISIONING",
                Self::Repairing => "REPAIRING",
                Self::Running => "RUNNING",
                Self::Staging => "STAGING",
                Self::Stopped => "STOPPED",
                Self::Stopping => "STOPPING",
                Self::Suspended => "SUSPENDED",
                Self::Suspending => "SUSPENDING",
                Self::Terminated => "TERMINATED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "DEPROVISIONING" => Some(Self::Deprovisioning),
                "PENDING" => Some(Self::Pending),
                "PROVISIONING" => Some(Self::Provisioning),
                "REPAIRING" => Some(Self::Repairing),
                "RUNNING" => Some(Self::Running),
                "STAGING" => Some(Self::Staging),
                "STOPPED" => Some(Self::Stopped),
                "STOPPING" => Some(Self::Stopping),
                "SUSPENDED" => Some(Self::Suspended),
                "SUSPENDING" => Some(Self::Suspending),
                "TERMINATED" => Some(Self::Terminated),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// An object that contains a list of instances scoped by zone.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InstancesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#instanceAggregatedList for aggregated lists of
    /// Instance resources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceConsumptionData {
    /// Output only. Resources consumed by the instance.
    #[prost(message, optional, tag = "146354898")]
    pub consumption_info: ::core::option::Option<InstanceConsumptionInfo>,
    /// Output only. Server-defined URL for the instance.
    #[prost(string, optional, tag = "18257045")]
    pub instance: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceConsumptionInfo {
    /// Output only. The number of virtual CPUs that are available to the instance.
    #[prost(int32, optional, tag = "393356754")]
    pub guest_cpus: ::core::option::Option<i32>,
    /// Output only. The amount of local SSD storage available to the instance,
    /// defined in GiB.
    #[prost(int32, optional, tag = "329237578")]
    pub local_ssd_gb: ::core::option::Option<i32>,
    /// Output only. The amount of physical memory available to the instance,
    /// defined in MiB.
    #[prost(int32, optional, tag = "116001171")]
    pub memory_mb: ::core::option::Option<i32>,
    /// Output only. The minimal guaranteed number of virtual CPUs that are reserved.
    #[prost(int32, optional, tag = "317231675")]
    pub min_node_cpus: ::core::option::Option<i32>,
}
/// A flexible specification of machine types for instances to create.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceFlexibilityPolicy {
    /// Specification of alternative, flexible instance subsets.
    /// One of them will be selected to create the instances
    /// based on various criteria, like:
    ///
    /// * ranks,
    /// * location policy,
    /// * current capacity,
    /// * available reservations (you can specify affinity in
    ///   InstanceProperties),
    /// * SWAN/GOOSE limitations.
    ///   Key is an arbitrary, unique RFC1035 string that identifies the instance
    ///   selection.
    #[prost(map = "string, message", tag = "22954577")]
    pub instance_selections: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InstanceFlexibilityPolicyInstanceSelection,
    >,
}
/// Specification of machine type to use. Every position inside this message
/// is an alternative.
/// The count specified in the shape flexibility must not exceed the number
/// of entries in per_instance_properties or the capacity of the
/// name_pattern, if used.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceFlexibilityPolicyInstanceSelection {
    /// Disks to be attached to the instances created from in this selection.
    /// They override the disks specified in the instance properties.
    #[prost(message, repeated, tag = "95594102")]
    pub disks: ::prost::alloc::vec::Vec<AttachedDisk>,
    /// Alternative machine types to use for instances that are created from
    /// these properties. This field only accepts a machine type names, for
    /// example `n2-standard-4` and not URLs or partial URLs.
    #[prost(string, repeated, tag = "79720065")]
    pub machine_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Rank when prioritizing the shape flexibilities.
    /// The instance selections with rank are considered
    /// first, in the ascending order of the rank.
    /// If not set, defaults to 0.
    #[prost(int64, optional, tag = "3492908")]
    pub rank: ::core::option::Option<i64>,
}
/// Represents an Instance Group resource.
///
/// Instance Groups can be used to configure a target forload
/// balancing.
///
/// Instance groups can either be managed or unmanaged.
///
/// To create
/// managed instance groups, use the instanceGroupManager orregionInstanceGroupManager resource instead.
///
/// Use zonal unmanaged instance groups if you need to applyload
/// balancing to groups of heterogeneous instances or if you need to manage
/// the instances yourself. You cannot create regional unmanaged instance groups.
///
/// For more information, readInstance
/// groups.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroup {
    /// Output only. \[Output Only\] The creation timestamp for this instance group inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The fingerprint of the named ports. The system
    /// uses this fingerprint to detect conflicts when multiple users change the
    /// named ports concurrently.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A unique identifier for this instance group, generated
    /// by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#instanceGroup for instance groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the instance group. The name must be 1-63 characters
    /// long, and comply withRFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. Assigns a name to a port number. For example:{name: "http", port: 80}
    ///
    /// This
    /// allows the system to reference ports by the assigned name instead of a
    /// port number. Named ports can also contain multiple ports. For example:\[{name: "app1", port: 8080}, {name:
    /// "app1", port: 8081}, {name: "app2", port:
    /// 8082}\]
    ///
    /// Named ports apply to all instances in this instance group.
    #[prost(message, repeated, tag = "427598732")]
    pub named_ports: ::prost::alloc::vec::Vec<NamedPort>,
    /// \[Output Only\] The URL of the network to which all instances in the
    /// instance group belong. If your instance has multiple network interfaces,
    /// then the network and subnetwork fields only refer to the
    /// network and subnet used by your primary interface (nic0).
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL of theregion
    /// where the instance group is located (for regional resources).
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL for this instance group. The server generates
    /// this URL.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The total number of instances in the instance group.
    #[prost(int32, optional, tag = "3530753")]
    pub size: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] The URL of the subnetwork to which all instances in the
    /// instance group belong. If your instance has multiple network interfaces,
    /// then the network and subnetwork fields only refer to the
    /// network and subnet used by your primary interface (nic0).
    #[prost(string, optional, tag = "307827694")]
    pub subnetwork: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL of thezone
    /// where the instance group is located (for zonal resources).
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupAggregatedList {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstanceGroupsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InstanceGroupsScopedList,
    >,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#instanceGroupAggregatedList for aggregated lists of
    /// instance groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A list of InstanceGroup resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupList {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstanceGroup resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceGroup>,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#instanceGroupList for instance group lists.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a Managed Instance Group resource.
///
/// An instance group is a collection of VM instances that you can manage as a
/// single entity. For more information, readInstance groups.
///
/// For zonal Managed Instance Group, use the instanceGroupManagers
/// resource.
///
/// For regional Managed Instance Group, use theregionInstanceGroupManagers resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManager {
    /// Specifies configuration that overrides the instance template configuration
    /// for the group.
    #[prost(message, optional, tag = "112596737")]
    pub all_instances_config: ::core::option::Option<
        InstanceGroupManagerAllInstancesConfig,
    >,
    /// The autohealing policy for this managed instance group. You can specify
    /// only one value.
    #[prost(message, repeated, tag = "456799109")]
    pub auto_healing_policies: ::prost::alloc::vec::Vec<
        InstanceGroupManagerAutoHealingPolicy,
    >,
    /// The base instance name is a prefix that you want to attach to the names of
    /// all VMs in a MIG. The maximum character length is 58 and the name must
    /// comply with RFC1035 format.
    ///
    /// When a VM is created in the group, the MIG appends a hyphen and a random
    /// four-character string to the base instance name. If you want the MIG to
    /// assign sequential numbers instead of a random string, then end the base
    /// instance name with a hyphen followed by one or more hash symbols. The hash
    /// symbols indicate the number of digits. For example, a base instance name of
    /// "vm-###" results in "vm-001" as a VM name.
    /// @pattern
    /// [a-z]((\[-a-z0-9\]{0,57})|(\[-a-z0-9\]{0,51}-#{1,10}(\[\[0-9\]{1,10}\])?))
    #[prost(string, optional, tag = "389106439")]
    pub base_instance_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The creation timestamp for this managed instance group inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The list of instance actions and the number of instances
    /// in this managed instance group that are scheduled for each of those
    /// actions.
    #[prost(message, optional, tag = "164045879")]
    pub current_actions: ::core::option::Option<InstanceGroupManagerActionsSummary>,
    /// An optional description of this resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Policy specifying the intended distribution of managed instances across
    /// zones in a regional managed instance group.
    #[prost(message, optional, tag = "534558541")]
    pub distribution_policy: ::core::option::Option<DistributionPolicy>,
    /// Fingerprint of this resource. This field may be used in optimistic locking.
    /// It will be ignored when inserting an InstanceGroupManager. An up-to-date
    /// fingerprint must be provided in order to update the InstanceGroupManager,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve an InstanceGroupManager.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. A unique identifier for this resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Instance flexibility allowing MIG to create VMs from multiple
    /// types of machines.
    /// Instance flexibility configuration on MIG overrides instance
    /// template configuration.
    #[prost(message, optional, tag = "26937090")]
    pub instance_flexibility_policy: ::core::option::Option<
        InstanceGroupManagerInstanceFlexibilityPolicy,
    >,
    /// Output only. The URL of the Instance Group resource.
    #[prost(string, optional, tag = "81095253")]
    pub instance_group: ::core::option::Option<::prost::alloc::string::String>,
    /// The repair policy for this managed instance group.
    #[prost(message, optional, tag = "447961617")]
    pub instance_lifecycle_policy: ::core::option::Option<
        InstanceGroupManagerInstanceLifecyclePolicy,
    >,
    /// The URL of the instance template that is specified for this managed
    /// instance group. The group uses this template to create all new instances
    /// in the managed instance group. The templates for existing instances in the
    /// group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
    #[prost(string, optional, tag = "309248228")]
    pub instance_template: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Pagination behavior of the listManagedInstances API method for
    /// this managed instance group.
    /// Check the ListManagedInstancesResults enum for the list of possible values.
    #[prost(string, optional, tag = "296047156")]
    pub list_managed_instances_results: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// The name of the managed instance group. The name must be 1-63 characters
    /// long, and comply withRFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Named ports configured on the Instance Groups complementary
    /// to this Instance Group Manager.
    #[prost(message, repeated, tag = "427598732")]
    pub named_ports: ::prost::alloc::vec::Vec<NamedPort>,
    /// Output only. \[Output Only\] The URL of theregion
    /// where the managed instance group resides (for regional resources).
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Resource policies for this managed instance group.
    #[prost(message, optional, tag = "22220385")]
    pub resource_policies: ::core::option::Option<InstanceGroupManagerResourcePolicies>,
    /// Output only. Reserved for future use.
    #[prost(bool, optional, tag = "480964257")]
    pub satisfies_pzi: ::core::option::Option<bool>,
    /// Output only. Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// Output only. The URL for this managed instance group. The server defines
    /// this URL.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Standby policy for stopped and suspended instances.
    #[prost(message, optional, tag = "499352324")]
    pub standby_policy: ::core::option::Option<InstanceGroupManagerStandbyPolicy>,
    /// Stateful configuration for this Instanced Group Manager
    #[prost(message, optional, tag = "47538565")]
    pub stateful_policy: ::core::option::Option<StatefulPolicy>,
    /// Output only. The status of this managed instance group.
    #[prost(message, optional, tag = "181260274")]
    pub status: ::core::option::Option<InstanceGroupManagerStatus>,
    /// The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
    /// apply to all of the instances in the managed instance group.
    #[prost(string, repeated, tag = "336072617")]
    pub target_pools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The target number of running instances for this managed instance group.
    /// You can reduce this number by using the instanceGroupManager
    /// deleteInstances or abandonInstances methods. Resizing the group also
    /// changes this number.
    #[prost(int32, optional, tag = "62880239")]
    pub target_size: ::core::option::Option<i32>,
    /// The policy that specifies how the MIG creates its VMs to achieve the target
    /// size.
    #[prost(message, optional, tag = "128773506")]
    pub target_size_policy: ::core::option::Option<InstanceGroupManagerTargetSizePolicy>,
    /// The target number of stopped instances for this managed instance group.
    /// This number changes when you:
    ///
    /// ```text
    /// - Stop instance using the stopInstances
    /// method or start instances using the startInstances
    /// method.
    /// - Manually change the targetStoppedSize using the update
    /// method.
    /// ```
    #[prost(int32, optional, tag = "2419489")]
    pub target_stopped_size: ::core::option::Option<i32>,
    /// The target number of suspended instances for this managed instance group.
    /// This number changes when you:
    ///
    /// ```text
    /// - Suspend instance using the suspendInstances
    /// method or resume instances using the resumeInstances
    /// method.
    /// - Manually change the targetSuspendedSize using the update
    /// method.
    /// ```
    #[prost(int32, optional, tag = "308085843")]
    pub target_suspended_size: ::core::option::Option<i32>,
    /// The update policy for this managed instance group.
    #[prost(message, optional, tag = "175809896")]
    pub update_policy: ::core::option::Option<InstanceGroupManagerUpdatePolicy>,
    /// Specifies the instance templates used by this managed instance group to
    /// create instances.
    ///
    /// Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance
    /// group. This field overrides the top-level instanceTemplate
    /// field. Read more about therelationships
    /// between these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all
    /// remaining instances. For more information, read aboutcanary
    /// updates.
    #[prost(message, repeated, tag = "162430619")]
    pub versions: ::prost::alloc::vec::Vec<InstanceGroupManagerVersion>,
    /// Output only. The URL of azone
    /// where the managed instance group is located (for zonal resources).
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstanceGroupManager`.
pub mod instance_group_manager {
    /// Pagination behavior of the listManagedInstances API method for
    /// this managed instance group.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ListManagedInstancesResults {
        /// A value indicating that the enum field is not set.
        UndefinedListManagedInstancesResults = 0,
        /// (Default) Pagination is disabled for the group'slistManagedInstances API method. maxResults
        /// and pageToken query parameters are ignored and all
        /// instances are returned in a single response.
        Pageless = 32183464,
        /// Pagination is enabled for the group's listManagedInstances
        /// API method. maxResults and pageToken query
        /// parameters are respected.
        Paginated = 40190637,
    }
    impl ListManagedInstancesResults {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedListManagedInstancesResults => {
                    "UNDEFINED_LIST_MANAGED_INSTANCES_RESULTS"
                }
                Self::Pageless => "PAGELESS",
                Self::Paginated => "PAGINATED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LIST_MANAGED_INSTANCES_RESULTS" => {
                    Some(Self::UndefinedListManagedInstancesResults)
                }
                "PAGELESS" => Some(Self::Pageless),
                "PAGINATED" => Some(Self::Paginated),
                _ => None,
            }
        }
    }
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerActionsSummary {
    /// Output only. The total number of instances in the managed instance group
    /// that are scheduled to be abandoned. Abandoning an instance removes it
    /// from the managed instance group without deleting it.
    #[prost(int32, optional, tag = "440023373")]
    pub abandoning: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are scheduled to be created or are currently being created. If the group
    /// fails to create any of these instances, it tries again until it creates
    /// the instance successfully.
    ///
    /// If you have disabled creation retries, this field will not be populated;
    /// instead, the creatingWithoutRetries field will be populated.
    #[prost(int32, optional, tag = "209809081")]
    pub creating: ::core::option::Option<i32>,
    /// Output only. The number of instances that the managed instance group
    /// will attempt to create. The group attempts to create each instance
    /// only once. If the group fails to create any of these instances, it
    /// decreases the group's targetSize value accordingly.
    #[prost(int32, optional, tag = "369916745")]
    pub creating_without_retries: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are scheduled to be deleted or are currently being deleted.
    #[prost(int32, optional, tag = "282846120")]
    pub deleting: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are running and have no scheduled actions.
    #[prost(int32, optional, tag = "3387192")]
    pub none: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are scheduled to be recreated or are currently being being recreated.
    /// Recreating an instance deletes the existing root persistent disk
    /// and creates a new disk from the image that is defined in the
    /// instance template.
    #[prost(int32, optional, tag = "339057132")]
    pub recreating: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are being reconfigured with properties that do not require a restart
    /// or a recreate action. For example, setting or removing target
    /// pools for the instance.
    #[prost(int32, optional, tag = "215044903")]
    pub refreshing: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are scheduled to be restarted or are currently being restarted.
    #[prost(int32, optional, tag = "372312947")]
    pub restarting: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are scheduled to be resumed or are currently being resumed.
    #[prost(int32, optional, tag = "201100714")]
    pub resuming: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are scheduled to be started or are currently being started.
    #[prost(int32, optional, tag = "243064896")]
    pub starting: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are scheduled to be stopped or are currently being stopped.
    #[prost(int32, optional, tag = "105035892")]
    pub stopping: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are scheduled to be suspended or are currently being suspended.
    #[prost(int32, optional, tag = "29113894")]
    pub suspending: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group that
    /// are being verified. See the managedInstances\[\].currentAction
    /// property in the listManagedInstances method documentation.
    #[prost(int32, optional, tag = "451612873")]
    pub verifying: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerAggregatedList {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstanceGroupManagersScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InstanceGroupManagersScopedList,
    >,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#instanceGroupManagerAggregatedList for an aggregated
    /// list of managed instance groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerAllInstancesConfig {
    /// Properties to set on all instances in the group.
    ///
    /// You can add or modify properties using theinstanceGroupManagers.patch orregionInstanceGroupManagers.patch. After settingallInstancesConfig on the group, you must update the group's
    /// instances to apply the configuration. To apply the configuration, set the
    /// group's updatePolicy.type field to use proactive updates or
    /// use the applyUpdatesToInstances method.
    #[prost(message, optional, tag = "147688755")]
    pub properties: ::core::option::Option<InstancePropertiesPatch>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerAutoHealingPolicy {
    /// The URL for the health check that signals autohealing.
    #[prost(string, optional, tag = "308876645")]
    pub health_check: ::core::option::Option<::prost::alloc::string::String>,
    /// The initial delay is the number of seconds that a new VM takes to
    /// initialize and run its startup script. During a VM's initial delay
    /// period, the MIG ignores unsuccessful health checks because the VM might
    /// be in the startup process. This prevents the MIG from prematurely
    /// recreating a VM. If the health check receives a healthy response during
    /// the initial delay, it indicates that the startup process is complete and
    /// the VM is ready. The value of initial delay must be between 0 and 3600
    /// seconds. The default value is 0.
    #[prost(int32, optional, tag = "263207002")]
    pub initial_delay_sec: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerInstanceFlexibilityPolicy {
    /// Named instance selections configuring properties that the group will use
    /// when creating new VMs.
    #[prost(map = "string, message", tag = "22954577")]
    pub instance_selections: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection {
    /// Full machine-type names, e.g. "n1-standard-16".
    #[prost(string, repeated, tag = "79720065")]
    pub machine_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Preference of this instance selection. Lower number means higher
    /// preference. MIG will first try to create a VM based on the machine-type
    /// with lowest rank and fallback to next rank based on availability.
    /// Machine types and instance selections with the same rank have the same
    /// preference.
    #[prost(int32, optional, tag = "3492908")]
    pub rank: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerInstanceLifecyclePolicy {
    /// The action that a MIG performs on a failed or an unhealthy VM.
    /// A VM is marked as unhealthy when the application running on that
    /// VM fails a health check.
    /// Valid values are
    ///
    /// ```text
    /// - REPAIR (default): MIG automatically repairs a failed or
    /// an unhealthy VM by recreating it. For more information, see About
    /// repairing VMs in a MIG.
    /// - DO_NOTHING: MIG does not repair a failed or an unhealthy
    /// VM.
    /// ```
    ///
    /// Check the DefaultActionOnFailure enum for the list of possible values.
    #[prost(string, optional, tag = "61383253")]
    pub default_action_on_failure: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// A bit indicating whether to forcefully apply the group's latest
    /// configuration when repairing a VM. Valid options are:
    ///
    /// ```text
    ///   -  NO (default): If configuration updates are available, they are not
    ///   forcefully applied during repair. Instead, configuration updates are
    ///   applied according to the group's update policy.
    ///
    ///   -  YES: If configuration updates are available, they are applied
    ///   during repair.
    /// ```
    ///
    /// Check the ForceUpdateOnRepair enum for the list of possible values.
    #[prost(string, optional, tag = "356302027")]
    pub force_update_on_repair: ::core::option::Option<::prost::alloc::string::String>,
    /// The action that a MIG performs on an unhealthy VM. A VM is marked as
    /// unhealthy when the application running on that VM fails a health check.
    /// Valid values are:
    ///
    /// ```text
    /// - DEFAULT_ACTION (default): MIG uses the same action
    /// configured for instanceLifecyclePolicy.defaultActionOnFailure field.
    /// - REPAIR: MIG automatically repairs an unhealthy VM by
    /// recreating it.
    /// - DO_NOTHING: MIG doesn't repair an unhealthy VM.
    /// For more information, see
    /// About repairing VMs in a MIG.
    /// ```
    ///
    /// Check the OnFailedHealthCheck enum for the list of possible values.
    #[prost(string, optional, tag = "39807943")]
    pub on_failed_health_check: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstanceGroupManagerInstanceLifecyclePolicy`.
pub mod instance_group_manager_instance_lifecycle_policy {
    /// The action that a MIG performs on a failed or an unhealthy VM.
    /// A VM is marked as unhealthy when the application running on that
    /// VM fails a health check.
    /// Valid values are
    ///
    /// ```text
    /// - REPAIR (default): MIG automatically repairs a failed or
    /// an unhealthy VM by recreating it. For more information, see About
    /// repairing VMs in a MIG.
    /// - DO_NOTHING: MIG does not repair a failed or an unhealthy
    /// VM.
    /// ```
    ///
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// DO_NOTHING
    /// REPAIR
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DefaultActionOnFailure {
        /// A value indicating that the enum field is not set.
        UndefinedDefaultActionOnFailure = 0,
        DoNothing = 451307513,
        Repair = 266277773,
    }
    impl DefaultActionOnFailure {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDefaultActionOnFailure => {
                    "UNDEFINED_DEFAULT_ACTION_ON_FAILURE"
                }
                Self::DoNothing => "DO_NOTHING",
                Self::Repair => "REPAIR",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DEFAULT_ACTION_ON_FAILURE" => {
                    Some(Self::UndefinedDefaultActionOnFailure)
                }
                "DO_NOTHING" => Some(Self::DoNothing),
                "REPAIR" => Some(Self::Repair),
                _ => None,
            }
        }
    }
    /// A bit indicating whether to forcefully apply the group's latest
    /// configuration when repairing a VM. Valid options are:
    ///
    /// ```text
    ///   -  NO (default): If configuration updates are available, they are not
    ///   forcefully applied during repair. Instead, configuration updates are
    ///   applied according to the group's update policy.
    ///
    ///   -  YES: If configuration updates are available, they are applied
    ///   during repair.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ForceUpdateOnRepair {
        /// A value indicating that the enum field is not set.
        UndefinedForceUpdateOnRepair = 0,
        No = 2497,
        Yes = 87751,
    }
    impl ForceUpdateOnRepair {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedForceUpdateOnRepair => "UNDEFINED_FORCE_UPDATE_ON_REPAIR",
                Self::No => "NO",
                Self::Yes => "YES",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_FORCE_UPDATE_ON_REPAIR" => {
                    Some(Self::UndefinedForceUpdateOnRepair)
                }
                "NO" => Some(Self::No),
                "YES" => Some(Self::Yes),
                _ => None,
            }
        }
    }
    /// The action that a MIG performs on an unhealthy VM. A VM is marked as
    /// unhealthy when the application running on that VM fails a health check.
    /// Valid values are:
    ///
    /// ```text
    /// - DEFAULT_ACTION (default): MIG uses the same action
    /// configured for instanceLifecyclePolicy.defaultActionOnFailure field.
    /// - REPAIR: MIG automatically repairs an unhealthy VM by
    /// recreating it.
    /// - DO_NOTHING: MIG doesn't repair an unhealthy VM.
    /// For more information, see
    /// About repairing VMs in a MIG.
    /// ```
    ///
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// DO_NOTHING
    /// REPAIR
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum OnFailedHealthCheck {
        /// A value indicating that the enum field is not set.
        UndefinedOnFailedHealthCheck = 0,
        /// (Default) MIG uses the same action configured for
        /// instanceLifecyclePolicy.defaultActionOnFailure field.
        DefaultAction = 463967764,
    }
    impl OnFailedHealthCheck {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOnFailedHealthCheck => "UNDEFINED_ON_FAILED_HEALTH_CHECK",
                Self::DefaultAction => "DEFAULT_ACTION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ON_FAILED_HEALTH_CHECK" => {
                    Some(Self::UndefinedOnFailedHealthCheck)
                }
                "DEFAULT_ACTION" => Some(Self::DefaultAction),
                _ => None,
            }
        }
    }
}
/// \[Output Only\] A list of managed instance groups.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerList {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstanceGroupManager resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceGroupManager>,
    /// Output only. \[Output Only\] The resource type, which is always
    /// compute#instanceGroupManagerList for a list of managed instance groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// InstanceGroupManagerResizeRequest represents a request to create
/// a number of VMs: either immediately or by queuing the request for the
/// specified time. This resize request is nested under InstanceGroupManager
/// and the VMs created by this request are added to the owning
/// InstanceGroupManager.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerResizeRequest {
    /// Output only. The creation timestamp for this resize request inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. A unique identifier for this resource type. The server generates this
    /// identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. The resource type, which is alwayscompute#instanceGroupManagerResizeRequest for resize requests.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of this resize request. The name must be 1-63 characters
    /// long, and comply withRFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The URL of a region
    /// where the resize request is located. Populated only for regional resize
    /// requests.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Requested run duration for instances that will be created by this request.
    /// At the end of the run duration instance will be deleted.
    #[prost(message, optional, tag = "232146425")]
    pub requested_run_duration: ::core::option::Option<Duration>,
    /// The number of instances to be created by this resize request. The group's
    /// target size will be increased by this number. This field cannot be used
    /// together with 'instances'.
    #[prost(int32, optional, tag = "533735362")]
    pub resize_by: ::core::option::Option<i32>,
    /// Output only. The URL for this resize request. The server defines this URL.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Current state of the request.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Status of the request.
    #[prost(message, optional, tag = "181260274")]
    pub status: ::core::option::Option<InstanceGroupManagerResizeRequestStatus>,
    /// Output only. The URL of a zone
    /// where the resize request is located. Populated only for zonal resize
    /// requests.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstanceGroupManagerResizeRequest`.
pub mod instance_group_manager_resize_request {
    /// Output only. Current state of the request.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// The request was created successfully and was accepted for provisioning
        /// when the capacity becomes available.
        Accepted = 246714279,
        /// The request is cancelled.
        Cancelled = 41957681,
        /// Resize request is being created and may still fail creation.
        Creating = 455564985,
        /// The request failed before or during provisioning. If the request fails
        /// during provisioning, any VMs that were created during provisioning are
        /// rolled back and removed from the MIG.
        Failed = 455706685,
        /// Default value. This value should never be returned.
        Unspecified = 470755401,
        /// The request succeeded.
        Succeeded = 511103553,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Accepted => "ACCEPTED",
                Self::Cancelled => "CANCELLED",
                Self::Creating => "CREATING",
                Self::Failed => "FAILED",
                Self::Unspecified => "STATE_UNSPECIFIED",
                Self::Succeeded => "SUCCEEDED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACCEPTED" => Some(Self::Accepted),
                "CANCELLED" => Some(Self::Cancelled),
                "CREATING" => Some(Self::Creating),
                "FAILED" => Some(Self::Failed),
                "STATE_UNSPECIFIED" => Some(Self::Unspecified),
                "SUCCEEDED" => Some(Self::Succeeded),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerResizeRequestStatus {
    /// Output only. Fatal errors encountered during the queueing or provisioning phases of
    /// the ResizeRequest that caused the transition to the FAILED state.
    /// Contrary to the last_attempt errors, this field is final and errors are
    /// never removed from here, as the ResizeRequest is not going to retry.
    #[prost(message, optional, tag = "96784904")]
    pub error: ::core::option::Option<Error>,
    /// Output only. Information about the last attempt to fulfill the request. The value is
    /// temporary since the ResizeRequest can retry, as long as it's still active
    /// and the last attempt value can either be cleared or replaced with a
    /// different error. Since ResizeRequest retries infrequently, the value may
    /// be stale and no longer show an active problem. The value is cleared when
    /// ResizeRequest transitions to the final state (becomes inactive). If the
    /// final state is FAILED the error describing it will be stored in the
    /// "error" field only.
    #[prost(message, optional, tag = "434771492")]
    pub last_attempt: ::core::option::Option<
        InstanceGroupManagerResizeRequestStatusLastAttempt,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerResizeRequestStatusLastAttempt {
    /// Output only. Errors that prevented the ResizeRequest to be fulfilled.
    #[prost(message, optional, tag = "96784904")]
    pub error: ::core::option::Option<Error>,
}
/// \[Output Only\] A list of resize requests.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerResizeRequestsListResponse {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of resize request resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceGroupManagerResizeRequest>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#instanceGroupManagerResizeRequestList for
    /// a list of resize requests.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerResourcePolicies {
    /// The URL of the workload policy that is specified for this managed
    /// instance group.
    /// It can be a full or partial URL. For example, the following are
    /// all valid URLs to a workload policy:
    ///
    /// ```text
    ///    - <https://www.googleapis.com/compute/v1/projects/project/regions/region/resourcePolicies/resourcePolicy>
    ///    - projects/project/regions/region/resourcePolicies/resourcePolicy
    ///    - regions/region/resourcePolicies/resourcePolicy
    /// ```
    #[prost(string, optional, tag = "114721530")]
    pub workload_policy: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerStandbyPolicy {
    /// Specifies the number of seconds that the MIG should wait to suspend or
    /// stop a VM after that VM was created. The initial delay gives the
    /// initialization script the time to prepare your VM for a quick scale out.
    /// The value of initial delay must be between 0 and 3600 seconds. The
    /// default value is 0.
    #[prost(int32, optional, tag = "263207002")]
    pub initial_delay_sec: ::core::option::Option<i32>,
    /// Defines how a MIG resumes or starts VMs from a standby pool when the
    /// group scales out. The default mode is `MANUAL`.
    /// Check the Mode enum for the list of possible values.
    #[prost(string, optional, tag = "3357091")]
    pub mode: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstanceGroupManagerStandbyPolicy`.
pub mod instance_group_manager_standby_policy {
    /// Defines how a MIG resumes or starts VMs from a standby pool when the
    /// group scales out. The default mode is `MANUAL`.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Mode {
        /// A value indicating that the enum field is not set.
        UndefinedMode = 0,
        /// MIG does not automatically resume or start VMs in the standby pool when
        /// the group scales out.
        Manual = 119397318,
        /// MIG automatically resumes or starts VMs in the standby pool when the
        /// group scales out, and replenishes the standby pool afterwards.
        ScaleOutPool = 635394,
    }
    impl Mode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMode => "UNDEFINED_MODE",
                Self::Manual => "MANUAL",
                Self::ScaleOutPool => "SCALE_OUT_POOL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MODE" => Some(Self::UndefinedMode),
                "MANUAL" => Some(Self::Manual),
                "SCALE_OUT_POOL" => Some(Self::ScaleOutPool),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerStatus {
    /// Output only. Status of all-instances configuration on the group.
    #[prost(message, optional, tag = "112596737")]
    pub all_instances_config: ::core::option::Option<
        InstanceGroupManagerStatusAllInstancesConfig,
    >,
    /// Output only. The accelerator topology applied to this MIG.
    /// Currently only one accelerator topology is supported.
    #[prost(message, repeated, tag = "481392547")]
    pub applied_accelerator_topologies: ::prost::alloc::vec::Vec<
        InstanceGroupManagerStatusAcceleratorTopology,
    >,
    /// Output only. The URL of theAutoscaler
    /// that targets this instance group manager.
    #[prost(string, optional, tag = "517258967")]
    pub autoscaler: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The status of bulk instance operation.
    #[prost(message, optional, tag = "501667466")]
    pub bulk_instance_operation: ::core::option::Option<
        InstanceGroupManagerStatusBulkInstanceOperation,
    >,
    /// Output only. The list of instance statuses and the number of instances
    /// in this managed instance group that have the status. Currently only shown
    /// for TPU MIGs
    #[prost(message, optional, tag = "269432644")]
    pub current_instance_statuses: ::core::option::Option<
        InstanceGroupManagerStatusInstanceStatusSummary,
    >,
    /// Output only. A bit indicating whether the managed instance group is in a
    /// stable state. A stable state means that: none of the instances in the
    /// managed instance group is currently undergoing any type of change (for
    /// example, creation, restart, or deletion); no future changes are scheduled
    /// for instances in the managed instance group; and the managed instance
    /// group itself is not being modified.
    #[prost(bool, optional, tag = "108410864")]
    pub is_stable: ::core::option::Option<bool>,
    /// Output only. Stateful status of the given Instance Group Manager.
    #[prost(message, optional, tag = "244462412")]
    pub stateful: ::core::option::Option<InstanceGroupManagerStatusStateful>,
    /// Output only. A status of consistency of Instances' versions with their
    /// target version specified by version field on Instance Group
    /// Manager.
    #[prost(message, optional, tag = "289386200")]
    pub version_target: ::core::option::Option<InstanceGroupManagerStatusVersionTarget>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerStatusAcceleratorTopology {
    /// Output only. Topology in the format of: "16x16", "4x4x4", etc.
    /// The value is the same as configured in the WorkloadPolicy.
    #[prost(string, optional, tag = "389323203")]
    pub accelerator_topology: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The state of the accelerator topology.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The result of the latest accelerator topology state
    /// check.
    #[prost(message, optional, tag = "95566996")]
    pub state_details: ::core::option::Option<
        InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails,
    >,
}
/// Nested message and enum types in `InstanceGroupManagerStatusAcceleratorTopology`.
pub mod instance_group_manager_status_accelerator_topology {
    /// Output only. The state of the accelerator topology.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// The accelerator topology is being activated.
        Activating = 378825968,
        /// The accelerator topology is active.
        Active = 314733318,
        /// The accelerator topology is being deactivated.
        Deactivating = 57182257,
        /// The accelerator topology failed.
        Failed = 455706685,
        /// The configuration is incomplete and the accelerator topology cannot
        /// be activated due to insufficient number of running VMs.
        Incomplete = 11941214,
        /// The accelerator topology is being reactivated.
        Reactivating = 253727587,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Activating => "ACTIVATING",
                Self::Active => "ACTIVE",
                Self::Deactivating => "DEACTIVATING",
                Self::Failed => "FAILED",
                Self::Incomplete => "INCOMPLETE",
                Self::Reactivating => "REACTIVATING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVATING" => Some(Self::Activating),
                "ACTIVE" => Some(Self::Active),
                "DEACTIVATING" => Some(Self::Deactivating),
                "FAILED" => Some(Self::Failed),
                "INCOMPLETE" => Some(Self::Incomplete),
                "REACTIVATING" => Some(Self::Reactivating),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails {
    /// Output only. Encountered errors.
    #[prost(message, optional, tag = "96784904")]
    pub error: ::core::option::Option<Error>,
    /// Output only. Timestamp is shown only if there is an error. The field
    /// has // RFC3339 //
    /// text format.
    #[prost(string, optional, tag = "55126294")]
    pub timestamp: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerStatusAllInstancesConfig {
    /// Output only. Current all-instances configuration revision.
    /// This value is in RFC3339 text format.
    #[prost(string, optional, tag = "38355937")]
    pub current_revision: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. A bit indicating whether this configuration has
    /// been applied to all managed instances in the group.
    #[prost(bool, optional, tag = "141961639")]
    pub effective: ::core::option::Option<bool>,
}
/// Bulk instance operation is the creation of VMs in a MIG when the
/// targetSizePolicy.mode is set to BULK.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerStatusBulkInstanceOperation {
    /// Output only. Informs whether bulk instance operation is in progress.
    #[prost(bool, optional, tag = "320200711")]
    pub in_progress: ::core::option::Option<bool>,
    /// Output only. Information from the last progress check of bulk instance
    /// operation.
    #[prost(message, optional, tag = "208638271")]
    pub last_progress_check: ::core::option::Option<
        InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck {
    /// Output only. Errors encountered during bulk instance operation.
    #[prost(message, optional, tag = "96784904")]
    pub error: ::core::option::Option<Error>,
    /// Output only. Timestamp of the last progress check of bulk instance
    /// operation. Timestamp is in RFC3339 text format.
    #[prost(string, optional, tag = "55126294")]
    pub timestamp: ::core::option::Option<::prost::alloc::string::String>,
}
/// The list of instance statuses and the number of instances in this managed
/// instance group that have the status. For more information about how to
/// interpret each status check the instance lifecycle documentation.
/// Currently only shown for TPU MIGs.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerStatusInstanceStatusSummary {
    /// Output only. The number of instances in the managed instance group
    /// that have DEPROVISIONING status.
    #[prost(int32, optional, tag = "462169582")]
    pub deprovisioning: ::core::option::Option<i32>,
    /// Output only. The number of instances that have not been created yet or
    /// have been deleted. Includes only instances that would be shown in the
    /// listManagedInstances method and not all instances that have been
    /// deleted in the lifetime of the MIG.
    /// Does not include FlexStart instances that are waiting for the resources
    /// availability, they are considered as 'pending'.
    #[prost(int32, optional, tag = "468485062")]
    pub non_existent: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have PENDING status, that is FlexStart instances that are waiting
    /// for resources. Instances that do not exist because of the other reasons
    /// are counted as 'non_existent'.
    #[prost(int32, optional, tag = "391154071")]
    pub pending: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have PENDING_STOP status.
    #[prost(int32, optional, tag = "163159466")]
    pub pending_stop: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have PROVISIONING status.
    #[prost(int32, optional, tag = "121098989")]
    pub provisioning: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have REPAIRING status.
    #[prost(int32, optional, tag = "311243061")]
    pub repairing: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have RUNNING status.
    #[prost(int32, optional, tag = "477042111")]
    pub running: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have STAGING status.
    #[prost(int32, optional, tag = "249960507")]
    pub staging: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have STOPPED status.
    #[prost(int32, optional, tag = "263164365")]
    pub stopped: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have STOPPING status.
    #[prost(int32, optional, tag = "105035892")]
    pub stopping: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have SUSPENDED status.
    #[prost(int32, optional, tag = "485854683")]
    pub suspended: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have SUSPENDING status.
    #[prost(int32, optional, tag = "29113894")]
    pub suspending: ::core::option::Option<i32>,
    /// Output only. The number of instances in the managed instance group
    /// that have TERMINATED status.
    #[prost(int32, optional, tag = "301796899")]
    pub terminated: ::core::option::Option<i32>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerStatusStateful {
    /// Output only. A bit indicating whether the managed instance group
    /// has stateful configuration, that is, if you have configured any items
    /// in a stateful policy or in per-instance configs.
    /// The group might report that it has no stateful configuration even when
    /// there is still some preserved state on a managed instance, for example,
    /// if you have deleted all PICs but not yet applied those deletions.
    #[prost(bool, optional, tag = "110474224")]
    pub has_stateful_config: ::core::option::Option<bool>,
    /// Output only. Status of per-instance configurations on the instances.
    #[prost(message, optional, tag = "526265001")]
    pub per_instance_configs: ::core::option::Option<
        InstanceGroupManagerStatusStatefulPerInstanceConfigs,
    >,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerStatusStatefulPerInstanceConfigs {
    /// Output only. A bit indicating if all of the group's per-instance configurations
    /// (listed in the output of a listPerInstanceConfigs API call) have
    /// status EFFECTIVE or there are no per-instance-configs.
    #[prost(bool, optional, tag = "516540553")]
    pub all_effective: ::core::option::Option<bool>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerStatusVersionTarget {
    /// Output only. A bit indicating whether version target has been reached
    /// in this managed instance group, i.e. all instances are in their target
    /// version. Instances' target version are specified byversion field on Instance Group Manager.
    #[prost(bool, optional, tag = "433209149")]
    pub is_reached: ::core::option::Option<bool>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerTargetSizePolicy {
    /// The mode of target size policy based on which the MIG creates its VMs
    /// individually or all at once.
    /// Check the Mode enum for the list of possible values.
    #[prost(string, optional, tag = "3357091")]
    pub mode: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstanceGroupManagerTargetSizePolicy`.
pub mod instance_group_manager_target_size_policy {
    /// The mode of target size policy based on which the MIG creates its VMs
    /// individually or all at once.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Mode {
        /// A value indicating that the enum field is not set.
        UndefinedMode = 0,
        /// The mode in which the MIG creates VMs all at once. In this mode, if the
        /// MIG is unable to create even one VM, the MIG waits until all VMs can be
        /// created at the same time.
        Bulk = 2050322,
        /// The mode in which the MIG creates VMs individually. In this mode, if
        /// the MIG is unable to create a VM, the MIG will continue to create the
        /// other VMs in the group. This is the default mode.
        Individual = 438800025,
        /// If mode is unspecified, MIG will behave as in the default `INDIVIDUAL`
        /// mode.
        UnspecifiedMode = 53715403,
    }
    impl Mode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMode => "UNDEFINED_MODE",
                Self::Bulk => "BULK",
                Self::Individual => "INDIVIDUAL",
                Self::UnspecifiedMode => "UNSPECIFIED_MODE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MODE" => Some(Self::UndefinedMode),
                "BULK" => Some(Self::Bulk),
                "INDIVIDUAL" => Some(Self::Individual),
                "UNSPECIFIED_MODE" => Some(Self::UnspecifiedMode),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerUpdatePolicy {
    /// The
    /// instance redistribution policy for regional managed instance groups.
    /// Valid values are:
    ///
    /// ```text
    /// - PROACTIVE (default): The group attempts to maintain an
    /// even distribution of VM instances across zones in the region.
    /// - NONE: For non-autoscaled groups, proactive
    /// redistribution is disabled.
    /// ```
    ///
    /// Check the InstanceRedistributionType enum for the list of possible values.
    #[prost(string, optional, tag = "292630424")]
    pub instance_redistribution_type: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// The maximum number of instances that can be created above the specifiedtargetSize during the update process. This value can be
    /// either a fixed number or, if the group has 10 or more instances, a
    /// percentage. If you set a percentage, the number of instances is rounded
    /// if necessary.  The default value for maxSurge is a fixed
    /// value equal to the number of zones in which the managed instance group
    /// operates.
    ///
    /// At least one of either maxSurge ormaxUnavailable must be greater than 0. Learn more about maxSurge.
    #[prost(message, optional, tag = "302572691")]
    pub max_surge: ::core::option::Option<FixedOrPercent>,
    /// The maximum number of instances that can be unavailable during the update
    /// process. An instance is considered available if all of the following
    /// conditions are satisfied:
    ///
    /// ```text
    ///   - The instance's status is
    ///   RUNNING.
    /// - If there is a health
    ///   check on the instance group, the instance's health check status
    ///   must be HEALTHY at least once. If there is no health check
    ///   on the group, then the instance only needs to have a status of
    ///   RUNNING to be considered available.
    /// ```
    ///
    /// This value can be either a fixed number or, if the group has 10 or more
    /// instances, a percentage. If you set a percentage, the number of instances
    /// is rounded if necessary. The default value formaxUnavailable is a fixed value equal to the number of zones
    /// in which the managed instance group operates.
    ///
    /// At least one of either maxSurge ormaxUnavailable must be greater than 0. Learn more about maxUnavailable.
    #[prost(message, optional, tag = "404940277")]
    pub max_unavailable: ::core::option::Option<FixedOrPercent>,
    /// Minimal action to be taken on an instance. Use this option to minimize
    /// disruption as much as possible or to apply a more disruptive action than
    /// is necessary.
    ///
    /// ```text
    /// - To limit disruption as much as possible, set the minimal action toREFRESH. If your update requires a more disruptive action,
    /// Compute Engine performs the necessary action to execute the update.
    /// - To apply a more disruptive action than is strictly necessary, set the
    /// minimal action to RESTART or REPLACE. For
    /// example, Compute Engine does not need to restart a VM to change its
    /// metadata. But if your application reads instance metadata only when a VM
    /// is restarted, you can set the minimal action to RESTART in
    /// order to pick up metadata changes.
    /// ```
    ///
    /// Check the MinimalAction enum for the list of possible values.
    #[prost(string, optional, tag = "270567060")]
    pub minimal_action: ::core::option::Option<::prost::alloc::string::String>,
    /// Most disruptive action that is allowed to be taken on an instance.
    /// You can specify either NONE to forbid any actions,REFRESH to avoid restarting the VM and to limit disruption
    /// as much as possible. RESTART to allow actions that can be
    /// applied without instance replacing or REPLACE to allow all
    /// possible actions. If the Updater determines that the minimal update
    /// action needed is more disruptive than most disruptive allowed action you
    /// specify it will not perform the update at all.
    /// Check the MostDisruptiveAllowedAction enum for the list of possible values.
    #[prost(string, optional, tag = "66103053")]
    pub most_disruptive_allowed_action: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// What action should be used to replace instances.
    /// See minimal_action.REPLACE
    /// Check the ReplacementMethod enum for the list of possible values.
    #[prost(string, optional, tag = "505931694")]
    pub replacement_method: ::core::option::Option<::prost::alloc::string::String>,
    /// The type
    /// of update process. You can specify either PROACTIVE so
    /// that the MIG automatically updates VMs to the latest configurations orOPPORTUNISTIC so that you can select the VMs that you want
    /// to update.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstanceGroupManagerUpdatePolicy`.
pub mod instance_group_manager_update_policy {
    /// The
    /// instance redistribution policy for regional managed instance groups.
    /// Valid values are:
    ///
    /// ```text
    /// - PROACTIVE (default): The group attempts to maintain an
    /// even distribution of VM instances across zones in the region.
    /// - NONE: For non-autoscaled groups, proactive
    /// redistribution is disabled.
    /// ```
    ///
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// NONE
    /// PROACTIVE
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum InstanceRedistributionType {
        /// A value indicating that the enum field is not set.
        UndefinedInstanceRedistributionType = 0,
    }
    impl InstanceRedistributionType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInstanceRedistributionType => {
                    "UNDEFINED_INSTANCE_REDISTRIBUTION_TYPE"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INSTANCE_REDISTRIBUTION_TYPE" => {
                    Some(Self::UndefinedInstanceRedistributionType)
                }
                _ => None,
            }
        }
    }
    /// Minimal action to be taken on an instance. Use this option to minimize
    /// disruption as much as possible or to apply a more disruptive action than
    /// is necessary.
    ///
    /// ```text
    /// - To limit disruption as much as possible, set the minimal action toREFRESH. If your update requires a more disruptive action,
    /// Compute Engine performs the necessary action to execute the update.
    /// - To apply a more disruptive action than is strictly necessary, set the
    /// minimal action to RESTART or REPLACE. For
    /// example, Compute Engine does not need to restart a VM to change its
    /// metadata. But if your application reads instance metadata only when a VM
    /// is restarted, you can set the minimal action to RESTART in
    /// order to pick up metadata changes.
    /// ```
    ///
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// NONE
    /// REFRESH
    /// REPLACE
    /// RESTART
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MinimalAction {
        /// A value indicating that the enum field is not set.
        UndefinedMinimalAction = 0,
    }
    impl MinimalAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMinimalAction => "UNDEFINED_MINIMAL_ACTION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MINIMAL_ACTION" => Some(Self::UndefinedMinimalAction),
                _ => None,
            }
        }
    }
    /// Most disruptive action that is allowed to be taken on an instance.
    /// You can specify either NONE to forbid any actions,REFRESH to avoid restarting the VM and to limit disruption
    /// as much as possible. RESTART to allow actions that can be
    /// applied without instance replacing or REPLACE to allow all
    /// possible actions. If the Updater determines that the minimal update
    /// action needed is more disruptive than most disruptive allowed action you
    /// specify it will not perform the update at all.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// NONE
    /// REFRESH
    /// REPLACE
    /// RESTART
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MostDisruptiveAllowedAction {
        /// A value indicating that the enum field is not set.
        UndefinedMostDisruptiveAllowedAction = 0,
    }
    impl MostDisruptiveAllowedAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMostDisruptiveAllowedAction => {
                    "UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION" => {
                    Some(Self::UndefinedMostDisruptiveAllowedAction)
                }
                _ => None,
            }
        }
    }
    /// What action should be used to replace instances.
    /// See minimal_action.REPLACE
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ReplacementMethod {
        /// A value indicating that the enum field is not set.
        UndefinedReplacementMethod = 0,
        /// Instances will be recreated (with the same name)
        Recreate = 522644719,
        /// Default option: instances will be deleted and created (with a new name)
        Substitute = 280924314,
    }
    impl ReplacementMethod {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedReplacementMethod => "UNDEFINED_REPLACEMENT_METHOD",
                Self::Recreate => "RECREATE",
                Self::Substitute => "SUBSTITUTE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_REPLACEMENT_METHOD" => Some(Self::UndefinedReplacementMethod),
                "RECREATE" => Some(Self::Recreate),
                "SUBSTITUTE" => Some(Self::Substitute),
                _ => None,
            }
        }
    }
    /// The type
    /// of update process. You can specify either PROACTIVE so
    /// that the MIG automatically updates VMs to the latest configurations orOPPORTUNISTIC so that you can select the VMs that you want
    /// to update.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// PROACTIVE
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// MIG will apply new configurations
        /// to existing VMs only when you selectively target specific or all VMs to
        /// be updated.
        Opportunistic = 429530089,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Opportunistic => "OPPORTUNISTIC",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "OPPORTUNISTIC" => Some(Self::Opportunistic),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagerVersion {
    /// The URL of the instance template that is specified for this managed
    /// instance group. The group uses this template to create new instances in
    /// the managed instance group until the `targetSize` for this version is
    /// reached. The templates for existing instances in the group do not change
    /// unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE; in those cases,
    /// existing instances are updated until the `targetSize` for this version is
    /// reached.
    #[prost(string, optional, tag = "309248228")]
    pub instance_template: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the version. Unique among all versions in the scope of this
    /// managed instance group.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the intended number of instances to be created from theinstanceTemplate. The final number of instances created
    /// from the template will be equal to:
    ///
    /// ```text
    ///   - If expressed as a fixed number, the minimum of either
    ///    targetSize.fixed or
    ///    instanceGroupManager.targetSize is used.
    ///   - if expressed as a percent, the targetSize
    ///   would be (targetSize.percent/100 *
    ///   InstanceGroupManager.targetSize) If there is a remainder, the
    ///   number is rounded.
    /// ```
    ///
    /// If unset, this version will update any remaining instances not
    /// updated by another version. ReadStarting
    /// a canary update for more information.
    #[prost(message, optional, tag = "62880239")]
    pub target_size: ::core::option::Option<FixedOrPercent>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersAbandonInstancesRequest {
    /// The URLs of one or more instances to abandon. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// InstanceGroupManagers.applyUpdatesToInstances
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersApplyUpdatesRequest {
    /// Flag to update all instances instead of specified list of “instances”.
    /// If the flag is set to true then the instances may not be specified
    /// in the request.
    #[prost(bool, optional, tag = "403676512")]
    pub all_instances: ::core::option::Option<bool>,
    /// The list of URLs of one or more instances for which you want to apply
    /// updates. Each URL can be a full URL or a partial URL, such aszones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The minimal action that you want to perform on each instance during the
    /// update:
    ///
    /// ```text
    ///   - REPLACE: At minimum, delete the instance and create it
    ///   again.
    /// - RESTART: Stop the instance and start it
    ///   again.
    /// - REFRESH: Do not stop the instance and limit
    ///   disruption as much as possible.
    /// - NONE: Do not
    ///   disrupt the instance at all.
    /// ```
    ///
    /// By default, the minimum action is NONE. If your update
    /// requires a more disruptive action than you set with this flag, the
    /// necessary action is performed to execute the update.
    /// Check the MinimalAction enum for the list of possible values.
    #[prost(string, optional, tag = "270567060")]
    pub minimal_action: ::core::option::Option<::prost::alloc::string::String>,
    /// The most disruptive action that you want to perform on each instance during
    /// the update:
    ///
    /// ```text
    ///   - REPLACE: Delete the instance and create it again.
    ///   - RESTART: Stop the instance and start it again.
    ///   - REFRESH: Do not stop the instance and limit disruption
    ///   as much as possible.
    /// - NONE: Do not disrupt the
    ///   instance at all.
    /// ```
    ///
    /// By default, the most disruptive allowed action is REPLACE. If
    /// your update requires a more disruptive action than you set with this flag,
    /// the update request will fail.
    /// Check the MostDisruptiveAllowedAction enum for the list of possible values.
    #[prost(string, optional, tag = "66103053")]
    pub most_disruptive_allowed_action: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Nested message and enum types in `InstanceGroupManagersApplyUpdatesRequest`.
pub mod instance_group_managers_apply_updates_request {
    /// The minimal action that you want to perform on each instance during the
    /// update:
    ///
    /// ```text
    ///   - REPLACE: At minimum, delete the instance and create it
    ///   again.
    /// - RESTART: Stop the instance and start it
    ///   again.
    /// - REFRESH: Do not stop the instance and limit
    ///   disruption as much as possible.
    /// - NONE: Do not
    ///   disrupt the instance at all.
    /// ```
    ///
    /// By default, the minimum action is NONE. If your update
    /// requires a more disruptive action than you set with this flag, the
    /// necessary action is performed to execute the update.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// NONE
    /// REFRESH
    /// REPLACE
    /// RESTART
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MinimalAction {
        /// A value indicating that the enum field is not set.
        UndefinedMinimalAction = 0,
    }
    impl MinimalAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMinimalAction => "UNDEFINED_MINIMAL_ACTION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MINIMAL_ACTION" => Some(Self::UndefinedMinimalAction),
                _ => None,
            }
        }
    }
    /// The most disruptive action that you want to perform on each instance during
    /// the update:
    ///
    /// ```text
    ///   - REPLACE: Delete the instance and create it again.
    ///   - RESTART: Stop the instance and start it again.
    ///   - REFRESH: Do not stop the instance and limit disruption
    ///   as much as possible.
    /// - NONE: Do not disrupt the
    ///   instance at all.
    /// ```
    ///
    /// By default, the most disruptive allowed action is REPLACE. If
    /// your update requires a more disruptive action than you set with this flag,
    /// the update request will fail.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// NONE
    /// REFRESH
    /// REPLACE
    /// RESTART
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MostDisruptiveAllowedAction {
        /// A value indicating that the enum field is not set.
        UndefinedMostDisruptiveAllowedAction = 0,
    }
    impl MostDisruptiveAllowedAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMostDisruptiveAllowedAction => {
                    "UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION" => {
                    Some(Self::UndefinedMostDisruptiveAllowedAction)
                }
                _ => None,
            }
        }
    }
}
/// InstanceGroupManagers.createInstances
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagersCreateInstancesRequest {
    /// \[Required\] List of specifications of per-instance configs.
    #[prost(message, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<PerInstanceConfig>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersDeleteInstancesRequest {
    /// The URLs of one or more instances to delete. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    /// Queued instances do not have URL and can be deleted only by name.
    /// One cannot specify both URLs and names in a single request.
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies whether the request should proceed despite the inclusion of
    /// instances that are not members of the group or that are already in the
    /// process of being deleted or abandoned. If this field is set to `false` and
    /// such an instance is specified in the request, the operation fails. The
    /// operation always fails if the request contains a malformed instance URL or
    /// a reference to an instance that exists in a zone or region other than the
    /// group's zone or region.
    #[prost(bool, optional, tag = "40631073")]
    pub skip_instances_on_validation_error: ::core::option::Option<bool>,
}
/// InstanceGroupManagers.deletePerInstanceConfigs
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersDeletePerInstanceConfigsReq {
    /// The list of instance names for which we want to delete per-instance configs
    /// on this managed instance group.
    #[prost(string, repeated, tag = "104585032")]
    pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagersListErrorsResponse {
    /// Output only. \[Output Only\] The list of errors of the managed instance group.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceManagedByIgmError>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagersListManagedInstancesResponse {
    /// Output only. \[Output Only\] The list of instances in the managed instance group.
    #[prost(message, repeated, tag = "336219614")]
    pub managed_instances: ::prost::alloc::vec::Vec<ManagedInstance>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagersListPerInstanceConfigsResp {
    /// Output only. \[Output Only\] The list of PerInstanceConfig.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<PerInstanceConfig>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// InstanceGroupManagers.patchPerInstanceConfigs
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagersPatchPerInstanceConfigsReq {
    /// The list of per-instance configurations to insert or patch on this managed
    /// instance group.
    #[prost(message, repeated, tag = "526265001")]
    pub per_instance_configs: ::prost::alloc::vec::Vec<PerInstanceConfig>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersRecreateInstancesRequest {
    /// The URLs of one or more instances to recreate. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersResumeInstancesRequest {
    /// The URLs of one or more instances to resume. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagersScopedList {
    /// Output only. \[Output Only\] The list of managed instance groups that are contained in
    /// the specified project and zone.
    #[prost(message, repeated, tag = "214072592")]
    pub instance_group_managers: ::prost::alloc::vec::Vec<InstanceGroupManager>,
    /// Output only. \[Output Only\] The warning that replaces the list of managed instance
    /// groups when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersSetInstanceTemplateRequest {
    /// The URL of the instance template that is specified for this managed
    /// instance group. The group uses this template to create all new instances
    /// in the managed instance group. The templates for existing instances in the
    /// group do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
    #[prost(string, optional, tag = "309248228")]
    pub instance_template: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersSetTargetPoolsRequest {
    /// The fingerprint of the target pools information. Use this optional
    /// property to prevent conflicts when multiple users change the target pools
    /// settings concurrently. Obtain the fingerprint with theinstanceGroupManagers.get
    /// method. Then, include the fingerprint in your request to ensure that you
    /// do not overwrite changes that were applied from another
    /// concurrent request.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of target pool URLs that instances in this managed instance group
    /// belong to. The managed instance group applies these target pools to all
    /// of the instances in the group. Existing instances and new instances in the
    /// group all receive these target pool settings.
    #[prost(string, repeated, tag = "336072617")]
    pub target_pools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersStartInstancesRequest {
    /// The URLs of one or more instances to start. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersStopInstancesRequest {
    /// If this flag is set to true, the Instance Group Manager will proceed to
    /// stop the instances, skipping initialization on them.
    #[prost(bool, optional, tag = "134762710")]
    pub force_stop: ::core::option::Option<bool>,
    /// The URLs of one or more instances to stop. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupManagersSuspendInstancesRequest {
    /// If this flag is set to true, the Instance Group Manager will proceed to
    /// suspend the instances, skipping initialization on them.
    #[prost(bool, optional, tag = "27637480")]
    pub force_suspend: ::core::option::Option<bool>,
    /// The URLs of one or more instances to suspend. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// InstanceGroupManagers.updatePerInstanceConfigs
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagersUpdatePerInstanceConfigsReq {
    /// The list of per-instance configurations to insert or patch on this managed
    /// instance group.
    #[prost(message, repeated, tag = "526265001")]
    pub per_instance_configs: ::prost::alloc::vec::Vec<PerInstanceConfig>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupsAddInstancesRequest {
    /// The list of instances to add to the instance group.
    #[prost(message, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<InstanceReference>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupsListInstances {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstanceWithNamedPorts resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceWithNamedPorts>,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#instanceGroupsListInstances for the list of instances
    /// in the specified instance group.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceGroupsListInstancesRequest {
    /// A filter for the state of the instances in the instance group. Valid
    /// options are ALL or RUNNING. If you do not specify
    /// this parameter the list includes all instances regardless of their state.
    /// Check the InstanceState enum for the list of possible values.
    #[prost(string, optional, tag = "92223591")]
    pub instance_state: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstanceGroupsListInstancesRequest`.
pub mod instance_groups_list_instances_request {
    /// A filter for the state of the instances in the instance group. Valid
    /// options are ALL or RUNNING. If you do not specify
    /// this parameter the list includes all instances regardless of their state.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum InstanceState {
        /// A value indicating that the enum field is not set.
        UndefinedInstanceState = 0,
        /// Includes all instances in the generated list regardless of their state.
        All = 64897,
        /// Includes instances in the generated list only if they have a RUNNING
        /// state.
        Running = 121282975,
    }
    impl InstanceState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInstanceState => "UNDEFINED_INSTANCE_STATE",
                Self::All => "ALL",
                Self::Running => "RUNNING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INSTANCE_STATE" => Some(Self::UndefinedInstanceState),
                "ALL" => Some(Self::All),
                "RUNNING" => Some(Self::Running),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupsRemoveInstancesRequest {
    /// The list of instances to remove from the instance group.
    #[prost(message, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<InstanceReference>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupsScopedList {
    /// Output only. \[Output Only\] The list ofinstance
    /// groups that are contained in this scope.
    #[prost(message, repeated, tag = "366469310")]
    pub instance_groups: ::prost::alloc::vec::Vec<InstanceGroup>,
    /// Output only. \[Output Only\] An informational warning that replaces the list of
    /// instance groups when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupsSetNamedPortsRequest {
    /// The fingerprint of the named ports information for this instance group.
    /// Use this optional property to prevent conflicts when multiple users change
    /// the named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get
    /// method. Then, include the fingerprint in your request to ensure that you
    /// do not overwrite changes that were applied from another concurrent request.
    /// A request with an incorrect fingerprint will fail with error412 conditionNotMet.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of named ports to set for this instance group.
    #[prost(message, repeated, tag = "427598732")]
    pub named_ports: ::prost::alloc::vec::Vec<NamedPort>,
}
/// Contains a list of instances.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Instance resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Instance>,
    /// Output only. \[Output Only\] Type of resource. Always compute#instanceList
    /// for lists of Instance resources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of instance referrers.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceListReferrers {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Reference resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Reference>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#instanceListReferrers for lists of Instance referrers.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceManagedByIgmError {
    /// Output only. \[Output Only\] Contents of the error.
    #[prost(message, optional, tag = "96784904")]
    pub error: ::core::option::Option<InstanceManagedByIgmErrorManagedInstanceError>,
    /// Output only. \[Output Only\] Details of the instance action that triggered this error.
    /// May be null, if the error was not caused by an action on an instance.
    /// This field is optional.
    #[prost(message, optional, tag = "292224547")]
    pub instance_action_details: ::core::option::Option<
        InstanceManagedByIgmErrorInstanceActionDetails,
    >,
    /// Output only. \[Output Only\] The time that this error occurred.
    /// This value is in RFC3339 text format.
    #[prost(string, optional, tag = "55126294")]
    pub timestamp: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceManagedByIgmErrorInstanceActionDetails {
    /// Output only. \[Output Only\] Action that managed instance group was executing on
    /// the instance when the error occurred. Possible values:
    /// Check the Action enum for the list of possible values.
    #[prost(string, optional, tag = "187661878")]
    pub action: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL of the instance.
    /// The URL can be set even if the instance has not yet been created.
    #[prost(string, optional, tag = "18257045")]
    pub instance: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Version this instance was created from, or was being
    /// created from, but the creation failed. Corresponds to one of the versions
    /// that were set on the Instance Group Manager resource at the time this
    /// instance was being created.
    #[prost(message, optional, tag = "351608024")]
    pub version: ::core::option::Option<ManagedInstanceVersion>,
}
/// Nested message and enum types in `InstanceManagedByIgmErrorInstanceActionDetails`.
pub mod instance_managed_by_igm_error_instance_action_details {
    /// Output only. \[Output Only\] Action that managed instance group was executing on
    /// the instance when the error occurred. Possible values:
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Action {
        /// A value indicating that the enum field is not set.
        UndefinedAction = 0,
        /// The managed instance group is abandoning this instance. The instance
        /// will be removed from the instance group and from any target pools that
        /// are associated with this group.
        Abandoning = 388244813,
        /// The managed instance group is creating this instance. If the group
        /// fails to create this instance, it will try again until it is
        /// successful.
        Creating = 455564985,
        /// The managed instance group is attempting to create this instance
        /// only once. If the group fails to create this instance, it does
        /// not try again and the group's targetSize value is
        /// decreased.
        CreatingWithoutRetries = 428843785,
        /// The managed instance group is permanently deleting this instance.
        Deleting = 528602024,
        /// The managed instance group has not scheduled any actions for this
        /// instance.
        None = 2402104,
        /// The managed instance group is recreating this instance.
        Recreating = 287278572,
        /// The managed instance group is applying configuration changes to the
        /// instance without stopping it. For example, the group can update the
        /// target pool list for an instance without stopping that instance.
        Refreshing = 163266343,
        /// The managed instance group is restarting this instance.
        Restarting = 320534387,
        /// The managed instance group is resuming this instance.
        Resuming = 446856618,
        /// The managed instance group is starting this instance.
        Starting = 488820800,
        /// The managed instance group is stopping this instance.
        Stopping = 350791796,
        /// The managed instance group is suspending this instance.
        Suspending = 514206246,
        /// The managed instance group is verifying this already created instance.
        /// Verification happens every time the instance is (re)created or restarted
        /// and consists of:
        ///
        /// 1. Waiting until health check specified as part of this managed instance
        ///    group's autohealing policy reports HEALTHY.
        ///    Note: Applies only if autohealing policy has a health check specified
        /// 1. Waiting for addition verification steps performed as post-instance
        ///    creation (subject to future extensions).
        Verifying = 16982185,
    }
    impl Action {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAction => "UNDEFINED_ACTION",
                Self::Abandoning => "ABANDONING",
                Self::Creating => "CREATING",
                Self::CreatingWithoutRetries => "CREATING_WITHOUT_RETRIES",
                Self::Deleting => "DELETING",
                Self::None => "NONE",
                Self::Recreating => "RECREATING",
                Self::Refreshing => "REFRESHING",
                Self::Restarting => "RESTARTING",
                Self::Resuming => "RESUMING",
                Self::Starting => "STARTING",
                Self::Stopping => "STOPPING",
                Self::Suspending => "SUSPENDING",
                Self::Verifying => "VERIFYING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ACTION" => Some(Self::UndefinedAction),
                "ABANDONING" => Some(Self::Abandoning),
                "CREATING" => Some(Self::Creating),
                "CREATING_WITHOUT_RETRIES" => Some(Self::CreatingWithoutRetries),
                "DELETING" => Some(Self::Deleting),
                "NONE" => Some(Self::None),
                "RECREATING" => Some(Self::Recreating),
                "REFRESHING" => Some(Self::Refreshing),
                "RESTARTING" => Some(Self::Restarting),
                "RESUMING" => Some(Self::Resuming),
                "STARTING" => Some(Self::Starting),
                "STOPPING" => Some(Self::Stopping),
                "SUSPENDING" => Some(Self::Suspending),
                "VERIFYING" => Some(Self::Verifying),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceManagedByIgmErrorManagedInstanceError {
    /// Output only. \[Output Only\] Error code.
    #[prost(string, optional, tag = "3059181")]
    pub code: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Error message.
    #[prost(string, optional, tag = "418054151")]
    pub message: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceMoveRequest {
    /// The URL of the destination zone to move the instance. This can be a full or
    /// partial URL. For example, the following are all valid URLs to a zone:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project/zones/zone>
    /// - projects/project/zones/zone
    /// - zones/zone
    /// ```
    #[prost(string, optional, tag = "131854653")]
    pub destination_zone: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the target instance to move. This can be a full or partial URL.
    /// For example, the following are all valid URLs to an instance:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance>
    /// - projects/project/zones/zone/instances/instance
    /// - zones/zone/instances/instance
    /// ```
    #[prost(string, optional, tag = "289769347")]
    pub target_instance: ::core::option::Option<::prost::alloc::string::String>,
}
/// Additional instance params.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceParams {
    /// Relative deadline for waiting for capacity. Relevant only for
    /// Instances.Insert API.
    #[prost(message, optional, tag = "116247389")]
    pub request_valid_for_duration: ::core::option::Option<Duration>,
    /// Input only. Resource manager tags to be bound to the instance. Tag keys and values
    /// have the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
    /// format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceProperties {
    /// Controls for advanced machine-related behavior features.
    /// Note that for MachineImage, this is not supported yet.
    #[prost(message, optional, tag = "409646002")]
    pub advanced_machine_features: ::core::option::Option<AdvancedMachineFeatures>,
    /// Enables instances created based on these properties to send packets with
    /// source IP addresses other than their own and receive packets with
    /// destination IP addresses other than their own. If these instances will be
    /// used as an IP gateway or it will be set as the next-hop in a Route
    /// resource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding
    /// documentation for more information.
    #[prost(bool, optional, tag = "467731324")]
    pub can_ip_forward: ::core::option::Option<bool>,
    /// Specifies the Confidential Instance options.
    /// Note that for MachineImage, this is not supported yet.
    #[prost(message, optional, tag = "490637685")]
    pub confidential_instance_config: ::core::option::Option<ConfidentialInstanceConfig>,
    /// An optional text description for the instances that are created from these
    /// properties.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// An array of disks that are associated with the instances that are created
    /// from these properties.
    #[prost(message, repeated, tag = "95594102")]
    pub disks: ::prost::alloc::vec::Vec<AttachedDisk>,
    /// A list of guest accelerator cards' type and count to use for instances
    /// created from these properties.
    #[prost(message, repeated, tag = "463595119")]
    pub guest_accelerators: ::prost::alloc::vec::Vec<AcceleratorConfig>,
    /// KeyRevocationActionType of the instance. Supported options are "STOP" and
    /// "NONE". The default value is "NONE" if it is not specified.
    /// Check the KeyRevocationActionType enum for the list of possible values.
    #[prost(string, optional, tag = "235941474")]
    pub key_revocation_action_type: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Labels to apply to instances that are created from these properties.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// The machine type to use for instances that are created from these
    /// properties.
    /// This field only accepts a machine type name, for example `n2-standard-4`.
    /// If you use the machine type full or partial URL, for example
    /// `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`,
    /// the request will result in an `INTERNAL_ERROR`.
    #[prost(string, optional, tag = "227711026")]
    pub machine_type: ::core::option::Option<::prost::alloc::string::String>,
    /// The metadata key/value pairs to assign to instances that are created from
    /// these properties. These pairs can consist of custom metadata or predefined
    /// keys. SeeProject and
    /// instance metadata for more information.
    #[prost(message, optional, tag = "86866735")]
    pub metadata: ::core::option::Option<Metadata>,
    /// Minimum cpu/platform to be used by instances. The instance may be
    /// scheduled on the specified or newer cpu/platform. Applicable values are the
    /// friendly names of CPU platforms, such asminCpuPlatform: "Intel Haswell" orminCpuPlatform: "Intel Sandy Bridge". For more
    /// information, read Specifying a
    /// Minimum CPU Platform.
    #[prost(string, optional, tag = "242912759")]
    pub min_cpu_platform: ::core::option::Option<::prost::alloc::string::String>,
    /// An array of network access configurations for this interface.
    #[prost(message, repeated, tag = "52735243")]
    pub network_interfaces: ::prost::alloc::vec::Vec<NetworkInterface>,
    /// Note that for MachineImage, this is not supported yet.
    #[prost(message, optional, tag = "398330850")]
    pub network_performance_config: ::core::option::Option<NetworkPerformanceConfig>,
    /// The private IPv6 google access type for VMs.
    /// If not specified, use  INHERIT_FROM_SUBNETWORK as default.
    /// Note that for MachineImage, this is not supported yet.
    /// Check the PrivateIpv6GoogleAccess enum for the list of possible values.
    #[prost(string, optional, tag = "48277006")]
    pub private_ipv6_google_access: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies the reservations that instances can consume from.
    /// Note that for MachineImage, this is not supported yet.
    #[prost(message, optional, tag = "157850683")]
    pub reservation_affinity: ::core::option::Option<ReservationAffinity>,
    /// Input only. Resource manager tags to be bound to the instance. Tag keys and values
    /// have the same definition as resource
    /// manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and
    /// values are in the format `tagValues/456`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Resource policies (names, not URLs) applied to instances created from
    /// these properties.
    /// Note that for MachineImage, this is not supported yet.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies the scheduling options for the instances that are created from
    /// these properties.
    #[prost(message, optional, tag = "386688404")]
    pub scheduling: ::core::option::Option<Scheduling>,
    /// A list of service accounts with specified scopes. Access tokens for these
    /// service accounts are available to the instances that are created from
    /// these properties. Use metadata queries to obtain the access tokens for
    /// these instances.
    #[prost(message, repeated, tag = "277537328")]
    pub service_accounts: ::prost::alloc::vec::Vec<ServiceAccount>,
    /// Note that for MachineImage, this is not supported yet.
    #[prost(message, optional, tag = "12862901")]
    pub shielded_instance_config: ::core::option::Option<ShieldedInstanceConfig>,
    /// A list of tags to apply to the instances that are created from these
    /// properties. The tags identify valid sources or targets for network
    /// firewalls. The setTags method can modify this list of tags. Each tag within
    /// the list must comply with RFC1035.
    #[prost(message, optional, tag = "3552281")]
    pub tags: ::core::option::Option<Tags>,
    #[prost(message, optional, tag = "338198811")]
    pub workload_identity_config: ::core::option::Option<WorkloadIdentityConfig>,
}
/// Nested message and enum types in `InstanceProperties`.
pub mod instance_properties {
    /// KeyRevocationActionType of the instance. Supported options are "STOP" and
    /// "NONE". The default value is "NONE" if it is not specified.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum KeyRevocationActionType {
        /// A value indicating that the enum field is not set.
        UndefinedKeyRevocationActionType = 0,
        /// Default value. This value is unused.
        Unspecified = 467110106,
        /// Indicates user chose no operation.
        None = 2402104,
        /// Indicates user chose to opt for VM shutdown on key revocation.
        Stop = 2555906,
    }
    impl KeyRevocationActionType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedKeyRevocationActionType => {
                    "UNDEFINED_KEY_REVOCATION_ACTION_TYPE"
                }
                Self::Unspecified => "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED",
                Self::None => "NONE",
                Self::Stop => "STOP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_KEY_REVOCATION_ACTION_TYPE" => {
                    Some(Self::UndefinedKeyRevocationActionType)
                }
                "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                "NONE" => Some(Self::None),
                "STOP" => Some(Self::Stop),
                _ => None,
            }
        }
    }
    /// The private IPv6 google access type for VMs.
    /// If not specified, use  INHERIT_FROM_SUBNETWORK as default.
    /// Note that for MachineImage, this is not supported yet.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PrivateIpv6GoogleAccess {
        /// A value indicating that the enum field is not set.
        UndefinedPrivateIpv6GoogleAccess = 0,
        /// Bidirectional private IPv6 access to/from Google services. If
        /// specified, the subnetwork who is attached to the instance's default network
        /// interface will be assigned an internal IPv6 prefix if it doesn't have
        /// before.
        EnableBidirectionalAccessToGoogle = 427975994,
        /// Outbound private IPv6 access from VMs in this subnet to Google services. If
        /// specified, the subnetwork who is attached to the instance's default network
        /// interface will be assigned an internal IPv6 prefix if it doesn't have
        /// before.
        EnableOutboundVmAccessToGoogle = 288210263,
        /// Each network interface inherits PrivateIpv6GoogleAccess from its
        /// subnetwork.
        InheritFromSubnetwork = 530256959,
    }
    impl PrivateIpv6GoogleAccess {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPrivateIpv6GoogleAccess => {
                    "UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS"
                }
                Self::EnableBidirectionalAccessToGoogle => {
                    "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE"
                }
                Self::EnableOutboundVmAccessToGoogle => {
                    "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE"
                }
                Self::InheritFromSubnetwork => "INHERIT_FROM_SUBNETWORK",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS" => {
                    Some(Self::UndefinedPrivateIpv6GoogleAccess)
                }
                "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE" => {
                    Some(Self::EnableBidirectionalAccessToGoogle)
                }
                "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE" => {
                    Some(Self::EnableOutboundVmAccessToGoogle)
                }
                "INHERIT_FROM_SUBNETWORK" => Some(Self::InheritFromSubnetwork),
                _ => None,
            }
        }
    }
}
/// Represents the change that you want to make to the instance properties.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstancePropertiesPatch {
    /// The label key-value pairs that you want to patch onto the instance.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// The metadata key-value pairs that you want to patch onto the instance. For
    /// more information, see Project and
    /// instance metadata.
    #[prost(map = "string, string", tag = "86866735")]
    pub metadata: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstanceReference {
    /// The URL for a specific instance.
    /// @required compute.instancegroups.addInstances/removeInstances
    #[prost(string, optional, tag = "18257045")]
    pub instance: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a Instance Settings resource. You can use instance settings to
/// configure default settings for Compute Engine VM instances. For example, you
/// can use it to configure default machine type of Compute Engine VM instances.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceSettings {
    /// Specifies a fingerprint for instance settings, which is essentially a hash
    /// of the instance settings resource's contents and used for optimistic
    /// locking. The fingerprint is initially generated by Compute Engine and
    /// changes after every request to modify or update the instance settings
    /// resource. You must always provide an up-to-date fingerprint hash in order
    /// to update or change the resource, otherwise the request will fail with
    /// error 412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve the resource.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#instance_settings for instance settings.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The metadata key/value pairs assigned to all the instances in the
    /// corresponding scope.
    #[prost(message, optional, tag = "86866735")]
    pub metadata: ::core::option::Option<InstanceSettingsMetadata>,
    /// Output only. \[Output Only\] URL of the zone where the resource resides
    /// You must specify this field as part of the HTTP request URL. It is not
    /// settable as a field in the request body.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceSettingsMetadata {
    /// A metadata key/value items map.
    /// The total size of all keys and values must be less than 512KB.
    #[prost(map = "string, string", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Type of the resource. Always compute#metadata
    /// for metadata.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents an Instance Template resource.
///
/// Google Compute Engine has two Instance Template resources:
///
/// * [Global](/compute/docs/reference/rest/v1/instanceTemplates)
/// * [Regional](/compute/docs/reference/rest/v1/regionInstanceTemplates)
///
/// You can reuse a global instance template in
/// different regions whereas you can use a regional instance template in a
/// specified region only. If you want to reduce cross-region dependency or
/// achieve data residency, use a regional instance template.
///
/// To create VMs, managed instance groups, and reservations, you can use either
/// global or regional instance templates.
///
/// For more information, readInstance Templates.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceTemplate {
    /// Output only. \[Output Only\] The creation timestamp for this instance template inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A unique identifier for this instance template. The server
    /// defines this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#instanceTemplate for instance templates.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource; provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The instance properties for this instance template.
    #[prost(message, optional, tag = "147688755")]
    pub properties: ::core::option::Option<InstanceProperties>,
    /// Output only. \[Output Only\] URL of the region where the instance template resides. Only
    /// applicable for regional resources.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL for this instance template. The server defines this
    /// URL.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// The source instance used to create the template. You can provide this as a
    /// partial or full URL to the resource. For example, the following are valid
    /// values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance>
    /// - projects/project/zones/zone/instances/instance
    /// ```
    #[prost(string, optional, tag = "396315705")]
    pub source_instance: ::core::option::Option<::prost::alloc::string::String>,
    /// The source instance params to use to create this instance template.
    #[prost(message, optional, tag = "135342156")]
    pub source_instance_params: ::core::option::Option<SourceInstanceParams>,
}
/// Contains a list of InstanceTemplatesScopedList.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceTemplateAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstanceTemplatesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InstanceTemplatesScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A list of instance templates.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceTemplateList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstanceTemplate resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceTemplate>,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#instanceTemplatesListResponse for instance template
    /// lists.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceTemplatesScopedList {
    /// \[Output Only\] A list of instance templates that are contained within
    /// the specified project and zone.
    #[prost(message, repeated, tag = "459889679")]
    pub instance_templates: ::prost::alloc::vec::Vec<InstanceTemplate>,
    /// \[Output Only\] An informational warning that replaces the list of instance
    /// templates when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceWithNamedPorts {
    /// Output only. \[Output Only\] The URL of the instance.
    #[prost(string, optional, tag = "18257045")]
    pub instance: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The named ports that belong to this instance group.
    #[prost(message, repeated, tag = "427598732")]
    pub named_ports: ::prost::alloc::vec::Vec<NamedPort>,
    /// Output only. \[Output Only\] The status of the instance.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstanceWithNamedPorts`.
pub mod instance_with_named_ports {
    /// Output only. \[Output Only\] The status of the instance.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The instance is halted and we are performing tear down tasks like network
        /// deprogramming, releasing quota, IP, tearing down disks etc.
        Deprovisioning = 428935662,
        /// For Flex Start provisioning instance is waiting for available capacity
        /// from Dynamic Workload Scheduler (DWS).
        Pending = 35394935,
        /// Resources are being allocated for the instance.
        Provisioning = 290896621,
        /// The instance is in repair.
        Repairing = 413483285,
        /// The instance is running.
        Running = 121282975,
        /// All required resources have been allocated and the instance
        /// is being started.
        Staging = 431072283,
        /// The instance has stopped successfully.
        Stopped = 444276141,
        /// The instance is currently stopping (either being deleted or killed).
        Stopping = 350791796,
        /// The instance has suspended.
        Suspended = 51223995,
        /// The instance is suspending.
        Suspending = 514206246,
        /// The instance has stopped (either by explicit action or underlying
        /// failure).
        Terminated = 250018339,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Deprovisioning => "DEPROVISIONING",
                Self::Pending => "PENDING",
                Self::Provisioning => "PROVISIONING",
                Self::Repairing => "REPAIRING",
                Self::Running => "RUNNING",
                Self::Staging => "STAGING",
                Self::Stopped => "STOPPED",
                Self::Stopping => "STOPPING",
                Self::Suspended => "SUSPENDED",
                Self::Suspending => "SUSPENDING",
                Self::Terminated => "TERMINATED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "DEPROVISIONING" => Some(Self::Deprovisioning),
                "PENDING" => Some(Self::Pending),
                "PROVISIONING" => Some(Self::Provisioning),
                "REPAIRING" => Some(Self::Repairing),
                "RUNNING" => Some(Self::Running),
                "STAGING" => Some(Self::Staging),
                "STOPPED" => Some(Self::Stopped),
                "STOPPING" => Some(Self::Stopping),
                "SUSPENDED" => Some(Self::Suspended),
                "SUSPENDING" => Some(Self::Suspending),
                "TERMINATED" => Some(Self::Terminated),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstancesAddResourcePoliciesRequest {
    /// Resource policies to be added to this instance.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstancesBulkInsertOperationMetadata {
    /// Status information per location (location name is key).
    /// Example key: zones/us-central1-a
    #[prost(map = "string, message", tag = "167851162")]
    pub per_location_status: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        BulkInsertOperationStatus,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstancesGetEffectiveFirewallsResponse {
    /// \[Output Only\] Effective firewalls from firewall policies.
    #[prost(message, repeated, tag = "410985794")]
    pub firewall_policys: ::prost::alloc::vec::Vec<
        InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy,
    >,
    /// Effective firewalls on the instance.
    #[prost(message, repeated, tag = "272245619")]
    pub firewalls: ::prost::alloc::vec::Vec<Firewall>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy {
    /// Output only. \[Output Only\] Deprecated, please use short name instead. The display name
    /// of the firewall policy.
    #[prost(string, optional, tag = "4473832")]
    pub display_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of the firewall policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The packet mirroring rules that apply to the instance.
    #[prost(message, repeated, tag = "531644356")]
    pub packet_mirroring_rules: ::prost::alloc::vec::Vec<FirewallPolicyRule>,
    /// Output only. \[Output only\] Priority of firewall policy association. Not applicable for
    /// type=HIERARCHY.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// \[Output Only\] The rules that apply to the instance. Only rules that
    /// target the specific VM instance are returned if target service accounts
    /// or target secure tags are specified in the rules.
    #[prost(message, repeated, tag = "108873975")]
    pub rules: ::prost::alloc::vec::Vec<FirewallPolicyRule>,
    /// Output only. \[Output Only\] The short name of the firewall policy.
    #[prost(string, optional, tag = "492051566")]
    pub short_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The type of the firewall policy. Can be one of HIERARCHY,
    /// NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy`.
pub mod instances_get_effective_firewalls_response_effective_firewall_policy {
    /// Output only. \[Output Only\] The type of the firewall policy. Can be one of HIERARCHY,
    /// NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        Hierarchy = 69902869,
        Network = 413984270,
        NetworkRegional = 190804272,
        SystemGlobal = 60099507,
        SystemRegional = 161777199,
        Unspecified = 526786327,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Hierarchy => "HIERARCHY",
                Self::Network => "NETWORK",
                Self::NetworkRegional => "NETWORK_REGIONAL",
                Self::SystemGlobal => "SYSTEM_GLOBAL",
                Self::SystemRegional => "SYSTEM_REGIONAL",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "HIERARCHY" => Some(Self::Hierarchy),
                "NETWORK" => Some(Self::Network),
                "NETWORK_REGIONAL" => Some(Self::NetworkRegional),
                "SYSTEM_GLOBAL" => Some(Self::SystemGlobal),
                "SYSTEM_REGIONAL" => Some(Self::SystemRegional),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstancesRemoveResourcePoliciesRequest {
    /// Resource policies to be removed from this instance.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstancesReportHostAsFaultyRequest {
    /// The disruption schedule for the VM. Required field, only allows IMMEDIATE.
    /// Check the DisruptionSchedule enum for the list of possible values.
    #[prost(string, optional, tag = "95871619")]
    pub disruption_schedule: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "168056210")]
    pub fault_reasons: ::prost::alloc::vec::Vec<
        InstancesReportHostAsFaultyRequestFaultReason,
    >,
}
/// Nested message and enum types in `InstancesReportHostAsFaultyRequest`.
pub mod instances_report_host_as_faulty_request {
    /// The disruption schedule for the VM. Required field, only allows IMMEDIATE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DisruptionSchedule {
        /// A value indicating that the enum field is not set.
        UndefinedDisruptionSchedule = 0,
        /// Not used. Required as per aip/126.
        Unspecified = 332543835,
        /// Delay disruption for caller control. Will be default soon.
        Future = 474513859,
        /// Default value. Disrupt the VM immediately.
        Immediate = 152881041,
    }
    impl DisruptionSchedule {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDisruptionSchedule => "UNDEFINED_DISRUPTION_SCHEDULE",
                Self::Unspecified => "DISRUPTION_SCHEDULE_UNSPECIFIED",
                Self::Future => "FUTURE",
                Self::Immediate => "IMMEDIATE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DISRUPTION_SCHEDULE" => {
                    Some(Self::UndefinedDisruptionSchedule)
                }
                "DISRUPTION_SCHEDULE_UNSPECIFIED" => Some(Self::Unspecified),
                "FUTURE" => Some(Self::Future),
                "IMMEDIATE" => Some(Self::Immediate),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstancesReportHostAsFaultyRequestFaultReason {
    /// Check the Behavior enum for the list of possible values.
    #[prost(string, optional, tag = "437170770")]
    pub behavior: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstancesReportHostAsFaultyRequestFaultReason`.
pub mod instances_report_host_as_faulty_request_fault_reason {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Behavior {
        /// A value indicating that the enum field is not set.
        UndefinedBehavior = 0,
        /// Public reportable behaviors
        Unspecified = 85734570,
        /// Any GPU or TPU errors or faults where the accelerator becomes unusable
        ChipError = 263151669,
        Performance = 135701520,
        SilentDataCorruption = 111360678,
        /// Unrecoverable GPU error identified by an XID
        UnrecoverableGpuError = 363710747,
    }
    impl Behavior {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBehavior => "UNDEFINED_BEHAVIOR",
                Self::Unspecified => "BEHAVIOR_UNSPECIFIED",
                Self::ChipError => "CHIP_ERROR",
                Self::Performance => "PERFORMANCE",
                Self::SilentDataCorruption => "SILENT_DATA_CORRUPTION",
                Self::UnrecoverableGpuError => "UNRECOVERABLE_GPU_ERROR",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BEHAVIOR" => Some(Self::UndefinedBehavior),
                "BEHAVIOR_UNSPECIFIED" => Some(Self::Unspecified),
                "CHIP_ERROR" => Some(Self::ChipError),
                "PERFORMANCE" => Some(Self::Performance),
                "SILENT_DATA_CORRUPTION" => Some(Self::SilentDataCorruption),
                "UNRECOVERABLE_GPU_ERROR" => Some(Self::UnrecoverableGpuError),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstancesScopedList {
    /// \[Output Only\] A list of instances contained in this scope.
    #[prost(message, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<Instance>,
    /// \[Output Only\] Informational warning which replaces the list of instances
    /// when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstancesSetLabelsRequest {
    /// Fingerprint of the previous set of labels for this resource,
    /// used to prevent conflicts. Provide the latest fingerprint value when making
    /// a request to add or change labels.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstancesSetMachineResourcesRequest {
    /// A list of the type and count of accelerator cards attached to the instance.
    #[prost(message, repeated, tag = "463595119")]
    pub guest_accelerators: ::prost::alloc::vec::Vec<AcceleratorConfig>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstancesSetMachineTypeRequest {
    /// Full or partial URL of the machine type resource. See Machine Types for a full list of
    /// machine types. For example:zones/us-central1-f/machineTypes/n1-standard-1
    #[prost(string, optional, tag = "227711026")]
    pub machine_type: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstancesSetMinCpuPlatformRequest {
    /// Minimum cpu/platform this instance should be started at.
    #[prost(string, optional, tag = "242912759")]
    pub min_cpu_platform: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstancesSetNameRequest {
    /// The current name of this resource, used to prevent conflicts. Provide the
    /// latest name when making a request to change name.
    #[prost(string, optional, tag = "394983825")]
    pub current_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The name to be applied to the instance. Needs to be RFC 1035 compliant.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstancesSetSecurityPolicyRequest {
    /// The network interfaces that the security policy will be applied to. Network
    /// interfaces use the nicN naming format. You can only set a
    /// security policy for network interfaces with an access config.
    #[prost(string, repeated, tag = "52735243")]
    pub network_interfaces: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A full or partial URL to a security policy to add to this instance.
    /// If this field is set to an empty string it will remove the associated
    /// security policy.
    #[prost(string, optional, tag = "171082513")]
    pub security_policy: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstancesSetServiceAccountRequest {
    /// Email address of the service account.
    #[prost(string, optional, tag = "96619420")]
    pub email: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of scopes to be made available for this service account.
    #[prost(string, repeated, tag = "165973151")]
    pub scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstancesStartWithEncryptionKeyRequest {
    /// Array of disks associated with this instance that are protected with acustomer-supplied
    /// encryption key.
    ///
    /// In order to start the instance, the disk url and its corresponding key must
    /// be provided.
    ///
    /// If the disk is not protected with a customer-supplied encryption key it
    /// should not be specified.
    #[prost(message, repeated, tag = "95594102")]
    pub disks: ::prost::alloc::vec::Vec<CustomerEncryptionKeyProtectedDisk>,
}
/// Represents a InstantSnapshot resource.
///
/// You can use instant snapshots to create disk rollback points quickly..
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstantSnapshot {
    /// Output only. \[Output Only\] The architecture of the instant snapshot. Valid values are
    /// ARM64 or X86_64.
    /// Check the Architecture enum for the list of possible values.
    #[prost(string, optional, tag = "302803283")]
    pub architecture: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Size of the source disk, specified in GB.
    #[prost(int64, optional, tag = "316263735")]
    pub disk_size_gb: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this InstantSnapshot, which
    /// is essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a InstantSnapshot.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels to apply to this InstantSnapshot. These can be later modified by
    /// the setLabels method.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Name of the resource; provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<InstantSnapshotParams>,
    /// Output only. \[Output Only\] URL of the region where the instant snapshot resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Status information for the instant snapshot resource.
    #[prost(message, optional, tag = "249429315")]
    pub resource_status: ::core::option::Option<InstantSnapshotResourceStatus>,
    /// Output only. Reserved for future use.
    #[prost(bool, optional, tag = "480964257")]
    pub satisfies_pzi: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource's resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the source disk used to create this instant snapshot.
    /// Note that the source disk must be in the same zone/region as the
    /// instant snapshot to be created. This can be a full or valid partial URL.
    /// For example, the following are valid values:
    ///
    /// ```text
    ///   -
    ///     <https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk>
    ///
    ///   -
    ///     <https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk>
    ///
    ///   -
    ///     projects/project/zones/zone/disks/disk
    ///
    ///   -
    ///     projects/project/regions/region/disks/disk
    ///
    ///   -
    ///     zones/zone/disks/disk
    ///
    ///   -
    ///     regions/region/disks/disk
    /// ```
    #[prost(string, optional, tag = "451753793")]
    pub source_disk: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The ID value of the disk used to create this InstantSnapshot.
    /// This value may be used to determine whether the InstantSnapshot
    /// was taken from the current or a previous instance of a given disk name.
    #[prost(string, optional, tag = "454190809")]
    pub source_disk_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the source instant snapshot this instant snapshot is
    /// part of. Note that the source instant snapshot group must be in the same
    /// zone/region as the instant snapshot to be created. This can be a full or
    /// valid partial URL.
    #[prost(string, optional, tag = "525991686")]
    pub source_instant_snapshot_group: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] The ID value of the source instant snapshot group this
    /// InstantSnapshot is part of. This value may be used to determine whether the
    /// InstantSnapshot was created as part of an InstantSnapshotGroup creation.
    #[prost(string, optional, tag = "167103732")]
    pub source_instant_snapshot_group_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the zone where the instant snapshot resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstantSnapshot`.
pub mod instant_snapshot {
    /// Output only. \[Output Only\] The architecture of the instant snapshot. Valid values are
    /// ARM64 or X86_64.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Architecture {
        /// A value indicating that the enum field is not set.
        UndefinedArchitecture = 0,
        /// Default value indicating Architecture is not set.
        Unspecified = 394750507,
        /// Machines with architecture ARM64
        Arm64 = 62547450,
        /// Machines with architecture X86_64
        X8664 = 425300551,
    }
    impl Architecture {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedArchitecture => "UNDEFINED_ARCHITECTURE",
                Self::Unspecified => "ARCHITECTURE_UNSPECIFIED",
                Self::Arm64 => "ARM64",
                Self::X8664 => "X86_64",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ARCHITECTURE" => Some(Self::UndefinedArchitecture),
                "ARCHITECTURE_UNSPECIFIED" => Some(Self::Unspecified),
                "ARM64" => Some(Self::Arm64),
                "X86_64" => Some(Self::X8664),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// InstantSnapshot creation is in progress.
        Creating = 455564985,
        /// InstantSnapshot is currently being deleted.
        Deleting = 528602024,
        /// InstantSnapshot creation failed.
        Failed = 455706685,
        /// InstantSnapshot has been created successfully.
        Ready = 77848963,
        /// InstantSnapshot is currently unavailable and cannot be used for
        /// Disk restoration
        Unavailable = 413756464,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Failed => "FAILED",
                Self::Ready => "READY",
                Self::Unavailable => "UNAVAILABLE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "FAILED" => Some(Self::Failed),
                "READY" => Some(Self::Ready),
                "UNAVAILABLE" => Some(Self::Unavailable),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstantSnapshotAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstantSnapshotsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InstantSnapshotsScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#instantSnapshotAggregatedList for aggregated lists of
    /// instantSnapshots.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents an InstantSnapshotGroup resource.
///
/// An instant snapshot group is a set of instant snapshots that represents a
/// point in time state of a consistency group.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstantSnapshotGroup {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup
    /// resources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Identifier. Name of the resource; provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the instant snapshot group resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "249429315")]
    pub resource_status: ::core::option::Option<InstantSnapshotGroupResourceStatus>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource's resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "531359348")]
    pub source_consistency_group: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\]
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the zone where the instant snapshot group resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InstantSnapshotGroup`.
pub mod instant_snapshot_group {
    /// Output only. \[Output Only\]
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Creating = 455564985,
        Deleting = 528602024,
        Failed = 455706685,
        Invalid = 530283991,
        Ready = 77848963,
        Unknown = 433141802,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Failed => "FAILED",
                Self::Invalid => "INVALID",
                Self::Ready => "READY",
                Self::Unknown => "UNKNOWN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "FAILED" => Some(Self::Failed),
                "INVALID" => Some(Self::Invalid),
                "READY" => Some(Self::Ready),
                "UNKNOWN" => Some(Self::Unknown),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstantSnapshotGroupParameters {
    /// The source instant snapshot group used to create disks. You can provide
    /// this as a partial or full URL to the resource. For example, the following
    /// are valid values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshotGroups/instantSnapshotGroup>
    ///   - projects/project/zones/zone/instantSnapshotGroups/instantSnapshotGroup
    ///   - zones/zone/instantSnapshotGroups/instantSnapshotGroup
    /// ```
    #[prost(string, optional, tag = "525991686")]
    pub source_instant_snapshot_group: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstantSnapshotGroupResourceStatus {
    /// Output only. \[Output Only\]
    #[prost(string, optional, tag = "346675870")]
    pub consistency_membership_resolution_time: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\]
    #[prost(message, optional, tag = "451907154")]
    pub source_info: ::core::option::Option<InstantSnapshotGroupSourceInfo>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstantSnapshotGroupSourceInfo {
    #[prost(string, optional, tag = "508183960")]
    pub consistency_group: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "85599522")]
    pub consistency_group_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains a list of InstantSnapshot resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstantSnapshotList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstantSnapshot resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstantSnapshot>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Additional instant snapshot params.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstantSnapshotParams {
    /// Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and
    /// values have the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
    /// namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InstantSnapshotResourceStatus {
    /// \[Output Only\] The storage size of this instant snapshot.
    #[prost(int64, optional, tag = "387548913")]
    pub storage_size_bytes: ::core::option::Option<i64>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstantSnapshotsScopedList {
    /// \[Output Only\] A list of instantSnapshots contained in this scope.
    #[prost(message, repeated, tag = "329637457")]
    pub instant_snapshots: ::prost::alloc::vec::Vec<InstantSnapshot>,
    /// \[Output Only\] Informational warning which replaces the list of
    /// instantSnapshots when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// HttpRouteRuleMatch criteria for field values that must stay
/// within the specified integer range.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Int64RangeMatch {
    /// The end of the range (exclusive) in signed long integer format.
    #[prost(int64, optional, tag = "322439897")]
    pub range_end: ::core::option::Option<i64>,
    /// The start of the range (inclusive) in signed long integer format.
    #[prost(int64, optional, tag = "103333600")]
    pub range_start: ::core::option::Option<i64>,
}
/// Represents an Interconnect resource.
///
/// An Interconnect resource is a dedicated connection between the Google
/// Cloud network and your on-premises network. For more information, read the
/// Dedicated Interconnect Overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Interconnect {
    /// Enable or disable the application awareness feature on this Cloud
    /// Interconnect.
    #[prost(bool, optional, tag = "388780363")]
    pub aai_enabled: ::core::option::Option<bool>,
    /// Administrative status of the interconnect. When this is set to true, the
    /// Interconnect is functional and can carry traffic.
    /// When set to false, no packets can be carried over the interconnect and
    /// no BGP routes are exchanged over it. By default, the status is set to true.
    #[prost(bool, optional, tag = "445675089")]
    pub admin_enabled: ::core::option::Option<bool>,
    /// Configuration information for application awareness on this Cloud
    /// Interconnect.
    #[prost(message, optional, tag = "429095966")]
    pub application_aware_interconnect: ::core::option::Option<
        InterconnectApplicationAwareInterconnect,
    >,
    /// \[Output only\] List of features available for this Interconnect connection,
    /// which can take one of the following values:
    ///
    /// ```text
    /// - IF_MACSEC: If present, then the Interconnect connection is
    /// provisioned on MACsec capable hardware ports. If not present, then the
    /// Interconnect connection is provisioned on non-MACsec capable ports. Any
    /// attempt to enable MACsec will fail.
    /// - IF_CROSS_SITE_NETWORK: If present, then the Interconnect connection is
    /// provisioned exclusively for Cross-Site Networking. Any attempt to configure
    /// VLAN attachments will fail. If not present, then the Interconnect
    /// connection is not provisioned for Cross-Site Networking. Any attempt to use
    /// it for Cross-Site Networking will fail.
    /// ```
    ///
    /// Check the AvailableFeatures enum for the list of possible values.
    #[prost(string, repeated, tag = "496344307")]
    pub available_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A list of CircuitInfo objects, that describe the individual
    /// circuits in this LAG.
    #[prost(message, repeated, tag = "164839855")]
    pub circuit_infos: ::prost::alloc::vec::Vec<InterconnectCircuitInfo>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Customer name, to put in the Letter of Authorization as the party
    /// authorized to request a crossconnect.
    #[prost(string, optional, tag = "3665484")]
    pub customer_name: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A list of outages expected for this Interconnect.
    #[prost(message, repeated, tag = "264484123")]
    pub expected_outages: ::prost::alloc::vec::Vec<InterconnectOutageNotification>,
    /// Output only. \[Output Only\] IP address configured on the Google side of the Interconnect
    /// link. This can be used only for ping tests.
    #[prost(string, optional, tag = "443105954")]
    pub google_ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Google reference ID to be used when raising support tickets
    /// with Google or otherwise to debug backend connectivity issues.
    #[prost(string, optional, tag = "534944469")]
    pub google_reference_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] A list of the URLs of all InterconnectAttachments configured
    /// to use  this Interconnect.
    #[prost(string, repeated, tag = "425388415")]
    pub interconnect_attachments: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] URLs of InterconnectGroups that include this Interconnect.
    /// Order is arbitrary and items are unique.
    #[prost(string, repeated, tag = "237049509")]
    pub interconnect_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Type of interconnect, which can take one of the following values:
    ///
    /// ```text
    /// - PARTNER: A partner-managed interconnection shared between customers
    /// though a partner.
    /// - DEDICATED: A dedicated physical interconnection with the
    /// customer.
    /// ```
    ///
    /// Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.
    /// Check the InterconnectType enum for the list of possible values.
    #[prost(string, optional, tag = "515165259")]
    pub interconnect_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#interconnect for interconnects.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this Interconnect, which
    /// is essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve an Interconnect.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Type of link requested, which can take one of the following values:
    ///
    /// ```text
    /// - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics
    /// - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics.
    /// - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4 optics.
    /// ```
    ///
    /// Note that this field indicates the speed of each of
    /// the links in the bundle, not the speed of the entire bundle.
    /// Check the LinkType enum for the list of possible values.
    #[prost(string, optional, tag = "523207775")]
    pub link_type: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the InterconnectLocation object that represents where this
    /// connection is to be provisioned.
    #[prost(string, optional, tag = "290430901")]
    pub location: ::core::option::Option<::prost::alloc::string::String>,
    /// Configuration that enables Media Access Control security (MACsec) on the
    /// Cloud Interconnect connection between Google and your on-premises router.
    #[prost(message, optional, tag = "528867490")]
    pub macsec: ::core::option::Option<InterconnectMacsec>,
    /// Enable or disable MACsec on this Interconnect connection. MACsec enablement
    /// fails if the MACsec object is not specified.
    #[prost(bool, optional, tag = "194203812")]
    pub macsec_enabled: ::core::option::Option<bool>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Email address to contact the customer NOC for operations and maintenance
    /// notifications regarding this Interconnect. If specified, this will be used
    /// for notifications in addition to all other forms described, such as
    /// Cloud Monitoring logs alerting and Cloud Notifications. This field is
    /// required for users who sign up for Cloud Interconnect using
    /// workforce identity federation.
    #[prost(string, optional, tag = "14072832")]
    pub noc_contact_email: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The current status of this Interconnect's functionality,
    /// which can take one of the following values:
    ///
    /// ```text
    /// - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to
    /// use. Attachments may be provisioned on this Interconnect.
    /// ```
    ///
    /// * OS_UNPROVISIONED: An Interconnect that has not completed turnup. No
    ///   attachments may be provisioned on this Interconnect.
    /// * OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal
    ///   maintenance. No attachments may be provisioned or updated on this
    ///   Interconnect.
    ///   Check the OperationalStatus enum for the list of possible values.
    #[prost(string, optional, tag = "201070847")]
    pub operational_status: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<InterconnectParams>,
    /// Output only. \[Output Only\] IP address configured on the customer side of the
    /// Interconnect link. The customer should configure this IP address during
    /// turnup when prompted by Google NOC. This can be used only for ping tests.
    #[prost(string, optional, tag = "207735769")]
    pub peer_ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Number of links actually provisioned in this interconnect.
    #[prost(int32, optional, tag = "410888565")]
    pub provisioned_link_count: ::core::option::Option<i32>,
    /// Indicates that this is a Cross-Cloud Interconnect. This field specifies the
    /// location outside of Google's network that the interconnect is connected to.
    #[prost(string, optional, tag = "324388750")]
    pub remote_location: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. This parameter can be provided only with Interconnect INSERT. It
    /// isn't valid for Interconnect PATCH. List of features requested for this
    /// Interconnect connection, which can take one of the following values:
    ///
    /// ```text
    /// - IF_MACSEC: If specified, then the connection is created on MACsec
    /// capable hardware ports. If not specified, non-MACsec capable ports will
    /// also be considered.
    /// - IF_CROSS_SITE_NETWORK: If specified, then the connection is created
    /// exclusively for Cross-Site Networking. The connection can not be used for
    /// Cross-Site Networking unless this feature is specified.
    /// ```
    ///
    /// Check the RequestedFeatures enum for the list of possible values.
    #[prost(string, repeated, tag = "461240814")]
    pub requested_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Target number of physical links in the link bundle, as requested by the
    /// customer.
    #[prost(int32, optional, tag = "45051387")]
    pub requested_link_count: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The current state of Interconnect functionality, which can
    /// take one of the following values:
    ///
    /// ```text
    /// - ACTIVE: The Interconnect is valid, turned up and ready to use.
    /// Attachments may be provisioned on this Interconnect.
    /// - UNPROVISIONED: The Interconnect has not completed turnup. No
    /// attachments may be provisioned on this Interconnect.
    /// - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance.
    /// No attachments may be provisioned or updated on this
    /// Interconnect.
    /// ```
    ///
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// To be deprecated.
    /// Check the Subzone enum for the list of possible values.
    #[prost(string, optional, tag = "280084972")]
    pub subzone: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A list of the URLs of all CrossSiteNetwork WireGroups
    /// configured to use this Interconnect. The Interconnect cannot be deleted if
    /// this list is non-empty.
    #[prost(string, repeated, tag = "40662734")]
    pub wire_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Interconnect`.
pub mod interconnect {
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// IF_CROSS_SITE_NETWORK
    /// IF_L2_FORWARDING
    /// IF_MACSEC
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AvailableFeatures {
        /// A value indicating that the enum field is not set.
        UndefinedAvailableFeatures = 0,
    }
    impl AvailableFeatures {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAvailableFeatures => "UNDEFINED_AVAILABLE_FEATURES",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AVAILABLE_FEATURES" => Some(Self::UndefinedAvailableFeatures),
                _ => None,
            }
        }
    }
    /// Type of interconnect, which can take one of the following values:
    ///
    /// ```text
    /// - PARTNER: A partner-managed interconnection shared between customers
    /// though a partner.
    /// - DEDICATED: A dedicated physical interconnection with the
    /// customer.
    /// ```
    ///
    /// Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum InterconnectType {
        /// A value indicating that the enum field is not set.
        UndefinedInterconnectType = 0,
        /// A dedicated physical interconnection with the customer.
        Dedicated = 258411983,
        /// \[Deprecated\] A private, physical interconnection with the customer.
        ItPrivate = 335677007,
        /// A partner-managed interconnection shared between customers via partner.
        Partner = 461924520,
    }
    impl InterconnectType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInterconnectType => "UNDEFINED_INTERCONNECT_TYPE",
                Self::Dedicated => "DEDICATED",
                Self::ItPrivate => "IT_PRIVATE",
                Self::Partner => "PARTNER",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INTERCONNECT_TYPE" => Some(Self::UndefinedInterconnectType),
                "DEDICATED" => Some(Self::Dedicated),
                "IT_PRIVATE" => Some(Self::ItPrivate),
                "PARTNER" => Some(Self::Partner),
                _ => None,
            }
        }
    }
    /// Type of link requested, which can take one of the following values:
    ///
    /// ```text
    /// - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics
    /// - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics.
    /// - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4 optics.
    /// ```
    ///
    /// Note that this field indicates the speed of each of
    /// the links in the bundle, not the speed of the entire bundle.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LinkType {
        /// A value indicating that the enum field is not set.
        UndefinedLinkType = 0,
        /// 100G Ethernet, LR Optics.
        Ethernet100gLr = 337672551,
        /// 10G Ethernet, LR Optics.
        /// \[(rate_bps) =  10000000000\];
        Ethernet10gLr = 236739749,
        /// 400G Ethernet, LR4 Optics.
        Ethernet400gLr4 = 127023690,
    }
    impl LinkType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLinkType => "UNDEFINED_LINK_TYPE",
                Self::Ethernet100gLr => "LINK_TYPE_ETHERNET_100G_LR",
                Self::Ethernet10gLr => "LINK_TYPE_ETHERNET_10G_LR",
                Self::Ethernet400gLr4 => "LINK_TYPE_ETHERNET_400G_LR4",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LINK_TYPE" => Some(Self::UndefinedLinkType),
                "LINK_TYPE_ETHERNET_100G_LR" => Some(Self::Ethernet100gLr),
                "LINK_TYPE_ETHERNET_10G_LR" => Some(Self::Ethernet10gLr),
                "LINK_TYPE_ETHERNET_400G_LR4" => Some(Self::Ethernet400gLr4),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The current status of this Interconnect's functionality,
    /// which can take one of the following values:
    ///
    /// ```text
    /// - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to
    /// use. Attachments may be provisioned on this Interconnect.
    /// ```
    ///
    /// * OS_UNPROVISIONED: An Interconnect that has not completed turnup. No
    ///   attachments may be provisioned on this Interconnect.
    /// * OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal
    ///   maintenance. No attachments may be provisioned or updated on this
    ///   Interconnect.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum OperationalStatus {
        /// A value indicating that the enum field is not set.
        UndefinedOperationalStatus = 0,
        /// The interconnect is valid, turned up, and ready to use. Attachments may
        /// be provisioned on this interconnect.
        OsActive = 55721409,
        /// The interconnect has not completed turnup. No attachments may be
        /// provisioned on this interconnect.
        OsUnprovisioned = 239771840,
    }
    impl OperationalStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOperationalStatus => "UNDEFINED_OPERATIONAL_STATUS",
                Self::OsActive => "OS_ACTIVE",
                Self::OsUnprovisioned => "OS_UNPROVISIONED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_OPERATIONAL_STATUS" => Some(Self::UndefinedOperationalStatus),
                "OS_ACTIVE" => Some(Self::OsActive),
                "OS_UNPROVISIONED" => Some(Self::OsUnprovisioned),
                _ => None,
            }
        }
    }
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// IF_CROSS_SITE_NETWORK
    /// IF_L2_FORWARDING
    /// IF_MACSEC
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RequestedFeatures {
        /// A value indicating that the enum field is not set.
        UndefinedRequestedFeatures = 0,
    }
    impl RequestedFeatures {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRequestedFeatures => "UNDEFINED_REQUESTED_FEATURES",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_REQUESTED_FEATURES" => Some(Self::UndefinedRequestedFeatures),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The current state of Interconnect functionality, which can
    /// take one of the following values:
    ///
    /// ```text
    /// - ACTIVE: The Interconnect is valid, turned up and ready to use.
    /// Attachments may be provisioned on this Interconnect.
    /// - UNPROVISIONED: The Interconnect has not completed turnup. No
    /// attachments may be provisioned on this Interconnect.
    /// - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance.
    /// No attachments may be provisioned or updated on this
    /// Interconnect.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// The interconnect is valid, turned up, and ready to use. Attachments may
        /// be provisioned on this interconnect.
        Active = 314733318,
        /// The interconnect has not completed turnup. No attachments may be
        /// provisioned on this interconnect.
        Unprovisioned = 517333979,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Active => "ACTIVE",
                Self::Unprovisioned => "UNPROVISIONED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVE" => Some(Self::Active),
                "UNPROVISIONED" => Some(Self::Unprovisioned),
                _ => None,
            }
        }
    }
    /// To be deprecated.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Subzone {
        /// A value indicating that the enum field is not set.
        UndefinedSubzone = 0,
        /// Subzone A.
        A = 291575438,
        /// Subzone B.
        B = 291575439,
    }
    impl Subzone {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSubzone => "UNDEFINED_SUBZONE",
                Self::A => "SUBZONE_A",
                Self::B => "SUBZONE_B",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SUBZONE" => Some(Self::UndefinedSubzone),
                "SUBZONE_A" => Some(Self::A),
                "SUBZONE_B" => Some(Self::B),
                _ => None,
            }
        }
    }
}
/// Configuration information for application awareness on this Cloud
/// Interconnect.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectApplicationAwareInterconnect {
    #[prost(message, optional, tag = "187018857")]
    pub bandwidth_percentage_policy: ::core::option::Option<
        InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy,
    >,
    /// Description for the application awareness profile on this Cloud
    /// Interconnect.
    #[prost(string, optional, tag = "262813286")]
    pub profile_description: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional field to specify a list of shape average percentages to be
    /// applied in conjunction with StrictPriorityPolicy or
    /// BandwidthPercentagePolicy.
    #[prost(message, repeated, tag = "259857497")]
    pub shape_average_percentages: ::prost::alloc::vec::Vec<
        InterconnectApplicationAwareInterconnectBandwidthPercentage,
    >,
    #[prost(message, optional, tag = "145083063")]
    pub strict_priority_policy: ::core::option::Option<
        InterconnectApplicationAwareInterconnectStrictPriorityPolicy,
    >,
}
/// Specify bandwidth percentages \[1-100\] for various traffic classes in
/// BandwidthPercentagePolicy. The sum of all percentages must equal 100.
/// All traffic classes must have a percentage value specified.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectApplicationAwareInterconnectBandwidthPercentage {
    /// Bandwidth percentage for a specific traffic class.
    #[prost(uint32, optional, tag = "151909018")]
    pub percentage: ::core::option::Option<u32>,
    /// TrafficClass whose bandwidth percentage is being specified.
    /// Check the TrafficClass enum for the list of possible values.
    #[prost(string, optional, tag = "198180022")]
    pub traffic_class: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectApplicationAwareInterconnectBandwidthPercentage`.
pub mod interconnect_application_aware_interconnect_bandwidth_percentage {
    /// TrafficClass whose bandwidth percentage is being specified.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum TrafficClass {
        /// A value indicating that the enum field is not set.
        UndefinedTrafficClass = 0,
        /// Traffic Class 1, corresponding to DSCP ranges (0-7) 000xxx.
        Tc1 = 82850,
        /// Traffic Class 2, corresponding to DSCP ranges (8-15) 001xxx.
        Tc2 = 82851,
        /// Traffic Class 3, corresponding to DSCP ranges (16-23) 010xxx.
        Tc3 = 82852,
        /// Traffic Class 4, corresponding to DSCP ranges (24-31) 011xxx.
        Tc4 = 82853,
        /// Traffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx.
        Tc5 = 82854,
        /// Traffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx.
        Tc6 = 82855,
    }
    impl TrafficClass {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedTrafficClass => "UNDEFINED_TRAFFIC_CLASS",
                Self::Tc1 => "TC1",
                Self::Tc2 => "TC2",
                Self::Tc3 => "TC3",
                Self::Tc4 => "TC4",
                Self::Tc5 => "TC5",
                Self::Tc6 => "TC6",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TRAFFIC_CLASS" => Some(Self::UndefinedTrafficClass),
                "TC1" => Some(Self::Tc1),
                "TC2" => Some(Self::Tc2),
                "TC3" => Some(Self::Tc3),
                "TC4" => Some(Self::Tc4),
                "TC5" => Some(Self::Tc5),
                "TC6" => Some(Self::Tc6),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy {
    /// Specify bandwidth percentages for various traffic classes for queuing
    /// type Bandwidth Percent.
    #[prost(message, repeated, tag = "233373323")]
    pub bandwidth_percentages: ::prost::alloc::vec::Vec<
        InterconnectApplicationAwareInterconnectBandwidthPercentage,
    >,
}
/// Specify configuration for StrictPriorityPolicy.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectApplicationAwareInterconnectStrictPriorityPolicy {}
/// Represents an Interconnect Attachment (VLAN) resource.
///
/// You can use Interconnect attachments (VLANS) to connect your Virtual Private
/// Cloud networks to your on-premises networks through an Interconnect.
/// For more information, read
/// Creating VLAN Attachments.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachment {
    /// Determines whether this Attachment will carry packets.
    /// Not present for PARTNER_PROVIDER.
    #[prost(bool, optional, tag = "445675089")]
    pub admin_enabled: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] URL of the AttachmentGroup that includes this Attachment.
    #[prost(string, optional, tag = "63442019")]
    pub attachment_group: ::core::option::Option<::prost::alloc::string::String>,
    /// Provisioned bandwidth capacity for the interconnect attachment. For
    /// attachments of type DEDICATED, the user can set the bandwidth.
    /// For attachments of type PARTNER, the Google Partner that is operating
    /// the interconnect must set the bandwidth.
    /// Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,
    /// and can take one of the following values:
    ///
    /// ```text
    /// - BPS_50M: 50 Mbit/s
    /// - BPS_100M: 100 Mbit/s
    /// - BPS_200M: 200 Mbit/s
    /// - BPS_300M: 300 Mbit/s
    /// - BPS_400M: 400 Mbit/s
    /// - BPS_500M: 500 Mbit/s
    /// - BPS_1G: 1 Gbit/s
    /// - BPS_2G: 2 Gbit/s
    /// - BPS_5G: 5 Gbit/s
    /// - BPS_10G: 10 Gbit/s
    /// - BPS_20G: 20 Gbit/s
    /// - BPS_50G: 50 Gbit/s
    /// - BPS_100G: 100 Gbit/s
    /// - BPS_400G: 400 Gbit/s
    /// ```
    ///
    /// Check the Bandwidth enum for the list of possible values.
    #[prost(string, optional, tag = "181715121")]
    pub bandwidth: ::core::option::Option<::prost::alloc::string::String>,
    /// Single IPv4 address + prefix length to be configured on the cloud router
    /// interface for this interconnect attachment.
    ///
    /// ```text
    /// - Both candidate_cloud_router_ip_address and
    /// candidate_customer_router_ip_address fields must be set or both must be
    /// unset.
    /// - Prefix length of both candidate_cloud_router_ip_address and
    /// candidate_customer_router_ip_address must be the same.
    /// - Max prefix length is 31.
    /// ```
    #[prost(string, optional, tag = "311379276")]
    pub candidate_cloud_router_ip_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Single IPv6 address + prefix length to be configured on the cloud router
    /// interface for this interconnect attachment.
    ///
    /// ```text
    /// - Both candidate_cloud_router_ipv6_address and
    /// candidate_customer_router_ipv6_address fields must be set or both must be
    /// unset.
    /// - Prefix length of both candidate_cloud_router_ipv6_address and
    /// candidate_customer_router_ipv6_address must be the same.
    /// - Max prefix length is 126.
    /// ```
    #[prost(string, optional, tag = "417499660")]
    pub candidate_cloud_router_ipv6_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Single IPv4 address + prefix length to be configured on the customer router
    /// interface for this interconnect attachment.
    #[prost(string, optional, tag = "339113389")]
    pub candidate_customer_router_ip_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Single IPv6 address + prefix length to be configured on the customer router
    /// interface for this interconnect attachment.
    #[prost(string, optional, tag = "226436653")]
    pub candidate_customer_router_ipv6_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// This field is not available.
    #[prost(string, repeated, tag = "70682522")]
    pub candidate_ipv6_subnets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Input only. Up to 16 candidate prefixes that can be used to restrict the allocation
    /// of cloudRouterIpAddress and customerRouterIpAddress for this attachment.
    /// All prefixes must be within link-local address space (169.254.0.0/16) and
    /// must be /29 or shorter (/28, /27, etc). Google will attempt to select an
    /// unused /29 from the supplied candidate prefix(es). The request will fail if
    /// all possible /29s are in use on Google's edge. If not supplied, Google will
    /// randomly select an unused /29 from all of link-local space.
    #[prost(string, repeated, tag = "237842938")]
    pub candidate_subnets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] IPv4 address + prefix length to be configured on Cloud Router
    /// Interface for this interconnect attachment.
    #[prost(string, optional, tag = "287392776")]
    pub cloud_router_ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] IPv6 address + prefix length to be configured on Cloud
    /// Router Interface for this interconnect attachment.
    #[prost(string, optional, tag = "451922376")]
    pub cloud_router_ipv6_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// This field is not available.
    #[prost(string, optional, tag = "521282701")]
    pub cloud_router_ipv6_interface_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Constraints for this attachment, if any. The attachment does
    /// not work if these constraints are not met.
    #[prost(message, optional, tag = "179681389")]
    pub configuration_constraints: ::core::option::Option<
        InterconnectAttachmentConfigurationConstraints,
    >,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] IPv4 address + prefix length to be configured on the customer
    /// router subinterface for this interconnect attachment.
    #[prost(string, optional, tag = "332475761")]
    pub customer_router_ip_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] IPv6 address + prefix length to be configured on the
    /// customer router subinterface for this interconnect attachment.
    #[prost(string, optional, tag = "290127089")]
    pub customer_router_ipv6_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// This field is not available.
    #[prost(string, optional, tag = "380994308")]
    pub customer_router_ipv6_interface_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Dataplane version for this InterconnectAttachment. This
    /// field is only present for Dataplane version 2 and higher. Absence of this
    /// field in the API output indicates that the Dataplane is version 1.
    #[prost(int32, optional, tag = "34920075")]
    pub dataplane_version: ::core::option::Option<i32>,
    /// An optional description of this resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. Desired availability domain for the attachment. Only available for type
    /// PARTNER, at creation time, and can take one of the following values:
    ///
    /// ```text
    /// - AVAILABILITY_DOMAIN_ANY
    /// - AVAILABILITY_DOMAIN_1
    /// - AVAILABILITY_DOMAIN_2
    /// ```
    ///
    /// For improved reliability, customers should configure a pair of attachments,
    /// one per availability domain. The selected availability domain will be
    /// provided to the Partner via the pairing key, so that the provisioned
    /// circuit will lie in the specified domain. If not specified, the value will
    /// default to AVAILABILITY_DOMAIN_ANY.
    /// Check the EdgeAvailabilityDomain enum for the list of possible values.
    #[prost(string, optional, tag = "71289510")]
    pub edge_availability_domain: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates the user-supplied encryption option of this VLAN attachment
    /// (interconnectAttachment). Can only be specified at attachment creation
    /// for PARTNER or DEDICATED attachments.
    /// Possible values are:
    ///
    /// ```text
    /// - NONE - This is the default value, which means that the
    /// VLAN attachment carries unencrypted traffic. VMs are able to send
    /// traffic to, or receive traffic from, such a VLAN attachment.
    /// - IPSEC - The VLAN attachment carries only encrypted
    /// traffic that is encrypted by an IPsec device, such as an HA VPN gateway or
    /// third-party IPsec VPN. VMs cannot directly send traffic to, or receive
    /// traffic from, such a VLAN attachment. To use *HA VPN over Cloud
    /// Interconnect*, the VLAN attachment must be created with this
    /// option.
    /// ```
    ///
    /// Check the Encryption enum for the list of possible values.
    #[prost(string, optional, tag = "97980291")]
    pub encryption: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Google reference ID, to be used when raising support tickets
    /// with Google or otherwise to debug backend connectivity issues.
    /// \[Deprecated\] This field is not used.
    #[prost(string, optional, tag = "534944469")]
    pub google_reference_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// URL of the underlying Interconnect object that this attachment's traffic
    /// will traverse through.
    #[prost(string, optional, tag = "224601230")]
    pub interconnect: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of URLs of addresses that have been reserved for the VLAN
    /// attachment. Used only for the VLAN attachment that has the encryption
    /// option as IPSEC. The addresses must be regional internal IP address ranges.
    /// When creating an HA VPN gateway over the VLAN attachment, if the attachment
    /// is configured to use a regional internal IP address, then the VPN gateway's
    /// IP address is allocated from the IP address range specified here. For
    /// example, if the HA VPN gateway's interface 0 is paired to this VLAN
    /// attachment, then a regional internal IP address for the VPN gateway
    /// interface 0 will be allocated from the IP address specified for this
    /// VLAN attachment.
    /// If this field is not specified when creating the VLAN attachment, then
    /// later on when creating an HA VPN gateway on this VLAN attachment, the HA
    /// VPN gateway's IP address is allocated from the regional external IP address
    /// pool.
    #[prost(string, repeated, tag = "407648565")]
    pub ipsec_internal_addresses: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#interconnectAttachment for interconnect attachments.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// L2 Interconnect Attachment related config. This field is required if the
    /// type is L2_DEDICATED.
    ///
    /// The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad)
    /// within L2 packets are mapped to the destination appliances IP addresses.
    /// The packet is then encapsulated with the appliance IP address and sent to
    /// the edge appliance.
    #[prost(message, optional, tag = "84784022")]
    pub l2_forwarding: ::core::option::Option<InterconnectAttachmentL2Forwarding>,
    /// A fingerprint for the labels being applied to this InterconnectAttachment,
    /// which is essentially a hash of the labels set used for optimistic locking.
    /// The fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve an InterconnectAttachment.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Maximum Transmission Unit (MTU), in bytes, of packets passing through this
    /// interconnect attachment.
    /// Valid values are 1440, 1460, 1500, and 8896. If not specified,
    /// the value will default to 1440.
    #[prost(int32, optional, tag = "108462")]
    pub mtu: ::core::option::Option<i32>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The current status of whether or not this interconnect
    /// attachment is functional, which can take one of the following values:
    ///
    /// ```text
    /// - OS_ACTIVE: The attachment has been turned up and is ready to
    /// use.
    /// - OS_UNPROVISIONED: The attachment is not ready to use yet,
    /// because turnup is not complete.
    /// ```
    ///
    /// Check the OperationalStatus enum for the list of possible values.
    #[prost(string, optional, tag = "201070847")]
    pub operational_status: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not
    /// present for DEDICATED\].
    /// The opaque identifier of a PARTNER attachment used to initiate
    /// provisioning with a selected partner.
    /// Of the form "XXXXX/region/domain"
    #[prost(string, optional, tag = "439695464")]
    pub pairing_key: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<InterconnectAttachmentParams>,
    /// Optional BGP ASN for the router supplied by a Layer 3 Partner if they
    /// configured BGP on behalf of the customer.
    /// Output only for PARTNER type, input only for PARTNER_PROVIDER, not
    /// available for DEDICATED.
    #[prost(int64, optional, tag = "438166149")]
    pub partner_asn: ::core::option::Option<i64>,
    /// Informational metadata about Partner attachments from Partners to display
    /// to customers.
    /// Output only for PARTNER type, mutable for PARTNER_PROVIDER, not
    /// available for DEDICATED.
    #[prost(message, optional, tag = "65908934")]
    pub partner_metadata: ::core::option::Option<InterconnectAttachmentPartnerMetadata>,
    /// Output only. \[Output Only\] Information specific to an InterconnectAttachment.
    /// This property is populated if the interconnect that
    /// this is attached to is of type DEDICATED.
    #[prost(message, optional, tag = "237270531")]
    pub private_interconnect_info: ::core::option::Option<
        InterconnectAttachmentPrivateInfo,
    >,
    /// Output only. \[Output Only\] URL of the region where the regional interconnect attachment
    /// resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\]
    /// If the attachment is on a Cross-Cloud Interconnect connection, this field
    /// contains the interconnect's remote location service provider. Example
    /// values: "Amazon Web Services" "Microsoft Azure".
    ///
    /// The field is set only for attachments on Cross-Cloud Interconnect
    /// connections. Its value is copied from the InterconnectRemoteLocation
    /// remoteService field.
    #[prost(string, optional, tag = "391954364")]
    pub remote_service: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the Cloud Router to be used for dynamic routing. This router must be
    /// in the same region as this InterconnectAttachment. The
    /// InterconnectAttachment will automatically connect the Interconnect to the
    /// network & region within which the Cloud Router is configured.
    #[prost(string, optional, tag = "148608841")]
    pub router: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// The stack type for this interconnect attachment to identify whether the
    /// IPv6 feature is enabled or not. If not specified, IPV4_ONLY
    /// will be used.
    ///
    /// This field can be both set at interconnect attachments creation and
    /// update interconnect attachment operations.
    /// Check the StackType enum for the list of possible values.
    #[prost(string, optional, tag = "425908881")]
    pub stack_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The current state of this attachment's functionality.
    /// Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE,
    /// PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values
    /// PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used
    /// for only PARTNER and PARTNER_PROVIDER interconnect attachments.
    /// This state can take one of the following values:
    ///
    /// ```text
    /// - ACTIVE: The attachment has been turned up and is ready to use.
    /// - UNPROVISIONED: The attachment is not ready to use yet, because turnup
    /// is not complete.
    /// - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet
    /// been configured on the Partner side.
    /// - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of
    /// provisioning after a PARTNER_PROVIDER attachment was created that
    /// references it.
    /// - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER
    /// attachment that is waiting for a customer to activate it.
    /// - DEFUNCT:
    /// The attachment was deleted externally and is no longer functional. This
    /// could be because the associated Interconnect was removed, or because the
    /// other side of a Partner attachment was deleted.
    /// ```
    ///
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. Length of the IPv4 subnet mask.
    /// Allowed values:
    ///
    /// ```text
    /// - 29 (default)
    /// - 30
    /// ```
    ///
    /// The default value is 29, except for Cross-Cloud Interconnect
    /// connections that use an InterconnectRemoteLocation with a
    /// constraints.subnetLengthRange.min equal to 30. For example,
    /// connections that use an Azure remote location fall into this
    /// category. In these cases, the default value is 30, and requesting
    /// 29 returns an error.
    ///
    /// Where both 29 and 30 are allowed, 29 is preferred, because it gives
    /// Google Cloud Support more debugging visibility.
    #[prost(int32, optional, tag = "279831048")]
    pub subnet_length: ::core::option::Option<i32>,
    /// The type of interconnect attachment this is, which can take one of the
    /// following values:
    ///
    /// ```text
    /// - DEDICATED: an attachment to a Dedicated Interconnect.
    /// - PARTNER: an attachment to a Partner Interconnect, created by the
    /// customer.
    /// - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by
    /// the partner.
    /// ```
    ///
    /// * L2_DEDICATED: a L2 attachment to a Dedicated Interconnect.
    ///   Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
    /// The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093.
    /// Only specified at creation time.
    #[prost(int32, optional, tag = "119927836")]
    pub vlan_tag8021q: ::core::option::Option<i32>,
}
/// Nested message and enum types in `InterconnectAttachment`.
pub mod interconnect_attachment {
    /// Provisioned bandwidth capacity for the interconnect attachment. For
    /// attachments of type DEDICATED, the user can set the bandwidth.
    /// For attachments of type PARTNER, the Google Partner that is operating
    /// the interconnect must set the bandwidth.
    /// Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,
    /// and can take one of the following values:
    ///
    /// ```text
    /// - BPS_50M: 50 Mbit/s
    /// - BPS_100M: 100 Mbit/s
    /// - BPS_200M: 200 Mbit/s
    /// - BPS_300M: 300 Mbit/s
    /// - BPS_400M: 400 Mbit/s
    /// - BPS_500M: 500 Mbit/s
    /// - BPS_1G: 1 Gbit/s
    /// - BPS_2G: 2 Gbit/s
    /// - BPS_5G: 5 Gbit/s
    /// - BPS_10G: 10 Gbit/s
    /// - BPS_20G: 20 Gbit/s
    /// - BPS_50G: 50 Gbit/s
    /// - BPS_100G: 100 Gbit/s
    /// - BPS_400G: 400 Gbit/s
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Bandwidth {
        /// A value indicating that the enum field is not set.
        UndefinedBandwidth = 0,
        /// 100 Gbit/s
        Bps100g = 49547952,
        /// 100 Mbit/s
        Bps100m = 49547958,
        /// 10 Gbit/s
        Bps10g = 278693006,
        /// 1 Gbit/s
        Bps1g = 355358448,
        /// 200 Mbit/s
        Bps200m = 49577749,
        /// 20 Gbit/s
        Bps20g = 278693967,
        /// 2 Gbit/s
        Bps2g = 355358479,
        /// 300 Mbit/s
        Bps300m = 49607540,
        /// 400 Gbit/s
        Bps400g = 49637325,
        /// 400 Mbit/s
        Bps400m = 49637331,
        /// 500 Mbit/s
        Bps500m = 49667122,
        /// 50 Gbit/s
        Bps50g = 278696850,
        /// 50 Mbit/s
        Bps50m = 278696856,
        /// 5 Gbit/s
        Bps5g = 355358572,
    }
    impl Bandwidth {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBandwidth => "UNDEFINED_BANDWIDTH",
                Self::Bps100g => "BPS_100G",
                Self::Bps100m => "BPS_100M",
                Self::Bps10g => "BPS_10G",
                Self::Bps1g => "BPS_1G",
                Self::Bps200m => "BPS_200M",
                Self::Bps20g => "BPS_20G",
                Self::Bps2g => "BPS_2G",
                Self::Bps300m => "BPS_300M",
                Self::Bps400g => "BPS_400G",
                Self::Bps400m => "BPS_400M",
                Self::Bps500m => "BPS_500M",
                Self::Bps50g => "BPS_50G",
                Self::Bps50m => "BPS_50M",
                Self::Bps5g => "BPS_5G",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BANDWIDTH" => Some(Self::UndefinedBandwidth),
                "BPS_100G" => Some(Self::Bps100g),
                "BPS_100M" => Some(Self::Bps100m),
                "BPS_10G" => Some(Self::Bps10g),
                "BPS_1G" => Some(Self::Bps1g),
                "BPS_200M" => Some(Self::Bps200m),
                "BPS_20G" => Some(Self::Bps20g),
                "BPS_2G" => Some(Self::Bps2g),
                "BPS_300M" => Some(Self::Bps300m),
                "BPS_400G" => Some(Self::Bps400g),
                "BPS_400M" => Some(Self::Bps400m),
                "BPS_500M" => Some(Self::Bps500m),
                "BPS_50G" => Some(Self::Bps50g),
                "BPS_50M" => Some(Self::Bps50m),
                "BPS_5G" => Some(Self::Bps5g),
                _ => None,
            }
        }
    }
    /// Input only. Desired availability domain for the attachment. Only available for type
    /// PARTNER, at creation time, and can take one of the following values:
    ///
    /// ```text
    /// - AVAILABILITY_DOMAIN_ANY
    /// - AVAILABILITY_DOMAIN_1
    /// - AVAILABILITY_DOMAIN_2
    /// ```
    ///
    /// For improved reliability, customers should configure a pair of attachments,
    /// one per availability domain. The selected availability domain will be
    /// provided to the Partner via the pairing key, so that the provisioned
    /// circuit will lie in the specified domain. If not specified, the value will
    /// default to AVAILABILITY_DOMAIN_ANY.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum EdgeAvailabilityDomain {
        /// A value indicating that the enum field is not set.
        UndefinedEdgeAvailabilityDomain = 0,
        AvailabilityDomain1 = 349552090,
        AvailabilityDomain2 = 349552091,
        AvailabilityDomainAny = 375256373,
    }
    impl EdgeAvailabilityDomain {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedEdgeAvailabilityDomain => {
                    "UNDEFINED_EDGE_AVAILABILITY_DOMAIN"
                }
                Self::AvailabilityDomain1 => "AVAILABILITY_DOMAIN_1",
                Self::AvailabilityDomain2 => "AVAILABILITY_DOMAIN_2",
                Self::AvailabilityDomainAny => "AVAILABILITY_DOMAIN_ANY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_EDGE_AVAILABILITY_DOMAIN" => {
                    Some(Self::UndefinedEdgeAvailabilityDomain)
                }
                "AVAILABILITY_DOMAIN_1" => Some(Self::AvailabilityDomain1),
                "AVAILABILITY_DOMAIN_2" => Some(Self::AvailabilityDomain2),
                "AVAILABILITY_DOMAIN_ANY" => Some(Self::AvailabilityDomainAny),
                _ => None,
            }
        }
    }
    /// Indicates the user-supplied encryption option of this VLAN attachment
    /// (interconnectAttachment). Can only be specified at attachment creation
    /// for PARTNER or DEDICATED attachments.
    /// Possible values are:
    ///
    /// ```text
    /// - NONE - This is the default value, which means that the
    /// VLAN attachment carries unencrypted traffic. VMs are able to send
    /// traffic to, or receive traffic from, such a VLAN attachment.
    /// - IPSEC - The VLAN attachment carries only encrypted
    /// traffic that is encrypted by an IPsec device, such as an HA VPN gateway or
    /// third-party IPsec VPN. VMs cannot directly send traffic to, or receive
    /// traffic from, such a VLAN attachment. To use *HA VPN over Cloud
    /// Interconnect*, the VLAN attachment must be created with this
    /// option.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Encryption {
        /// A value indicating that the enum field is not set.
        UndefinedEncryption = 0,
        /// The interconnect attachment will carry only encrypted traffic that is
        /// encrypted by an IPsec device such as HA VPN gateway;
        /// VMs cannot directly send traffic to or receive traffic from such an
        /// interconnect attachment.  To use HA VPN over Cloud Interconnect,
        /// the interconnect attachment must be created with this option.
        Ipsec = 69882282,
        /// This is the default value, which means the Interconnect Attachment will
        /// carry unencrypted traffic. VMs will be able to send traffic to or receive
        /// traffic from such interconnect attachment.
        None = 2402104,
    }
    impl Encryption {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedEncryption => "UNDEFINED_ENCRYPTION",
                Self::Ipsec => "IPSEC",
                Self::None => "NONE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ENCRYPTION" => Some(Self::UndefinedEncryption),
                "IPSEC" => Some(Self::Ipsec),
                "NONE" => Some(Self::None),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The current status of whether or not this interconnect
    /// attachment is functional, which can take one of the following values:
    ///
    /// ```text
    /// - OS_ACTIVE: The attachment has been turned up and is ready to
    /// use.
    /// - OS_UNPROVISIONED: The attachment is not ready to use yet,
    /// because turnup is not complete.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum OperationalStatus {
        /// A value indicating that the enum field is not set.
        UndefinedOperationalStatus = 0,
        /// Indicates that attachment has been turned up and is ready to
        /// use.
        OsActive = 55721409,
        /// Indicates that attachment is not ready to use yet, because
        /// turnup is not complete.
        OsUnprovisioned = 239771840,
    }
    impl OperationalStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOperationalStatus => "UNDEFINED_OPERATIONAL_STATUS",
                Self::OsActive => "OS_ACTIVE",
                Self::OsUnprovisioned => "OS_UNPROVISIONED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_OPERATIONAL_STATUS" => Some(Self::UndefinedOperationalStatus),
                "OS_ACTIVE" => Some(Self::OsActive),
                "OS_UNPROVISIONED" => Some(Self::OsUnprovisioned),
                _ => None,
            }
        }
    }
    /// The stack type for this interconnect attachment to identify whether the
    /// IPv6 feature is enabled or not. If not specified, IPV4_ONLY
    /// will be used.
    ///
    /// This field can be both set at interconnect attachments creation and
    /// update interconnect attachment operations.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StackType {
        /// A value indicating that the enum field is not set.
        UndefinedStackType = 0,
        /// The interconnect attachment can have both IPv4 and IPv6 addresses.
        Ipv4Ipv6 = 22197249,
        /// The interconnect attachment will only be assigned IPv4 addresses.
        Ipv4Only = 22373798,
    }
    impl StackType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStackType => "UNDEFINED_STACK_TYPE",
                Self::Ipv4Ipv6 => "IPV4_IPV6",
                Self::Ipv4Only => "IPV4_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STACK_TYPE" => Some(Self::UndefinedStackType),
                "IPV4_IPV6" => Some(Self::Ipv4Ipv6),
                "IPV4_ONLY" => Some(Self::Ipv4Only),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The current state of this attachment's functionality.
    /// Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE,
    /// PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values
    /// PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used
    /// for only PARTNER and PARTNER_PROVIDER interconnect attachments.
    /// This state can take one of the following values:
    ///
    /// ```text
    /// - ACTIVE: The attachment has been turned up and is ready to use.
    /// - UNPROVISIONED: The attachment is not ready to use yet, because turnup
    /// is not complete.
    /// - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet
    /// been configured on the Partner side.
    /// - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of
    /// provisioning after a PARTNER_PROVIDER attachment was created that
    /// references it.
    /// - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER
    /// attachment that is waiting for a customer to activate it.
    /// - DEFUNCT:
    /// The attachment was deleted externally and is no longer functional. This
    /// could be because the associated Interconnect was removed, or because the
    /// other side of a Partner attachment was deleted.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// Indicates that attachment has been turned up and is ready to use.
        Active = 314733318,
        /// The attachment was deleted externally and is no longer functional.
        /// This could be because the associated Interconnect was wiped out,
        /// or because the other side of a Partner attachment was deleted.
        Defunct = 115891759,
        /// A PARTNER attachment is in the process of provisioning after a
        /// PARTNER_PROVIDER attachment was created that references it.
        PartnerRequestReceived = 513587304,
        /// PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer
        /// to activate.
        PendingCustomer = 167494054,
        /// A newly created PARTNER attachment that has not yet been configured on
        /// the Partner side.
        PendingPartner = 387890656,
        Unspecified = 470755401,
        /// Indicates that attachment is not ready to use yet, because turnup is not
        /// complete.
        Unprovisioned = 517333979,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Active => "ACTIVE",
                Self::Defunct => "DEFUNCT",
                Self::PartnerRequestReceived => "PARTNER_REQUEST_RECEIVED",
                Self::PendingCustomer => "PENDING_CUSTOMER",
                Self::PendingPartner => "PENDING_PARTNER",
                Self::Unspecified => "STATE_UNSPECIFIED",
                Self::Unprovisioned => "UNPROVISIONED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVE" => Some(Self::Active),
                "DEFUNCT" => Some(Self::Defunct),
                "PARTNER_REQUEST_RECEIVED" => Some(Self::PartnerRequestReceived),
                "PENDING_CUSTOMER" => Some(Self::PendingCustomer),
                "PENDING_PARTNER" => Some(Self::PendingPartner),
                "STATE_UNSPECIFIED" => Some(Self::Unspecified),
                "UNPROVISIONED" => Some(Self::Unprovisioned),
                _ => None,
            }
        }
    }
    /// The type of interconnect attachment this is, which can take one of the
    /// following values:
    ///
    /// ```text
    /// - DEDICATED: an attachment to a Dedicated Interconnect.
    /// - PARTNER: an attachment to a Partner Interconnect, created by the
    /// customer.
    /// - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by
    /// the partner.
    /// ```
    ///
    /// * L2_DEDICATED: a L2 attachment to a Dedicated Interconnect.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// Attachment to a dedicated interconnect.
        Dedicated = 258411983,
        /// Attachment to a dedicated interconnect, forwarding L2 packets.
        L2Dedicated = 336595510,
        /// Attachment to a partner interconnect, created by the customer.
        Partner = 461924520,
        /// Attachment to a partner interconnect, created by the partner.
        PartnerProvider = 483261352,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Dedicated => "DEDICATED",
                Self::L2Dedicated => "L2_DEDICATED",
                Self::Partner => "PARTNER",
                Self::PartnerProvider => "PARTNER_PROVIDER",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "DEDICATED" => Some(Self::Dedicated),
                "L2_DEDICATED" => Some(Self::L2Dedicated),
                "PARTNER" => Some(Self::Partner),
                "PARTNER_PROVIDER" => Some(Self::PartnerProvider),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InterconnectAttachmentsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InterconnectAttachmentsScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#interconnectAttachmentAggregatedList for aggregated
    /// lists of interconnect attachments.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentConfigurationConstraints {
    /// Output only. \[Output Only\] Whether the attachment's BGP session
    /// requires/allows/disallows BGP MD5 authentication. This can take one of
    /// the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED.
    ///
    /// For example, a Cross-Cloud Interconnect connection to a remote cloud
    /// provider that requires BGP MD5 authentication has the
    /// interconnectRemoteLocation attachment_configuration_constraints.bgp_md5
    /// field set to MD5_REQUIRED, and that property is propagated to the
    /// attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is
    /// returned if MD5 is requested.
    /// Check the BgpMd5 enum for the list of possible values.
    #[prost(string, optional, tag = "373093386")]
    pub bgp_md5: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] List of ASN ranges that the remote location is known to
    /// support. Formatted as an array of inclusive ranges {min: min-value, max:
    /// max-value}. For example, \[{min: 123, max: 123}, {min: 64512, max: 65534}\]
    /// allows the peer ASN to be 123 or anything in the range 64512-65534.
    ///
    /// This field is only advisory. Although the API accepts other ranges, these
    /// are the ranges that we recommend.
    #[prost(message, repeated, tag = "475946370")]
    pub bgp_peer_asn_ranges: ::prost::alloc::vec::Vec<
        InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange,
    >,
}
/// Nested message and enum types in `InterconnectAttachmentConfigurationConstraints`.
pub mod interconnect_attachment_configuration_constraints {
    /// Output only. \[Output Only\] Whether the attachment's BGP session
    /// requires/allows/disallows BGP MD5 authentication. This can take one of
    /// the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED.
    ///
    /// For example, a Cross-Cloud Interconnect connection to a remote cloud
    /// provider that requires BGP MD5 authentication has the
    /// interconnectRemoteLocation attachment_configuration_constraints.bgp_md5
    /// field set to MD5_REQUIRED, and that property is propagated to the
    /// attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is
    /// returned if MD5 is requested.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum BgpMd5 {
        /// A value indicating that the enum field is not set.
        UndefinedBgpMd5 = 0,
        /// MD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be
        /// configured.
        Md5Optional = 532156673,
        /// MD5_REQUIRED: BGP MD5 authentication must be configured.
        Md5Required = 218034496,
        /// MD5_UNSUPPORTED: BGP MD5 authentication must not be configured
        Md5Unsupported = 86962388,
    }
    impl BgpMd5 {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBgpMd5 => "UNDEFINED_BGP_MD5",
                Self::Md5Optional => "MD5_OPTIONAL",
                Self::Md5Required => "MD5_REQUIRED",
                Self::Md5Unsupported => "MD5_UNSUPPORTED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BGP_MD5" => Some(Self::UndefinedBgpMd5),
                "MD5_OPTIONAL" => Some(Self::Md5Optional),
                "MD5_REQUIRED" => Some(Self::Md5Required),
                "MD5_UNSUPPORTED" => Some(Self::Md5Unsupported),
                _ => None,
            }
        }
    }
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange {
    #[prost(uint32, optional, tag = "107876")]
    pub max: ::core::option::Option<u32>,
    #[prost(uint32, optional, tag = "108114")]
    pub min: ::core::option::Option<u32>,
}
/// An interconnect attachment group resource allows customers to create,
/// analyze, and expand highly available deployments.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentGroup {
    /// Attachments in the AttachmentGroup. Keys are arbitrary user-specified
    /// strings. Users are encouraged, but not required, to use their preferred
    /// format for resource links as keys.
    /// Note that there are add-members and remove-members methods in gcloud.
    /// The size of this map is limited by an "Attachments per group" quota.
    #[prost(map = "string, message", tag = "334744496")]
    pub attachments: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InterconnectAttachmentGroupAttachment,
    >,
    #[prost(message, optional, tag = "295631422")]
    pub configured: ::core::option::Option<InterconnectAttachmentGroupConfigured>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Opaque system-generated token that uniquely identifies the configuration.
    /// If provided when patching a configuration in update mode, the provided
    /// token must match the current token or the update is rejected. This provides
    /// a reliable means of doing read-modify-write (optimistic locking) as
    /// described byAIP 154.
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    #[prost(message, optional, tag = "426849948")]
    pub intent: ::core::option::Option<InterconnectAttachmentGroupIntent>,
    /// The URL of an InterconnectGroup that groups these Attachments'
    /// Interconnects. Customers do not need to set this unless directed by
    /// Google Support.
    #[prost(string, optional, tag = "388651918")]
    pub interconnect_group: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Always
    /// compute#interconnectAttachmentGroup.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "142412989")]
    pub logical_structure: ::core::option::Option<
        InterconnectAttachmentGroupLogicalStructure,
    >,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// An Attachment in this AttachmentGroup.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectAttachmentGroupAttachment {
    #[prost(string, optional, tag = "183982371")]
    pub attachment: ::core::option::Option<::prost::alloc::string::String>,
}
/// \[Output Only\] The redundancy this group is configured to support. The way a
/// user queries what SLA their Attachment gets is by looking at this field of
/// the Attachment's AttachmentGroup.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentGroupConfigured {
    #[prost(message, optional, tag = "472702020")]
    pub availability_sla: ::core::option::Option<
        InterconnectAttachmentGroupConfiguredAvailabilitySla,
    >,
}
/// \[Output Only\] Which SLA this group is configured to support, and why this
/// group does or does not meet that SLA's requirements.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentGroupConfiguredAvailabilitySla {
    /// Check the EffectiveSla enum for the list of possible values.
    #[prost(string, optional, tag = "144173712")]
    pub effective_sla: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "448370308")]
    pub intended_sla_blockers: ::prost::alloc::vec::Vec<
        InterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockers,
    >,
}
/// Nested message and enum types in `InterconnectAttachmentGroupConfiguredAvailabilitySLA`.
pub mod interconnect_attachment_group_configured_availability_sla {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum EffectiveSla {
        /// A value indicating that the enum field is not set.
        UndefinedEffectiveSla = 0,
        Unspecified = 491000744,
        NoSla = 161460618,
        ProductionCritical = 470416485,
        ProductionNonCritical = 117399223,
    }
    impl EffectiveSla {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedEffectiveSla => "UNDEFINED_EFFECTIVE_SLA",
                Self::Unspecified => "EFFECTIVE_SLA_UNSPECIFIED",
                Self::NoSla => "NO_SLA",
                Self::ProductionCritical => "PRODUCTION_CRITICAL",
                Self::ProductionNonCritical => "PRODUCTION_NON_CRITICAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_EFFECTIVE_SLA" => Some(Self::UndefinedEffectiveSla),
                "EFFECTIVE_SLA_UNSPECIFIED" => Some(Self::Unspecified),
                "NO_SLA" => Some(Self::NoSla),
                "PRODUCTION_CRITICAL" => Some(Self::ProductionCritical),
                "PRODUCTION_NON_CRITICAL" => Some(Self::ProductionNonCritical),
                _ => None,
            }
        }
    }
}
/// \[Output Only\] Reasons why configuration.availabilitySLA.sla differs from
/// intent.availabilitySLA. This list is empty if and only if those are the
/// same.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockers {
    /// Output only. \[Output Only\] URLs of any particular Attachments to explain this
    /// blocker in more detail.
    #[prost(string, repeated, tag = "334744496")]
    pub attachments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Check the BlockerType enum for the list of possible values.
    #[prost(string, optional, tag = "381194847")]
    pub blocker_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The url of Google Cloud public documentation explaining
    /// this requirement. This is set for every type of requirement.
    #[prost(string, optional, tag = "93465183")]
    pub documentation_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A human-readable explanation of this requirement and
    /// why it's not met. This is set for every type of requirement.
    #[prost(string, optional, tag = "504745497")]
    pub explanation: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Metros used to explain this blocker in more detail.
    /// These are three-letter lowercase strings like "iad". This will be set
    /// for some blockers (like NO_ATTACHMENTS_IN_METRO_AND_ZONE) but does
    /// not apply to others.
    #[prost(string, repeated, tag = "533067386")]
    pub metros: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Regions used to explain this blocker in more
    /// detail. These are region names formatted like "us-central1". This
    /// will be set for some blockers (like INCOMPATIBLE_REGIONS) but does
    /// not apply to others.
    #[prost(string, repeated, tag = "12367871")]
    pub regions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Zones used to explain this blocker in more detail.
    /// Format is "zone1" and/or "zone2". This will be set for some blockers
    /// (like  MISSING_ZONE) but does not apply to others.
    #[prost(string, repeated, tag = "116085319")]
    pub zones: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers`.
pub mod interconnect_attachment_group_configured_availability_sla_intended_sla_blockers {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum BlockerType {
        /// A value indicating that the enum field is not set.
        UndefinedBlockerType = 0,
        Unspecified = 429793623,
        IncompatibleMetros = 290410432,
        IncompatibleRegions = 6195033,
        MissingGlobalRouting = 165913635,
        NoAttachments = 456535570,
        NoAttachmentsInMetroAndZone = 51684135,
        Other = 75532016,
    }
    impl BlockerType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBlockerType => "UNDEFINED_BLOCKER_TYPE",
                Self::Unspecified => "BLOCKER_TYPE_UNSPECIFIED",
                Self::IncompatibleMetros => "INCOMPATIBLE_METROS",
                Self::IncompatibleRegions => "INCOMPATIBLE_REGIONS",
                Self::MissingGlobalRouting => "MISSING_GLOBAL_ROUTING",
                Self::NoAttachments => "NO_ATTACHMENTS",
                Self::NoAttachmentsInMetroAndZone => "NO_ATTACHMENTS_IN_METRO_AND_ZONE",
                Self::Other => "OTHER",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BLOCKER_TYPE" => Some(Self::UndefinedBlockerType),
                "BLOCKER_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                "INCOMPATIBLE_METROS" => Some(Self::IncompatibleMetros),
                "INCOMPATIBLE_REGIONS" => Some(Self::IncompatibleRegions),
                "MISSING_GLOBAL_ROUTING" => Some(Self::MissingGlobalRouting),
                "NO_ATTACHMENTS" => Some(Self::NoAttachments),
                "NO_ATTACHMENTS_IN_METRO_AND_ZONE" => {
                    Some(Self::NoAttachmentsInMetroAndZone)
                }
                "OTHER" => Some(Self::Other),
                _ => None,
            }
        }
    }
}
/// The user's intent for this AttachmentGroup. This is the only required field
/// besides the name that must be specified on group creation.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectAttachmentGroupIntent {
    /// Check the AvailabilitySla enum for the list of possible values.
    #[prost(string, optional, tag = "472702020")]
    pub availability_sla: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectAttachmentGroupIntent`.
pub mod interconnect_attachment_group_intent {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AvailabilitySla {
        /// A value indicating that the enum field is not set.
        UndefinedAvailabilitySla = 0,
        Unspecified = 11186044,
        NoSla = 161460618,
        ProductionCritical = 470416485,
        ProductionNonCritical = 117399223,
    }
    impl AvailabilitySla {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAvailabilitySla => "UNDEFINED_AVAILABILITY_SLA",
                Self::Unspecified => "AVAILABILITY_SLA_UNSPECIFIED",
                Self::NoSla => "NO_SLA",
                Self::ProductionCritical => "PRODUCTION_CRITICAL",
                Self::ProductionNonCritical => "PRODUCTION_NON_CRITICAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AVAILABILITY_SLA" => Some(Self::UndefinedAvailabilitySla),
                "AVAILABILITY_SLA_UNSPECIFIED" => Some(Self::Unspecified),
                "NO_SLA" => Some(Self::NoSla),
                "PRODUCTION_CRITICAL" => Some(Self::ProductionCritical),
                "PRODUCTION_NON_CRITICAL" => Some(Self::ProductionNonCritical),
                _ => None,
            }
        }
    }
}
/// \[Output Only\] An analysis of the logical layout of Attachments in this
/// group. Every Attachment in the group is shown once in this structure.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentGroupLogicalStructure {
    #[prost(message, repeated, tag = "12367871")]
    pub regions: ::prost::alloc::vec::Vec<
        InterconnectAttachmentGroupLogicalStructureRegion,
    >,
}
/// \[Output Only\] The regions Attachments in this group are in.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentGroupLogicalStructureRegion {
    #[prost(message, repeated, tag = "533067386")]
    pub metros: ::prost::alloc::vec::Vec<
        InterconnectAttachmentGroupLogicalStructureRegionMetro,
    >,
    /// Output only. \[Output Only\] The name of a region, like "us-central1".
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
}
/// \[Output Only\] The metros of Attachments in this group in this region.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentGroupLogicalStructureRegionMetro {
    #[prost(message, repeated, tag = "536683137")]
    pub facilities: ::prost::alloc::vec::Vec<
        InterconnectAttachmentGroupLogicalStructureRegionMetroFacility,
    >,
    /// Output only. \[Output Only\] The name of the metro, as a three-letter lowercase
    /// string like "iad". This is the first component of the location of an
    /// Interconnect.
    #[prost(string, optional, tag = "103787801")]
    pub metro: ::core::option::Option<::prost::alloc::string::String>,
}
/// \[Output Only\] The facilities used for this group's Attachments'
/// Interconnects.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentGroupLogicalStructureRegionMetroFacility {
    /// Output only. \[Output Only\] The name of a facility, like "iad-1234".
    #[prost(string, optional, tag = "501116579")]
    pub facility: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "116085319")]
    pub zones: ::prost::alloc::vec::Vec<
        InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone,
    >,
}
/// \[Output Only\] The zones that Attachments in this group are present
/// in, in the given facilities.  This is inherited from their
/// Interconnects.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone {
    /// Output only. \[Output Only\] URLs of Attachments in the given zone, to the given
    /// region, on Interconnects in the given facility and metro. Every
    /// Attachment in the AG has such an entry.
    #[prost(string, repeated, tag = "334744496")]
    pub attachments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of a zone, either "zone1" or "zone2".
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response for the InterconnectAttachmentGroupsGetOperationalStatusResponse.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentGroupsGetOperationalStatusResponse {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "139315229")]
    pub result: ::core::option::Option<InterconnectAttachmentGroupsOperationalStatus>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentGroupsListResponse {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InterconnectAttachmentGroup resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InterconnectAttachmentGroup>,
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface:
    /// MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentGroupsOperationalStatus {
    #[prost(message, repeated, tag = "491132860")]
    pub attachment_statuses: ::prost::alloc::vec::Vec<
        InterconnectAttachmentGroupsOperationalStatusAttachmentStatus,
    >,
    #[prost(message, optional, tag = "295631422")]
    pub configured: ::core::option::Option<InterconnectAttachmentGroupConfigured>,
    /// Output only. Summarizes the status of the group.
    /// Check the GroupStatus enum for the list of possible values.
    #[prost(string, optional, tag = "338778546")]
    pub group_status: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "426849948")]
    pub intent: ::core::option::Option<InterconnectAttachmentGroupIntent>,
    /// Output only. The operational state of the group, including only active Attachments.
    #[prost(message, optional, tag = "129704914")]
    pub operational: ::core::option::Option<InterconnectAttachmentGroupConfigured>,
}
/// Nested message and enum types in `InterconnectAttachmentGroupsOperationalStatus`.
pub mod interconnect_attachment_groups_operational_status {
    /// Output only. Summarizes the status of the group.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum GroupStatus {
        /// A value indicating that the enum field is not set.
        UndefinedGroupStatus = 0,
        Degraded = 396890926,
        FullyDown = 255514647,
        FullyUp = 504176464,
        Unspecified = 526786327,
    }
    impl GroupStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedGroupStatus => "UNDEFINED_GROUP_STATUS",
                Self::Degraded => "DEGRADED",
                Self::FullyDown => "FULLY_DOWN",
                Self::FullyUp => "FULLY_UP",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_GROUP_STATUS" => Some(Self::UndefinedGroupStatus),
                "DEGRADED" => Some(Self::Degraded),
                "FULLY_DOWN" => Some(Self::FullyDown),
                "FULLY_UP" => Some(Self::FullyUp),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// The status of one Attachment in the group. List order is arbitrary.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectAttachmentGroupsOperationalStatusAttachmentStatus {
    /// Output only. Whether this Attachment is enabled. This becomes false when the customer
    /// drains their Attachment.
    #[prost(bool, optional, tag = "445675089")]
    pub admin_enabled: ::core::option::Option<bool>,
    /// Output only. The URL of the Attachment being described.
    #[prost(string, optional, tag = "183982371")]
    pub attachment: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Whether this Attachment is participating in the redundant configuration.
    /// This will be ACTIVE if and only if the status below is CONNECTION_UP.
    /// Any INACTIVE Attachments are excluded from the analysis that generates
    /// operational.availabilitySLA.
    /// Check the IsActive enum for the list of possible values.
    #[prost(string, optional, tag = "114830267")]
    pub is_active: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Whether this Attachment is active, and if so, whether BGP is up.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectAttachmentGroupsOperationalStatusAttachmentStatus`.
pub mod interconnect_attachment_groups_operational_status_attachment_status {
    /// Output only. Whether this Attachment is participating in the redundant configuration.
    /// This will be ACTIVE if and only if the status below is CONNECTION_UP.
    /// Any INACTIVE Attachments are excluded from the analysis that generates
    /// operational.availabilitySLA.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum IsActive {
        /// A value indicating that the enum field is not set.
        UndefinedIsActive = 0,
        Active = 314733318,
        Inactive = 270421099,
        Unspecified = 526786327,
    }
    impl IsActive {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIsActive => "UNDEFINED_IS_ACTIVE",
                Self::Active => "ACTIVE",
                Self::Inactive => "INACTIVE",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IS_ACTIVE" => Some(Self::UndefinedIsActive),
                "ACTIVE" => Some(Self::Active),
                "INACTIVE" => Some(Self::Inactive),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
    /// Output only. Whether this Attachment is active, and if so, whether BGP is up.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        AttachmentStatusUnknown = 472477561,
        ConnectionDisabled = 432687805,
        ConnectionDown = 267552099,
        ConnectionUp = 455585692,
        Defunct = 115891759,
        IpsecConfigurationNeededStatus = 455203582,
        IpsecReadyToResumeFlowStatus = 384830596,
        Ipv4DownIpv6Up = 277490992,
        Ipv4UpIpv6Down = 316051248,
        PartnerRequestReceived = 513587304,
        PendingCustomer = 167494054,
        PendingPartner = 387890656,
        Provisioned = 355751956,
        RouterConfigurationBroken = 150505108,
        Unprovisioned = 517333979,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::AttachmentStatusUnknown => "ATTACHMENT_STATUS_UNKNOWN",
                Self::ConnectionDisabled => "CONNECTION_DISABLED",
                Self::ConnectionDown => "CONNECTION_DOWN",
                Self::ConnectionUp => "CONNECTION_UP",
                Self::Defunct => "DEFUNCT",
                Self::IpsecConfigurationNeededStatus => {
                    "IPSEC_CONFIGURATION_NEEDED_STATUS"
                }
                Self::IpsecReadyToResumeFlowStatus => "IPSEC_READY_TO_RESUME_FLOW_STATUS",
                Self::Ipv4DownIpv6Up => "IPV4_DOWN_IPV6_UP",
                Self::Ipv4UpIpv6Down => "IPV4_UP_IPV6_DOWN",
                Self::PartnerRequestReceived => "PARTNER_REQUEST_RECEIVED",
                Self::PendingCustomer => "PENDING_CUSTOMER",
                Self::PendingPartner => "PENDING_PARTNER",
                Self::Provisioned => "PROVISIONED",
                Self::RouterConfigurationBroken => "ROUTER_CONFIGURATION_BROKEN",
                Self::Unprovisioned => "UNPROVISIONED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "ATTACHMENT_STATUS_UNKNOWN" => Some(Self::AttachmentStatusUnknown),
                "CONNECTION_DISABLED" => Some(Self::ConnectionDisabled),
                "CONNECTION_DOWN" => Some(Self::ConnectionDown),
                "CONNECTION_UP" => Some(Self::ConnectionUp),
                "DEFUNCT" => Some(Self::Defunct),
                "IPSEC_CONFIGURATION_NEEDED_STATUS" => {
                    Some(Self::IpsecConfigurationNeededStatus)
                }
                "IPSEC_READY_TO_RESUME_FLOW_STATUS" => {
                    Some(Self::IpsecReadyToResumeFlowStatus)
                }
                "IPV4_DOWN_IPV6_UP" => Some(Self::Ipv4DownIpv6Up),
                "IPV4_UP_IPV6_DOWN" => Some(Self::Ipv4UpIpv6Down),
                "PARTNER_REQUEST_RECEIVED" => Some(Self::PartnerRequestReceived),
                "PENDING_CUSTOMER" => Some(Self::PendingCustomer),
                "PENDING_PARTNER" => Some(Self::PendingPartner),
                "PROVISIONED" => Some(Self::Provisioned),
                "ROUTER_CONFIGURATION_BROKEN" => Some(Self::RouterConfigurationBroken),
                "UNPROVISIONED" => Some(Self::Unprovisioned),
                _ => None,
            }
        }
    }
}
/// L2 Interconnect Attachment related configuration.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentL2Forwarding {
    /// Optional. A map of VLAN tags to appliances and optional inner mapping
    /// rules. If VLANs are not explicitly mapped to any appliance, the
    /// defaultApplianceIpAddress is used.
    ///
    /// Each VLAN tag can be a single number or a range of numbers in the range
    /// of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping
    /// VLAN tag ranges are enforced, and violating operations will be rejected.
    ///
    /// The VLAN tags in the Ethernet header must use an ethertype value of
    /// 0x88A8 or 0x8100.
    #[prost(map = "string, message", tag = "374529975")]
    pub appliance_mappings: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InterconnectAttachmentL2ForwardingApplianceMapping,
    >,
    /// Optional. A single IPv4 or IPv6 address used as the default destination
    /// IP when there is no VLAN mapping result found.
    ///
    /// Unset field (null-value) indicates the unmatched packet should be
    /// dropped.
    #[prost(string, optional, tag = "536490476")]
    pub default_appliance_ip_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Optional. It represents the structure of a Geneve (Generic Network
    /// Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various
    /// protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization
    /// environments.
    #[prost(message, optional, tag = "118688424")]
    pub geneve_header: ::core::option::Option<
        InterconnectAttachmentL2ForwardingGeneveHeader,
    >,
    /// Required. Resource URL of the network to which this attachment belongs.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Required. A single IPv4 or IPv6 address. This address will be used as the
    /// source IP address for packets sent to the appliances, and must be used as
    /// the destination IP address for packets that should be sent out through
    /// this attachment.
    #[prost(string, optional, tag = "468740975")]
    pub tunnel_endpoint_ip_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Two-level VLAN-to-Appliance mapping rule.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentL2ForwardingApplianceMapping {
    /// Optional. A single IPv4 or IPv6 address used as the destination IP
    /// address for ingress packets that match on a VLAN tag, but do not match
    /// a more specific inner VLAN tag.
    ///
    /// Unset field (null-value) indicates both VLAN tags are required to be
    /// mapped. Otherwise, defaultApplianceIpAddress is used.
    #[prost(string, optional, tag = "57985710")]
    pub appliance_ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. Used to match against the inner VLAN when the packet
    /// contains two VLAN tags.
    ///
    /// A list of mapping rules from inner VLAN tags to IP addresses. If the
    /// inner VLAN is not explicitly mapped to an IP address range, the
    /// applianceIpAddress is used.
    #[prost(message, repeated, tag = "97387944")]
    pub inner_vlan_to_appliance_mappings: ::prost::alloc::vec::Vec<
        InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping,
    >,
    /// Optional. The name of this appliance mapping rule.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
/// The inner VLAN-to-Appliance mapping.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping {
    /// Required in this object. A single IPv4 or IPv6 address used as the
    /// destination IP address for ingress packets that match on both VLAN
    /// tags.
    #[prost(string, optional, tag = "350619895")]
    pub inner_appliance_ip_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Required in this object. Used to match the inner VLAN tag on the
    /// packet. Each entry can be a single number or a range of numbers in
    /// the range of 1 to 4094, e.g., \["1", "4001-4094"\] is valid. Non-empty
    /// and Non-overlapping VLAN tag ranges are enforced, and violating
    /// operations will be rejected.
    ///
    /// The inner VLAN tags must have an ethertype value of 0x8100.
    #[prost(string, repeated, tag = "431186636")]
    pub inner_vlan_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// GeneveHeader related configurations.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectAttachmentL2ForwardingGeneveHeader {
    /// Optional. VNI is a 24-bit unique virtual network identifier, from 0 to
    /// 16,777,215.
    #[prost(uint32, optional, tag = "116913")]
    pub vni: ::core::option::Option<u32>,
}
/// Response to the list request, and contains a list of interconnect
/// attachments.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InterconnectAttachment resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InterconnectAttachment>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#interconnectAttachmentList for lists of interconnect
    /// attachments.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Additional interconnect attachment parameters.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    /// * Inconsistent format is not supported. For instance:
    ///   {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// Informational metadata about Partner attachments from Partners to display
/// to customers.  These fields are propagated from PARTNER_PROVIDER
/// attachments to their corresponding PARTNER attachments.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectAttachmentPartnerMetadata {
    /// Plain text name of the Interconnect this attachment is connected to, as
    /// displayed in the Partner's portal. For instance "Chicago 1".
    /// This value may be validated to match approved Partner values.
    #[prost(string, optional, tag = "514963356")]
    pub interconnect_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Plain text name of the Partner providing this attachment.
    /// This value may be validated to match approved Partner values.
    #[prost(string, optional, tag = "161747874")]
    pub partner_name: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the Partner's portal for this Attachment. Partners may customise
    /// this to be a deep link to the specific resource on the Partner portal.
    /// This value may be validated to match approved Partner values.
    #[prost(string, optional, tag = "269182748")]
    pub portal_url: ::core::option::Option<::prost::alloc::string::String>,
}
/// Information for an interconnect attachment when this belongs to an
/// interconnect of type DEDICATED.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectAttachmentPrivateInfo {
    /// \[Output Only\] 802.1q encapsulation tag to be used for traffic between
    /// Google and the customer, going to and from this network and region.
    #[prost(uint32, optional, tag = "271820992")]
    pub tag8021q: ::core::option::Option<u32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectAttachmentsScopedList {
    /// A list of interconnect attachments contained in this scope.
    #[prost(message, repeated, tag = "425388415")]
    pub interconnect_attachments: ::prost::alloc::vec::Vec<InterconnectAttachment>,
    /// Informational warning which replaces the list of addresses when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Describes a single physical circuit between the Customer and Google.
/// CircuitInfo objects are created by Google, so all fields are output only.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectCircuitInfo {
    /// Customer-side demarc ID for this circuit.
    #[prost(string, optional, tag = "28771859")]
    pub customer_demarc_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
    #[prost(string, optional, tag = "262014711")]
    pub google_circuit_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Google-side demarc ID for this circuit. Assigned at circuit turn-up and
    /// provided by Google to the customer in the LOA.
    #[prost(string, optional, tag = "448196270")]
    pub google_demarc_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Diagnostics information about the Interconnect connection, which contains
/// detailed and current technical information about Google's side of the
/// connection.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectDiagnostics {
    /// A list of InterconnectDiagnostics.ARPEntry objects,
    /// describing individual neighbors currently seen by the Google router in
    /// the ARP cache for the Interconnect.
    /// This will be empty when the Interconnect is not bundled.
    #[prost(message, repeated, tag = "414591761")]
    pub arp_caches: ::prost::alloc::vec::Vec<InterconnectDiagnosticsArpEntry>,
    /// The aggregation type of the bundle interface.
    /// Check the BundleAggregationType enum for the list of possible values.
    #[prost(string, optional, tag = "434939028")]
    pub bundle_aggregation_type: ::core::option::Option<::prost::alloc::string::String>,
    /// The operational status of the bundle interface.
    /// Check the BundleOperationalStatus enum for the list of possible values.
    #[prost(string, optional, tag = "106433500")]
    pub bundle_operational_status: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// A list of InterconnectDiagnostics.LinkStatus objects,
    /// describing the status for each link on the Interconnect.
    #[prost(message, repeated, tag = "102977465")]
    pub links: ::prost::alloc::vec::Vec<InterconnectDiagnosticsLinkStatus>,
    /// The MAC address of the Interconnect's bundle interface.
    #[prost(string, optional, tag = "332540164")]
    pub mac_address: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectDiagnostics`.
pub mod interconnect_diagnostics {
    /// The aggregation type of the bundle interface.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum BundleAggregationType {
        /// A value indicating that the enum field is not set.
        UndefinedBundleAggregationType = 0,
        /// LACP is enabled.
        Lacp = 27758925,
        /// LACP is disabled.
        Static = 50678873,
    }
    impl BundleAggregationType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBundleAggregationType => {
                    "UNDEFINED_BUNDLE_AGGREGATION_TYPE"
                }
                Self::Lacp => "BUNDLE_AGGREGATION_TYPE_LACP",
                Self::Static => "BUNDLE_AGGREGATION_TYPE_STATIC",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BUNDLE_AGGREGATION_TYPE" => {
                    Some(Self::UndefinedBundleAggregationType)
                }
                "BUNDLE_AGGREGATION_TYPE_LACP" => Some(Self::Lacp),
                "BUNDLE_AGGREGATION_TYPE_STATIC" => Some(Self::Static),
                _ => None,
            }
        }
    }
    /// The operational status of the bundle interface.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum BundleOperationalStatus {
        /// A value indicating that the enum field is not set.
        UndefinedBundleOperationalStatus = 0,
        /// If bundleAggregationType is LACP: LACP is not established and/or all
        /// links in the bundle have DOWN operational status. If
        /// bundleAggregationType is STATIC: one or more links in the bundle has
        /// DOWN operational status.
        Down = 453842693,
        /// If bundleAggregationType is LACP: LACP is established and at least one
        /// link in the bundle has UP operational status. If bundleAggregationType
        /// is STATIC: all links in the bundle (typically just one) have UP
        /// operational status.
        Up = 161366462,
    }
    impl BundleOperationalStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBundleOperationalStatus => {
                    "UNDEFINED_BUNDLE_OPERATIONAL_STATUS"
                }
                Self::Down => "BUNDLE_OPERATIONAL_STATUS_DOWN",
                Self::Up => "BUNDLE_OPERATIONAL_STATUS_UP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BUNDLE_OPERATIONAL_STATUS" => {
                    Some(Self::UndefinedBundleOperationalStatus)
                }
                "BUNDLE_OPERATIONAL_STATUS_DOWN" => Some(Self::Down),
                "BUNDLE_OPERATIONAL_STATUS_UP" => Some(Self::Up),
                _ => None,
            }
        }
    }
}
/// Describing the ARP neighbor entries seen on this link
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectDiagnosticsArpEntry {
    /// The IP address of this ARP neighbor.
    #[prost(string, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// The MAC address of this ARP neighbor.
    #[prost(string, optional, tag = "332540164")]
    pub mac_address: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectDiagnosticsLinkLacpStatus {
    /// System ID of the port on Google's side of the LACP exchange.
    #[prost(string, optional, tag = "91210405")]
    pub google_system_id: ::core::option::Option<::prost::alloc::string::String>,
    /// System ID of the port on the neighbor's side of the LACP exchange.
    #[prost(string, optional, tag = "343821342")]
    pub neighbor_system_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The state of a LACP link, which can take one of the following values:
    ///
    /// ```text
    /// - ACTIVE: The link is configured and active within the bundle.
    /// - DETACHED: The link is not configured within the bundle. This means
    /// that the rest of the object should be empty.
    /// ```
    ///
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectDiagnosticsLinkLACPStatus`.
pub mod interconnect_diagnostics_link_lacp_status {
    /// The state of a LACP link, which can take one of the following values:
    ///
    /// ```text
    /// - ACTIVE: The link is configured and active within the bundle.
    /// - DETACHED: The link is not configured within the bundle. This means
    /// that the rest of the object should be empty.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// The link is configured and active within the bundle.
        Active = 314733318,
        /// The link is not configured within the bundle, this means the rest of
        /// the object should be empty.
        Detached = 216562546,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Active => "ACTIVE",
                Self::Detached => "DETACHED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVE" => Some(Self::Active),
                "DETACHED" => Some(Self::Detached),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectDiagnosticsLinkOpticalPower {
    /// The status of the current value when compared to the warning and alarm
    /// levels for the receiving or transmitting transceiver. Possible states
    /// include:
    ///
    /// ```text
    /// - OK: The value has not crossed a warning threshold.
    /// - LOW_WARNING: The value has crossed below the low
    /// warning threshold.
    /// - HIGH_WARNING: The value has
    /// crossed above the high warning threshold.
    /// - LOW_ALARM: The value has crossed below the low alarm
    /// threshold.
    /// - HIGH_ALARM: The value has crossed above the high alarm
    /// threshold.
    /// ```
    ///
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Value of the current receiving or transmitting optical power, read in
    /// dBm. Take a known good optical value, give it a 10% margin and trigger
    /// warnings relative to that value. In general, a -7dBm warning and a -11dBm
    /// alarm are good optical value estimates for most links.
    #[prost(float, optional, tag = "111972721")]
    pub value: ::core::option::Option<f32>,
}
/// Nested message and enum types in `InterconnectDiagnosticsLinkOpticalPower`.
pub mod interconnect_diagnostics_link_optical_power {
    /// The status of the current value when compared to the warning and alarm
    /// levels for the receiving or transmitting transceiver. Possible states
    /// include:
    ///
    /// ```text
    /// - OK: The value has not crossed a warning threshold.
    /// - LOW_WARNING: The value has crossed below the low
    /// warning threshold.
    /// - HIGH_WARNING: The value has
    /// crossed above the high warning threshold.
    /// - LOW_ALARM: The value has crossed below the low alarm
    /// threshold.
    /// - HIGH_ALARM: The value has crossed above the high alarm
    /// threshold.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// The value has crossed above the high alarm threshold.
        HighAlarm = 305363284,
        /// The value of the current optical power has crossed above the high
        /// warning threshold.
        HighWarning = 220984799,
        /// The value of the current optical power has crossed below the low alarm
        /// threshold.
        LowAlarm = 316659046,
        /// The value of the current optical power has crossed below the low
        /// warning threshold.
        LowWarning = 338793841,
        /// The value of the current optical power has not crossed a warning
        /// threshold.
        Ok = 2524,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::HighAlarm => "HIGH_ALARM",
                Self::HighWarning => "HIGH_WARNING",
                Self::LowAlarm => "LOW_ALARM",
                Self::LowWarning => "LOW_WARNING",
                Self::Ok => "OK",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "HIGH_ALARM" => Some(Self::HighAlarm),
                "HIGH_WARNING" => Some(Self::HighWarning),
                "LOW_ALARM" => Some(Self::LowAlarm),
                "LOW_WARNING" => Some(Self::LowWarning),
                "OK" => Some(Self::Ok),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectDiagnosticsLinkStatus {
    /// A list of InterconnectDiagnostics.ARPEntry objects,
    /// describing the ARP neighbor entries seen on this link.
    /// This will be empty if the link is bundled
    #[prost(message, repeated, tag = "414591761")]
    pub arp_caches: ::prost::alloc::vec::Vec<InterconnectDiagnosticsArpEntry>,
    /// The unique ID for this link assigned during turn up by Google.
    #[prost(string, optional, tag = "225180977")]
    pub circuit_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The Demarc address assigned by Google and provided in the LoA.
    #[prost(string, optional, tag = "51084")]
    pub google_demarc: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "361210415")]
    pub lacp_status: ::core::option::Option<InterconnectDiagnosticsLinkLacpStatus>,
    /// Describes the status of MACsec encryption on this link.
    #[prost(message, optional, tag = "528867490")]
    pub macsec: ::core::option::Option<InterconnectDiagnosticsMacsecStatus>,
    /// The operational status of the link.
    /// Check the OperationalStatus enum for the list of possible values.
    #[prost(string, optional, tag = "201070847")]
    pub operational_status: ::core::option::Option<::prost::alloc::string::String>,
    /// An InterconnectDiagnostics.LinkOpticalPower object,
    /// describing the current value and status of the received light level.
    #[prost(message, optional, tag = "244717279")]
    pub receiving_optical_power: ::core::option::Option<
        InterconnectDiagnosticsLinkOpticalPower,
    >,
    /// An InterconnectDiagnostics.LinkOpticalPower object,
    /// describing the current value and status of the transmitted light level.
    #[prost(message, optional, tag = "459431197")]
    pub transmitting_optical_power: ::core::option::Option<
        InterconnectDiagnosticsLinkOpticalPower,
    >,
}
/// Nested message and enum types in `InterconnectDiagnosticsLinkStatus`.
pub mod interconnect_diagnostics_link_status {
    /// The operational status of the link.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum OperationalStatus {
        /// A value indicating that the enum field is not set.
        UndefinedOperationalStatus = 0,
        /// The interface is unable to communicate with the remote end.
        LinkOperationalStatusDown = 281653885,
        /// The interface has low level communication with the remote end.
        LinkOperationalStatusUp = 305879862,
    }
    impl OperationalStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOperationalStatus => "UNDEFINED_OPERATIONAL_STATUS",
                Self::LinkOperationalStatusDown => "LINK_OPERATIONAL_STATUS_DOWN",
                Self::LinkOperationalStatusUp => "LINK_OPERATIONAL_STATUS_UP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_OPERATIONAL_STATUS" => Some(Self::UndefinedOperationalStatus),
                "LINK_OPERATIONAL_STATUS_DOWN" => Some(Self::LinkOperationalStatusDown),
                "LINK_OPERATIONAL_STATUS_UP" => Some(Self::LinkOperationalStatusUp),
                _ => None,
            }
        }
    }
}
/// Describes the status of MACsec encryption on the link.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectDiagnosticsMacsecStatus {
    /// Indicates the Connectivity Association Key Name (CKN)
    /// currently being used if MACsec is operational.
    #[prost(string, optional, tag = "98566")]
    pub ckn: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether or not MACsec is operational on this link.
    #[prost(bool, optional, tag = "129704914")]
    pub operational: ::core::option::Option<bool>,
}
/// An interconnect group resource allows customers to create, analyze, and
/// expand their redundant connections.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroup {
    #[prost(message, optional, tag = "295631422")]
    pub configured: ::core::option::Option<InterconnectGroupConfigured>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Opaque system-generated token that uniquely identifies the configuration.
    /// If provided when patching a configuration in update mode, the provided
    /// token must match the current token or the update is rejected. This provides
    /// a reliable means of doing read-modify-write (optimistic locking) as
    /// described by AIP 154.
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    #[prost(message, optional, tag = "426849948")]
    pub intent: ::core::option::Option<InterconnectGroupIntent>,
    /// Interconnects in the InterconnectGroup. Keys are arbitrary user-specified
    /// strings. Users are encouraged, but not required, to use their preferred
    /// format for resource links as keys.
    /// Note that there are add-members and remove-members methods in gcloud.
    /// The size of this map is limited by an "Interconnects per group" quota.
    #[prost(map = "string, message", tag = "520187301")]
    pub interconnects: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        InterconnectGroupInterconnect,
    >,
    /// Output only. \[Output Only\] Type of the resource. Always compute#InterconnectGroup
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "195307531")]
    pub physical_structure: ::core::option::Option<InterconnectGroupPhysicalStructure>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// \[Output Only\] The status of the group as configured. This has the same
/// structure as the operational field reported by the OperationalStatus
/// method, but does not take into account the operational status of each
/// resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupConfigured {
    #[prost(message, optional, tag = "144190696")]
    pub topology_capability: ::core::option::Option<
        InterconnectGroupConfiguredTopologyCapability,
    >,
}
/// \[Output Only\] How reliable this topology is configured to be, and why
/// this group does or does not meet the requirements for the intended
/// capability.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupConfiguredTopologyCapability {
    #[prost(message, repeated, tag = "531644140")]
    pub intended_capability_blockers: ::prost::alloc::vec::Vec<
        InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers,
    >,
    /// Check the SupportedSla enum for the list of possible values.
    #[prost(string, optional, tag = "59292183")]
    pub supported_sla: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectGroupConfiguredTopologyCapability`.
pub mod interconnect_group_configured_topology_capability {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SupportedSla {
        /// A value indicating that the enum field is not set.
        UndefinedSupportedSla = 0,
        NoSla = 161460618,
        ProductionCritical = 470416485,
        ProductionNonCritical = 117399223,
        Unspecified = 526786327,
    }
    impl SupportedSla {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSupportedSla => "UNDEFINED_SUPPORTED_SLA",
                Self::NoSla => "NO_SLA",
                Self::ProductionCritical => "PRODUCTION_CRITICAL",
                Self::ProductionNonCritical => "PRODUCTION_NON_CRITICAL",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SUPPORTED_SLA" => Some(Self::UndefinedSupportedSla),
                "NO_SLA" => Some(Self::NoSla),
                "PRODUCTION_CRITICAL" => Some(Self::ProductionCritical),
                "PRODUCTION_NON_CRITICAL" => Some(Self::ProductionNonCritical),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// \[Output Only\] Reasons why configuration.topologyCapability.sla differs
/// from intent.topologyCapability. This list is empty if and only if those
/// are the same.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers {
    /// Check the BlockerType enum for the list of possible values.
    #[prost(string, optional, tag = "381194847")]
    pub blocker_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The url of Google Cloud public documentation explaining
    /// this requirement. This is set for every type of requirement.
    #[prost(string, optional, tag = "93465183")]
    pub documentation_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A human-readable explanation of this requirement and
    /// why it's not met. This is set for every type of requirement.
    #[prost(string, optional, tag = "504745497")]
    pub explanation: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Facilities used to explain this blocker in more detail.
    /// Like physicalStructure.metros.facilities.facility, this is a numeric
    /// string like "5467".
    #[prost(string, repeated, tag = "536683137")]
    pub facilities: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Interconnects used to explain this blocker in more
    /// detail.
    #[prost(string, repeated, tag = "520187301")]
    pub interconnects: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Metros used to explain this blocker in more detail.
    /// These are three-letter lowercase strings like "iad". A blocker like
    /// INCOMPATIBLE_METROS will specify the problematic metros in this
    /// field.
    #[prost(string, repeated, tag = "533067386")]
    pub metros: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Zones used to explain this blocker in more detail.
    /// Zone names are "zone1" and/or "zone2".
    #[prost(string, repeated, tag = "116085319")]
    pub zones: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectGroupConfiguredTopologyCapabilityIntendedCapabilityBlockers`.
pub mod interconnect_group_configured_topology_capability_intended_capability_blockers {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum BlockerType {
        /// A value indicating that the enum field is not set.
        UndefinedBlockerType = 0,
        IncompatibleMetros = 290410432,
        NotAvailable = 140722205,
        NoInterconnects = 523549575,
        NoInterconnectsInMetroAndZone = 440966492,
        Other = 75532016,
        Unspecified = 526786327,
    }
    impl BlockerType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBlockerType => "UNDEFINED_BLOCKER_TYPE",
                Self::IncompatibleMetros => "INCOMPATIBLE_METROS",
                Self::NotAvailable => "NOT_AVAILABLE",
                Self::NoInterconnects => "NO_INTERCONNECTS",
                Self::NoInterconnectsInMetroAndZone => {
                    "NO_INTERCONNECTS_IN_METRO_AND_ZONE"
                }
                Self::Other => "OTHER",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BLOCKER_TYPE" => Some(Self::UndefinedBlockerType),
                "INCOMPATIBLE_METROS" => Some(Self::IncompatibleMetros),
                "NOT_AVAILABLE" => Some(Self::NotAvailable),
                "NO_INTERCONNECTS" => Some(Self::NoInterconnects),
                "NO_INTERCONNECTS_IN_METRO_AND_ZONE" => {
                    Some(Self::NoInterconnectsInMetroAndZone)
                }
                "OTHER" => Some(Self::Other),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// The user's intent for this group. This is the only required field besides
/// the name that must be specified on group creation.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectGroupIntent {
    /// Check the TopologyCapability enum for the list of possible values.
    #[prost(string, optional, tag = "144190696")]
    pub topology_capability: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectGroupIntent`.
pub mod interconnect_group_intent {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum TopologyCapability {
        /// A value indicating that the enum field is not set.
        UndefinedTopologyCapability = 0,
        NoSla = 161460618,
        ProductionCritical = 470416485,
        ProductionNonCritical = 117399223,
        Unspecified = 526786327,
    }
    impl TopologyCapability {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedTopologyCapability => "UNDEFINED_TOPOLOGY_CAPABILITY",
                Self::NoSla => "NO_SLA",
                Self::ProductionCritical => "PRODUCTION_CRITICAL",
                Self::ProductionNonCritical => "PRODUCTION_NON_CRITICAL",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TOPOLOGY_CAPABILITY" => {
                    Some(Self::UndefinedTopologyCapability)
                }
                "NO_SLA" => Some(Self::NoSla),
                "PRODUCTION_CRITICAL" => Some(Self::ProductionCritical),
                "PRODUCTION_NON_CRITICAL" => Some(Self::ProductionNonCritical),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// An Interconnect in this InterconnectGroup.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectGroupInterconnect {
    /// The URL of an Interconnect in this group. All Interconnects in the group
    /// are unique.
    #[prost(string, optional, tag = "224601230")]
    pub interconnect: ::core::option::Option<::prost::alloc::string::String>,
}
/// \[Output Only\] An analysis of the physical layout of Interconnects in this
/// group. Every Interconnect in the group is shown once in this structure.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupPhysicalStructure {
    #[prost(message, repeated, tag = "533067386")]
    pub metros: ::prost::alloc::vec::Vec<InterconnectGroupPhysicalStructureMetros>,
}
/// \[Output Only\] The metros Interconnects in this group are in.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupPhysicalStructureMetros {
    #[prost(message, repeated, tag = "536683137")]
    pub facilities: ::prost::alloc::vec::Vec<
        InterconnectGroupPhysicalStructureMetrosFacilities,
    >,
    /// Output only. \[Output Only\] The name of the metro, as a three-letter lowercase string
    /// like "iad". This is the first component of the location of
    /// Interconnects underneath this.
    #[prost(string, optional, tag = "103787801")]
    pub metro: ::core::option::Option<::prost::alloc::string::String>,
}
/// \[Output Only\] The facilities Interconnects in this metro are present
/// in.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupPhysicalStructureMetrosFacilities {
    /// Output only. \[Output Only\] The ID of this facility, as a numeric string like
    /// "5467". This is the third component of the location of Interconnects
    /// in this facility.
    #[prost(string, optional, tag = "501116579")]
    pub facility: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "116085319")]
    pub zones: ::prost::alloc::vec::Vec<
        InterconnectGroupPhysicalStructureMetrosFacilitiesZones,
    >,
}
/// \[Output Only\] The zones that Interconnects in this facility are
/// present in.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectGroupPhysicalStructureMetrosFacilitiesZones {
    /// Output only. \[Output Only\] URLs of Interconnects in this redundancy group in the
    /// given metro, facility, and zone.
    #[prost(string, repeated, tag = "520187301")]
    pub interconnects: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of the zone, either "zone1" or "zone2".
    /// This is the second component of the location of Interconnects in
    /// this facility.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupsCreateMembers {
    /// How to behave when configured.topologyCapability.supportedSLA would not
    /// equal intent.topologyCapability after this call.
    /// Check the IntentMismatchBehavior enum for the list of possible values.
    #[prost(string, optional, tag = "164408000")]
    pub intent_mismatch_behavior: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "520187301")]
    pub interconnects: ::prost::alloc::vec::Vec<
        InterconnectGroupsCreateMembersInterconnectInput,
    >,
    /// Parameters for the Interconnects to create.
    #[prost(message, optional, tag = "224745523")]
    pub template_interconnect: ::core::option::Option<
        InterconnectGroupsCreateMembersInterconnectInput,
    >,
}
/// Nested message and enum types in `InterconnectGroupsCreateMembers`.
pub mod interconnect_groups_create_members {
    /// How to behave when configured.topologyCapability.supportedSLA would not
    /// equal intent.topologyCapability after this call.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum IntentMismatchBehavior {
        /// A value indicating that the enum field is not set.
        UndefinedIntentMismatchBehavior = 0,
        Create = 385389820,
        Reject = 266102687,
        Unspecified = 526786327,
    }
    impl IntentMismatchBehavior {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIntentMismatchBehavior => {
                    "UNDEFINED_INTENT_MISMATCH_BEHAVIOR"
                }
                Self::Create => "CREATE",
                Self::Reject => "REJECT",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INTENT_MISMATCH_BEHAVIOR" => {
                    Some(Self::UndefinedIntentMismatchBehavior)
                }
                "CREATE" => Some(Self::Create),
                "REJECT" => Some(Self::Reject),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// LINT.IfChange
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectGroupsCreateMembersInterconnectInput {
    /// Administrative status of the interconnect. When this is set to true, the
    /// Interconnect is functional and can carry traffic.
    /// When set to false, no packets can be carried over the interconnect and
    /// no BGP routes are exchanged over it. By default, the status is set to
    /// true.
    #[prost(bool, optional, tag = "445675089")]
    pub admin_enabled: ::core::option::Option<bool>,
    /// Customer name, to put in the Letter of Authorization as the party
    /// authorized to request a crossconnect.
    #[prost(string, optional, tag = "3665484")]
    pub customer_name: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// A zone-free location to use for all Interconnects created in this call,
    /// like "iad-1234".
    #[prost(string, optional, tag = "501116579")]
    pub facility: ::core::option::Option<::prost::alloc::string::String>,
    /// Type of interconnect, which can take one of the following values:
    ///
    /// ```text
    /// - PARTNER: A partner-managed interconnection shared between
    /// customers though a partner.
    /// - DEDICATED: A dedicated physical
    /// interconnection with the customer.
    /// ```
    ///
    /// Note that a value IT_PRIVATE
    /// has been deprecated in favor of DEDICATED.
    /// Check the InterconnectType enum for the list of possible values.
    #[prost(string, optional, tag = "515165259")]
    pub interconnect_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Type of link requested, which can take one of the following values:
    ///
    /// ```text
    /// - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics
    /// - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics.
    /// - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4
    /// optics.
    /// ```
    ///
    /// Note that this field indicates the speed of each of the
    /// links in the bundle, not the speed of the entire bundle.
    /// Check the LinkType enum for the list of possible values.
    #[prost(string, optional, tag = "523207775")]
    pub link_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Interconnects to be created. This must be specified on the
    /// template and/or on each individual interconnect. The name, if not empty,
    /// must be 1-63 characters long, and comply with RFC1035.
    /// Specifically, any nonempty name must be 1-63 characters long and match
    /// the regular expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Email address to contact the customer NOC for operations and maintenance
    /// notifications regarding this Interconnect. If specified, this will be
    /// used for notifications in addition to all other forms described, such as
    /// Cloud Monitoring logs alerting and Cloud Notifications. This field is
    /// required for users who sign up for Cloud Interconnect using
    /// workforce identity federation.
    #[prost(string, optional, tag = "14072832")]
    pub noc_contact_email: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates that this is a Cross-Cloud Interconnect. This field specifies
    /// the location outside of Google's network that the interconnect is
    /// connected to.
    #[prost(string, optional, tag = "324388750")]
    pub remote_location: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. List of features requested for this Interconnect connection,
    /// which can take one of the following values:
    ///
    /// ```text
    /// - IF_MACSEC: If specified, then the connection is created on MACsec
    /// capable hardware ports. If not specified, non-MACsec capable ports will
    /// also be considered.
    /// - IF_CROSS_SITE_NETWORK: If specified, then the connection is created
    /// exclusively for Cross-Site Networking. The connection can not be used for
    /// Cross-Site Networking unless this feature is specified.
    /// ```
    ///
    /// Check the RequestedFeatures enum for the list of possible values.
    #[prost(string, repeated, tag = "461240814")]
    pub requested_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Target number of physical links in the link bundle, as requested by the
    /// customer.
    #[prost(int32, optional, tag = "45051387")]
    pub requested_link_count: ::core::option::Option<i32>,
}
/// Nested message and enum types in `InterconnectGroupsCreateMembersInterconnectInput`.
pub mod interconnect_groups_create_members_interconnect_input {
    /// Type of interconnect, which can take one of the following values:
    ///
    /// ```text
    /// - PARTNER: A partner-managed interconnection shared between
    /// customers though a partner.
    /// - DEDICATED: A dedicated physical
    /// interconnection with the customer.
    /// ```
    ///
    /// Note that a value IT_PRIVATE
    /// has been deprecated in favor of DEDICATED.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum InterconnectType {
        /// A value indicating that the enum field is not set.
        UndefinedInterconnectType = 0,
        /// A dedicated physical interconnection with the customer.
        Dedicated = 258411983,
        /// \[Deprecated\] A private, physical interconnection with the customer.
        ItPrivate = 335677007,
        /// A partner-managed interconnection shared between customers via partner.
        Partner = 461924520,
    }
    impl InterconnectType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInterconnectType => "UNDEFINED_INTERCONNECT_TYPE",
                Self::Dedicated => "DEDICATED",
                Self::ItPrivate => "IT_PRIVATE",
                Self::Partner => "PARTNER",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INTERCONNECT_TYPE" => Some(Self::UndefinedInterconnectType),
                "DEDICATED" => Some(Self::Dedicated),
                "IT_PRIVATE" => Some(Self::ItPrivate),
                "PARTNER" => Some(Self::Partner),
                _ => None,
            }
        }
    }
    /// Type of link requested, which can take one of the following values:
    ///
    /// ```text
    /// - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics
    /// - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics.
    /// - LINK_TYPE_ETHERNET_400G_LR4: A 400G Ethernet with LR4
    /// optics.
    /// ```
    ///
    /// Note that this field indicates the speed of each of the
    /// links in the bundle, not the speed of the entire bundle.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LinkType {
        /// A value indicating that the enum field is not set.
        UndefinedLinkType = 0,
        /// 100G Ethernet, LR Optics.
        Ethernet100gLr = 337672551,
        /// 10G Ethernet, LR Optics.
        /// \[(rate_bps) =  10000000000\];
        Ethernet10gLr = 236739749,
        /// 400G Ethernet, LR4 Optics.
        Ethernet400gLr4 = 127023690,
    }
    impl LinkType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLinkType => "UNDEFINED_LINK_TYPE",
                Self::Ethernet100gLr => "LINK_TYPE_ETHERNET_100G_LR",
                Self::Ethernet10gLr => "LINK_TYPE_ETHERNET_10G_LR",
                Self::Ethernet400gLr4 => "LINK_TYPE_ETHERNET_400G_LR4",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LINK_TYPE" => Some(Self::UndefinedLinkType),
                "LINK_TYPE_ETHERNET_100G_LR" => Some(Self::Ethernet100gLr),
                "LINK_TYPE_ETHERNET_10G_LR" => Some(Self::Ethernet10gLr),
                "LINK_TYPE_ETHERNET_400G_LR4" => Some(Self::Ethernet400gLr4),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RequestedFeatures {
        /// A value indicating that the enum field is not set.
        UndefinedRequestedFeatures = 0,
        /// Cross-Site Networking
        IfCrossSiteNetwork = 469111095,
        /// L2 Interconnect Attachment Forwarding
        IfL2Forwarding = 125563860,
        /// Media Access Control security (MACsec)
        IfMacsec = 396279300,
    }
    impl RequestedFeatures {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRequestedFeatures => "UNDEFINED_REQUESTED_FEATURES",
                Self::IfCrossSiteNetwork => "IF_CROSS_SITE_NETWORK",
                Self::IfL2Forwarding => "IF_L2_FORWARDING",
                Self::IfMacsec => "IF_MACSEC",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_REQUESTED_FEATURES" => Some(Self::UndefinedRequestedFeatures),
                "IF_CROSS_SITE_NETWORK" => Some(Self::IfCrossSiteNetwork),
                "IF_L2_FORWARDING" => Some(Self::IfL2Forwarding),
                "IF_MACSEC" => Some(Self::IfMacsec),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupsCreateMembersRequest {
    #[prost(message, optional, tag = "21951119")]
    pub request: ::core::option::Option<InterconnectGroupsCreateMembers>,
}
/// Response for the InterconnectGroupsGetOperationalStatusResponse.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupsGetOperationalStatusResponse {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "139315229")]
    pub result: ::core::option::Option<InterconnectGroupsOperationalStatus>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupsListResponse {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InterconnectGroup resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InterconnectGroup>,
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface: MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Request to get the status of the interconnect group with extra detail.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupsOperationalStatus {
    /// Output only. The configuration analysis, as returned by Get.
    #[prost(message, optional, tag = "295631422")]
    pub configured: ::core::option::Option<InterconnectGroupConfigured>,
    /// Output only. Summarizes the status of the group.
    /// Check the GroupStatus enum for the list of possible values.
    #[prost(string, optional, tag = "338778546")]
    pub group_status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The intent of the resource, as returned by Get.
    #[prost(message, optional, tag = "426849948")]
    pub intent: ::core::option::Option<InterconnectGroupIntent>,
    #[prost(message, repeated, tag = "446756017")]
    pub interconnect_statuses: ::prost::alloc::vec::Vec<
        InterconnectGroupsOperationalStatusInterconnectStatus,
    >,
    /// Output only. The operational state of the group, including only active Interconnects.
    #[prost(message, optional, tag = "129704914")]
    pub operational: ::core::option::Option<InterconnectGroupConfigured>,
}
/// Nested message and enum types in `InterconnectGroupsOperationalStatus`.
pub mod interconnect_groups_operational_status {
    /// Output only. Summarizes the status of the group.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum GroupStatus {
        /// A value indicating that the enum field is not set.
        UndefinedGroupStatus = 0,
        Degraded = 396890926,
        FullyDown = 255514647,
        FullyUp = 504176464,
        GroupsStatusUnspecified = 261932693,
    }
    impl GroupStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedGroupStatus => "UNDEFINED_GROUP_STATUS",
                Self::Degraded => "DEGRADED",
                Self::FullyDown => "FULLY_DOWN",
                Self::FullyUp => "FULLY_UP",
                Self::GroupsStatusUnspecified => "GROUPS_STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_GROUP_STATUS" => Some(Self::UndefinedGroupStatus),
                "DEGRADED" => Some(Self::Degraded),
                "FULLY_DOWN" => Some(Self::FullyDown),
                "FULLY_UP" => Some(Self::FullyUp),
                "GROUPS_STATUS_UNSPECIFIED" => Some(Self::GroupsStatusUnspecified),
                _ => None,
            }
        }
    }
}
/// The status of one Interconnect in the group. The order is arbitrary.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectGroupsOperationalStatusInterconnectStatus {
    /// Output only. Whether the Interconnect is enabled.
    #[prost(bool, optional, tag = "445675089")]
    pub admin_enabled: ::core::option::Option<bool>,
    /// Output only. The diagnostics of the Interconnect, as returned by the existing
    /// get-diagnostics method.
    #[prost(message, optional, tag = "333355436")]
    pub diagnostics: ::core::option::Option<InterconnectDiagnostics>,
    /// Output only. The URL of the Interconnect being described.
    #[prost(string, optional, tag = "224601230")]
    pub interconnect: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Whether this interconnect is participating in the redundant
    /// configuration.
    /// Check the IsActive enum for the list of possible values.
    #[prost(string, optional, tag = "114830267")]
    pub is_active: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectGroupsOperationalStatusInterconnectStatus`.
pub mod interconnect_groups_operational_status_interconnect_status {
    /// Output only. Whether this interconnect is participating in the redundant
    /// configuration.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum IsActive {
        /// A value indicating that the enum field is not set.
        UndefinedIsActive = 0,
        Active = 314733318,
        Inactive = 270421099,
        Unspecified = 274948243,
    }
    impl IsActive {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIsActive => "UNDEFINED_IS_ACTIVE",
                Self::Active => "ACTIVE",
                Self::Inactive => "INACTIVE",
                Self::Unspecified => "IS_ACTIVE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IS_ACTIVE" => Some(Self::UndefinedIsActive),
                "ACTIVE" => Some(Self::Active),
                "INACTIVE" => Some(Self::Inactive),
                "IS_ACTIVE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Response to the list request, and contains a list of interconnects.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Interconnect resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Interconnect>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#interconnectList for lists of interconnects.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents an Interconnect Attachment (VLAN) Location resource.
///
/// You can use this resource to find location details about an Interconnect
/// attachment (VLAN). For more information about interconnect attachments, read
/// Creating VLAN Attachments.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectLocation {
    /// Output only. \[Output Only\] The postal address of the Point of Presence, each line in
    /// the address is separated by a newline character.
    #[prost(string, optional, tag = "462920692")]
    pub address: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Availability zone for this InterconnectLocation. Within a
    /// metropolitan area (metro), maintenance will not be simultaneously scheduled
    /// in more than one availability zone.  Example: "zone1" or "zone2".
    #[prost(string, optional, tag = "158459920")]
    pub availability_zone: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output only\] List of features available at this InterconnectLocation,
    /// which can take one of the following values:
    ///
    /// ```text
    /// - IF_MACSEC
    /// - IF_CROSS_SITE_NETWORK
    /// ```
    ///
    /// Check the AvailableFeatures enum for the list of possible values.
    #[prost(string, repeated, tag = "496344307")]
    pub available_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output only\] List of link types available at this InterconnectLocation,
    /// which can take one of the following values:
    ///
    /// ```text
    /// - LINK_TYPE_ETHERNET_10G_LR
    /// - LINK_TYPE_ETHERNET_100G_LR
    /// - LINK_TYPE_ETHERNET_400G_LR4
    /// ```
    ///
    /// Check the AvailableLinkTypes enum for the list of possible values.
    #[prost(string, repeated, tag = "509504298")]
    pub available_link_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Metropolitan area designator that indicates which city an
    /// interconnect is located.
    /// For example: "Chicago, IL", "Amsterdam, Netherlands".
    #[prost(string, optional, tag = "3053931")]
    pub city: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Continent for this location, which can take one of the
    /// following values:
    ///
    /// ```text
    /// - AFRICA
    /// - ASIA_PAC
    /// - EUROPE
    /// - NORTH_AMERICA
    /// - SOUTH_AMERICA
    /// ```
    ///
    /// Check the Continent enum for the list of possible values.
    #[prost(string, optional, tag = "133442996")]
    pub continent: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of InterconnectLocation.CrossSiteInterconnectInfo
    /// objects, that describe where Cross-Site Interconnect wires may connect to
    /// from this location and associated connection parameters. Cross-Site
    /// Interconnect isn't allowed to locations which are not listed.
    #[prost(message, repeated, tag = "248573837")]
    pub cross_site_interconnect_infos: ::prost::alloc::vec::Vec<
        InterconnectLocationCrossSiteInterconnectInfo,
    >,
    /// Output only. \[Output Only\] An optional description of the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of the provider for this facility (e.g., EQUINIX).
    #[prost(string, optional, tag = "533303309")]
    pub facility_provider: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A provider-assigned Identifier for this facility (e.g.,
    /// Ashburn-DC1).
    #[prost(string, optional, tag = "87269125")]
    pub facility_provider_facility_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#interconnectLocation for interconnect locations.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Name of the resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The peeringdb identifier for this facility (corresponding
    /// with a netfac type in peeringdb).
    #[prost(string, optional, tag = "536567094")]
    pub peeringdb_facility_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A list of InterconnectLocation.RegionInfo objects, that
    /// describe parameters pertaining to the relation between this
    /// InterconnectLocation and various Google Cloud regions.
    #[prost(message, repeated, tag = "312194170")]
    pub region_infos: ::prost::alloc::vec::Vec<InterconnectLocationRegionInfo>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URLs of the other locations that can pair up with this
    /// location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and
    /// iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
    #[prost(string, repeated, tag = "439537103")]
    pub single_region_production_critical_peer_locations: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// \[Output Only\] The status of this InterconnectLocation, which can take one
    /// of the following values:
    ///
    /// ```text
    /// - CLOSED: The InterconnectLocation is closed and is unavailable for
    /// provisioning new Interconnects.
    /// - AVAILABLE: The InterconnectLocation is available for provisioning new
    /// Interconnects.
    /// ```
    ///
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "83983214")]
    pub supports_pzs: ::core::option::Option<bool>,
}
/// Nested message and enum types in `InterconnectLocation`.
pub mod interconnect_location {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AvailableFeatures {
        /// A value indicating that the enum field is not set.
        UndefinedAvailableFeatures = 0,
        /// Cross-Site Networking
        IfCrossSiteNetwork = 469111095,
        /// L2 Interconnect Attachment Forwarding
        IfL2Forwarding = 125563860,
        /// Media Access Control security (MACsec)
        IfMacsec = 396279300,
    }
    impl AvailableFeatures {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAvailableFeatures => "UNDEFINED_AVAILABLE_FEATURES",
                Self::IfCrossSiteNetwork => "IF_CROSS_SITE_NETWORK",
                Self::IfL2Forwarding => "IF_L2_FORWARDING",
                Self::IfMacsec => "IF_MACSEC",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AVAILABLE_FEATURES" => Some(Self::UndefinedAvailableFeatures),
                "IF_CROSS_SITE_NETWORK" => Some(Self::IfCrossSiteNetwork),
                "IF_L2_FORWARDING" => Some(Self::IfL2Forwarding),
                "IF_MACSEC" => Some(Self::IfMacsec),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AvailableLinkTypes {
        /// A value indicating that the enum field is not set.
        UndefinedAvailableLinkTypes = 0,
        /// 100G Ethernet, LR Optics.
        LinkTypeEthernet100gLr = 337672551,
        /// 10G Ethernet, LR Optics.
        /// \[(rate_bps) =  10000000000\];
        LinkTypeEthernet10gLr = 236739749,
        /// 400G Ethernet, LR4 Optics.
        LinkTypeEthernet400gLr4 = 127023690,
    }
    impl AvailableLinkTypes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAvailableLinkTypes => "UNDEFINED_AVAILABLE_LINK_TYPES",
                Self::LinkTypeEthernet100gLr => "LINK_TYPE_ETHERNET_100G_LR",
                Self::LinkTypeEthernet10gLr => "LINK_TYPE_ETHERNET_10G_LR",
                Self::LinkTypeEthernet400gLr4 => "LINK_TYPE_ETHERNET_400G_LR4",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AVAILABLE_LINK_TYPES" => {
                    Some(Self::UndefinedAvailableLinkTypes)
                }
                "LINK_TYPE_ETHERNET_100G_LR" => Some(Self::LinkTypeEthernet100gLr),
                "LINK_TYPE_ETHERNET_10G_LR" => Some(Self::LinkTypeEthernet10gLr),
                "LINK_TYPE_ETHERNET_400G_LR4" => Some(Self::LinkTypeEthernet400gLr4),
                _ => None,
            }
        }
    }
    /// \[Output Only\] Continent for this location, which can take one of the
    /// following values:
    ///
    /// ```text
    /// - AFRICA
    /// - ASIA_PAC
    /// - EUROPE
    /// - NORTH_AMERICA
    /// - SOUTH_AMERICA
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Continent {
        /// A value indicating that the enum field is not set.
        UndefinedContinent = 0,
        Africa = 317443706,
        AsiaPac = 119782269,
        CAfrica = 71993846,
        CAsiaPac = 465668089,
        CEurope = 200369438,
        CNorthAmerica = 275697048,
        CSouthAmerica = 397149792,
        Europe = 445819298,
        NorthAmerica = 448015508,
        SouthAmerica = 32597340,
    }
    impl Continent {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedContinent => "UNDEFINED_CONTINENT",
                Self::Africa => "AFRICA",
                Self::AsiaPac => "ASIA_PAC",
                Self::CAfrica => "C_AFRICA",
                Self::CAsiaPac => "C_ASIA_PAC",
                Self::CEurope => "C_EUROPE",
                Self::CNorthAmerica => "C_NORTH_AMERICA",
                Self::CSouthAmerica => "C_SOUTH_AMERICA",
                Self::Europe => "EUROPE",
                Self::NorthAmerica => "NORTH_AMERICA",
                Self::SouthAmerica => "SOUTH_AMERICA",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CONTINENT" => Some(Self::UndefinedContinent),
                "AFRICA" => Some(Self::Africa),
                "ASIA_PAC" => Some(Self::AsiaPac),
                "C_AFRICA" => Some(Self::CAfrica),
                "C_ASIA_PAC" => Some(Self::CAsiaPac),
                "C_EUROPE" => Some(Self::CEurope),
                "C_NORTH_AMERICA" => Some(Self::CNorthAmerica),
                "C_SOUTH_AMERICA" => Some(Self::CSouthAmerica),
                "EUROPE" => Some(Self::Europe),
                "NORTH_AMERICA" => Some(Self::NorthAmerica),
                "SOUTH_AMERICA" => Some(Self::SouthAmerica),
                _ => None,
            }
        }
    }
    /// \[Output Only\] The status of this InterconnectLocation, which can take one
    /// of the following values:
    ///
    /// ```text
    /// - CLOSED: The InterconnectLocation is closed and is unavailable for
    /// provisioning new Interconnects.
    /// - AVAILABLE: The InterconnectLocation is available for provisioning new
    /// Interconnects.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The InterconnectLocation is available for provisioning new Interconnects.
        Available = 442079913,
        /// The InterconnectLocation is closed for provisioning new Interconnects.
        Closed = 380163436,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Available => "AVAILABLE",
                Self::Closed => "CLOSED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "AVAILABLE" => Some(Self::Available),
                "CLOSED" => Some(Self::Closed),
                _ => None,
            }
        }
    }
}
/// Information about Cross-Site Interconnect wires which may be created
/// between the containing location and another remote location.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectLocationCrossSiteInterconnectInfo {
    /// Output only. The remote location for Cross-Site Interconnect wires. This specifies an
    /// InterconnectLocation city (metropolitan area designator), which itself
    /// may match multiple InterconnectLocations.
    #[prost(string, optional, tag = "3053931")]
    pub city: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response to the list request, and contains a list of interconnect locations.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectLocationList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InterconnectLocation resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InterconnectLocation>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#interconnectLocationList for lists of interconnect
    /// locations.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Information about any potential InterconnectAttachments between an
/// Interconnect at a specific InterconnectLocation, and a specific Cloud
/// Region.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectLocationRegionInfo {
    /// Output only. Expected round-trip time in milliseconds, from this InterconnectLocation
    /// to a VM in this region.
    #[prost(int64, optional, tag = "422543866")]
    pub expected_rtt_ms: ::core::option::Option<i64>,
    /// Output only. Identifies whether L2 Interconnect Attachments can be created in this
    /// region for interconnects that are in this location.
    #[prost(bool, optional, tag = "241364888")]
    pub l2_forwarding_enabled: ::core::option::Option<bool>,
    /// Output only. Identifies the network presence of this location.
    /// Check the LocationPresence enum for the list of possible values.
    #[prost(string, optional, tag = "101517893")]
    pub location_presence: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. URL for the region of this location.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectLocationRegionInfo`.
pub mod interconnect_location_region_info {
    /// Output only. Identifies the network presence of this location.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LocationPresence {
        /// A value indicating that the enum field is not set.
        UndefinedLocationPresence = 0,
        /// This region is not in any common network presence with this
        /// InterconnectLocation.
        Global = 494663587,
        /// This region shares the same regional network presence as this
        /// InterconnectLocation.
        LocalRegion = 403535464,
        /// \[Deprecated\] This region is not in any common network presence with
        /// this InterconnectLocation.
        LpGlobal = 429584062,
        /// \[Deprecated\] This region shares the same regional network presence as
        /// this InterconnectLocation.
        LpLocalRegion = 488598851,
    }
    impl LocationPresence {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLocationPresence => "UNDEFINED_LOCATION_PRESENCE",
                Self::Global => "GLOBAL",
                Self::LocalRegion => "LOCAL_REGION",
                Self::LpGlobal => "LP_GLOBAL",
                Self::LpLocalRegion => "LP_LOCAL_REGION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LOCATION_PRESENCE" => Some(Self::UndefinedLocationPresence),
                "GLOBAL" => Some(Self::Global),
                "LOCAL_REGION" => Some(Self::LocalRegion),
                "LP_GLOBAL" => Some(Self::LpGlobal),
                "LP_LOCAL_REGION" => Some(Self::LpLocalRegion),
                _ => None,
            }
        }
    }
}
/// Configuration information for enabling Media Access Control security
/// (MACsec) on this Cloud Interconnect connection between Google and your
/// on-premises router.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectMacsec {
    /// If set to true, the Interconnect connection is configured with ashould-secure MACsec security policy, that allows the Google
    /// router to fallback to cleartext traffic if the MKA session cannot be
    /// established. By default, the Interconnect connection is configured with amust-secure security policy that drops all traffic if the
    /// MKA session cannot be established with your router.
    #[prost(bool, optional, tag = "532597451")]
    pub fail_open: ::core::option::Option<bool>,
    /// Required. A keychain placeholder describing a set of named key objects
    /// along with their start times. A MACsec CKN/CAK is generated for each
    /// key in the key chain. Google router automatically picks the key with
    /// the most recent startTime when establishing or re-establishing a MACsec
    /// secure link.
    #[prost(message, repeated, tag = "420308466")]
    pub pre_shared_keys: ::prost::alloc::vec::Vec<InterconnectMacsecPreSharedKey>,
}
/// MACsec configuration information for the Interconnect connection. Contains
/// the generated Connectivity Association Key Name (CKN) and the key (CAK) for
/// this Interconnect connection.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectMacsecConfig {
    /// A keychain placeholder describing a set of named key objects
    /// along with their start times. A MACsec CKN/CAK is generated for each key in
    /// the key chain. Google router automatically picks the key with the most
    /// recent startTime when establishing or re-establishing a MACsec secure link.
    #[prost(message, repeated, tag = "420308466")]
    pub pre_shared_keys: ::prost::alloc::vec::Vec<InterconnectMacsecConfigPreSharedKey>,
}
/// Describes a pre-shared key used to setup MACsec in static connectivity
/// association key (CAK) mode.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectMacsecConfigPreSharedKey {
    /// An auto-generated Connectivity Association Key (CAK) for this key.
    #[prost(string, optional, tag = "98253")]
    pub cak: ::core::option::Option<::prost::alloc::string::String>,
    /// An auto-generated Connectivity Association Key Name (CKN) for this key.
    #[prost(string, optional, tag = "98566")]
    pub ckn: ::core::option::Option<::prost::alloc::string::String>,
    /// User provided name for this pre-shared key.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// User provided timestamp on or after which this key is valid.
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
}
/// Describes a pre-shared key used to setup MACsec in static connectivity
/// association key (CAK) mode.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectMacsecPreSharedKey {
    /// Required. A name for this pre-shared key.
    /// The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63
    /// characters long and match the regular expression
    /// `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first character must be a
    /// lowercase letter, and all following characters must be a dash,
    /// lowercase letter, or digit, except the last character, which cannot be
    /// a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// A RFC3339 timestamp on or after which the key is
    /// valid. startTime can be in the future. If the keychain has a single
    /// key, startTime can be omitted. If the keychain has multiple keys,
    /// startTime is mandatory for each key. The start times of keys must be in
    /// increasing order. The start times of two consecutive keys must be
    /// at least 6 hours apart.
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
}
/// Description of a planned outage on this Interconnect.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectOutageNotification {
    /// If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit
    /// IDs that will be affected.
    #[prost(string, repeated, tag = "177717013")]
    pub affected_circuits: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A description about the purpose of the outage.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Scheduled end time for the outage (milliseconds since Unix
    /// epoch).
    #[prost(int64, optional, tag = "114938801")]
    pub end_time: ::core::option::Option<i64>,
    /// Form this outage is expected to take, which can take one of the following
    /// values:
    ///
    /// ```text
    /// - OUTAGE: The Interconnect may be completely out of service for
    /// some or all of the specified window.
    /// - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole
    /// should remain up, but with reduced bandwidth.
    /// ```
    ///
    /// Note that the versions of this enum prefixed with "IT\_" have been
    /// deprecated in favor of the unprefixed values.
    /// Check the IssueType enum for the list of possible values.
    #[prost(string, optional, tag = "369639136")]
    pub issue_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Unique identifier for this outage notification.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The party that generated this notification, which can take the following
    /// value:
    ///
    /// ```text
    /// - GOOGLE: this notification as generated by Google.
    /// ```
    ///
    /// Note that the value of NSRC_GOOGLE has been deprecated in favor of
    /// GOOGLE.
    /// Check the Source enum for the list of possible values.
    #[prost(string, optional, tag = "177235995")]
    pub source: ::core::option::Option<::prost::alloc::string::String>,
    /// Scheduled start time for the outage (milliseconds since Unix
    /// epoch).
    #[prost(int64, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<i64>,
    /// State of this notification, which can take one of the following values:
    ///
    /// ```text
    /// - ACTIVE: This outage notification is active. The event could be in
    /// the past, present, or future. See start_time and end_time for
    /// scheduling.
    /// - CANCELLED: The outage associated with this notification was cancelled
    /// before the outage was due to start.
    /// - COMPLETED: The outage associated with this notification is complete.
    /// ```
    ///
    /// Note that the versions of this enum prefixed with "NS\_" have been
    /// deprecated in favor of the unprefixed values.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectOutageNotification`.
pub mod interconnect_outage_notification {
    /// Form this outage is expected to take, which can take one of the following
    /// values:
    ///
    /// ```text
    /// - OUTAGE: The Interconnect may be completely out of service for
    /// some or all of the specified window.
    /// - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole
    /// should remain up, but with reduced bandwidth.
    /// ```
    ///
    /// Note that the versions of this enum prefixed with "IT\_" have been
    /// deprecated in favor of the unprefixed values.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum IssueType {
        /// A value indicating that the enum field is not set.
        UndefinedIssueType = 0,
        /// \[Deprecated\] The Interconnect may be completely out of service for some
        /// or all of the specified window.
        ItOutage = 175779973,
        /// \[Deprecated\] Some circuits comprising the Interconnect will be out of
        /// service during the expected window. The interconnect as a whole should
        /// remain up, albeit with reduced bandwidth.
        ItPartialOutage = 92103971,
        /// The Interconnect may be completely out of service for some or all of
        /// the specified window.
        Outage = 195285745,
        /// Some circuits comprising the Interconnect will be out of service during
        /// the expected window. The interconnect as a whole should remain
        /// up, albeit with reduced bandwidth.
        PartialOutage = 147053455,
    }
    impl IssueType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIssueType => "UNDEFINED_ISSUE_TYPE",
                Self::ItOutage => "IT_OUTAGE",
                Self::ItPartialOutage => "IT_PARTIAL_OUTAGE",
                Self::Outage => "OUTAGE",
                Self::PartialOutage => "PARTIAL_OUTAGE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ISSUE_TYPE" => Some(Self::UndefinedIssueType),
                "IT_OUTAGE" => Some(Self::ItOutage),
                "IT_PARTIAL_OUTAGE" => Some(Self::ItPartialOutage),
                "OUTAGE" => Some(Self::Outage),
                "PARTIAL_OUTAGE" => Some(Self::PartialOutage),
                _ => None,
            }
        }
    }
    /// The party that generated this notification, which can take the following
    /// value:
    ///
    /// ```text
    /// - GOOGLE: this notification as generated by Google.
    /// ```
    ///
    /// Note that the value of NSRC_GOOGLE has been deprecated in favor of
    /// GOOGLE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Source {
        /// A value indicating that the enum field is not set.
        UndefinedSource = 0,
        /// This notification was generated by Google.
        Google = 497439289,
        /// \[Deprecated\] This notification was generated by Google.
        NsrcGoogle = 510574562,
    }
    impl Source {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSource => "UNDEFINED_SOURCE",
                Self::Google => "GOOGLE",
                Self::NsrcGoogle => "NSRC_GOOGLE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SOURCE" => Some(Self::UndefinedSource),
                "GOOGLE" => Some(Self::Google),
                "NSRC_GOOGLE" => Some(Self::NsrcGoogle),
                _ => None,
            }
        }
    }
    /// State of this notification, which can take one of the following values:
    ///
    /// ```text
    /// - ACTIVE: This outage notification is active. The event could be in
    /// the past, present, or future. See start_time and end_time for
    /// scheduling.
    /// - CANCELLED: The outage associated with this notification was cancelled
    /// before the outage was due to start.
    /// - COMPLETED: The outage associated with this notification is complete.
    /// ```
    ///
    /// Note that the versions of this enum prefixed with "NS\_" have been
    /// deprecated in favor of the unprefixed values.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// This outage notification is active. The event could be in the future,
        /// present, or past. See start_time and end_time for scheduling.
        Active = 314733318,
        /// The outage associated with this notification was cancelled before the
        /// outage was due to start.
        Cancelled = 41957681,
        /// The outage associated with this notification is complete.
        Completed = 309921323,
        /// \[Deprecated\] This outage notification is active. The event could be in
        /// the future, present, or past. See start_time and end_time for
        /// scheduling.
        NsActive = 252563136,
        /// \[Deprecated\] The outage associated with this notification was canceled
        /// before the outage was due to start.
        NsCanceled = 506579411,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Active => "ACTIVE",
                Self::Cancelled => "CANCELLED",
                Self::Completed => "COMPLETED",
                Self::NsActive => "NS_ACTIVE",
                Self::NsCanceled => "NS_CANCELED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVE" => Some(Self::Active),
                "CANCELLED" => Some(Self::Cancelled),
                "COMPLETED" => Some(Self::Completed),
                "NS_ACTIVE" => Some(Self::NsActive),
                "NS_CANCELED" => Some(Self::NsCanceled),
                _ => None,
            }
        }
    }
}
/// Additional interconnect parameters.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    /// * Inconsistent format is not supported. For instance:
    ///   {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// Represents a Cross-Cloud Interconnect Remote Location resource.
///
/// You can use this resource to find remote location details about an
/// Interconnect attachment (VLAN).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectRemoteLocation {
    /// Output only. \[Output Only\] The postal address of the Point of Presence, each line in
    /// the address is separated by a newline character.
    #[prost(string, optional, tag = "462920692")]
    pub address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Subset of fields from InterconnectAttachment's
    /// \|configurationConstraints| field that apply to all attachments for this
    /// remote location.
    #[prost(message, optional, tag = "326825041")]
    pub attachment_configuration_constraints: ::core::option::Option<
        InterconnectAttachmentConfigurationConstraints,
    >,
    /// Output only. \[Output Only\] Metropolitan area designator that indicates which city an
    /// interconnect is located.
    /// For example: "Chicago, IL", "Amsterdam, Netherlands".
    #[prost(string, optional, tag = "3053931")]
    pub city: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Constraints on the parameters for creating Cross-Cloud
    /// Interconnect and associated InterconnectAttachments.
    #[prost(message, optional, tag = "3909174")]
    pub constraints: ::core::option::Option<InterconnectRemoteLocationConstraints>,
    /// Output only. \[Output Only\] Continent for this location, which can take one of the
    /// following values:
    ///
    /// ```text
    /// - AFRICA
    /// - ASIA_PAC
    /// - EUROPE
    /// - NORTH_AMERICA
    /// - SOUTH_AMERICA
    /// ```
    ///
    /// Check the Continent enum for the list of possible values.
    #[prost(string, optional, tag = "133442996")]
    pub continent: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] An optional description of the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of the provider for this facility (e.g., EQUINIX).
    #[prost(string, optional, tag = "533303309")]
    pub facility_provider: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A provider-assigned Identifier for this facility (e.g.,
    /// Ashburn-DC1).
    #[prost(string, optional, tag = "87269125")]
    pub facility_provider_facility_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#interconnectRemoteLocation for interconnect remote
    /// locations.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Link Aggregation Control Protocol (LACP) constraints, which
    /// can take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED
    /// Check the Lacp enum for the list of possible values.
    #[prost(string, optional, tag = "3313826")]
    pub lacp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\]
    /// The maximum number of 100 Gbps ports supported in a link aggregation group
    /// (LAG). When linkType is 100 Gbps, requestedLinkCount cannot exceed
    /// max_lag_size_100_gbps.
    #[prost(int32, optional, tag = "245219253")]
    pub max_lag_size100_gbps: ::core::option::Option<i32>,
    /// Output only. \[Output Only\]
    /// The maximum number of 10 Gbps ports supported in a link aggregation group
    /// (LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed
    /// max_lag_size_10_gbps.
    #[prost(int32, optional, tag = "294007573")]
    pub max_lag_size10_gbps: ::core::option::Option<i32>,
    /// Output only. \[Output Only\]
    /// The maximum number of 400 Gbps ports supported in a link aggregation group
    /// (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed
    /// max_lag_size_400_gbps.
    #[prost(int32, optional, tag = "104941138")]
    pub max_lag_size400_gbps: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Name of the resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The peeringdb identifier for this facility (corresponding
    /// with a netfac type in peeringdb).
    #[prost(string, optional, tag = "536567094")]
    pub peeringdb_facility_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Permitted connections.
    #[prost(message, repeated, tag = "442063278")]
    pub permitted_connections: ::prost::alloc::vec::Vec<
        InterconnectRemoteLocationPermittedConnections,
    >,
    /// Output only. \[Output Only\] Indicates the service provider present at the remote
    /// location. Example values: "Amazon Web Services", "Microsoft Azure".
    #[prost(string, optional, tag = "391954364")]
    pub remote_service: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The status of this InterconnectRemoteLocation, which can take
    /// one of the following values:
    ///
    /// ```text
    /// - CLOSED: The InterconnectRemoteLocation is closed and is unavailable
    /// for provisioning new Cross-Cloud Interconnects.
    /// - AVAILABLE: The
    /// InterconnectRemoteLocation is available for provisioning new
    /// Cross-Cloud Interconnects.
    /// ```
    ///
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `InterconnectRemoteLocation`.
pub mod interconnect_remote_location {
    /// Output only. \[Output Only\] Continent for this location, which can take one of the
    /// following values:
    ///
    /// ```text
    /// - AFRICA
    /// - ASIA_PAC
    /// - EUROPE
    /// - NORTH_AMERICA
    /// - SOUTH_AMERICA
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Continent {
        /// A value indicating that the enum field is not set.
        UndefinedContinent = 0,
        Africa = 317443706,
        AsiaPac = 119782269,
        Europe = 445819298,
        NorthAmerica = 448015508,
        SouthAmerica = 32597340,
    }
    impl Continent {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedContinent => "UNDEFINED_CONTINENT",
                Self::Africa => "AFRICA",
                Self::AsiaPac => "ASIA_PAC",
                Self::Europe => "EUROPE",
                Self::NorthAmerica => "NORTH_AMERICA",
                Self::SouthAmerica => "SOUTH_AMERICA",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CONTINENT" => Some(Self::UndefinedContinent),
                "AFRICA" => Some(Self::Africa),
                "ASIA_PAC" => Some(Self::AsiaPac),
                "EUROPE" => Some(Self::Europe),
                "NORTH_AMERICA" => Some(Self::NorthAmerica),
                "SOUTH_AMERICA" => Some(Self::SouthAmerica),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] Link Aggregation Control Protocol (LACP) constraints, which
    /// can take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Lacp {
        /// A value indicating that the enum field is not set.
        UndefinedLacp = 0,
        /// LACP_SUPPORTED: LACP is supported, and enabled by default on
        /// the Cross-Cloud Interconnect.
        Supported = 339576113,
        /// LACP_UNSUPPORTED: LACP is not supported and is not be enabled on this
        /// port. GetDiagnostics shows bundleAggregationType as "static". GCP does
        /// not support LAGs without LACP, so requestedLinkCount must be 1.
        Unsupported = 203930104,
    }
    impl Lacp {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLacp => "UNDEFINED_LACP",
                Self::Supported => "LACP_SUPPORTED",
                Self::Unsupported => "LACP_UNSUPPORTED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LACP" => Some(Self::UndefinedLacp),
                "LACP_SUPPORTED" => Some(Self::Supported),
                "LACP_UNSUPPORTED" => Some(Self::Unsupported),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of this InterconnectRemoteLocation, which can take
    /// one of the following values:
    ///
    /// ```text
    /// - CLOSED: The InterconnectRemoteLocation is closed and is unavailable
    /// for provisioning new Cross-Cloud Interconnects.
    /// - AVAILABLE: The
    /// InterconnectRemoteLocation is available for provisioning new
    /// Cross-Cloud Interconnects.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The InterconnectRemoteLocation is available for provisioning new
        /// Cross-Cloud Interconnects.
        Available = 442079913,
        /// The InterconnectRemoteLocation is closed for provisioning new
        /// Cross-Cloud Interconnects.
        Closed = 380163436,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Available => "AVAILABLE",
                Self::Closed => "CLOSED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "AVAILABLE" => Some(Self::Available),
                "CLOSED" => Some(Self::Closed),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectRemoteLocationConstraints {
    /// Output only. \[Output Only\] Port pair remote location constraints, which can take one
    /// of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION,
    /// PORT_PAIR_MATCHING_REMOTE_LOCATION.
    ///
    /// Google Cloud API refers only to individual ports, but the UI uses this
    /// field when ordering a pair of ports, to prevent users from accidentally
    /// ordering something that is incompatible with their cloud provider.
    /// Specifically, when ordering a redundant pair of Cross-Cloud Interconnect
    /// ports, and one of them uses a remote location with
    /// portPairMatchingRemoteLocation set to matching, the UI requires that
    /// both ports use the same remote location.
    /// Check the PortPairRemoteLocation enum for the list of possible values.
    #[prost(string, optional, tag = "495917351")]
    pub port_pair_remote_location: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Port pair VLAN constraints, which can take one of the
    /// following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN
    /// Check the PortPairVlan enum for the list of possible values.
    #[prost(string, optional, tag = "478214506")]
    pub port_pair_vlan: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\]
    ///
    /// \[min-length, max-length\]
    ///
    /// The minimum and maximum value (inclusive) for the IPv4 subnet
    /// length.
    ///
    /// For example, an  interconnectRemoteLocation for Azure has {min: 30,
    /// max:
    /// 30} because Azure requires /30 subnets.
    ///
    /// This range specifies the values supported by both cloud providers.
    /// Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a
    /// remote cloud has no constraint on IPv4 subnet length, the range would
    /// thus be {min: 29, max: 30}.
    #[prost(message, optional, tag = "184473670")]
    pub subnet_length_range: ::core::option::Option<
        InterconnectRemoteLocationConstraintsSubnetLengthRange,
    >,
}
/// Nested message and enum types in `InterconnectRemoteLocationConstraints`.
pub mod interconnect_remote_location_constraints {
    /// Output only. \[Output Only\] Port pair remote location constraints, which can take one
    /// of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION,
    /// PORT_PAIR_MATCHING_REMOTE_LOCATION.
    ///
    /// Google Cloud API refers only to individual ports, but the UI uses this
    /// field when ordering a pair of ports, to prevent users from accidentally
    /// ordering something that is incompatible with their cloud provider.
    /// Specifically, when ordering a redundant pair of Cross-Cloud Interconnect
    /// ports, and one of them uses a remote location with
    /// portPairMatchingRemoteLocation set to matching, the UI requires that
    /// both ports use the same remote location.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PortPairRemoteLocation {
        /// A value indicating that the enum field is not set.
        UndefinedPortPairRemoteLocation = 0,
        /// If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider
        /// allocates ports in pairs, and the user should choose the same remote
        /// location for both ports.
        PortPairMatchingRemoteLocation = 207291859,
        /// If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision
        /// a redundant pair of Cross-Cloud Interconnects using two different
        /// remote locations in the same city.
        PortPairUnconstrainedRemoteLocation = 60609829,
    }
    impl PortPairRemoteLocation {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPortPairRemoteLocation => {
                    "UNDEFINED_PORT_PAIR_REMOTE_LOCATION"
                }
                Self::PortPairMatchingRemoteLocation => {
                    "PORT_PAIR_MATCHING_REMOTE_LOCATION"
                }
                Self::PortPairUnconstrainedRemoteLocation => {
                    "PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PORT_PAIR_REMOTE_LOCATION" => {
                    Some(Self::UndefinedPortPairRemoteLocation)
                }
                "PORT_PAIR_MATCHING_REMOTE_LOCATION" => {
                    Some(Self::PortPairMatchingRemoteLocation)
                }
                "PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION" => {
                    Some(Self::PortPairUnconstrainedRemoteLocation)
                }
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] Port pair VLAN constraints, which can take one of the
    /// following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PortPairVlan {
        /// A value indicating that the enum field is not set.
        UndefinedPortPairVlan = 0,
        /// If PORT_PAIR_MATCHING_VLAN, the Interconnect for this attachment is
        /// part of a pair of ports that should have matching VLAN allocations.
        /// This occurs with Cross-Cloud Interconnect to Azure remote locations.
        /// While GCP's API does not explicitly group pairs of ports, the UI uses
        /// this field to ensure matching VLAN ids when configuring a redundant
        /// VLAN pair.
        PortPairMatchingVlan = 250295358,
        /// PORT_PAIR_UNCONSTRAINED_VLAN means there is no constraint.
        PortPairUnconstrainedVlan = 175227948,
    }
    impl PortPairVlan {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPortPairVlan => "UNDEFINED_PORT_PAIR_VLAN",
                Self::PortPairMatchingVlan => "PORT_PAIR_MATCHING_VLAN",
                Self::PortPairUnconstrainedVlan => "PORT_PAIR_UNCONSTRAINED_VLAN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PORT_PAIR_VLAN" => Some(Self::UndefinedPortPairVlan),
                "PORT_PAIR_MATCHING_VLAN" => Some(Self::PortPairMatchingVlan),
                "PORT_PAIR_UNCONSTRAINED_VLAN" => Some(Self::PortPairUnconstrainedVlan),
                _ => None,
            }
        }
    }
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectRemoteLocationConstraintsSubnetLengthRange {
    #[prost(int32, optional, tag = "107876")]
    pub max: ::core::option::Option<i32>,
    #[prost(int32, optional, tag = "108114")]
    pub min: ::core::option::Option<i32>,
}
/// Response to the list request, and contains a list of interconnect remote
/// locations.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectRemoteLocationList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InterconnectRemoteLocation resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InterconnectRemoteLocation>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#interconnectRemoteLocationList for lists of
    /// interconnect remote locations.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token lets you get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InterconnectRemoteLocationPermittedConnections {
    /// Output only. \[Output Only\] URL of an Interconnect location that is permitted to
    /// connect to this Interconnect remote location.
    #[prost(string, optional, tag = "492235846")]
    pub interconnect_location: ::core::option::Option<::prost::alloc::string::String>,
}
/// Response for the InterconnectsGetDiagnosticsRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectsGetDiagnosticsResponse {
    #[prost(message, optional, tag = "139315229")]
    pub result: ::core::option::Option<InterconnectDiagnostics>,
}
/// Response for the InterconnectsGetMacsecConfigRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectsGetMacsecConfigResponse {
    /// end_interface: MixerGetResponseWithEtagBuilder
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "139315229")]
    pub result: ::core::option::Option<InterconnectMacsecConfig>,
}
/// A request message for UrlMaps.InvalidateCache. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InvalidateCacheUrlMapRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "312795565")]
    pub cache_invalidation_rule_resource: ::core::option::Option<CacheInvalidationRule>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the UrlMap scoping this request.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
}
/// Metadata
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Items {
    /// Key for the metadata entry. Keys must conform to the following
    /// regexp: \[a-zA-Z0-9-\_\]+, and be less than 128 bytes in length.
    /// This is reflected as part of a URL in the metadata server. Additionally, to
    /// avoid ambiguity, keys must not conflict with any other metadata keys
    /// for the project.
    #[prost(string, optional, tag = "106079")]
    pub key: ::core::option::Option<::prost::alloc::string::String>,
    /// Value for the metadata entry. These are free-form strings, and only
    /// have meaning as interpreted by the image running in the instance. The
    /// only restriction placed on values is that their size must be less than
    /// or equal to 262144 bytes (256 KiB).
    #[prost(string, optional, tag = "111972721")]
    pub value: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a License resource.
///
/// A License represents billing and aggregate usage data forpublic andmarketplace images.
/// *Caution* This resource is intended for
/// use only by third-party partners who are creatingCloud Marketplace
/// images.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct License {
    /// Specifies licenseCodes of licenses that can replace this license. Note:
    /// such replacements are allowed even if removable_from_disk is false.
    #[prost(string, repeated, tag = "195677718")]
    pub allowed_replacement_licenses: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// If true, this license can be appended to an existing disk's set of
    /// licenses.
    #[prost(bool, optional, tag = "16959254")]
    pub appendable_to_disk: ::core::option::Option<bool>,
    /// \[Output Only\] Deprecated. This field no longer reflects whether a license
    /// charges a usage fee.
    #[prost(bool, optional, tag = "372412622")]
    pub charges_use_fee: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional textual description of the resource; provided by the client
    /// when the resource is created.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Specifies licenseCodes of licenses that are incompatible with this license.
    /// If a license is incompatible with this license, it cannot be attached to
    /// the same disk or image.
    #[prost(string, repeated, tag = "334239768")]
    pub incompatible_licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of resource. Always compute#license for
    /// licenses.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique code used to attach this license to images,
    /// snapshots, and disks.
    #[prost(uint64, optional, tag = "1467179")]
    pub license_code: ::core::option::Option<u64>,
    /// If set, this license will be unable to be removed or replaced once attached
    /// to a disk until the minimum_retention period has passed.
    #[prost(message, optional, tag = "155398189")]
    pub minimum_retention: ::core::option::Option<Duration>,
    /// If true, this license can only be used on VMs on multi tenant nodes.
    #[prost(bool, optional, tag = "274395163")]
    pub multi_tenant_only: ::core::option::Option<bool>,
    /// Name of the resource. The name must be 1-63 characters long and
    /// comply withRFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// If true, indicates this is an OS license. Only one OS license can be
    /// attached to a disk or image at a time.
    #[prost(bool, optional, tag = "487986406")]
    pub os_license: ::core::option::Option<bool>,
    /// Input only. Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<LicenseParams>,
    /// If true, this license can be removed from a disk's set of licenses, with no
    /// replacement license needed.
    #[prost(bool, optional, tag = "25854638")]
    pub removable_from_disk: ::core::option::Option<bool>,
    /// Specifies the set of permissible coattached licenseCodes of licenses that
    /// satisfy the coattachment requirement of this license. At least one license
    /// from the set must be attached to the same disk or image as this license.
    #[prost(string, repeated, tag = "129195265")]
    pub required_coattached_licenses: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// \[Input Only\] Deprecated.
    #[prost(message, optional, tag = "214292769")]
    pub resource_requirements: ::core::option::Option<LicenseResourceRequirements>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// If true, this license can only be used on VMs on sole tenant nodes.
    #[prost(bool, optional, tag = "427525559")]
    pub sole_tenant_only: ::core::option::Option<bool>,
    /// If false, licenses will not be copied from the source resource when
    /// creating an image from a disk, disk from snapshot, or snapshot from disk.
    #[prost(bool, optional, tag = "4349893")]
    pub transferable: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Last update timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "120894752")]
    pub update_timestamp: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a License Code resource.
///
/// A License Code is a unique identifier used to represent alicense
/// resource.
/// *Caution* This resource is intended for
/// use only by third-party partners who are creatingCloud Marketplace
/// images.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LicenseCode {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Description of this License Code.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of resource. Always compute#licenseCode for
    /// licenses.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] URL and description aliases of Licenses with the same
    /// License Code.
    #[prost(message, repeated, tag = "43550930")]
    pub license_alias: ::prost::alloc::vec::Vec<LicenseCodeLicenseAlias>,
    /// Output only. \[Output Only\] Name of the resource. The name is 1-20 characters long and
    /// must be a valid 64 bit integer.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Current state of this License Code.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] If true, the license will remain attached when creating
    /// images or snapshots from disks. Otherwise, the license is not transferred.
    #[prost(bool, optional, tag = "4349893")]
    pub transferable: ::core::option::Option<bool>,
}
/// Nested message and enum types in `LicenseCode`.
pub mod license_code {
    /// Output only. \[Output Only\] Current state of this License Code.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// Machines are not allowed to attach boot disks with this License Code.
        /// Requests to create new resources with this license will be rejected.
        Disabled = 516696700,
        /// Use is allowed for anyone with USE_READ_ONLY access to this License Code.
        Enabled = 182130465,
        /// Use of this license is limited to a project whitelist.
        Restricted = 261551195,
        Unspecified = 470755401,
        /// Reserved state.
        Terminated = 250018339,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Disabled => "DISABLED",
                Self::Enabled => "ENABLED",
                Self::Restricted => "RESTRICTED",
                Self::Unspecified => "STATE_UNSPECIFIED",
                Self::Terminated => "TERMINATED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "DISABLED" => Some(Self::Disabled),
                "ENABLED" => Some(Self::Enabled),
                "RESTRICTED" => Some(Self::Restricted),
                "STATE_UNSPECIFIED" => Some(Self::Unspecified),
                "TERMINATED" => Some(Self::Terminated),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct LicenseCodeLicenseAlias {
    /// Output only. \[Output Only\] Description of this License Code.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of license corresponding to this License Code.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// Additional license params.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LicenseParams {
    /// Input only. Resource manager tags to be bound to the license. Tag keys and values
    /// have the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
    /// format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// Commitment for a particular license resource.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct LicenseResourceCommitment {
    /// The number of licenses you plan to purchase.
    #[prost(int64, optional, tag = "196759640")]
    pub amount: ::core::option::Option<i64>,
    /// The number of cores per license.
    #[prost(string, optional, tag = "32482324")]
    pub cores_per_license: ::core::option::Option<::prost::alloc::string::String>,
    /// The applicable license URI.
    #[prost(string, optional, tag = "166757441")]
    pub license: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct LicenseResourceRequirements {
    /// \[Input Only\] Deprecated. This field no longer reflects the minimum number
    /// of guest cpus required to use the Instance.
    #[prost(int32, optional, tag = "477964836")]
    pub min_guest_cpu_count: ::core::option::Option<i32>,
    /// \[Input Only\] Deprecated. This field no longer reflects the minimum memory
    /// required to use the Instance.
    #[prost(int32, optional, tag = "504785894")]
    pub min_memory_mb: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LicensesListResponse {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of License resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<License>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A request message for AcceleratorTypes.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAcceleratorTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Addresses.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAddressesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for FirewallPolicies.ListAssociations. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAssociationsFirewallPolicyRequest {
    /// If set to "true", the response will contain a list of all associations for
    /// the containing folders and the containing organization of the target. The
    /// parameter has no effect if the target is an organization.
    #[prost(bool, optional, tag = "32280076")]
    pub include_inherited_policies: ::core::option::Option<bool>,
    /// The target resource to list associations. It is an organization, or a
    /// folder.
    #[prost(string, optional, tag = "467318524")]
    pub target_resource: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for OrganizationSecurityPolicies.ListAssociations. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAssociationsOrganizationSecurityPolicyRequest {
    /// The target resource to list associations. It is an organization, or a
    /// folder.
    #[prost(string, optional, tag = "467318524")]
    pub target_resource: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Autoscalers.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAutoscalersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionSslPolicies.ListAvailableFeatures. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAvailableFeaturesRegionSslPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for SslPolicies.ListAvailableFeatures. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAvailableFeaturesSslPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for BackendBuckets.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListBackendBucketsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for BackendServices.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListBackendServicesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Routers.ListBgpRoutes. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListBgpRoutesRoutersRequest {
    /// (Required) limit results to this address family (either IPv4 or IPv6)
    /// Check the AddressFamily enum for the list of possible values.
    #[prost(string, optional, tag = "173744655")]
    pub address_family: ::core::option::Option<::prost::alloc::string::String>,
    /// Limit results to destinations that are subnets of this CIDR range
    #[prost(string, optional, tag = "263872483")]
    pub destination_prefix: ::core::option::Option<::prost::alloc::string::String>,
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// (Required) limit results to the BGP peer with the given name.
    /// Name should conform to RFC1035.
    #[prost(string, optional, tag = "3436898")]
    pub peer: ::core::option::Option<::prost::alloc::string::String>,
    /// When true, the method returns post-policy routes. Otherwise, it returns
    /// pre-policy routes.
    #[prost(bool, optional, tag = "379464304")]
    pub policy_applied: ::core::option::Option<bool>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// (Required) limit results to this type of route (either LEARNED or
    /// ADVERTISED)
    /// Check the RouteType enum for the list of possible values.
    #[prost(string, optional, tag = "375888752")]
    pub route_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    /// Name should conform to RFC1035.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// Nested message and enum types in `ListBgpRoutesRoutersRequest`.
pub mod list_bgp_routes_routers_request {
    /// (Required) limit results to this address family (either IPv4 or IPv6)
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AddressFamily {
        /// A value indicating that the enum field is not set.
        UndefinedAddressFamily = 0,
        Ipv4 = 2254341,
        Ipv6 = 2254343,
        UnspecifiedIpVersion = 72938440,
    }
    impl AddressFamily {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAddressFamily => "UNDEFINED_ADDRESS_FAMILY",
                Self::Ipv4 => "IPV4",
                Self::Ipv6 => "IPV6",
                Self::UnspecifiedIpVersion => "UNSPECIFIED_IP_VERSION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ADDRESS_FAMILY" => Some(Self::UndefinedAddressFamily),
                "IPV4" => Some(Self::Ipv4),
                "IPV6" => Some(Self::Ipv6),
                "UNSPECIFIED_IP_VERSION" => Some(Self::UnspecifiedIpVersion),
                _ => None,
            }
        }
    }
    /// (Required) limit results to this type of route (either LEARNED or
    /// ADVERTISED)
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RouteType {
        /// A value indicating that the enum field is not set.
        UndefinedRouteType = 0,
        Advertised = 20302109,
        Learned = 231892419,
        UnspecifiedRouteType = 248064440,
    }
    impl RouteType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRouteType => "UNDEFINED_ROUTE_TYPE",
                Self::Advertised => "ADVERTISED",
                Self::Learned => "LEARNED",
                Self::UnspecifiedRouteType => "UNSPECIFIED_ROUTE_TYPE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ROUTE_TYPE" => Some(Self::UndefinedRouteType),
                "ADVERTISED" => Some(Self::Advertised),
                "LEARNED" => Some(Self::Learned),
                "UNSPECIFIED_ROUTE_TYPE" => Some(Self::UnspecifiedRouteType),
                _ => None,
            }
        }
    }
}
/// A request message for CrossSiteNetworks.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListCrossSiteNetworksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for DiskTypes.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListDiskTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Disks.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListDisksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for StoragePools.ListDisks. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListDisksStoragePoolsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name of the storage pool to list disks of.
    #[prost(string, tag = "360473440")]
    pub storage_pool: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagers.ListErrors. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListErrorsInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the managed instance group.
    /// It must be a string that meets the requirements in RFC1035, or an
    /// unsigned long integer: must match regexp pattern:
    /// (?:[a-z](?:\[-a-z0-9\]{0,61}\[a-z0-9\])?)|1-9{0,19}.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of thezone where the managed
    /// instance group is located.
    /// It should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.ListErrors. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListErrorsRegionInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the managed instance group.
    /// It must be a string that meets the requirements in RFC1035, or an
    /// unsigned long integer: must match regexp pattern:
    /// (?:[a-z](?:\[-a-z0-9\]{0,61}\[a-z0-9\])?)|1-9{0,19}.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    /// This should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for ExternalVpnGateways.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListExternalVpnGatewaysRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for FirewallPolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListFirewallPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Parent ID for this request. The ID can be either be "folders/\[FOLDER_ID\]"
    /// if the parent is a folder or "organizations/\[ORGANIZATION_ID\]" if the
    /// parent is an organization.
    #[prost(string, optional, tag = "459714768")]
    pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Firewalls.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListFirewallsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for ForwardingRules.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListForwardingRulesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for FutureReservations.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListFutureReservationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name of the zone for this request. Name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for GlobalAddresses.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListGlobalAddressesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for GlobalForwardingRules.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListGlobalForwardingRulesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for GlobalNetworkEndpointGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListGlobalNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for GlobalOperations.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListGlobalOperationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for GlobalOrganizationOperations.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListGlobalOrganizationOperationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Parent ID for this request.
    #[prost(string, optional, tag = "459714768")]
    pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for GlobalPublicDelegatedPrefixes.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListGlobalPublicDelegatedPrefixesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for HealthChecks.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListHealthChecksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Images.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListImagesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for InstanceGroupManagerResizeRequests.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInstanceGroupManagerResizeRequestsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the managed instance group. The name should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of thezone where the managed
    /// instance group is located. The name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagers.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInstanceGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of thezone
    /// where the instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceTemplates.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInstanceTemplatesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for InstanceGroups.ListInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInstancesInstanceGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the instance group from which you want to generate a list
    /// of included instances.
    #[prost(string, tag = "81095253")]
    pub instance_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "476255263")]
    pub instance_groups_list_instances_request_resource: ::core::option::Option<
        InstanceGroupsListInstancesRequest,
    >,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone
    /// where the instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroups.ListInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInstancesRegionInstanceGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the regional instance group for which we want to list the
    /// instances.
    #[prost(string, tag = "81095253")]
    pub instance_group: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "48239828")]
    pub region_instance_groups_list_instances_request_resource: ::core::option::Option<
        RegionInstanceGroupsListInstancesRequest,
    >,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Instances.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInstancesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// Contains a list of InstantSnapshotGroup resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListInstantSnapshotGroups {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstantSnapshotGroup resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstantSnapshotGroup>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface: MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A request message for InstantSnapshotGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInstantSnapshotGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstantSnapshots.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInstantSnapshotsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InterconnectAttachmentGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInterconnectAttachmentGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for InterconnectAttachments.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInterconnectAttachmentsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for InterconnectGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInterconnectGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for InterconnectLocations.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInterconnectLocationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for InterconnectRemoteLocations.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInterconnectRemoteLocationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Interconnects.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListInterconnectsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Licenses.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListLicensesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for MachineImages.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListMachineImagesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for MachineTypes.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListMachineTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagers.ListManagedInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListManagedInstancesInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.ListManagedInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListManagedInstancesRegionInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NetworkAttachments.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNetworkAttachmentsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NetworkEndpointGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of thezone
    /// where the network endpoint group is located. It should comply with RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for GlobalNetworkEndpointGroups.ListNetworkEndpoints. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// The name of the network endpoint group from which you want to generate a
    /// list of included network endpoints. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NetworkEndpointGroups.ListNetworkEndpoints. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNetworkEndpointsNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// The name of the network endpoint group from which you want to generate a
    /// list of included network endpoints. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "59493390")]
    pub network_endpoint_groups_list_endpoints_request_resource: ::core::option::Option<
        NetworkEndpointGroupsListEndpointsRequest,
    >,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone where
    /// the network endpoint group is located. It should comply with RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkEndpointGroups.ListNetworkEndpoints. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNetworkEndpointsRegionNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// The name of the network endpoint group from which you want to generate a
    /// list of included network endpoints. It should comply with RFC1035.
    #[prost(string, tag = "433907078")]
    pub network_endpoint_group: ::prost::alloc::string::String,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of theregion
    /// where the network endpoint group is located. It should comply with RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NetworkFirewallPolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNetworkFirewallPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NetworkProfiles.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNetworkProfilesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Networks.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNetworksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NodeGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNodeGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NodeTemplates.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNodeTemplatesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NodeTypes.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNodeTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NodeGroups.ListNodes. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListNodesNodeGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Name of the NodeGroup resource whose nodes you want to list.
    #[prost(string, tag = "469958146")]
    pub node_group: ::prost::alloc::string::String,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for OrganizationSecurityPolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListOrganizationSecurityPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Parent ID for this request.
    #[prost(string, optional, tag = "459714768")]
    pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for PacketMirrorings.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListPacketMirroringsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Networks.ListPeeringRoutes. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListPeeringRoutesNetworksRequest {
    /// The direction of the exchanged routes.
    /// Check the Direction enum for the list of possible values.
    #[prost(string, optional, tag = "111150975")]
    pub direction: ::core::option::Option<::prost::alloc::string::String>,
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Name of the network for this request.
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// The response will show routes exchanged over the given peering connection.
    #[prost(string, optional, tag = "249571370")]
    pub peering_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region of the request. The response will include all subnet routes,
    /// static routes and dynamic routes in the region.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// Nested message and enum types in `ListPeeringRoutesNetworksRequest`.
pub mod list_peering_routes_networks_request {
    /// The direction of the exchanged routes.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Direction {
        /// A value indicating that the enum field is not set.
        UndefinedDirection = 0,
        /// For routes exported from peer network.
        Incoming = 338552870,
        /// For routes exported from local network.
        Outgoing = 307438444,
    }
    impl Direction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDirection => "UNDEFINED_DIRECTION",
                Self::Incoming => "INCOMING",
                Self::Outgoing => "OUTGOING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DIRECTION" => Some(Self::UndefinedDirection),
                "INCOMING" => Some(Self::Incoming),
                "OUTGOING" => Some(Self::Outgoing),
                _ => None,
            }
        }
    }
}
/// A request message for InstanceGroupManagers.ListPerInstanceConfigs. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListPerInstanceConfigsInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the managed instance group. It should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of thezone
    /// where the managed instance group is located.
    /// It should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.ListPerInstanceConfigs. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListPerInstanceConfigsRegionInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the managed instance group. It should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request, should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for OrganizationSecurityPolicies.ListPreconfiguredExpressionSets. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListPreconfiguredExpressionSetsOrganizationSecurityPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Parent ID for this request.
    #[prost(string, optional, tag = "459714768")]
    pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for SecurityPolicies.ListPreconfiguredExpressionSets. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListPreconfiguredExpressionSetsSecurityPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for PreviewFeatures.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListPreviewFeaturesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for PublicAdvertisedPrefixes.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListPublicAdvertisedPrefixesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for PublicDelegatedPrefixes.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListPublicDelegatedPrefixesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Instances.ListReferrers. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListReferrersInstancesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the target instance scoping this request, or '-' if the
    /// request should span over all instances in the container.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionAutoscalers.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionAutoscalersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionBackendBuckets.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionBackendBucketsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionBackendServices.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionBackendServicesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionCommitments.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionCommitmentsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionCompositeHealthChecks.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionCompositeHealthChecksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionDiskTypes.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionDiskTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionDisks.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionDisksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionHealthAggregationPolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionHealthAggregationPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionHealthCheckServices.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionHealthCheckServicesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionHealthChecks.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionHealthChecksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionHealthSources.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionHealthSourcesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionInstanceGroupManagerResizeRequests.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionInstanceGroupManagerResizeRequestsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the managed instance group. The name should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region
    /// scoping this request. Name should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionInstanceGroupManagers.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionInstanceGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionInstanceGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionInstanceTemplates.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionInstanceTemplatesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the regions for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionInstantSnapshotGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionInstantSnapshotGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionInstantSnapshots.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionInstantSnapshotsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionNetworkEndpointGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of theregion
    /// where the network endpoint group is located. It should comply with RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionNetworkFirewallPolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionNetworkFirewallPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionNotificationEndpoints.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionNotificationEndpointsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionOperations.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionOperationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionSecurityPolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionSecurityPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionSnapshots.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionSnapshotsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionSslCertificates.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionSslCertificatesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionSslPolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionSslPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionTargetHttpProxies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionTargetHttpProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionTargetHttpsProxies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionTargetHttpsProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionTargetTcpProxies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionTargetTcpProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionUrlMaps.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionUrlMapsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionZones.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionZonesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Regions.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRegionsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for ReservationBlocks.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListReservationBlocksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the reservation.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "47530956")]
    pub reservation: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name of the zone for this request. Zone name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ReservationSlots.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListReservationSlotsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the parent reservation and parent block, formatted as
    /// reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
    #[prost(string, tag = "478151936")]
    pub parent_name: ::prost::alloc::string::String,
    /// The project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request, formatted as RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ReservationSubBlocks.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListReservationSubBlocksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the parent reservation and parent block. In the format of
    /// reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
    #[prost(string, tag = "478151936")]
    pub parent_name: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name of the zone for this request. Zone name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Reservations.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListReservationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ResourcePolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListResourcePoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Routers.ListRoutePolicies. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRoutePoliciesRoutersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name or id of the resource for this request.
    /// Name should conform to RFC1035.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// A request message for Routers.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRoutersRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Routes.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListRoutesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for SecurityPolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListSecurityPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for ServiceAttachments.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListServiceAttachmentsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region of this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Snapshots.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListSnapshotsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for SslCertificates.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListSslCertificatesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for SslPolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListSslPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for StoragePoolTypes.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListStoragePoolTypesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for StoragePools.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListStoragePoolsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Subnetworks.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListSubnetworksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Defines the extra views returned back in the subnetwork resource.
    /// Supported values:
    ///
    /// ```text
    /// - WITH_UTILIZATION: Utilization data is included in the
    /// response.
    /// ```
    ///
    /// Check the Views enum for the list of possible values.
    #[prost(string, optional, tag = "112204398")]
    pub views: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ListSubnetworksRequest`.
pub mod list_subnetworks_request {
    /// Defines the extra views returned back in the subnetwork resource.
    /// Supported values:
    ///
    /// ```text
    /// - WITH_UTILIZATION: Utilization data is included in the
    /// response.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Views {
        /// A value indicating that the enum field is not set.
        UndefinedViews = 0,
        Default = 115302945,
        /// Utilization data is included in the response.
        WithUtilization = 504090633,
    }
    impl Views {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedViews => "UNDEFINED_VIEWS",
                Self::Default => "DEFAULT",
                Self::WithUtilization => "WITH_UTILIZATION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_VIEWS" => Some(Self::UndefinedViews),
                "DEFAULT" => Some(Self::Default),
                "WITH_UTILIZATION" => Some(Self::WithUtilization),
                _ => None,
            }
        }
    }
}
/// A request message for TargetGrpcProxies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTargetGrpcProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetHttpProxies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTargetHttpProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetHttpsProxies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTargetHttpsProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetInstances.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTargetInstancesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name of the zone scoping this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for TargetPools.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTargetPoolsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetSslProxies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTargetSslProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetTcpProxies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTargetTcpProxiesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetVpnGateways.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListTargetVpnGatewaysRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for UrlMaps.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListUrlMapsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for BackendBuckets.ListUsable. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListUsableBackendBucketsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for BackendServices.ListUsable. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListUsableBackendServicesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionBackendBuckets.ListUsable. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListUsableRegionBackendBucketsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    /// It must be a string that meets the requirements in RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionBackendServices.ListUsable. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListUsableRegionBackendServicesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    /// It must be a string that meets the requirements in RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Subnetworks.ListUsable. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListUsableSubnetworksRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The project id or project number in which the subnetwork is intended to be
    /// used. Only applied for Shared VPC. See [Shared VPC
    /// documentation](<https://cloud.google.com/vpc/docs/shared-vpc/>)
    #[prost(string, optional, tag = "530592655")]
    pub service_project: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for VpnGateways.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListVpnGatewaysRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for VpnTunnels.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListVpnTunnelsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for WireGroups.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListWireGroupsRequest {
    #[prost(string, tag = "108192469")]
    pub cross_site_network: ::prost::alloc::string::String,
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Projects.ListXpnHosts. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListXpnHostsProjectsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "238266391")]
    pub projects_list_xpn_hosts_request_resource: ::core::option::Option<
        ProjectsListXpnHostsRequest,
    >,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for ZoneOperations.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListZoneOperationsRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name of the zone for request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ZoneVmExtensionPolicies.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListZoneVmExtensionPoliciesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Zones.List. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListZonesRequest {
    /// A filter expression that filters resources listed in the response. Most
    /// Compute resources support two types of filter expressions:
    /// expressions that support regular expressions and expressions that follow
    /// API improvement proposal AIP-160.
    /// These two types of filter expressions cannot be mixed in one request.
    ///
    /// If you want to use AIP-160, your expression must specify the field name, an
    /// operator, and the value that you want to use for filtering. The value
    /// must be a string, a number, or a boolean. The operator
    /// must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
    ///
    /// For example, if you are filtering Compute Engine instances, you can
    /// exclude instances named `example-instance` by specifying
    /// `name != example-instance`.
    ///
    /// The `:*` comparison can be used to test whether a key has been defined.
    /// For example, to find all objects with `owner` label use:
    ///
    /// ```text,
    /// labels.owner:*
    /// ```
    ///
    /// You can also filter nested fields. For example, you could specify
    /// `scheduling.automaticRestart = false` to include instances only
    /// if they are not scheduled for automatic restarts. You can use filtering
    /// on nested fields to filter based onresource labels.
    ///
    /// To filter on multiple expressions, provide each separate expression within
    /// parentheses. For example:
    ///
    /// ```text,
    /// (scheduling.automaticRestart = true)
    /// (cpuPlatform = "Intel Skylake")
    /// ```
    ///
    /// By default, each expression is an `AND` expression. However, you
    /// can include `AND` and `OR` expressions explicitly.
    /// For example:
    ///
    /// ```text,
    /// (cpuPlatform = "Intel Skylake") OR
    /// (cpuPlatform = "Intel Broadwell") AND
    /// (scheduling.automaticRestart = true)
    /// ```
    ///
    /// If you want to use a regular expression, use the `eq` (equal) or `ne`
    /// (not equal) operator against a single un-parenthesized expression with or
    /// without quotes or against multiple parenthesized expressions. Examples:
    ///
    /// `fieldname eq unquoted literal`
    /// `fieldname eq 'single quoted literal'`
    /// `fieldname eq "double quoted literal"`
    /// `(fieldname1 eq literal) (fieldname2 ne "literal")`
    ///
    /// The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
    /// The literal value must match the entire field.
    ///
    /// For example, to filter for instances that do not end with name "instance",
    /// you would use `name ne .*instance`.
    ///
    /// You cannot combine constraints on multiple fields using regular
    /// expressions.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum number of results per page that should be returned.
    /// If the number of available results is larger than `maxResults`,
    /// Compute Engine returns a `nextPageToken` that can be used to get
    /// the next page of results in subsequent list requests. Acceptable values are
    /// `0` to `500`, inclusive. (Default: `500`)
    #[prost(uint32, optional, tag = "54715419")]
    pub max_results: ::core::option::Option<u32>,
    /// Sorts list results by a certain order. By default, results
    /// are returned in alphanumerical order based on the resource name.
    ///
    /// You can also sort results in descending order based on the creation
    /// timestamp using `orderBy="creationTimestamp desc"`. This sorts
    /// results based on the `creationTimestamp` field in
    /// reverse chronological order (newest result first). Use this to sort
    /// resources like operations so that the newest operation is returned first.
    ///
    /// Currently, only sorting by `name` or
    /// `creationTimestamp desc` is supported.
    #[prost(string, optional, tag = "160562920")]
    pub order_by: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a page token to use. Set `pageToken` to the
    /// `nextPageToken` returned by a previous list request to get
    /// the next page of results.
    #[prost(string, optional, tag = "19994697")]
    pub page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Opt-in for partial success behavior which provides partial results in case
    /// of failure. The default value is false.
    ///
    /// For example, when partial success behavior is enabled, aggregatedList for a
    /// single zone scope either returns all resources in the zone or no resources,
    /// with an error code.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct LocalDisk {
    /// Specifies the number of such disks.
    #[prost(int32, optional, tag = "182933485")]
    pub disk_count: ::core::option::Option<i32>,
    /// Specifies the size of the disk in base-2 GB.
    #[prost(int32, optional, tag = "316263735")]
    pub disk_size_gb: ::core::option::Option<i32>,
    /// Specifies the desired disk type on the node. This disk type must be a
    /// local storage type (e.g.: local-ssd).
    /// Note that for nodeTemplates, this should be the name of the disk type and
    /// not its URL.
    #[prost(string, optional, tag = "93009052")]
    pub disk_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Provides a localized error message that is safe to return to the user
/// which can be attached to an RPC error.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct LocalizedMessage {
    /// The locale used following the specification defined at
    /// <https://www.rfc-editor.org/rfc/bcp/bcp47.txt.>
    /// Examples are: "en-US", "fr-CH", "es-MX"
    #[prost(string, optional, tag = "513150554")]
    pub locale: ::core::option::Option<::prost::alloc::string::String>,
    /// The localized error message in the above locale.
    #[prost(string, optional, tag = "418054151")]
    pub message: ::core::option::Option<::prost::alloc::string::String>,
}
/// Configuration for location policy among multiple possible locations
/// (e.g. preferences for zone selection among zones in a single region).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LocationPolicy {
    /// Location configurations mapped by location name.
    /// Currently only zone names are supported and must be represented as valid
    /// internal URLs, such as zones/us-central1-a.
    /// The bulkInsert operation doesn't create instances in an AI zone, even if
    /// an AI zone is available in the specified region. For example, if you set a
    /// DENY preference for us-central1-a, Compute Engine will consider
    /// us-central1-b and us-central1-c for instance creation, but not
    /// us-central1-ai1a. Also, you can't use the locations\[\] configuration to
    /// allow instance creation in an AI zone. To include an AI zone in bulkInsert
    /// operations, use the locationPolicy.zones\[\] field.
    #[prost(map = "string, message", tag = "413423454")]
    pub locations: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        LocationPolicyLocation,
    >,
    /// Strategy for distributing VMs across zones in a region.
    /// Check the TargetShape enum for the list of possible values.
    #[prost(string, optional, tag = "338621299")]
    pub target_shape: ::core::option::Option<::prost::alloc::string::String>,
    /// The bulkInsert operation applies any preferences set in the locations
    /// field to the specific zones listed in the zones field if the same zones
    /// are specified in both fields.
    #[prost(message, repeated, tag = "116085319")]
    pub zones: ::prost::alloc::vec::Vec<LocationPolicyZoneConfiguration>,
}
/// Nested message and enum types in `LocationPolicy`.
pub mod location_policy {
    /// Strategy for distributing VMs across zones in a region.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum TargetShape {
        /// A value indicating that the enum field is not set.
        UndefinedTargetShape = 0,
        /// GCE picks zones for creating VM instances to fulfill the requested
        /// number of VMs within present resource constraints and to maximize
        /// utilization of unused zonal reservations. Recommended for batch workloads
        /// that do not require high availability.
        Any = 64972,
        /// GCE always selects a single zone for all the VMs, optimizing for resource
        /// quotas, available reservations and general capacity. Recommended for
        /// batch workloads that cannot tollerate distribution over multiple zones.
        /// This the default shape in Bulk Insert and Capacity Advisor APIs.
        AnySingleZone = 61100880,
        /// GCE prioritizes acquisition of resources, scheduling VMs in zones
        /// where resources are available while distributing VMs as evenly as
        /// possible across allowed zones to minimize the impact of zonal failure.
        /// Recommended for highly available serving workloads.
        Balanced = 468409608,
    }
    impl TargetShape {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedTargetShape => "UNDEFINED_TARGET_SHAPE",
                Self::Any => "ANY",
                Self::AnySingleZone => "ANY_SINGLE_ZONE",
                Self::Balanced => "BALANCED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TARGET_SHAPE" => Some(Self::UndefinedTargetShape),
                "ANY" => Some(Self::Any),
                "ANY_SINGLE_ZONE" => Some(Self::AnySingleZone),
                "BALANCED" => Some(Self::Balanced),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct LocationPolicyLocation {
    /// Constraints that the caller requires on the result distribution
    /// in this zone.
    #[prost(message, optional, tag = "3909174")]
    pub constraints: ::core::option::Option<LocationPolicyLocationConstraints>,
    /// Preference for a given location. Set to either ALLOW orDENY.
    /// Check the Preference enum for the list of possible values.
    #[prost(string, optional, tag = "150781147")]
    pub preference: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `LocationPolicyLocation`.
pub mod location_policy_location {
    /// Preference for a given location. Set to either ALLOW orDENY.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Preference {
        /// A value indicating that the enum field is not set.
        UndefinedPreference = 0,
        /// Location is allowed for use.
        Allow = 62368553,
        /// Location is prohibited.
        Deny = 2094604,
        /// Default value, unused.
        Unspecified = 496219571,
    }
    impl Preference {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPreference => "UNDEFINED_PREFERENCE",
                Self::Allow => "ALLOW",
                Self::Deny => "DENY",
                Self::Unspecified => "PREFERENCE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PREFERENCE" => Some(Self::UndefinedPreference),
                "ALLOW" => Some(Self::Allow),
                "DENY" => Some(Self::Deny),
                "PREFERENCE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Per-zone constraints on location policy for this zone.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct LocationPolicyLocationConstraints {
    /// Maximum number of items that are allowed to be placed in this zone.
    /// The value must be non-negative.
    #[prost(int32, optional, tag = "287620724")]
    pub max_count: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct LocationPolicyZoneConfiguration {
    /// The URL of the zone.
    /// The zone must exist in the region where the request is called.
    /// Zones must be represented as valid partial URLs,
    /// such as zones/us-central1-a.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a machine image resource.
///
/// A machine image is a Compute Engine resource that stores all the
/// configuration, metadata, permissions, and data from one or more disks
/// required to create a Virtual machine (VM) instance. For more information, seeMachine images.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineImage {
    /// Output only. \[Output Only\] The creation timestamp for this machine image inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Input Only\] Whether to attempt an application consistent machine image by
    /// informing the OS to prepare for the snapshot process.
    #[prost(bool, optional, tag = "385550813")]
    pub guest_flush: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] A unique identifier for this machine image. The server
    /// defines this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// \[Output Only\] Properties of source instance
    #[prost(message, optional, tag = "215355165")]
    pub instance_properties: ::core::option::Option<InstanceProperties>,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#machineImage for machine image.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this machine image, which is
    /// essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels.
    ///
    /// To see the latest fingerprint, make get() request to the
    /// machine image.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels to apply to this machine image. These can be later modified by
    /// the setLabels method.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Encrypts the machine image using acustomer-supplied
    /// encryption key.
    ///
    /// After you encrypt a machine image using a customer-supplied key, you must
    /// provide the same key if you use the machine image later. For example, you
    /// must provide the encryption key when you create an instance from the
    /// encrypted machine image in a future request.
    ///
    /// Customer-supplied encryption keys do not protect access to metadata of the
    /// machine image.
    ///
    /// If you do not provide an encryption key when creating the machine image,
    /// then the machine image will be encrypted using an automatically generated
    /// key and you do not need to provide a key to use the machine image later.
    #[prost(message, optional, tag = "528089087")]
    pub machine_image_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// Name of the resource; provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional parameters that are passed in the request, but are
    /// not persisted in the resource.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<MachineImageParams>,
    /// Output only. Reserved for future use.
    #[prost(bool, optional, tag = "480964257")]
    pub satisfies_pzi: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// Output only. An array of Machine Image specific properties for disks attached to the
    /// source instance
    #[prost(message, repeated, tag = "397424318")]
    pub saved_disks: ::prost::alloc::vec::Vec<SavedDisk>,
    /// Output only. \[Output Only\] The URL for this machine image. The server defines this URL.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Input Only\] Thecustomer-supplied
    /// encryption key of the disks attached to the source instance. Required
    /// if the source disk is protected by a customer-supplied encryption key.
    #[prost(message, repeated, tag = "370408498")]
    pub source_disk_encryption_keys: ::prost::alloc::vec::Vec<SourceDiskEncryptionKey>,
    /// The source instance used to create the machine image. You can provide this
    /// as a partial or full URL to the resource. For example, the following are
    /// valid values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance>
    /// - projects/project/zones/zone/instances/instance
    /// ```
    #[prost(string, optional, tag = "396315705")]
    pub source_instance: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] DEPRECATED: Please use instance_properties
    /// instead for source instance related properties. New properties will not be
    /// added to this field.
    #[prost(message, optional, tag = "475195641")]
    pub source_instance_properties: ::core::option::Option<SourceInstanceProperties>,
    /// Output only. \[Output Only\] The status of the machine image. One of the following values:INVALID, CREATING, READY,DELETING, and UPLOADING.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// The regional or multi-regional Cloud Storage bucket location where themachine image is
    /// stored.
    #[prost(string, repeated, tag = "328005274")]
    pub storage_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Total size of the storage used by the machine image.
    #[prost(int64, optional, tag = "81855468")]
    pub total_storage_bytes: ::core::option::Option<i64>,
}
/// Nested message and enum types in `MachineImage`.
pub mod machine_image {
    /// Output only. \[Output Only\] The status of the machine image. One of the following values:INVALID, CREATING, READY,DELETING, and UPLOADING.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Creating = 455564985,
        Deleting = 528602024,
        Invalid = 530283991,
        Ready = 77848963,
        Uploading = 267603489,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Invalid => "INVALID",
                Self::Ready => "READY",
                Self::Uploading => "UPLOADING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "INVALID" => Some(Self::Invalid),
                "READY" => Some(Self::Ready),
                "UPLOADING" => Some(Self::Uploading),
                _ => None,
            }
        }
    }
}
/// A list of machine images.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineImageList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of MachineImage resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<MachineImage>,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#machineImagesListResponse for machine image lists.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Machine Image parameters
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineImageParams {
    /// Input only. Resource manager tags to be bound to the machine image. Tag keys and values
    /// have the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
    /// namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// Represents a Machine Type resource.
///
/// You can use specific machine types for your VM instances based on performance
/// and pricing requirements. For more information, readMachine Types.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineType {
    /// \[Output Only\] A list of accelerator configurations assigned to this
    /// machine type.
    #[prost(message, repeated, tag = "269577064")]
    pub accelerators: ::prost::alloc::vec::Vec<Accelerators>,
    /// \[Output Only\] The architecture of the machine type.
    /// Check the Architecture enum for the list of possible values.
    #[prost(string, optional, tag = "302803283")]
    pub architecture: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The configuration of bundled local SSD for the machine type.
    #[prost(message, optional, tag = "387462016")]
    pub bundled_local_ssds: ::core::option::Option<BundledLocalSsds>,
    /// \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The deprecation status associated with this machine type.
    /// Only applicable if the machine type is unavailable.
    #[prost(message, optional, tag = "515138995")]
    pub deprecated: ::core::option::Option<DeprecationStatus>,
    /// \[Output Only\] An optional textual description of the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The number of virtual CPUs that are available to the
    /// instance.
    #[prost(int32, optional, tag = "393356754")]
    pub guest_cpus: ::core::option::Option<i32>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// \[Deprecated\] This property is deprecated and will never be populated with
    /// any relevant values.
    #[prost(int32, optional, tag = "75331864")]
    pub image_space_gb: ::core::option::Option<i32>,
    /// \[Output Only\] Whether this machine type has a shared CPU. SeeShared-core machine
    /// types for more information.
    #[prost(bool, optional, tag = "521399555")]
    pub is_shared_cpu: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] The type of the resource. Alwayscompute#machineType for machine types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Maximum persistent disks allowed.
    #[prost(int32, optional, tag = "496220941")]
    pub maximum_persistent_disks: ::core::option::Option<i32>,
    /// \[Output Only\] Maximum total persistent disks size (GB) allowed.
    #[prost(int64, optional, tag = "154274471")]
    pub maximum_persistent_disks_size_gb: ::core::option::Option<i64>,
    /// \[Output Only\] The amount of physical memory available to the instance,
    /// defined in MB.
    #[prost(int32, optional, tag = "116001171")]
    pub memory_mb: ::core::option::Option<i32>,
    /// \[Output Only\] Name of the resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The name of the zone where the machine type resides,
    /// such as us-central1-a.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `MachineType`.
pub mod machine_type {
    /// \[Output Only\] The architecture of the machine type.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Architecture {
        /// A value indicating that the enum field is not set.
        UndefinedArchitecture = 0,
        /// Default value indicating Architecture is not set.
        Unspecified = 394750507,
        /// Machines with architecture ARM64
        Arm64 = 62547450,
        /// Machines with architecture X86_64
        X8664 = 425300551,
    }
    impl Architecture {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedArchitecture => "UNDEFINED_ARCHITECTURE",
                Self::Unspecified => "ARCHITECTURE_UNSPECIFIED",
                Self::Arm64 => "ARM64",
                Self::X8664 => "X86_64",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ARCHITECTURE" => Some(Self::UndefinedArchitecture),
                "ARCHITECTURE_UNSPECIFIED" => Some(Self::Unspecified),
                "ARM64" => Some(Self::Arm64),
                "X86_64" => Some(Self::X8664),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineTypeAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of MachineTypesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        MachineTypesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#machineTypeAggregatedList for aggregated lists of
    /// machine types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of machine types.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineTypeList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of MachineType resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<MachineType>,
    /// Output only. \[Output Only\] Type of resource. Always compute#machineTypeList
    /// for lists of machine types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineTypesScopedList {
    /// \[Output Only\] A list of machine types contained in this scope.
    #[prost(message, repeated, tag = "79720065")]
    pub machine_types: ::prost::alloc::vec::Vec<MachineType>,
    /// \[Output Only\] An informational warning that appears when the machine types
    /// list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A Managed Instance resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ManagedInstance {
    /// Output only. \[Output Only\] The current action that the managed instance group has
    /// scheduled for the instance. Possible values:
    ///
    /// ```text
    /// - NONE The instance is running, and the managed
    /// instance group does not have any scheduled actions for this instance.
    /// - CREATING The managed instance group is creating this
    /// instance. If the group fails to create this instance, it will try again
    /// until it is successful.
    /// - CREATING_WITHOUT_RETRIES The managed instance group
    /// is attempting to create this instance only once. If the group fails
    /// to create this instance, it does not try again and the group'stargetSize value is decreased instead.
    /// - RECREATING The managed instance group is recreating
    /// this instance.
    /// - DELETING The managed instance group is permanently
    /// deleting this instance.
    /// - ABANDONING The managed instance group is abandoning
    /// this instance. The instance will be removed from the instance group
    /// and from any target pools that are associated with this group.
    /// - RESTARTING The managed instance group is restarting
    /// the instance.
    /// - REFRESHING The managed instance group is applying
    /// configuration changes to the instance without stopping it. For example,
    /// the group can update the target pool list for an instance without
    /// stopping that instance.
    /// - VERIFYING The managed instance group has created the
    /// instance and it is in the process of being verified.
    /// ```
    ///
    /// Check the CurrentAction enum for the list of possible values.
    #[prost(string, optional, tag = "178475964")]
    pub current_action: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output only\] The unique identifier for this resource. This field is empty
    /// when instance does not exist.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The URL of the instance. The URL can exist even if the
    /// instance has not yet been created.
    #[prost(string, optional, tag = "18257045")]
    pub instance: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Health state of the instance per health-check.
    #[prost(message, repeated, tag = "382667078")]
    pub instance_health: ::prost::alloc::vec::Vec<ManagedInstanceInstanceHealth>,
    /// Output only. \[Output Only\] The status of the instance. This field is empty when
    /// the instance does not exist.
    /// Check the InstanceStatus enum for the list of possible values.
    #[prost(string, optional, tag = "174577372")]
    pub instance_status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Information about the last attempt to create or delete
    /// the instance.
    #[prost(message, optional, tag = "434771492")]
    pub last_attempt: ::core::option::Option<ManagedInstanceLastAttempt>,
    /// Output only. \[Output Only\] The name of the instance. The name always exists even if the
    /// instance has not yet been created.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Preserved state applied from per-instance config
    /// for this instance.
    #[prost(message, optional, tag = "98661858")]
    pub preserved_state_from_config: ::core::option::Option<PreservedState>,
    /// Output only. \[Output Only\] Preserved state generated based on stateful policy
    /// for this instance.
    #[prost(message, optional, tag = "470783954")]
    pub preserved_state_from_policy: ::core::option::Option<PreservedState>,
    /// Output only. \[Output Only\] Instance properties selected for this instance resulting from
    /// InstanceFlexibilityPolicy.
    #[prost(message, optional, tag = "155525825")]
    pub properties_from_flexibility_policy: ::core::option::Option<
        ManagedInstancePropertiesFromFlexibilityPolicy,
    >,
    /// Output only. \[Output Only\] Intended version of this instance.
    #[prost(message, optional, tag = "351608024")]
    pub version: ::core::option::Option<ManagedInstanceVersion>,
}
/// Nested message and enum types in `ManagedInstance`.
pub mod managed_instance {
    /// Output only. \[Output Only\] The current action that the managed instance group has
    /// scheduled for the instance. Possible values:
    ///
    /// ```text
    /// - NONE The instance is running, and the managed
    /// instance group does not have any scheduled actions for this instance.
    /// - CREATING The managed instance group is creating this
    /// instance. If the group fails to create this instance, it will try again
    /// until it is successful.
    /// - CREATING_WITHOUT_RETRIES The managed instance group
    /// is attempting to create this instance only once. If the group fails
    /// to create this instance, it does not try again and the group'stargetSize value is decreased instead.
    /// - RECREATING The managed instance group is recreating
    /// this instance.
    /// - DELETING The managed instance group is permanently
    /// deleting this instance.
    /// - ABANDONING The managed instance group is abandoning
    /// this instance. The instance will be removed from the instance group
    /// and from any target pools that are associated with this group.
    /// - RESTARTING The managed instance group is restarting
    /// the instance.
    /// - REFRESHING The managed instance group is applying
    /// configuration changes to the instance without stopping it. For example,
    /// the group can update the target pool list for an instance without
    /// stopping that instance.
    /// - VERIFYING The managed instance group has created the
    /// instance and it is in the process of being verified.
    /// ```
    ///
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// STOPPING
    /// SUSPENDING
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CurrentAction {
        /// A value indicating that the enum field is not set.
        UndefinedCurrentAction = 0,
        /// The managed instance group is abandoning this instance. The instance
        /// will be removed from the instance group and from any target pools that
        /// are associated with this group.
        Abandoning = 388244813,
        /// The managed instance group is creating this instance. If the group
        /// fails to create this instance, it will try again until it is
        /// successful.
        Creating = 455564985,
        /// The managed instance group is attempting to create this instance
        /// only once. If the group fails to create this instance, it does
        /// not try again and the group's targetSize value is
        /// decreased.
        CreatingWithoutRetries = 428843785,
        /// The managed instance group is permanently deleting this instance.
        Deleting = 528602024,
        /// The managed instance group has not scheduled any actions for this
        /// instance.
        None = 2402104,
        /// The managed instance group is recreating this instance.
        Recreating = 287278572,
        /// The managed instance group is applying configuration changes to the
        /// instance without stopping it. For example, the group can update the
        /// target pool list for an instance without stopping that instance.
        Refreshing = 163266343,
        /// The managed instance group is restarting this instance.
        Restarting = 320534387,
        /// The managed instance group is resuming this instance.
        Resuming = 446856618,
        /// The managed instance group is starting this instance.
        Starting = 488820800,
        /// The managed instance group is verifying this already created instance.
        /// Verification happens every time the instance is (re)created or restarted
        /// and consists of:
        ///
        /// 1. Waiting until health check specified as part of this managed instance
        ///    group's autohealing policy reports HEALTHY.
        ///    Note: Applies only if autohealing policy has a health check specified
        /// 1. Waiting for addition verification steps performed as post-instance
        ///    creation (subject to future extensions).
        Verifying = 16982185,
    }
    impl CurrentAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCurrentAction => "UNDEFINED_CURRENT_ACTION",
                Self::Abandoning => "ABANDONING",
                Self::Creating => "CREATING",
                Self::CreatingWithoutRetries => "CREATING_WITHOUT_RETRIES",
                Self::Deleting => "DELETING",
                Self::None => "NONE",
                Self::Recreating => "RECREATING",
                Self::Refreshing => "REFRESHING",
                Self::Restarting => "RESTARTING",
                Self::Resuming => "RESUMING",
                Self::Starting => "STARTING",
                Self::Verifying => "VERIFYING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CURRENT_ACTION" => Some(Self::UndefinedCurrentAction),
                "ABANDONING" => Some(Self::Abandoning),
                "CREATING" => Some(Self::Creating),
                "CREATING_WITHOUT_RETRIES" => Some(Self::CreatingWithoutRetries),
                "DELETING" => Some(Self::Deleting),
                "NONE" => Some(Self::None),
                "RECREATING" => Some(Self::Recreating),
                "REFRESHING" => Some(Self::Refreshing),
                "RESTARTING" => Some(Self::Restarting),
                "RESUMING" => Some(Self::Resuming),
                "STARTING" => Some(Self::Starting),
                "VERIFYING" => Some(Self::Verifying),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of the instance. This field is empty when
    /// the instance does not exist.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// STOPPING
    /// SUSPENDING
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum InstanceStatus {
        /// A value indicating that the enum field is not set.
        UndefinedInstanceStatus = 0,
        /// The instance is halted and we are performing tear down tasks like network
        /// deprogramming, releasing quota, IP, tearing down disks etc.
        Deprovisioning = 428935662,
        /// For Flex Start provisioning instance is waiting for available capacity
        /// from Dynamic Workload Scheduler (DWS).
        Pending = 35394935,
        /// Resources are being allocated for the instance.
        Provisioning = 290896621,
        /// The instance is in repair.
        Repairing = 413483285,
        /// The instance is running.
        Running = 121282975,
        /// All required resources have been allocated and the instance
        /// is being started.
        Staging = 431072283,
        /// The instance has stopped successfully.
        Stopped = 444276141,
        Stopping = 350791796,
        /// The instance has suspended.
        Suspended = 51223995,
        Suspending = 514206246,
        /// The instance has stopped (either by explicit action or underlying
        /// failure).
        Terminated = 250018339,
    }
    impl InstanceStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInstanceStatus => "UNDEFINED_INSTANCE_STATUS",
                Self::Deprovisioning => "DEPROVISIONING",
                Self::Pending => "PENDING",
                Self::Provisioning => "PROVISIONING",
                Self::Repairing => "REPAIRING",
                Self::Running => "RUNNING",
                Self::Staging => "STAGING",
                Self::Stopped => "STOPPED",
                Self::Stopping => "STOPPING",
                Self::Suspended => "SUSPENDED",
                Self::Suspending => "SUSPENDING",
                Self::Terminated => "TERMINATED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INSTANCE_STATUS" => Some(Self::UndefinedInstanceStatus),
                "DEPROVISIONING" => Some(Self::Deprovisioning),
                "PENDING" => Some(Self::Pending),
                "PROVISIONING" => Some(Self::Provisioning),
                "REPAIRING" => Some(Self::Repairing),
                "RUNNING" => Some(Self::Running),
                "STAGING" => Some(Self::Staging),
                "STOPPED" => Some(Self::Stopped),
                "STOPPING" => Some(Self::Stopping),
                "SUSPENDED" => Some(Self::Suspended),
                "SUSPENDING" => Some(Self::Suspending),
                "TERMINATED" => Some(Self::Terminated),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ManagedInstanceInstanceHealth {
    /// Output only. \[Output Only\] The current detailed instance health state.
    /// Check the DetailedHealthState enum for the list of possible values.
    #[prost(string, optional, tag = "510470173")]
    pub detailed_health_state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL for the health check that verifies whether the
    /// instance is healthy.
    #[prost(string, optional, tag = "308876645")]
    pub health_check: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ManagedInstanceInstanceHealth`.
pub mod managed_instance_instance_health {
    /// Output only. \[Output Only\] The current detailed instance health state.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DetailedHealthState {
        /// A value indicating that the enum field is not set.
        UndefinedDetailedHealthState = 0,
        /// The instance is being drained. The existing connections to the instance
        /// have time to complete, but the new ones are being refused.
        Draining = 480455402,
        /// The instance is reachable i.e. a connection to the application health
        /// checking endpoint can be established, and conforms to the requirements
        /// defined by the health check.
        Healthy = 439801213,
        /// The instance is unreachable i.e. a connection to the application health
        /// checking endpoint cannot be established, or the server does not respond
        /// within the specified timeout.
        Timeout = 477813057,
        /// The instance is reachable, but does not conform to the requirements
        /// defined by the health check.
        Unhealthy = 462118084,
        /// The health checking system is aware of the instance but its health is
        /// not known at the moment.
        Unknown = 433141802,
    }
    impl DetailedHealthState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDetailedHealthState => "UNDEFINED_DETAILED_HEALTH_STATE",
                Self::Draining => "DRAINING",
                Self::Healthy => "HEALTHY",
                Self::Timeout => "TIMEOUT",
                Self::Unhealthy => "UNHEALTHY",
                Self::Unknown => "UNKNOWN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DETAILED_HEALTH_STATE" => {
                    Some(Self::UndefinedDetailedHealthState)
                }
                "DRAINING" => Some(Self::Draining),
                "HEALTHY" => Some(Self::Healthy),
                "TIMEOUT" => Some(Self::Timeout),
                "UNHEALTHY" => Some(Self::Unhealthy),
                "UNKNOWN" => Some(Self::Unknown),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ManagedInstanceLastAttempt {
    /// Output only. \[Output Only\] Encountered errors during the last attempt to create or
    /// delete the instance.
    #[prost(message, optional, tag = "315977579")]
    pub errors: ::core::option::Option<ManagedInstanceLastAttemptErrors>,
}
/// Output only. \[Output Only\] Encountered errors during the last attempt to create or
/// delete the instance.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ManagedInstanceLastAttemptErrors {
    /// \[Output Only\] The array of errors encountered while processing this
    /// operation.
    #[prost(message, repeated, tag = "315977579")]
    pub errors: ::prost::alloc::vec::Vec<Errors>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ManagedInstancePropertiesFromFlexibilityPolicy {
    /// Output only. The machine type to be used for this instance.
    #[prost(string, optional, tag = "227711026")]
    pub machine_type: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ManagedInstanceVersion {
    /// Output only. \[Output Only\] The intended template of the instance. This field is empty
    /// when current_action is one of { DELETING, ABANDONING }.
    #[prost(string, optional, tag = "309248228")]
    pub instance_template: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Name of the version.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
/// A metadata key/value entry.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Metadata {
    /// Specifies a fingerprint for this request, which is essentially a hash of
    /// the metadata's contents and used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update metadata. You must always provide an
    /// up-to-date fingerprint hash in order to update or change metadata,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve the resource.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Array of key/value pairs. The total size of all keys and values must be
    /// less than 512 KB.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Items>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#metadata
    /// for metadata.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
}
/// Opaque filter criteria used by load balancers to restrict routing
/// configuration to a limited set of load balancing proxies. Proxies and
/// sidecars involved in load balancing would typically present metadata to the
/// load balancers that need to match criteria specified here. If a match takes
/// place, the relevant configuration is made available to those
/// proxies.
///
/// For each metadataFilter in this list, if itsfilterMatchCriteria is set to MATCH_ANY, at least
/// one of thefilterLabels must match the corresponding label provided in
/// the metadata. If its filterMatchCriteria is set to
/// MATCH_ALL, then all of its filterLabels must match with
/// corresponding labels provided in the metadata.
///
/// An example for using metadataFilters would be: if
/// load balancing involves
/// Envoys, they receive routing configuration when values inmetadataFilters match values supplied in  of their XDS requests to loadbalancers.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MetadataFilter {
    /// The list of label value pairs that must match labels in the provided
    /// metadata based on filterMatchCriteria
    ///
    /// This list must not be empty and can have at the most 64 entries.
    #[prost(message, repeated, tag = "307903142")]
    pub filter_labels: ::prost::alloc::vec::Vec<MetadataFilterLabelMatch>,
    /// Specifies how individual filter label matches
    /// within the list of filterLabels and contributes toward the
    /// overall metadataFilter match.
    ///
    /// Supported values are:
    ///
    /// ```text
    /// - MATCH_ANY: at least one of the filterLabels
    /// must have a matching label in the provided metadata.
    /// - MATCH_ALL: all filterLabels must have
    /// matching labels in the provided metadata.
    /// ```
    ///
    /// Check the FilterMatchCriteria enum for the list of possible values.
    #[prost(string, optional, tag = "239970368")]
    pub filter_match_criteria: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `MetadataFilter`.
pub mod metadata_filter {
    /// Specifies how individual filter label matches
    /// within the list of filterLabels and contributes toward the
    /// overall metadataFilter match.
    ///
    /// Supported values are:
    ///
    /// ```text
    /// - MATCH_ANY: at least one of the filterLabels
    /// must have a matching label in the provided metadata.
    /// - MATCH_ALL: all filterLabels must have
    /// matching labels in the provided metadata.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum FilterMatchCriteria {
        /// A value indicating that the enum field is not set.
        UndefinedFilterMatchCriteria = 0,
        /// Specifies that all filterLabels must match for themetadataFilter to be considered a match.
        MatchAll = 180663271,
        /// Specifies that any filterLabel must match for themetadataFilter to be considered a match.
        MatchAny = 180663346,
        /// Indicates that the match criteria was not set. AmetadataFilter must never be created with this value.
        NotSet = 163646646,
    }
    impl FilterMatchCriteria {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedFilterMatchCriteria => "UNDEFINED_FILTER_MATCH_CRITERIA",
                Self::MatchAll => "MATCH_ALL",
                Self::MatchAny => "MATCH_ANY",
                Self::NotSet => "NOT_SET",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_FILTER_MATCH_CRITERIA" => {
                    Some(Self::UndefinedFilterMatchCriteria)
                }
                "MATCH_ALL" => Some(Self::MatchAll),
                "MATCH_ANY" => Some(Self::MatchAny),
                "NOT_SET" => Some(Self::NotSet),
                _ => None,
            }
        }
    }
}
/// MetadataFilter label name value pairs that are expected
/// to match corresponding labels presented as metadata to the load balancer.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct MetadataFilterLabelMatch {
    /// Name of metadata label.
    ///
    /// The name can have a maximum length of 1024 characters and must be at
    /// least 1 character long.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The value of the label must match the specified value.
    ///
    /// value can have a maximum length of 1024 characters.
    #[prost(string, optional, tag = "111972721")]
    pub value: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Addresses.Move. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct MoveAddressRequest {
    /// Name of the address resource to move.
    #[prost(string, tag = "462920692")]
    pub address: ::prost::alloc::string::String,
    /// Source project ID which the Address is moved from.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "409081924")]
    pub region_addresses_move_request_resource: ::core::option::Option<
        RegionAddressesMoveRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Projects.MoveDisk. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct MoveDiskProjectRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "313008458")]
    pub disk_move_request_resource: ::core::option::Option<DiskMoveRequest>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for FirewallPolicies.Move. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct MoveFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The new parent of the firewall policy. The ID can be either be
    /// "folders/\[FOLDER_ID\]" if the parent is a folder or
    /// "organizations/\[ORGANIZATION_ID\]" if the parent is an organization.
    #[prost(string, tag = "459714768")]
    pub parent_id: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for GlobalAddresses.Move. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct MoveGlobalAddressRequest {
    /// Name of the address resource to move.
    #[prost(string, tag = "462920692")]
    pub address: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "302807283")]
    pub global_addresses_move_request_resource: ::core::option::Option<
        GlobalAddressesMoveRequest,
    >,
    /// Source project ID which the Address is moved from.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Projects.MoveInstance. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct MoveInstanceProjectRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "311664194")]
    pub instance_move_request_resource: ::core::option::Option<InstanceMoveRequest>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for OrganizationSecurityPolicies.Move. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct MoveOrganizationSecurityPolicyRequest {
    /// The new parent of the security policy.
    #[prost(string, optional, tag = "459714768")]
    pub parent_id: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// The named port. For example: \<"http", 80>.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NamedPort {
    /// The name for this named port.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The port number, which can be a value between 1 and 65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
}
/// Contains NAT IP information of a NAT config (i.e. usage status, mode).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NatIpInfo {
    /// Output only. A list of all NAT IPs assigned to this NAT config.
    #[prost(message, repeated, tag = "241401884")]
    pub nat_ip_info_mappings: ::prost::alloc::vec::Vec<NatIpInfoNatIpInfoMapping>,
    /// Output only. Name of the NAT config which the NAT IP belongs to.
    #[prost(string, optional, tag = "425596649")]
    pub nat_name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains information of a NAT IP.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NatIpInfoNatIpInfoMapping {
    /// Output only. Specifies whether NAT IP is auto or manual.
    /// Check the Mode enum for the list of possible values.
    #[prost(string, optional, tag = "3357091")]
    pub mode: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. NAT IP address. For example: 203.0.113.11.
    #[prost(string, optional, tag = "21113093")]
    pub nat_ip: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Specifies whether NAT IP is currently serving at least one endpoint or
    /// not.
    /// Check the Usage enum for the list of possible values.
    #[prost(string, optional, tag = "111574433")]
    pub usage: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NatIpInfoNatIpInfoMapping`.
pub mod nat_ip_info_nat_ip_info_mapping {
    /// Output only. Specifies whether NAT IP is auto or manual.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Mode {
        /// A value indicating that the enum field is not set.
        UndefinedMode = 0,
        Auto = 2020783,
        Manual = 119397318,
    }
    impl Mode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMode => "UNDEFINED_MODE",
                Self::Auto => "AUTO",
                Self::Manual => "MANUAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MODE" => Some(Self::UndefinedMode),
                "AUTO" => Some(Self::Auto),
                "MANUAL" => Some(Self::Manual),
                _ => None,
            }
        }
    }
    /// Output only. Specifies whether NAT IP is currently serving at least one endpoint or
    /// not.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Usage {
        /// A value indicating that the enum field is not set.
        UndefinedUsage = 0,
        InUse = 17393485,
        Unused = 360643030,
    }
    impl Usage {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedUsage => "UNDEFINED_USAGE",
                Self::InUse => "IN_USE",
                Self::Unused => "UNUSED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_USAGE" => Some(Self::UndefinedUsage),
                "IN_USE" => Some(Self::InUse),
                "UNUSED" => Some(Self::Unused),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NatIpInfoResponse {
    /// \[Output Only\] A list of NAT IP information.
    #[prost(message, repeated, tag = "139315229")]
    pub result: ::prost::alloc::vec::Vec<NatIpInfo>,
}
/// Represents a VPC Network resource.
///
/// Networks connect resources to each other and to the internet. For more
/// information, readVirtual Private Cloud (VPC) Network.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Network {
    /// Deprecated in favor of subnet mode networks.
    /// The range of internal addresses that are legal on this network. This
    /// range is aCIDR specification, for example:192.168.0.0/16. Provided by the client when the network is
    /// created.
    #[prost(string, optional, tag = "59234358")]
    pub i_pv4_range: ::core::option::Option<::prost::alloc::string::String>,
    /// Must be set to create a VPC network. If not set, a legacy network is
    /// created.
    ///
    /// When set to true, the VPC network is created in auto mode.
    /// When set to false, the VPC network is created in custom mode.
    ///
    /// An auto mode VPC network starts with one subnet per region. Each subnet
    /// has a predetermined range as described inAuto mode VPC network IP ranges.
    ///
    /// For custom mode VPC networks, you can add subnets using the subnetworksinsert
    /// method.
    #[prost(bool, optional, tag = "256156690")]
    pub auto_create_subnetworks: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this field when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Enable ULA internal ipv6 on this network. Enabling this feature will assign
    /// a /48 from google defined ULA prefix fd20::/20.
    /// .
    #[prost(bool, optional, tag = "423757720")]
    pub enable_ula_internal_ipv6: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] URL of the firewall policy the network is associated with.
    #[prost(string, optional, tag = "498173265")]
    pub firewall_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The gateway address for default routing out of the network,
    /// selected by Google Cloud.
    #[prost(string, optional, tag = "178678877")]
    pub gateway_i_pv4: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// When enabling ula internal ipv6, caller optionally can specify the /48
    /// range they want from the google defined ULA prefix fd20::/20. The input
    /// must be a valid /48 ULA IPv6 address and must be within the fd20::/20.
    /// Operation will fail if the speficied /48 is already in used by another
    /// resource. If the field is not speficied, then a /48 range will be randomly
    /// allocated from fd20::/20 and returned via this field.
    /// .
    #[prost(string, optional, tag = "277456807")]
    pub internal_ipv6_range: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#network for
    /// networks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Maximum Transmission Unit in bytes.
    /// The minimum value for this field is 1300 and the maximum value is 8896.
    /// The suggested value is 1500, which is the default MTU used on the
    /// Internet, or 8896 if you want to use Jumbo frames. If unspecified, the
    /// value defaults to 1460.
    #[prost(int32, optional, tag = "108462")]
    pub mtu: ::core::option::Option<i32>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?`. The first character must be a
    /// lowercase letter, and all following characters (except for the last
    /// character) must be a dash, lowercase letter, or digit. The last character
    /// must be a lowercase letter or digit.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The network firewall policy enforcement order. Can be either
    /// AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to
    /// AFTER_CLASSIC_FIREWALL if the field is not specified.
    /// Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
    #[prost(string, optional, tag = "6504784")]
    pub network_firewall_policy_enforcement_order: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// A full or partial URL of the network profile to apply to this network.
    /// This field can be set only at resource creation time. For example, the
    /// following are valid URLs:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name}>
    /// - projects/{project_id}/global/networkProfiles/{network_profile_name}
    /// ```
    #[prost(string, optional, tag = "173112472")]
    pub network_profile: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<NetworkParams>,
    /// Output only. \[Output Only\] A list of network peerings for the resource.
    #[prost(message, repeated, tag = "69883187")]
    pub peerings: ::prost::alloc::vec::Vec<NetworkPeering>,
    /// The network-level routing configuration for this network.  Used by Cloud
    /// Router to determine what type of network-wide routing behavior to enforce.
    #[prost(message, optional, tag = "523556059")]
    pub routing_config: ::core::option::Option<NetworkRoutingConfig>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined fully-qualified URLs for all subnetworks
    /// in this VPC network.
    #[prost(string, repeated, tag = "415853125")]
    pub subnetworks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Network`.
pub mod network {
    /// The network firewall policy enforcement order. Can be either
    /// AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to
    /// AFTER_CLASSIC_FIREWALL if the field is not specified.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NetworkFirewallPolicyEnforcementOrder {
        /// A value indicating that the enum field is not set.
        UndefinedNetworkFirewallPolicyEnforcementOrder = 0,
        AfterClassicFirewall = 154582608,
        BeforeClassicFirewall = 338458349,
    }
    impl NetworkFirewallPolicyEnforcementOrder {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNetworkFirewallPolicyEnforcementOrder => {
                    "UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER"
                }
                Self::AfterClassicFirewall => "AFTER_CLASSIC_FIREWALL",
                Self::BeforeClassicFirewall => "BEFORE_CLASSIC_FIREWALL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER" => {
                    Some(Self::UndefinedNetworkFirewallPolicyEnforcementOrder)
                }
                "AFTER_CLASSIC_FIREWALL" => Some(Self::AfterClassicFirewall),
                "BEFORE_CLASSIC_FIREWALL" => Some(Self::BeforeClassicFirewall),
                _ => None,
            }
        }
    }
}
/// NetworkAttachments
/// A network attachment resource ...
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkAttachment {
    /// Output only. \[Output Only\] An array of connections for all the producers connected
    /// to this network attachment.
    #[prost(message, repeated, tag = "326078813")]
    pub connection_endpoints: ::prost::alloc::vec::Vec<
        NetworkAttachmentConnectedEndpoint,
    >,
    /// Check the ConnectionPreference enum for the list of possible values.
    #[prost(string, optional, tag = "285818076")]
    pub connection_preference: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored
    /// in this object. This field is used in optimistic locking. An up-to-date
    /// fingerprint must be provided in order to patch.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL of the network which the Network Attachment
    /// belongs to. Practically it is inferred by fetching the network of the first
    /// subnetwork associated. Because it is required that all the subnetworks must
    /// be from the same network, it is assured that the Network Attachment belongs
    /// to the same network as all the subnetworks.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Projects that are allowed to connect to this network attachment.
    /// The project can be specified using its id or number.
    #[prost(string, repeated, tag = "202804523")]
    pub producer_accept_lists: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Projects that are not allowed to connect to this network attachment.
    /// The project can be specified using its id or number.
    #[prost(string, repeated, tag = "4112002")]
    pub producer_reject_lists: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the network attachment resides.
    /// This field applies only to the region resource. You must specify this
    /// field as part of the HTTP request URL. It is not settable as a field in
    /// the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource's resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// An array of URLs where each entry is the URL of a subnet
    /// provided by the service consumer to use for
    /// endpoints in the producers that connect to this network attachment.
    #[prost(string, repeated, tag = "415853125")]
    pub subnetworks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkAttachment`.
pub mod network_attachment {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ConnectionPreference {
        /// A value indicating that the enum field is not set.
        UndefinedConnectionPreference = 0,
        AcceptAutomatic = 75250580,
        AcceptManual = 373061341,
        Invalid = 530283991,
    }
    impl ConnectionPreference {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedConnectionPreference => "UNDEFINED_CONNECTION_PREFERENCE",
                Self::AcceptAutomatic => "ACCEPT_AUTOMATIC",
                Self::AcceptManual => "ACCEPT_MANUAL",
                Self::Invalid => "INVALID",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CONNECTION_PREFERENCE" => {
                    Some(Self::UndefinedConnectionPreference)
                }
                "ACCEPT_AUTOMATIC" => Some(Self::AcceptAutomatic),
                "ACCEPT_MANUAL" => Some(Self::AcceptManual),
                "INVALID" => Some(Self::Invalid),
                _ => None,
            }
        }
    }
}
/// Contains a list of NetworkAttachmentsScopedList.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkAttachmentAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NetworkAttachmentsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        NetworkAttachmentsScopedList,
    >,
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// \[Output Only\] A connection connected to this network attachment.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkAttachmentConnectedEndpoint {
    /// The IPv4 address assigned to the producer instance network interface.
    /// This value will be a range in case of Serverless.
    #[prost(string, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// The IPv6 address assigned to the producer instance network interface.
    /// This is only assigned when the stack types of both the instance network
    /// interface and the consumer subnet are IPv4_IPv6.
    #[prost(string, optional, tag = "341563804")]
    pub ipv6_address: ::core::option::Option<::prost::alloc::string::String>,
    /// The project id or number of the interface to which the IP was assigned.
    #[prost(string, optional, tag = "349783336")]
    pub project_id_or_num: ::core::option::Option<::prost::alloc::string::String>,
    /// Alias IP ranges from the same subnetwork.
    #[prost(string, repeated, tag = "117184788")]
    pub secondary_ip_cidr_ranges: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// The service class id of the producer service to which the IP was
    /// assigned.
    #[prost(string, optional, tag = "422763404")]
    pub service_class_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The status of a connected endpoint to this network attachment.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// The subnetwork used to assign the IP to the producer
    /// instance network interface.
    #[prost(string, optional, tag = "307827694")]
    pub subnetwork: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The CIDR range of the subnet from which the IPv4 internal
    /// IP was allocated from.
    #[prost(string, optional, tag = "383249827")]
    pub subnetwork_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkAttachmentConnectedEndpoint`.
pub mod network_attachment_connected_endpoint {
    /// The status of a connected endpoint to this network attachment.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The consumer allows traffic from the producer to reach its VPC.
        Accepted = 246714279,
        /// The consumer network attachment no longer exists.
        Closed = 380163436,
        /// The consumer needs to take further action before traffic can be served.
        NeedsAttention = 344491452,
        /// The consumer neither allows nor prohibits traffic
        /// from the producer to reach its VPC.
        Pending = 35394935,
        /// The consumer prohibits traffic from the producer to reach its VPC.
        Rejected = 174130302,
        Unspecified = 42133066,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Accepted => "ACCEPTED",
                Self::Closed => "CLOSED",
                Self::NeedsAttention => "NEEDS_ATTENTION",
                Self::Pending => "PENDING",
                Self::Rejected => "REJECTED",
                Self::Unspecified => "STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "ACCEPTED" => Some(Self::Accepted),
                "CLOSED" => Some(Self::Closed),
                "NEEDS_ATTENTION" => Some(Self::NeedsAttention),
                "PENDING" => Some(Self::Pending),
                "REJECTED" => Some(Self::Rejected),
                "STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkAttachmentList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NetworkAttachment resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<NetworkAttachment>,
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkAttachmentsScopedList {
    /// A list of NetworkAttachments contained in this scope.
    #[prost(message, repeated, tag = "521514783")]
    pub network_attachments: ::prost::alloc::vec::Vec<NetworkAttachment>,
    /// Informational warning which replaces the list of
    /// network attachments when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a Google Cloud Armor network edge security service resource.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkEdgeSecurityService {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be
    /// provided in order to update the NetworkEdgeSecurityService,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a NetworkEdgeSecurityService.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output only\] Type of the resource. Alwayscompute#networkEdgeSecurityService for
    /// NetworkEdgeSecurityServices
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the resource resides. You must
    /// specify this field as part of the HTTP request URL. It is not settable as a
    /// field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// The resource URL for the network edge security service associated with this
    /// network edge security service.
    #[prost(string, optional, tag = "171082513")]
    pub security_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEdgeSecurityServiceAggregatedList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NetworkEdgeSecurityServicesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        NetworkEdgeSecurityServicesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#networkEdgeSecurityServiceAggregatedList for lists of
    /// Network Edge Security Services.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEdgeSecurityServicesScopedList {
    /// A list of NetworkEdgeSecurityServices contained in this scope.
    #[prost(message, repeated, tag = "35530156")]
    pub network_edge_security_services: ::prost::alloc::vec::Vec<
        NetworkEdgeSecurityService,
    >,
    /// Informational warning which replaces the list of
    /// security policies when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// The network endpoint.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpoint {
    /// Optional metadata defined as annotations on the network endpoint.
    #[prost(map = "string, string", tag = "112032548")]
    pub annotations: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Represents the port number to which PSC consumer sends packets.
    ///
    /// Optional. Only valid for network endpoint groups created withGCE_VM_IP_PORTMAP endpoint type.
    #[prost(int32, optional, tag = "123765766")]
    pub client_destination_port: ::core::option::Option<i32>,
    /// Optional fully qualified domain name of network endpoint. This can only be
    /// specified when NetworkEndpointGroup.network_endpoint_type isNON_GCP_FQDN_PORT.
    #[prost(string, optional, tag = "3150485")]
    pub fqdn: ::core::option::Option<::prost::alloc::string::String>,
    /// The name or a URL of VM instance of this network endpoint.
    /// Optional, the field presence depends on the network endpoint type. The
    /// field is required for network endpoints of type GCE_VM_IP andGCE_VM_IP_PORT.
    ///
    /// The instance must be in the same zone of network endpoint group (for zonal
    /// NEGs) or in the zone within the region of the NEG (for regional NEGs).
    /// If the ipAddress is specified, it must belongs to the VM
    /// instance.
    ///
    /// The name must be 1-63 characters long, and comply withRFC1035
    /// or be a valid URL pointing to an existing instance.
    #[prost(string, optional, tag = "18257045")]
    pub instance: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional IPv4 address of network endpoint. The IP address must belong to a
    /// VM in Compute Engine (either the primary IP or as part of an aliased IP
    /// range). If the IP address is not specified, then the primary IP address for
    /// the VM instance in the network that the network endpoint group belongs to
    /// will be used.
    ///
    /// This field is redundant and need not be set for network endpoints of typeGCE_VM_IP. If set, it must be set to the primary internal IP
    /// address of the attached VM instance that matches the subnetwork of the NEG.
    /// The primary internal IP address from any NIC of a multi-NIC VM instance can
    /// be added to a NEG as long as it matches the NEG subnetwork.
    #[prost(string, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional IPv6 address of network endpoint.
    #[prost(string, optional, tag = "341563804")]
    pub ipv6_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional port number of network endpoint. If not specified, the
    /// defaultPort for the network endpoint group will be used.
    ///
    /// This field can not be set for network endpoints of typeGCE_VM_IP.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
}
/// Represents a collection of network endpoints.
///
/// A network endpoint group (NEG) defines how a set of endpoints should be
/// reached, whether they are reachable, and where they are located.
/// For more information about using NEGs for different use cases, seeNetwork endpoint groups overview.
///
/// Note: Use the following APIs to manage network endpoint groups:
///
/// ```text
/// -
/// To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity
/// NEGs): zonal
/// API
/// -
/// To manage NEGs with regional scope (such as regional internet NEGs,
/// serverless NEGs, Private Service Connect NEGs): regional
/// API
/// -
/// To manage NEGs with global scope (such as global internet NEGs):global
/// API
/// ```
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpointGroup {
    /// Optional. Metadata defined as annotations on the network endpoint group.
    #[prost(map = "string, string", tag = "112032548")]
    pub annotations: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.
    #[prost(message, optional, tag = "340788768")]
    pub app_engine: ::core::option::Option<NetworkEndpointGroupAppEngine>,
    /// Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.
    #[prost(message, optional, tag = "519893666")]
    pub cloud_function: ::core::option::Option<NetworkEndpointGroupCloudFunction>,
    /// Optional. Only valid when networkEndpointType isSERVERLESS. Only one of cloudRun,appEngine or cloudFunction may be set.
    #[prost(message, optional, tag = "111060353")]
    pub cloud_run: ::core::option::Option<NetworkEndpointGroupCloudRun>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// The default port used if the port number is not specified in the network
    /// endpoint.
    ///
    /// Optional. If the network endpoint type is either GCE_VM_IP,SERVERLESS or PRIVATE_SERVICE_CONNECT, this
    /// field must not be specified.
    #[prost(int32, optional, tag = "423377855")]
    pub default_port: ::core::option::Option<i32>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#networkEndpointGroup for network endpoint group.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource; provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the network to which all network endpoints in the NEG belong.
    /// Uses default project network if unspecified.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Type of network endpoints in this network endpoint group. Can be one ofGCE_VM_IP, GCE_VM_IP_PORT,NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,INTERNET_IP_PORT, SERVERLESS,PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
    /// Check the NetworkEndpointType enum for the list of possible values.
    #[prost(string, optional, tag = "118301523")]
    pub network_endpoint_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.
    #[prost(message, optional, tag = "71937481")]
    pub psc_data: ::core::option::Option<NetworkEndpointGroupPscData>,
    /// The target service url used to set up private service connection to
    /// a Google API or a PSC Producer Service Attachment.
    /// An example value is: asia-northeast3-cloudkms.googleapis.com.
    ///
    /// Optional. Only valid when networkEndpointType isPRIVATE_SERVICE_CONNECT.
    #[prost(string, optional, tag = "269132134")]
    pub psc_target_service: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL of theregion
    /// where the network endpoint group is located.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output only\] Number of network endpoints in the network endpoint group.
    #[prost(int32, optional, tag = "3530753")]
    pub size: ::core::option::Option<i32>,
    /// Optional URL of the subnetwork to which all network endpoints in the NEG
    /// belong.
    #[prost(string, optional, tag = "307827694")]
    pub subnetwork: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL of thezone
    /// where the network endpoint group is located.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkEndpointGroup`.
pub mod network_endpoint_group {
    /// Type of network endpoints in this network endpoint group. Can be one ofGCE_VM_IP, GCE_VM_IP_PORT,NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,INTERNET_IP_PORT, SERVERLESS,PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NetworkEndpointType {
        /// A value indicating that the enum field is not set.
        UndefinedNetworkEndpointType = 0,
        /// The network endpoint is represented by an IP address.
        GceVmIp = 401880793,
        /// The network endpoint is represented by IP address and port pair.
        GceVmIpPort = 501838375,
        /// The network endpoint is represented by an IP, Port and Client Destination
        /// Port.
        GceVmIpPortmap = 22819253,
        /// The network endpoint is represented by fully qualified domain name and
        /// port.
        InternetFqdnPort = 404154477,
        /// The network endpoint is represented by an internet IP address and port.
        InternetIpPort = 477719963,
        /// The network endpoint is represented by an IP address and port. The
        /// endpoint belongs to a VM or pod running in a customer's on-premises.
        NonGcpPrivateIpPort = 336447968,
        /// The network endpoint is either public Google APIs or
        /// services exposed by other GCP Project with a Service Attachment.
        /// The connection is set up by private service connect
        PrivateServiceConnect = 48134724,
        /// The network endpoint is handled by specified serverless infrastructure.
        Serverless = 270492508,
    }
    impl NetworkEndpointType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNetworkEndpointType => "UNDEFINED_NETWORK_ENDPOINT_TYPE",
                Self::GceVmIp => "GCE_VM_IP",
                Self::GceVmIpPort => "GCE_VM_IP_PORT",
                Self::GceVmIpPortmap => "GCE_VM_IP_PORTMAP",
                Self::InternetFqdnPort => "INTERNET_FQDN_PORT",
                Self::InternetIpPort => "INTERNET_IP_PORT",
                Self::NonGcpPrivateIpPort => "NON_GCP_PRIVATE_IP_PORT",
                Self::PrivateServiceConnect => "PRIVATE_SERVICE_CONNECT",
                Self::Serverless => "SERVERLESS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NETWORK_ENDPOINT_TYPE" => {
                    Some(Self::UndefinedNetworkEndpointType)
                }
                "GCE_VM_IP" => Some(Self::GceVmIp),
                "GCE_VM_IP_PORT" => Some(Self::GceVmIpPort),
                "GCE_VM_IP_PORTMAP" => Some(Self::GceVmIpPortmap),
                "INTERNET_FQDN_PORT" => Some(Self::InternetFqdnPort),
                "INTERNET_IP_PORT" => Some(Self::InternetIpPort),
                "NON_GCP_PRIVATE_IP_PORT" => Some(Self::NonGcpPrivateIpPort),
                "PRIVATE_SERVICE_CONNECT" => Some(Self::PrivateServiceConnect),
                "SERVERLESS" => Some(Self::Serverless),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpointGroupAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NetworkEndpointGroupsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        NetworkEndpointGroupsScopedList,
    >,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#networkEndpointGroupAggregatedList for aggregated
    /// lists of network endpoint groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Configuration for an App Engine network endpoint group (NEG).
/// The service is optional, may be provided explicitly or in the
/// URL mask. The version is optional and can only be provided
/// explicitly or in the URL mask when service is present.
///
/// Note: App Engine service must be in the same project and located in the
/// same region as the Serverless NEG.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkEndpointGroupAppEngine {
    /// Optional serving service.
    ///
    /// The service name is case-sensitive and must be 1-63
    /// characters long.
    ///
    /// Example value: default, my-service.
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
    /// An URL
    /// mask is one of the main components of the Cloud Function.
    ///
    /// A template to parse service and version fields
    /// from a request URL. URL mask allows for routing to multiple App Engine
    /// services without having to create multiple Network Endpoint Groups and
    /// backend services.
    ///
    /// For example, the request URLsfoo1-dot-appname.appspot.com/v1 andfoo1-dot-appname.appspot.com/v2 can be backed by the same
    /// Serverless NEG with URL mask<service>-dot-appname.appspot.com/<version>.
    /// The URL mask will parse them to { service = "foo1", version = "v1"
    /// } and { service = "foo1", version = "v2" }
    /// respectively.
    #[prost(string, optional, tag = "103352252")]
    pub url_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional serving version.
    ///
    /// The version name is case-sensitive and must be 1-100
    /// characters long.
    ///
    /// Example value: v1, v2.
    #[prost(string, optional, tag = "351608024")]
    pub version: ::core::option::Option<::prost::alloc::string::String>,
}
/// Configuration for a Cloud Function network endpoint group (NEG).
/// The function must be provided explicitly or in the URL mask.
///
/// Note: Cloud Function must be in the same project and located in the same
/// region as the Serverless NEG.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkEndpointGroupCloudFunction {
    /// A user-defined name of the Cloud Function.
    ///
    /// The function name is case-sensitive and must be 1-63
    /// characters long.
    ///
    /// Example value: func1.
    #[prost(string, optional, tag = "307196888")]
    pub function: ::core::option::Option<::prost::alloc::string::String>,
    /// An URL
    /// mask is one of the main components of the Cloud Function.
    ///
    /// A template to parse function field from a request URL. URL
    /// mask allows for routing to multiple Cloud Functions without having to
    /// create multiple Network Endpoint Groups and backend services.
    ///
    /// For example, request URLs mydomain.com/function1 andmydomain.com/function2 can be backed by the same
    /// Serverless NEG with URL mask /<function>. The URL
    /// mask will parse them to { function = "function1" } and{ function = "function2" } respectively.
    #[prost(string, optional, tag = "103352252")]
    pub url_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// Configuration for a Cloud Run network endpoint group (NEG).
/// The service must be provided explicitly or in the URL mask.
/// The tag is optional, may be provided explicitly or in the URL
/// mask.
///
/// Note: Cloud Run service must be in the same project and located in the same
/// region as the Serverless NEG.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkEndpointGroupCloudRun {
    /// Cloud Run service is the main resource of Cloud Run.
    ///
    /// The service must be 1-63 characters long, and comply withRFC1035.
    ///
    /// Example value: "run-service".
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional Cloud Run tag represents the "named-revision" to provide additional
    /// fine-grained traffic routing information.
    ///
    /// The tag must be 1-63 characters long, and comply withRFC1035.
    ///
    /// Example value: "revision-0010".
    #[prost(string, optional, tag = "114586")]
    pub tag: ::core::option::Option<::prost::alloc::string::String>,
    /// An URL
    /// mask is one of the main components of the Cloud Function.
    ///
    /// A template to parse <service> and<tag> fields from a request URL. URL mask allows for
    /// routing to multiple Run services without having to create multiple
    /// network endpoint groups and backend services.
    ///
    /// For example, request URLs foo1.domain.com/bar1 andfoo1.domain.com/bar2 can be backed by the same Serverless
    /// Network Endpoint Group (NEG) with URL mask<tag>.domain.com/<service>. The URL mask will
    /// parse them to { service="bar1", tag="foo1" } and {
    /// service="bar2", tag="foo2" } respectively.
    #[prost(string, optional, tag = "103352252")]
    pub url_mask: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpointGroupList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NetworkEndpointGroup resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<NetworkEndpointGroup>,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#networkEndpointGroupList for network endpoint group
    /// lists.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// All data that is specifically relevant to only network endpoint groups of
/// type PRIVATE_SERVICE_CONNECT.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkEndpointGroupPscData {
    /// Output only. \[Output Only\] Address allocated from given subnetwork for PSC. This IP
    /// address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in
    /// L7 PSC-XLB.
    #[prost(string, optional, tag = "452646572")]
    pub consumer_psc_address: ::core::option::Option<::prost::alloc::string::String>,
    /// The psc producer port is used to connect PSC NEG with specific port on
    /// the PSC Producer side; should only be used for the
    /// PRIVATE_SERVICE_CONNECT NEG type
    #[prost(int32, optional, tag = "410021134")]
    pub producer_port: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] The PSC connection id of the PSC Network Endpoint Group
    /// Consumer.
    #[prost(uint64, optional, tag = "292082397")]
    pub psc_connection_id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The connection status of the PSC Forwarding Rule.
    /// Check the PscConnectionStatus enum for the list of possible values.
    #[prost(string, optional, tag = "184149172")]
    pub psc_connection_status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkEndpointGroupPscData`.
pub mod network_endpoint_group_psc_data {
    /// Output only. \[Output Only\] The connection status of the PSC Forwarding Rule.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PscConnectionStatus {
        /// A value indicating that the enum field is not set.
        UndefinedPscConnectionStatus = 0,
        /// The connection has been accepted by the producer.
        Accepted = 246714279,
        /// The connection has been closed by the producer and will not serve
        /// traffic going forward.
        Closed = 380163436,
        /// The connection has been accepted by the producer, but the producer
        /// needs to take further action before the forwarding rule can serve
        /// traffic.
        NeedsAttention = 344491452,
        /// The connection is pending acceptance by the producer.
        Pending = 35394935,
        /// The connection has been rejected by the producer.
        Rejected = 174130302,
        StatusUnspecified = 42133066,
    }
    impl PscConnectionStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPscConnectionStatus => "UNDEFINED_PSC_CONNECTION_STATUS",
                Self::Accepted => "ACCEPTED",
                Self::Closed => "CLOSED",
                Self::NeedsAttention => "NEEDS_ATTENTION",
                Self::Pending => "PENDING",
                Self::Rejected => "REJECTED",
                Self::StatusUnspecified => "STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PSC_CONNECTION_STATUS" => {
                    Some(Self::UndefinedPscConnectionStatus)
                }
                "ACCEPTED" => Some(Self::Accepted),
                "CLOSED" => Some(Self::Closed),
                "NEEDS_ATTENTION" => Some(Self::NeedsAttention),
                "PENDING" => Some(Self::Pending),
                "REJECTED" => Some(Self::Rejected),
                "STATUS_UNSPECIFIED" => Some(Self::StatusUnspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpointGroupsAttachEndpointsRequest {
    /// The list of network endpoints to be attached.
    #[prost(message, repeated, tag = "149850285")]
    pub network_endpoints: ::prost::alloc::vec::Vec<NetworkEndpoint>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpointGroupsDetachEndpointsRequest {
    /// The list of network endpoints to be detached.
    #[prost(message, repeated, tag = "149850285")]
    pub network_endpoints: ::prost::alloc::vec::Vec<NetworkEndpoint>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkEndpointGroupsListEndpointsRequest {
    /// Optional query parameter for showing the health status of each network
    /// endpoint. Valid options are SKIP or SHOW. If you
    /// don't specify this parameter, the health status of network endpoints will
    /// not be provided.
    /// Check the HealthStatus enum for the list of possible values.
    #[prost(string, optional, tag = "380545845")]
    pub health_status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkEndpointGroupsListEndpointsRequest`.
pub mod network_endpoint_groups_list_endpoints_request {
    /// Optional query parameter for showing the health status of each network
    /// endpoint. Valid options are SKIP or SHOW. If you
    /// don't specify this parameter, the health status of network endpoints will
    /// not be provided.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum HealthStatus {
        /// A value indicating that the enum field is not set.
        UndefinedHealthStatus = 0,
        /// Show the health status for each network endpoint. Impacts latency of the
        /// call.
        Show = 2544381,
        /// Health status for network endpoints will not be provided.
        Skip = 2547071,
    }
    impl HealthStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedHealthStatus => "UNDEFINED_HEALTH_STATUS",
                Self::Show => "SHOW",
                Self::Skip => "SKIP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_HEALTH_STATUS" => Some(Self::UndefinedHealthStatus),
                "SHOW" => Some(Self::Show),
                "SKIP" => Some(Self::Skip),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpointGroupsListNetworkEndpoints {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NetworkEndpointWithHealthStatus resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<NetworkEndpointWithHealthStatus>,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute#networkEndpointGroupsListNetworkEndpoints for the list
    /// of network endpoints in the specified network endpoint group.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpointGroupsScopedList {
    /// Output only. \[Output Only\] The list ofnetwork
    /// endpoint groups that are contained in this scope.
    #[prost(message, repeated, tag = "29346733")]
    pub network_endpoint_groups: ::prost::alloc::vec::Vec<NetworkEndpointGroup>,
    /// Output only. \[Output Only\] An informational warning that replaces the list of network
    /// endpoint groups when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpointWithHealthStatus {
    /// Output only. \[Output only\] The health status of network endpoint.
    ///
    /// Optional. Displayed only if the network endpoint has centralized health
    /// checking configured.
    #[prost(message, repeated, tag = "258689431")]
    pub healths: ::prost::alloc::vec::Vec<HealthStatusForNetworkEndpoint>,
    /// Output only. \[Output only\] The network endpoint.
    #[prost(message, optional, tag = "56789126")]
    pub network_endpoint: ::core::option::Option<NetworkEndpoint>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkFirewallPolicyAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of FirewallPoliciesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        FirewallPoliciesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#networkFirewallPoliciesAggregatedList for lists of
    /// network firewall policies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A network interface resource attached to an instance.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkInterface {
    /// An array of configurations for this interface. Currently, only one access
    /// config, ONE_TO_ONE_NAT, is supported. If there are noaccessConfigs specified, then this instance will have
    /// no external internet access.
    #[prost(message, repeated, tag = "111058326")]
    pub access_configs: ::prost::alloc::vec::Vec<AccessConfig>,
    /// An array of alias IP ranges for this network interface.
    /// You can only specify this field for network interfaces in VPC networks.
    #[prost(message, repeated, tag = "165085631")]
    pub alias_ip_ranges: ::prost::alloc::vec::Vec<AliasIpRange>,
    /// Optional. If true, DNS resolution will be enabled over this interface. Only valid
    /// with network_attachment.
    #[prost(bool, optional, tag = "283425868")]
    pub enable_vpc_scoped_dns: ::core::option::Option<bool>,
    /// Fingerprint hash of contents stored in this network interface.
    /// This field will be ignored when inserting an Instance or
    /// adding a NetworkInterface. An up-to-date
    /// fingerprint must be provided in order to update theNetworkInterface. The request will fail with error400 Bad Request if the fingerprint is not provided, or412 Precondition Failed if the fingerprint is out of date.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicate whether igmp query is enabled on the network interface
    /// or not. If enabled, also indicates the version of IGMP supported.
    /// Check the IgmpQuery enum for the list of possible values.
    #[prost(string, optional, tag = "30249546")]
    pub igmp_query: ::core::option::Option<::prost::alloc::string::String>,
    /// The prefix length of the primary internal IPv6 range.
    #[prost(int32, optional, tag = "203833757")]
    pub internal_ipv6_prefix_length: ::core::option::Option<i32>,
    /// An array of IPv6 access configurations for this interface. Currently, only
    /// one IPv6 access config, DIRECT_IPV6, is supported. If there
    /// is no ipv6AccessConfig specified, then this instance will
    /// have no external IPv6 Internet access.
    #[prost(message, repeated, tag = "483472110")]
    pub ipv6_access_configs: ::prost::alloc::vec::Vec<AccessConfig>,
    /// Output only. \[Output Only\] One of EXTERNAL, INTERNAL to indicate whether the IP can be
    /// accessed from the Internet. This field is always inherited from its
    /// subnetwork.
    ///
    /// Valid only if stackType is IPV4_IPV6.
    /// Check the Ipv6AccessType enum for the list of possible values.
    #[prost(string, optional, tag = "504658653")]
    pub ipv6_access_type: ::core::option::Option<::prost::alloc::string::String>,
    /// An IPv6 internal network address for this network interface. To
    /// use a static internal IP address, it must be unused and in the same region
    /// as the instance's zone. If not specified, Google Cloud will automatically
    /// assign an internal IPv6 address from the instance's subnetwork.
    #[prost(string, optional, tag = "341563804")]
    pub ipv6_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#networkInterface for network interfaces.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The name of the network interface, which is generated by the
    /// server. For a VM, the network interface uses the nicN naming
    /// format. Where N is a value between 0 and7. The default interface value is nic0.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the VPC network resource for this instance. When creating an
    /// instance, if neither the network nor the subnetwork is specified, the
    /// default network global/networks/default is used. If the
    /// selected project doesn't have the default network, you must specify a
    /// network or subnet. If the network is not specified but the subnetwork is
    /// specified, the network is inferred.
    ///
    /// If you specify this property, you can specify the network as
    /// a full or partial URL. For example, the following are all valid URLs:
    ///
    /// ```text
    ///    - <https://www.googleapis.com/compute/v1/projects/project/global/networks/network>
    ///    - projects/project/global/networks/network
    ///    - global/networks/default
    /// ```
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the network attachment that this interface should connect
    /// to in the following format:
    /// projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
    #[prost(string, optional, tag = "224644052")]
    pub network_attachment: ::core::option::Option<::prost::alloc::string::String>,
    /// An IPv4 internal IP address to assign to the instance for this network
    /// interface. If not specified by the user, an unused internal IP is
    /// assigned by the system.
    #[prost(string, optional, tag = "207181961")]
    pub network_i_p: ::core::option::Option<::prost::alloc::string::String>,
    /// The type of vNIC to be used on this interface. This may be gVNIC or
    /// VirtioNet.
    /// Check the NicType enum for the list of possible values.
    #[prost(string, optional, tag = "59810577")]
    pub nic_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the parent network interface of a dynamic network interface.
    #[prost(string, optional, tag = "418764375")]
    pub parent_nic_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The networking queue count that's specified by users for the network
    /// interface. Both Rx and Tx queues will be set to this number. It'll be empty
    /// if not specified by the users.
    #[prost(int32, optional, tag = "503708769")]
    pub queue_count: ::core::option::Option<i32>,
    /// Optional. Producer Service's Service class Id for the region of this network
    /// interface. Can only be used with network_attachment. It is not possible to
    /// use on its own however, network_attachment can be used without
    /// service_class_id.
    #[prost(string, optional, tag = "422763404")]
    pub service_class_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The stack type for this network interface. To assign only IPv4 addresses,
    /// use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, useIPV4_IPV6. If not specified, IPV4_ONLY is used.
    ///
    /// This field can be both set at instance creation and update network
    /// interface operations.
    /// Check the StackType enum for the list of possible values.
    #[prost(string, optional, tag = "425908881")]
    pub stack_type: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the Subnetwork resource for this instance. If the network
    /// resource is inlegacy
    /// mode, do not specify this field. If the network is in auto subnet
    /// mode, specifying the subnetwork is optional. If the network is in custom
    /// subnet mode, specifying the subnetwork is required. If you specify this
    /// field, you can specify the subnetwork as a full or partial URL. For
    /// example, the following are all valid URLs:
    ///
    /// ```text
    ///    - <https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork>
    /// - regions/region/subnetworks/subnetwork
    /// ```
    #[prost(string, optional, tag = "307827694")]
    pub subnetwork: ::core::option::Option<::prost::alloc::string::String>,
    /// VLAN tag of a dynamic network interface, must be  an integer in the range
    /// from 2 to 255 inclusively.
    #[prost(int32, optional, tag = "3622243")]
    pub vlan: ::core::option::Option<i32>,
}
/// Nested message and enum types in `NetworkInterface`.
pub mod network_interface {
    /// Indicate whether igmp query is enabled on the network interface
    /// or not. If enabled, also indicates the version of IGMP supported.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum IgmpQuery {
        /// A value indicating that the enum field is not set.
        UndefinedIgmpQuery = 0,
        /// The network interface has disabled IGMP query.
        Disabled = 28285169,
        /// The network interface has enabled IGMP query - v2.
        V2 = 333493457,
    }
    impl IgmpQuery {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIgmpQuery => "UNDEFINED_IGMP_QUERY",
                Self::Disabled => "IGMP_QUERY_DISABLED",
                Self::V2 => "IGMP_QUERY_V2",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IGMP_QUERY" => Some(Self::UndefinedIgmpQuery),
                "IGMP_QUERY_DISABLED" => Some(Self::Disabled),
                "IGMP_QUERY_V2" => Some(Self::V2),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] One of EXTERNAL, INTERNAL to indicate whether the IP can be
    /// accessed from the Internet. This field is always inherited from its
    /// subnetwork.
    ///
    /// Valid only if stackType is IPV4_IPV6.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Ipv6AccessType {
        /// A value indicating that the enum field is not set.
        UndefinedIpv6AccessType = 0,
        /// This network interface can have external IPv6.
        External = 35607499,
        /// This network interface can have internal IPv6.
        Internal = 279295677,
        UnspecifiedIpv6AccessType = 313080613,
    }
    impl Ipv6AccessType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpv6AccessType => "UNDEFINED_IPV6_ACCESS_TYPE",
                Self::External => "EXTERNAL",
                Self::Internal => "INTERNAL",
                Self::UnspecifiedIpv6AccessType => "UNSPECIFIED_IPV6_ACCESS_TYPE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IPV6_ACCESS_TYPE" => Some(Self::UndefinedIpv6AccessType),
                "EXTERNAL" => Some(Self::External),
                "INTERNAL" => Some(Self::Internal),
                "UNSPECIFIED_IPV6_ACCESS_TYPE" => Some(Self::UnspecifiedIpv6AccessType),
                _ => None,
            }
        }
    }
    /// The type of vNIC to be used on this interface. This may be gVNIC or
    /// VirtioNet.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NicType {
        /// A value indicating that the enum field is not set.
        UndefinedNicType = 0,
        /// GVNIC
        Gvnic = 68209305,
        /// IDPF
        Idpf = 2242641,
        /// IRDMA
        Irdma = 69927695,
        /// MRDMA
        Mrdma = 73621779,
        /// No type specified.
        UnspecifiedNicType = 67411801,
        /// VIRTIO
        VirtioNet = 452123481,
    }
    impl NicType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNicType => "UNDEFINED_NIC_TYPE",
                Self::Gvnic => "GVNIC",
                Self::Idpf => "IDPF",
                Self::Irdma => "IRDMA",
                Self::Mrdma => "MRDMA",
                Self::UnspecifiedNicType => "UNSPECIFIED_NIC_TYPE",
                Self::VirtioNet => "VIRTIO_NET",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NIC_TYPE" => Some(Self::UndefinedNicType),
                "GVNIC" => Some(Self::Gvnic),
                "IDPF" => Some(Self::Idpf),
                "IRDMA" => Some(Self::Irdma),
                "MRDMA" => Some(Self::Mrdma),
                "UNSPECIFIED_NIC_TYPE" => Some(Self::UnspecifiedNicType),
                "VIRTIO_NET" => Some(Self::VirtioNet),
                _ => None,
            }
        }
    }
    /// The stack type for this network interface. To assign only IPv4 addresses,
    /// use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, useIPV4_IPV6. If not specified, IPV4_ONLY is used.
    ///
    /// This field can be both set at instance creation and update network
    /// interface operations.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StackType {
        /// A value indicating that the enum field is not set.
        UndefinedStackType = 0,
        /// The network interface can have both IPv4 and IPv6 addresses.
        Ipv4Ipv6 = 22197249,
        /// The network interface will only be assigned IPv4 addresses.
        Ipv4Only = 22373798,
        /// The network interface will only be assigned IPv6 addresses.
        Ipv6Only = 79632100,
        UnspecifiedStackType = 298084569,
    }
    impl StackType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStackType => "UNDEFINED_STACK_TYPE",
                Self::Ipv4Ipv6 => "IPV4_IPV6",
                Self::Ipv4Only => "IPV4_ONLY",
                Self::Ipv6Only => "IPV6_ONLY",
                Self::UnspecifiedStackType => "UNSPECIFIED_STACK_TYPE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STACK_TYPE" => Some(Self::UndefinedStackType),
                "IPV4_IPV6" => Some(Self::Ipv4Ipv6),
                "IPV4_ONLY" => Some(Self::Ipv4Only),
                "IPV6_ONLY" => Some(Self::Ipv6Only),
                "UNSPECIFIED_STACK_TYPE" => Some(Self::UnspecifiedStackType),
                _ => None,
            }
        }
    }
}
/// Contains a list of networks.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Network resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Network>,
    /// Output only. \[Output Only\] Type of resource. Always compute#networkList for
    /// lists of networks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Additional network parameters.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// A network peering attached to a network resource. The message includes the
/// peering name, peer network, peering state, and a flag indicating whether
/// Google Compute Engine should automatically create routes for the peering.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkPeering {
    /// This field will be deprecated soon. Use theexchange_subnet_routes field instead.
    /// Indicates whether full mesh connectivity is created and managed
    /// automatically between peered networks. Currently this field should always
    /// be true since Google Compute Engine will automatically create and manage
    /// subnetwork routes between two networks when peering state isACTIVE.
    #[prost(bool, optional, tag = "57454941")]
    pub auto_create_routes: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] The effective state of the peering connection
    /// as a whole.
    #[prost(message, optional, tag = "525629555")]
    pub connection_status: ::core::option::Option<NetworkPeeringConnectionStatus>,
    /// Indicates whether full mesh connectivity is created and managed
    /// automatically between peered networks. Currently this field should always
    /// be true since Google Compute Engine will automatically create and manage
    /// subnetwork routes between two networks when peering state isACTIVE.
    #[prost(bool, optional, tag = "26322256")]
    pub exchange_subnet_routes: ::core::option::Option<bool>,
    /// Whether to export the custom routes to peer network. The default value is
    /// false.
    #[prost(bool, optional, tag = "60281485")]
    pub export_custom_routes: ::core::option::Option<bool>,
    /// Whether subnet routes with public IP range are exported. The default value
    /// is true, all subnet routes are exported.IPv4
    /// special-use ranges are always
    /// exported to peers and are not controlled by this field.
    #[prost(bool, optional, tag = "97940834")]
    pub export_subnet_routes_with_public_ip: ::core::option::Option<bool>,
    /// Whether to import the custom routes from peer network. The default value is
    /// false.
    #[prost(bool, optional, tag = "197982398")]
    pub import_custom_routes: ::core::option::Option<bool>,
    /// Whether subnet routes with public IP range are imported. The default value
    /// is false.IPv4
    /// special-use ranges are always
    /// imported from peers and are not controlled by this field.
    #[prost(bool, optional, tag = "14419729")]
    pub import_subnet_routes_with_public_ip: ::core::option::Option<bool>,
    /// Name of this peering. Provided by the client when the peering is created.
    /// The name must comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?`. The first character must be a
    /// lowercase letter, and all the following characters must be a dash,
    /// lowercase letter, or digit, except the last character, which cannot be a
    /// dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the peer network. It can be either full URL or partial URL. The
    /// peer network may belong to a different project. If the partial URL does not
    /// contain project, it is assumed that the peer network is in the same project
    /// as the current network.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Maximum Transmission Unit in bytes of the peer network.
    #[prost(int32, optional, tag = "69584721")]
    pub peer_mtu: ::core::option::Option<i32>,
    /// Which IP version(s) of traffic and routes are allowed to be imported or
    /// exported between peer networks. The default value is IPV4_ONLY.
    /// Check the StackType enum for the list of possible values.
    #[prost(string, optional, tag = "425908881")]
    pub stack_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] State for the peering.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Details about the current state of the peering.
    #[prost(string, optional, tag = "95566996")]
    pub state_details: ::core::option::Option<::prost::alloc::string::String>,
    /// The update strategy determines the semantics for updates and deletes to the
    /// peering connection configuration.
    /// Check the UpdateStrategy enum for the list of possible values.
    #[prost(string, optional, tag = "6123049")]
    pub update_strategy: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkPeering`.
pub mod network_peering {
    /// Which IP version(s) of traffic and routes are allowed to be imported or
    /// exported between peer networks. The default value is IPV4_ONLY.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StackType {
        /// A value indicating that the enum field is not set.
        UndefinedStackType = 0,
        /// This Peering will allow IPv4 traffic and routes to be
        /// exchanged. Additionally if the matching peering is
        /// IPV4_IPV6, IPv6 traffic and routes will be exchanged as
        /// well.
        Ipv4Ipv6 = 22197249,
        /// This Peering will only allow IPv4 traffic and routes to be
        /// exchanged, even if the matching peering is IPV4_IPV6.
        Ipv4Only = 22373798,
    }
    impl StackType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStackType => "UNDEFINED_STACK_TYPE",
                Self::Ipv4Ipv6 => "IPV4_IPV6",
                Self::Ipv4Only => "IPV4_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STACK_TYPE" => Some(Self::UndefinedStackType),
                "IPV4_IPV6" => Some(Self::Ipv4Ipv6),
                "IPV4_ONLY" => Some(Self::Ipv4Only),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] State for the peering.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// Matching configuration exists on the peer.
        Active = 314733318,
        /// There is no matching configuration on the peer, including the case when
        /// peer does not exist.
        Inactive = 270421099,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Active => "ACTIVE",
                Self::Inactive => "INACTIVE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVE" => Some(Self::Active),
                "INACTIVE" => Some(Self::Inactive),
                _ => None,
            }
        }
    }
    /// The update strategy determines the semantics for updates and deletes to the
    /// peering connection configuration.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum UpdateStrategy {
        /// A value indicating that the enum field is not set.
        UndefinedUpdateStrategy = 0,
        /// Updates are reflected in the local peering but aren't applied to the
        /// peering connection until a complementary change is made to the
        /// matching peering.
        /// To delete a peering with the consensus update strategy, both the peerings
        /// must request the deletion of the peering before the peering can be
        /// deleted.
        Consensus = 203373655,
        /// In this mode, changes to the peering configuration can
        /// be unilaterally altered by changing either side of the peering.
        /// This is the default value if the field is unspecified.
        Independent = 127011674,
        /// Peerings with update strategy UNSPECIFIED are created with
        /// update strategy INDEPENDENT.
        Unspecified = 526786327,
    }
    impl UpdateStrategy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedUpdateStrategy => "UNDEFINED_UPDATE_STRATEGY",
                Self::Consensus => "CONSENSUS",
                Self::Independent => "INDEPENDENT",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_UPDATE_STRATEGY" => Some(Self::UndefinedUpdateStrategy),
                "CONSENSUS" => Some(Self::Consensus),
                "INDEPENDENT" => Some(Self::Independent),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// \[Output Only\] Describes the state of a peering connection, not just the
/// local peering. This field provides information about the effective settings
/// for the connection as a whole, including pending delete/update requests for
/// CONSENSUS peerings.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkPeeringConnectionStatus {
    /// The consensus state contains information about the status of update
    /// and delete for a consensus peering connection.
    #[prost(message, optional, tag = "379772617")]
    pub consensus_state: ::core::option::Option<
        NetworkPeeringConnectionStatusConsensusState,
    >,
    /// The active connectivity settings for the peering connection based on the
    /// settings of the network peerings.
    #[prost(message, optional, tag = "133016116")]
    pub traffic_configuration: ::core::option::Option<
        NetworkPeeringConnectionStatusTrafficConfiguration,
    >,
    /// The update strategy determines the update/delete semantics for this
    /// peering connection.
    /// Check the UpdateStrategy enum for the list of possible values.
    #[prost(string, optional, tag = "6123049")]
    pub update_strategy: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkPeeringConnectionStatus`.
pub mod network_peering_connection_status {
    /// The update strategy determines the update/delete semantics for this
    /// peering connection.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum UpdateStrategy {
        /// A value indicating that the enum field is not set.
        UndefinedUpdateStrategy = 0,
        /// Updates are reflected in the local peering but aren't applied to the
        /// peering connection until a complementary change is made to the
        /// matching peering.
        /// To delete a peering with the consensus update strategy, both the peerings
        /// must request the deletion of the peering before the peering can be
        /// deleted.
        Consensus = 203373655,
        /// In this mode, changes to the peering configuration can
        /// be unilaterally altered by changing either side of the peering.
        /// This is the default value if the field is unspecified.
        Independent = 127011674,
        /// Peerings with update strategy UNSPECIFIED are created with
        /// update strategy INDEPENDENT.
        Unspecified = 526786327,
    }
    impl UpdateStrategy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedUpdateStrategy => "UNDEFINED_UPDATE_STRATEGY",
                Self::Consensus => "CONSENSUS",
                Self::Independent => "INDEPENDENT",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_UPDATE_STRATEGY" => Some(Self::UndefinedUpdateStrategy),
                "CONSENSUS" => Some(Self::Consensus),
                "INDEPENDENT" => Some(Self::Independent),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// The status of update/delete for a consensus peering connection. Only set
/// when connection_status.update_strategy isCONSENSUS or a network peering is proposing to update the
/// strategy to CONSENSUS.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkPeeringConnectionStatusConsensusState {
    /// The status of the delete request.
    /// Check the DeleteStatus enum for the list of possible values.
    #[prost(string, optional, tag = "483434758")]
    pub delete_status: ::core::option::Option<::prost::alloc::string::String>,
    /// The status of the update request.
    /// Check the UpdateStatus enum for the list of possible values.
    #[prost(string, optional, tag = "265998376")]
    pub update_status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkPeeringConnectionStatusConsensusState`.
pub mod network_peering_connection_status_consensus_state {
    /// The status of the delete request.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DeleteStatus {
        /// A value indicating that the enum field is not set.
        UndefinedDeleteStatus = 0,
        /// Both network admins have agreed this consensus peering connection can
        /// be deleted.
        DeleteAcknowledged = 325293916,
        Unspecified = 395396446,
        /// Network admin has requested deletion of this peering connection.
        LocalDeleteRequested = 227335214,
        /// The peer network admin has requested deletion of this peering
        /// connection.
        PeerDeleteRequested = 197847799,
    }
    impl DeleteStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDeleteStatus => "UNDEFINED_DELETE_STATUS",
                Self::DeleteAcknowledged => "DELETE_ACKNOWLEDGED",
                Self::Unspecified => "DELETE_STATUS_UNSPECIFIED",
                Self::LocalDeleteRequested => "LOCAL_DELETE_REQUESTED",
                Self::PeerDeleteRequested => "PEER_DELETE_REQUESTED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DELETE_STATUS" => Some(Self::UndefinedDeleteStatus),
                "DELETE_ACKNOWLEDGED" => Some(Self::DeleteAcknowledged),
                "DELETE_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                "LOCAL_DELETE_REQUESTED" => Some(Self::LocalDeleteRequested),
                "PEER_DELETE_REQUESTED" => Some(Self::PeerDeleteRequested),
                _ => None,
            }
        }
    }
    /// The status of the update request.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum UpdateStatus {
        /// A value indicating that the enum field is not set.
        UndefinedUpdateStatus = 0,
        /// No pending configuration update proposals to the  peering connection.
        InSync = 2273653,
        /// The peer network admin has made an updatePeering call. The change is
        /// awaiting acknowledgment from this peering's network admin.
        PendingLocalAcknowledment = 229926592,
        /// The local network admin has made an updatePeering call. The change
        /// is awaiting acknowledgment from the peer network admin.
        PendingPeerAcknowledgement = 420185797,
        Unspecified = 120836480,
    }
    impl UpdateStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedUpdateStatus => "UNDEFINED_UPDATE_STATUS",
                Self::InSync => "IN_SYNC",
                Self::PendingLocalAcknowledment => "PENDING_LOCAL_ACKNOWLEDMENT",
                Self::PendingPeerAcknowledgement => "PENDING_PEER_ACKNOWLEDGEMENT",
                Self::Unspecified => "UPDATE_STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_UPDATE_STATUS" => Some(Self::UndefinedUpdateStatus),
                "IN_SYNC" => Some(Self::InSync),
                "PENDING_LOCAL_ACKNOWLEDMENT" => Some(Self::PendingLocalAcknowledment),
                "PENDING_PEER_ACKNOWLEDGEMENT" => Some(Self::PendingPeerAcknowledgement),
                "UPDATE_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkPeeringConnectionStatusTrafficConfiguration {
    /// Whether custom routes are being exported to the peer network.
    #[prost(bool, optional, tag = "286428404")]
    pub export_custom_routes_to_peer: ::core::option::Option<bool>,
    /// Whether subnet routes with public IP ranges are being exported to the
    /// peer network.
    #[prost(bool, optional, tag = "8358601")]
    pub export_subnet_routes_with_public_ip_to_peer: ::core::option::Option<bool>,
    /// Whether custom routes are being imported from the peer network.
    #[prost(bool, optional, tag = "398584470")]
    pub import_custom_routes_from_peer: ::core::option::Option<bool>,
    /// Whether subnet routes with public IP ranges are being imported
    /// from the peer network.
    #[prost(bool, optional, tag = "234712361")]
    pub import_subnet_routes_with_public_ip_from_peer: ::core::option::Option<bool>,
    /// Which IP version(s) of traffic and routes are being imported or
    /// exported between peer networks.
    /// Check the StackType enum for the list of possible values.
    #[prost(string, optional, tag = "425908881")]
    pub stack_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkPeeringConnectionStatusTrafficConfiguration`.
pub mod network_peering_connection_status_traffic_configuration {
    /// Which IP version(s) of traffic and routes are being imported or
    /// exported between peer networks.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StackType {
        /// A value indicating that the enum field is not set.
        UndefinedStackType = 0,
        /// This Peering will allow IPv4 traffic and routes to be
        /// exchanged. Additionally if the matching peering is
        /// IPV4_IPV6, IPv6 traffic and routes will be exchanged as
        /// well.
        Ipv4Ipv6 = 22197249,
        /// This Peering will only allow IPv4 traffic and routes to be
        /// exchanged, even if the matching peering is IPV4_IPV6.
        Ipv4Only = 22373798,
    }
    impl StackType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStackType => "UNDEFINED_STACK_TYPE",
                Self::Ipv4Ipv6 => "IPV4_IPV6",
                Self::Ipv4Only => "IPV4_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STACK_TYPE" => Some(Self::UndefinedStackType),
                "IPV4_IPV6" => Some(Self::Ipv4Ipv6),
                "IPV4_ONLY" => Some(Self::Ipv4Only),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkPerformanceConfig {
    /// Check the TotalEgressBandwidthTier enum for the list of possible values.
    #[prost(string, optional, tag = "130109439")]
    pub total_egress_bandwidth_tier: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Nested message and enum types in `NetworkPerformanceConfig`.
pub mod network_performance_config {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum TotalEgressBandwidthTier {
        /// A value indicating that the enum field is not set.
        UndefinedTotalEgressBandwidthTier = 0,
        Default = 115302945,
        Tier1 = 326919444,
    }
    impl TotalEgressBandwidthTier {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedTotalEgressBandwidthTier => {
                    "UNDEFINED_TOTAL_EGRESS_BANDWIDTH_TIER"
                }
                Self::Default => "DEFAULT",
                Self::Tier1 => "TIER_1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TOTAL_EGRESS_BANDWIDTH_TIER" => {
                    Some(Self::UndefinedTotalEgressBandwidthTier)
                }
                "DEFAULT" => Some(Self::Default),
                "TIER_1" => Some(Self::Tier1),
                _ => None,
            }
        }
    }
}
/// NetworkProfile represents a Google managed network profile resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkProfile {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] An optional description of this resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Features supported by the network.
    #[prost(message, optional, tag = "246211645")]
    pub features: ::core::option::Option<NetworkProfileNetworkFeatures>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#networkProfile for network profiles.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Location to which the network is restricted.
    #[prost(message, optional, tag = "290430901")]
    pub location: ::core::option::Option<NetworkProfileLocation>,
    /// Output only. \[Output Only\] Name of the resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the network profile.
    #[prost(message, optional, tag = "150167568")]
    pub profile_type: ::core::option::Option<NetworkProfileProfileType>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkProfileLocation {
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the Scope enum for the list of possible values.
    #[prost(string, optional, tag = "109264468")]
    pub scope: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkProfileLocation`.
pub mod network_profile_location {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Scope {
        /// A value indicating that the enum field is not set.
        UndefinedScope = 0,
        Region = 266017524,
        Zone = 2759596,
    }
    impl Scope {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedScope => "UNDEFINED_SCOPE",
                Self::Region => "REGION",
                Self::Zone => "ZONE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SCOPE" => Some(Self::UndefinedScope),
                "REGION" => Some(Self::Region),
                "ZONE" => Some(Self::Zone),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkProfileNetworkFeatures {
    /// Specifies what address purposes are supported. If empty, all address
    /// purposes are supported.
    /// Check the AddressPurposes enum for the list of possible values.
    #[prost(string, repeated, tag = "433024768")]
    pub address_purposes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies whether address creation is allowed.
    /// Check the AllowAddressCreation enum for the list of possible values.
    #[prost(string, optional, tag = "450941184")]
    pub allow_address_creation: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether alias IP ranges (and secondary address ranges) are
    /// allowed.
    /// Check the AllowAliasIpRanges enum for the list of possible values.
    #[prost(string, optional, tag = "457984201")]
    pub allow_alias_ip_ranges: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether auto mode subnet creation is allowed.
    /// Check the AllowAutoModeSubnet enum for the list of possible values.
    #[prost(string, optional, tag = "152191263")]
    pub allow_auto_mode_subnet: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether firewalls for Class D address ranges are supported.
    /// Check the AllowClassDFirewalls enum for the list of possible values.
    #[prost(string, optional, tag = "131608987")]
    pub allow_class_d_firewalls: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether cloud NAT creation is allowed.
    /// Check the AllowCloudNat enum for the list of possible values.
    #[prost(string, optional, tag = "254831265")]
    pub allow_cloud_nat: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether cloud router creation is allowed.
    /// Check the AllowCloudRouter enum for the list of possible values.
    #[prost(string, optional, tag = "451110345")]
    pub allow_cloud_router: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether default NIC attachment is allowed.
    /// Check the AllowDefaultNicAttachment enum for the list of possible values.
    #[prost(string, optional, tag = "53917486")]
    pub allow_default_nic_attachment: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies whether VMs are allowed to have external IP access on network
    /// interfaces connected to this VPC.
    /// Check the AllowExternalIpAccess enum for the list of possible values.
    #[prost(string, optional, tag = "131538110")]
    pub allow_external_ip_access: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether firewall policy can be attached to the network.
    /// Check the AllowFirewallPolicy enum for the list of possible values.
    #[prost(string, optional, tag = "254200923")]
    pub allow_firewall_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether Cloud Interconnect creation is allowed.
    /// Check the AllowInterconnect enum for the list of possible values.
    #[prost(string, optional, tag = "280512964")]
    pub allow_interconnect: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether IP forwarding is allowed.
    /// Check the AllowIpForwarding enum for the list of possible values.
    #[prost(string, optional, tag = "500838047")]
    pub allow_ip_forwarding: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether cloud load balancing is allowed.
    /// Check the AllowLoadBalancing enum for the list of possible values.
    #[prost(string, optional, tag = "223366198")]
    pub allow_load_balancing: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether multi-nic in the same network is allowed.
    /// Check the AllowMultiNicInSameNetwork enum for the list of possible values.
    #[prost(string, optional, tag = "88251004")]
    pub allow_multi_nic_in_same_network: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies whether multi-nic in the same subnetwork is allowed.
    /// Check the AllowMultiNicInSameSubnetwork enum for the list of possible values.
    #[prost(string, optional, tag = "278087904")]
    pub allow_multi_nic_in_same_subnetwork: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies whether multicast is allowed.
    /// Check the AllowMulticast enum for the list of possible values.
    #[prost(string, optional, tag = "11002498")]
    pub allow_multicast: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether NCC is allowed.
    /// Check the AllowNcc enum for the list of possible values.
    #[prost(string, optional, tag = "372354904")]
    pub allow_ncc: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether VM network migration is allowed.
    /// Check the AllowNetworkMigration enum for the list of possible values.
    #[prost(string, optional, tag = "239588231")]
    pub allow_network_migration: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether Packet Mirroring 1.0 is supported.
    /// Check the AllowPacketMirroring enum for the list of possible values.
    #[prost(string, optional, tag = "512227074")]
    pub allow_packet_mirroring: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether private Google access is allowed.
    /// Check the AllowPrivateGoogleAccess enum for the list of possible values.
    #[prost(string, optional, tag = "374702072")]
    pub allow_private_google_access: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies whether PSC creation is allowed.
    /// Check the AllowPsc enum for the list of possible values.
    #[prost(string, optional, tag = "372357322")]
    pub allow_psc: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether unicast within the same network is allowed.
    /// Check the AllowSameNetworkUnicast enum for the list of possible values.
    #[prost(string, optional, tag = "167531643")]
    pub allow_same_network_unicast: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies whether static route creation is allowed.
    /// Check the AllowStaticRoutes enum for the list of possible values.
    #[prost(string, optional, tag = "185257925")]
    pub allow_static_routes: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether sub interfaces are allowed.
    /// Check the AllowSubInterfaces enum for the list of possible values.
    #[prost(string, optional, tag = "247208303")]
    pub allow_sub_interfaces: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether subnetwork creation is allowed.
    /// Check the AllowSubnetworkCreation enum for the list of possible values.
    #[prost(string, optional, tag = "459328026")]
    pub allow_subnetwork_creation: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies whether VPC firewall rules can be created under the network.
    /// Check the AllowVpcFirewallRules enum for the list of possible values.
    #[prost(string, optional, tag = "509076420")]
    pub allow_vpc_firewall_rules: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether VPC peering is allowed.
    /// Check the AllowVpcPeering enum for the list of possible values.
    #[prost(string, optional, tag = "115402228")]
    pub allow_vpc_peering: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether VPN creation is allowed.
    /// Check the AllowVpn enum for the list of possible values.
    #[prost(string, optional, tag = "372363006")]
    pub allow_vpn: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the FirewallPolicyTypes enum for the list of possible values.
    #[prost(string, repeated, tag = "390742027")]
    pub firewall_policy_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// If set, limits the interface types that the network supports. If
    /// empty, all interface types are supported.
    /// Check the InterfaceTypes enum for the list of possible values.
    #[prost(string, repeated, tag = "157981171")]
    pub interface_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies which type of multicast is supported.
    /// Check the Multicast enum for the list of possible values.
    #[prost(string, optional, tag = "404098040")]
    pub multicast: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a predefined internal IPv6 range for the network.
    #[prost(string, optional, tag = "527810909")]
    pub predefined_network_internal_ipv6_range: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Predefined subnetwork ranges for the network.
    #[prost(message, repeated, tag = "408740430")]
    pub predefined_subnetwork_ranges: ::prost::alloc::vec::Vec<
        NetworkProfileNetworkFeaturesPredefinedSubnetworkRange,
    >,
    /// Specifies which subnetwork purposes are supported.
    /// Check the SubnetPurposes enum for the list of possible values.
    #[prost(string, repeated, tag = "301338039")]
    pub subnet_purposes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies which subnetwork stack types are supported.
    /// Check the SubnetStackTypes enum for the list of possible values.
    #[prost(string, repeated, tag = "521008672")]
    pub subnet_stack_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. Specifies which subnetwork purposes are supported.
    /// Check the SubnetworkPurposes enum for the list of possible values.
    #[prost(string, repeated, tag = "528240710")]
    pub subnetwork_purposes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. Specifies which subnetwork stack types are supported.
    /// Check the SubnetworkStackTypes enum for the list of possible values.
    #[prost(string, repeated, tag = "436827441")]
    pub subnetwork_stack_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies which type of unicast is supported.
    /// Check the Unicast enum for the list of possible values.
    #[prost(string, optional, tag = "249841711")]
    pub unicast: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkProfileNetworkFeatures`.
pub mod network_profile_network_features {
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// PRIVATE_SERVICE_CONNECT
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AddressPurposes {
        /// A value indicating that the enum field is not set.
        UndefinedAddressPurposes = 0,
        /// DNS resolver address in the subnetwork.
        DnsResolver = 476114556,
        /// VM internal/alias IP, Internal LB service IP, etc.
        GceEndpoint = 230515243,
        /// A regional internal IP address range reserved for the VLAN attachment
        /// that is used in HA VPN over Cloud Interconnect. This regional
        /// internal IP address range must not overlap with any IP address range
        /// of subnet/route in the VPC network and its peering networks. After the
        /// VLAN attachment is created with the reserved IP address range, when
        /// creating a new VPN gateway, its interface IP address is allocated
        /// from the associated VLAN attachment’s IP address range.
        IpsecInterconnect = 340437251,
        /// External IP automatically reserved for Cloud NAT.
        NatAuto = 163666477,
        PrivateServiceConnect = 48134724,
        /// A regional internal IP address range reserved for Serverless.
        Serverless = 270492508,
        /// A private network IP address that can be shared by multiple Internal
        /// Load Balancer forwarding rules.
        SharedLoadbalancerVip = 294447572,
        /// IP range for peer networks.
        VpcPeering = 400800170,
    }
    impl AddressPurposes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAddressPurposes => "UNDEFINED_ADDRESS_PURPOSES",
                Self::DnsResolver => "DNS_RESOLVER",
                Self::GceEndpoint => "GCE_ENDPOINT",
                Self::IpsecInterconnect => "IPSEC_INTERCONNECT",
                Self::NatAuto => "NAT_AUTO",
                Self::PrivateServiceConnect => "PRIVATE_SERVICE_CONNECT",
                Self::Serverless => "SERVERLESS",
                Self::SharedLoadbalancerVip => "SHARED_LOADBALANCER_VIP",
                Self::VpcPeering => "VPC_PEERING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ADDRESS_PURPOSES" => Some(Self::UndefinedAddressPurposes),
                "DNS_RESOLVER" => Some(Self::DnsResolver),
                "GCE_ENDPOINT" => Some(Self::GceEndpoint),
                "IPSEC_INTERCONNECT" => Some(Self::IpsecInterconnect),
                "NAT_AUTO" => Some(Self::NatAuto),
                "PRIVATE_SERVICE_CONNECT" => Some(Self::PrivateServiceConnect),
                "SERVERLESS" => Some(Self::Serverless),
                "SHARED_LOADBALANCER_VIP" => Some(Self::SharedLoadbalancerVip),
                "VPC_PEERING" => Some(Self::VpcPeering),
                _ => None,
            }
        }
    }
    /// Specifies whether address creation is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowAddressCreation {
        /// A value indicating that the enum field is not set.
        UndefinedAllowAddressCreation = 0,
        AddressCreationAllowed = 181903667,
        AddressCreationBlocked = 534937975,
    }
    impl AllowAddressCreation {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowAddressCreation => "UNDEFINED_ALLOW_ADDRESS_CREATION",
                Self::AddressCreationAllowed => "ADDRESS_CREATION_ALLOWED",
                Self::AddressCreationBlocked => "ADDRESS_CREATION_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_ADDRESS_CREATION" => {
                    Some(Self::UndefinedAllowAddressCreation)
                }
                "ADDRESS_CREATION_ALLOWED" => Some(Self::AddressCreationAllowed),
                "ADDRESS_CREATION_BLOCKED" => Some(Self::AddressCreationBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether alias IP ranges (and secondary address ranges) are
    /// allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowAliasIpRanges {
        /// A value indicating that the enum field is not set.
        UndefinedAllowAliasIpRanges = 0,
        AliasIpRangesAllowed = 464867048,
        AliasIpRangesBlocked = 281030444,
    }
    impl AllowAliasIpRanges {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowAliasIpRanges => "UNDEFINED_ALLOW_ALIAS_IP_RANGES",
                Self::AliasIpRangesAllowed => "ALIAS_IP_RANGES_ALLOWED",
                Self::AliasIpRangesBlocked => "ALIAS_IP_RANGES_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_ALIAS_IP_RANGES" => {
                    Some(Self::UndefinedAllowAliasIpRanges)
                }
                "ALIAS_IP_RANGES_ALLOWED" => Some(Self::AliasIpRangesAllowed),
                "ALIAS_IP_RANGES_BLOCKED" => Some(Self::AliasIpRangesBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether auto mode subnet creation is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowAutoModeSubnet {
        /// A value indicating that the enum field is not set.
        UndefinedAllowAutoModeSubnet = 0,
        AutoModeSubnetAllowed = 391042610,
        AutoModeSubnetBlocked = 207206006,
    }
    impl AllowAutoModeSubnet {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowAutoModeSubnet => "UNDEFINED_ALLOW_AUTO_MODE_SUBNET",
                Self::AutoModeSubnetAllowed => "AUTO_MODE_SUBNET_ALLOWED",
                Self::AutoModeSubnetBlocked => "AUTO_MODE_SUBNET_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_AUTO_MODE_SUBNET" => {
                    Some(Self::UndefinedAllowAutoModeSubnet)
                }
                "AUTO_MODE_SUBNET_ALLOWED" => Some(Self::AutoModeSubnetAllowed),
                "AUTO_MODE_SUBNET_BLOCKED" => Some(Self::AutoModeSubnetBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether firewalls for Class D address ranges are supported.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowClassDFirewalls {
        /// A value indicating that the enum field is not set.
        UndefinedAllowClassDFirewalls = 0,
        ClassDFirewallsAllowed = 348219386,
        ClassDFirewallsBlocked = 164382782,
    }
    impl AllowClassDFirewalls {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowClassDFirewalls => {
                    "UNDEFINED_ALLOW_CLASS_D_FIREWALLS"
                }
                Self::ClassDFirewallsAllowed => "CLASS_D_FIREWALLS_ALLOWED",
                Self::ClassDFirewallsBlocked => "CLASS_D_FIREWALLS_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_CLASS_D_FIREWALLS" => {
                    Some(Self::UndefinedAllowClassDFirewalls)
                }
                "CLASS_D_FIREWALLS_ALLOWED" => Some(Self::ClassDFirewallsAllowed),
                "CLASS_D_FIREWALLS_BLOCKED" => Some(Self::ClassDFirewallsBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether cloud NAT creation is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowCloudNat {
        /// A value indicating that the enum field is not set.
        UndefinedAllowCloudNat = 0,
        CloudNatAllowed = 245931296,
        CloudNatBlocked = 62094692,
    }
    impl AllowCloudNat {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowCloudNat => "UNDEFINED_ALLOW_CLOUD_NAT",
                Self::CloudNatAllowed => "CLOUD_NAT_ALLOWED",
                Self::CloudNatBlocked => "CLOUD_NAT_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_CLOUD_NAT" => Some(Self::UndefinedAllowCloudNat),
                "CLOUD_NAT_ALLOWED" => Some(Self::CloudNatAllowed),
                "CLOUD_NAT_BLOCKED" => Some(Self::CloudNatBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether cloud router creation is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowCloudRouter {
        /// A value indicating that the enum field is not set.
        UndefinedAllowCloudRouter = 0,
        CloudRouterAllowed = 365388284,
        CloudRouterBlocked = 181551680,
    }
    impl AllowCloudRouter {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowCloudRouter => "UNDEFINED_ALLOW_CLOUD_ROUTER",
                Self::CloudRouterAllowed => "CLOUD_ROUTER_ALLOWED",
                Self::CloudRouterBlocked => "CLOUD_ROUTER_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_CLOUD_ROUTER" => Some(Self::UndefinedAllowCloudRouter),
                "CLOUD_ROUTER_ALLOWED" => Some(Self::CloudRouterAllowed),
                "CLOUD_ROUTER_BLOCKED" => Some(Self::CloudRouterBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether default NIC attachment is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowDefaultNicAttachment {
        /// A value indicating that the enum field is not set.
        UndefinedAllowDefaultNicAttachment = 0,
        DefaultNicAttachmentAllowed = 11570689,
        DefaultNicAttachmentBlocked = 364604997,
    }
    impl AllowDefaultNicAttachment {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowDefaultNicAttachment => {
                    "UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT"
                }
                Self::DefaultNicAttachmentAllowed => "DEFAULT_NIC_ATTACHMENT_ALLOWED",
                Self::DefaultNicAttachmentBlocked => "DEFAULT_NIC_ATTACHMENT_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_DEFAULT_NIC_ATTACHMENT" => {
                    Some(Self::UndefinedAllowDefaultNicAttachment)
                }
                "DEFAULT_NIC_ATTACHMENT_ALLOWED" => {
                    Some(Self::DefaultNicAttachmentAllowed)
                }
                "DEFAULT_NIC_ATTACHMENT_BLOCKED" => {
                    Some(Self::DefaultNicAttachmentBlocked)
                }
                _ => None,
            }
        }
    }
    /// Specifies whether VMs are allowed to have external IP access on network
    /// interfaces connected to this VPC.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowExternalIpAccess {
        /// A value indicating that the enum field is not set.
        UndefinedAllowExternalIpAccess = 0,
        ExternalIpAccessAllowed = 109530193,
        ExternalIpAccessBlocked = 462564501,
    }
    impl AllowExternalIpAccess {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowExternalIpAccess => {
                    "UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS"
                }
                Self::ExternalIpAccessAllowed => "EXTERNAL_IP_ACCESS_ALLOWED",
                Self::ExternalIpAccessBlocked => "EXTERNAL_IP_ACCESS_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_EXTERNAL_IP_ACCESS" => {
                    Some(Self::UndefinedAllowExternalIpAccess)
                }
                "EXTERNAL_IP_ACCESS_ALLOWED" => Some(Self::ExternalIpAccessAllowed),
                "EXTERNAL_IP_ACCESS_BLOCKED" => Some(Self::ExternalIpAccessBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether firewall policy can be attached to the network.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowFirewallPolicy {
        /// A value indicating that the enum field is not set.
        UndefinedAllowFirewallPolicy = 0,
        FirewallPolicyAllowed = 388488346,
        FirewallPolicyBlocked = 204651742,
    }
    impl AllowFirewallPolicy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowFirewallPolicy => "UNDEFINED_ALLOW_FIREWALL_POLICY",
                Self::FirewallPolicyAllowed => "FIREWALL_POLICY_ALLOWED",
                Self::FirewallPolicyBlocked => "FIREWALL_POLICY_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_FIREWALL_POLICY" => {
                    Some(Self::UndefinedAllowFirewallPolicy)
                }
                "FIREWALL_POLICY_ALLOWED" => Some(Self::FirewallPolicyAllowed),
                "FIREWALL_POLICY_BLOCKED" => Some(Self::FirewallPolicyBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether Cloud Interconnect creation is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowInterconnect {
        /// A value indicating that the enum field is not set.
        UndefinedAllowInterconnect = 0,
        InterconnectAllowed = 162845399,
        InterconnectBlocked = 515879707,
    }
    impl AllowInterconnect {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowInterconnect => "UNDEFINED_ALLOW_INTERCONNECT",
                Self::InterconnectAllowed => "INTERCONNECT_ALLOWED",
                Self::InterconnectBlocked => "INTERCONNECT_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_INTERCONNECT" => Some(Self::UndefinedAllowInterconnect),
                "INTERCONNECT_ALLOWED" => Some(Self::InterconnectAllowed),
                "INTERCONNECT_BLOCKED" => Some(Self::InterconnectBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether IP forwarding is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowIpForwarding {
        /// A value indicating that the enum field is not set.
        UndefinedAllowIpForwarding = 0,
        IpForwardingAllowed = 152595550,
        IpForwardingBlocked = 505629858,
    }
    impl AllowIpForwarding {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowIpForwarding => "UNDEFINED_ALLOW_IP_FORWARDING",
                Self::IpForwardingAllowed => "IP_FORWARDING_ALLOWED",
                Self::IpForwardingBlocked => "IP_FORWARDING_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_IP_FORWARDING" => Some(Self::UndefinedAllowIpForwarding),
                "IP_FORWARDING_ALLOWED" => Some(Self::IpForwardingAllowed),
                "IP_FORWARDING_BLOCKED" => Some(Self::IpForwardingBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether cloud load balancing is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowLoadBalancing {
        /// A value indicating that the enum field is not set.
        UndefinedAllowLoadBalancing = 0,
        LoadBalancingAllowed = 28407977,
        LoadBalancingBlocked = 381442285,
    }
    impl AllowLoadBalancing {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowLoadBalancing => "UNDEFINED_ALLOW_LOAD_BALANCING",
                Self::LoadBalancingAllowed => "LOAD_BALANCING_ALLOWED",
                Self::LoadBalancingBlocked => "LOAD_BALANCING_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_LOAD_BALANCING" => {
                    Some(Self::UndefinedAllowLoadBalancing)
                }
                "LOAD_BALANCING_ALLOWED" => Some(Self::LoadBalancingAllowed),
                "LOAD_BALANCING_BLOCKED" => Some(Self::LoadBalancingBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether multi-nic in the same network is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowMultiNicInSameNetwork {
        /// A value indicating that the enum field is not set.
        UndefinedAllowMultiNicInSameNetwork = 0,
        MultiNicInSameNetworkAllowed = 457555419,
        MultiNicInSameNetworkBlocked = 273718815,
    }
    impl AllowMultiNicInSameNetwork {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowMultiNicInSameNetwork => {
                    "UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK"
                }
                Self::MultiNicInSameNetworkAllowed => "MULTI_NIC_IN_SAME_NETWORK_ALLOWED",
                Self::MultiNicInSameNetworkBlocked => "MULTI_NIC_IN_SAME_NETWORK_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_NETWORK" => {
                    Some(Self::UndefinedAllowMultiNicInSameNetwork)
                }
                "MULTI_NIC_IN_SAME_NETWORK_ALLOWED" => {
                    Some(Self::MultiNicInSameNetworkAllowed)
                }
                "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" => {
                    Some(Self::MultiNicInSameNetworkBlocked)
                }
                _ => None,
            }
        }
    }
    /// Specifies whether multi-nic in the same subnetwork is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowMultiNicInSameSubnetwork {
        /// A value indicating that the enum field is not set.
        UndefinedAllowMultiNicInSameSubnetwork = 0,
        MultiNicInSameSubnetworkAllowed = 288044595,
        MultiNicInSameSubnetworkBlocked = 104207991,
    }
    impl AllowMultiNicInSameSubnetwork {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowMultiNicInSameSubnetwork => {
                    "UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK"
                }
                Self::MultiNicInSameSubnetworkAllowed => {
                    "MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED"
                }
                Self::MultiNicInSameSubnetworkBlocked => {
                    "MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_MULTI_NIC_IN_SAME_SUBNETWORK" => {
                    Some(Self::UndefinedAllowMultiNicInSameSubnetwork)
                }
                "MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED" => {
                    Some(Self::MultiNicInSameSubnetworkAllowed)
                }
                "MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED" => {
                    Some(Self::MultiNicInSameSubnetworkBlocked)
                }
                _ => None,
            }
        }
    }
    /// Specifies whether multicast is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowMulticast {
        /// A value indicating that the enum field is not set.
        UndefinedAllowMulticast = 0,
        MulticastAllowed = 44693537,
        MulticastBlocked = 397727845,
    }
    impl AllowMulticast {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowMulticast => "UNDEFINED_ALLOW_MULTICAST",
                Self::MulticastAllowed => "MULTICAST_ALLOWED",
                Self::MulticastBlocked => "MULTICAST_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_MULTICAST" => Some(Self::UndefinedAllowMulticast),
                "MULTICAST_ALLOWED" => Some(Self::MulticastAllowed),
                "MULTICAST_BLOCKED" => Some(Self::MulticastBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether NCC is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowNcc {
        /// A value indicating that the enum field is not set.
        UndefinedAllowNcc = 0,
        NccAllowed = 467227511,
        NccBlocked = 283390907,
    }
    impl AllowNcc {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowNcc => "UNDEFINED_ALLOW_NCC",
                Self::NccAllowed => "NCC_ALLOWED",
                Self::NccBlocked => "NCC_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_NCC" => Some(Self::UndefinedAllowNcc),
                "NCC_ALLOWED" => Some(Self::NccAllowed),
                "NCC_BLOCKED" => Some(Self::NccBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether VM network migration is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowNetworkMigration {
        /// A value indicating that the enum field is not set.
        UndefinedAllowNetworkMigration = 0,
        NetworkMigrationAllowed = 14389766,
        NetworkMigrationBlocked = 367424074,
    }
    impl AllowNetworkMigration {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowNetworkMigration => {
                    "UNDEFINED_ALLOW_NETWORK_MIGRATION"
                }
                Self::NetworkMigrationAllowed => "NETWORK_MIGRATION_ALLOWED",
                Self::NetworkMigrationBlocked => "NETWORK_MIGRATION_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_NETWORK_MIGRATION" => {
                    Some(Self::UndefinedAllowNetworkMigration)
                }
                "NETWORK_MIGRATION_ALLOWED" => Some(Self::NetworkMigrationAllowed),
                "NETWORK_MIGRATION_BLOCKED" => Some(Self::NetworkMigrationBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether Packet Mirroring 1.0 is supported.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowPacketMirroring {
        /// A value indicating that the enum field is not set.
        UndefinedAllowPacketMirroring = 0,
        PacketMirroringAllowed = 92416245,
        PacketMirroringBlocked = 445450553,
    }
    impl AllowPacketMirroring {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowPacketMirroring => "UNDEFINED_ALLOW_PACKET_MIRRORING",
                Self::PacketMirroringAllowed => "PACKET_MIRRORING_ALLOWED",
                Self::PacketMirroringBlocked => "PACKET_MIRRORING_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_PACKET_MIRRORING" => {
                    Some(Self::UndefinedAllowPacketMirroring)
                }
                "PACKET_MIRRORING_ALLOWED" => Some(Self::PacketMirroringAllowed),
                "PACKET_MIRRORING_BLOCKED" => Some(Self::PacketMirroringBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether private Google access is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowPrivateGoogleAccess {
        /// A value indicating that the enum field is not set.
        UndefinedAllowPrivateGoogleAccess = 0,
        PrivateGoogleAccessAllowed = 220787351,
        PrivateGoogleAccessBlocked = 36950747,
    }
    impl AllowPrivateGoogleAccess {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowPrivateGoogleAccess => {
                    "UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS"
                }
                Self::PrivateGoogleAccessAllowed => "PRIVATE_GOOGLE_ACCESS_ALLOWED",
                Self::PrivateGoogleAccessBlocked => "PRIVATE_GOOGLE_ACCESS_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_PRIVATE_GOOGLE_ACCESS" => {
                    Some(Self::UndefinedAllowPrivateGoogleAccess)
                }
                "PRIVATE_GOOGLE_ACCESS_ALLOWED" => Some(Self::PrivateGoogleAccessAllowed),
                "PRIVATE_GOOGLE_ACCESS_BLOCKED" => Some(Self::PrivateGoogleAccessBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether PSC creation is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowPsc {
        /// A value indicating that the enum field is not set.
        UndefinedAllowPsc = 0,
        PscAllowed = 171559657,
        PscBlocked = 524593965,
    }
    impl AllowPsc {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowPsc => "UNDEFINED_ALLOW_PSC",
                Self::PscAllowed => "PSC_ALLOWED",
                Self::PscBlocked => "PSC_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_PSC" => Some(Self::UndefinedAllowPsc),
                "PSC_ALLOWED" => Some(Self::PscAllowed),
                "PSC_BLOCKED" => Some(Self::PscBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether unicast within the same network is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowSameNetworkUnicast {
        /// A value indicating that the enum field is not set.
        UndefinedAllowSameNetworkUnicast = 0,
        SameNetworkUnicastAllowed = 159732814,
        SameNetworkUnicastBlocked = 512767122,
    }
    impl AllowSameNetworkUnicast {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowSameNetworkUnicast => {
                    "UNDEFINED_ALLOW_SAME_NETWORK_UNICAST"
                }
                Self::SameNetworkUnicastAllowed => "SAME_NETWORK_UNICAST_ALLOWED",
                Self::SameNetworkUnicastBlocked => "SAME_NETWORK_UNICAST_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_SAME_NETWORK_UNICAST" => {
                    Some(Self::UndefinedAllowSameNetworkUnicast)
                }
                "SAME_NETWORK_UNICAST_ALLOWED" => Some(Self::SameNetworkUnicastAllowed),
                "SAME_NETWORK_UNICAST_BLOCKED" => Some(Self::SameNetworkUnicastBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether static route creation is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowStaticRoutes {
        /// A value indicating that the enum field is not set.
        UndefinedAllowStaticRoutes = 0,
        StaticRoutesAllowed = 409048964,
        StaticRoutesBlocked = 225212360,
    }
    impl AllowStaticRoutes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowStaticRoutes => "UNDEFINED_ALLOW_STATIC_ROUTES",
                Self::StaticRoutesAllowed => "STATIC_ROUTES_ALLOWED",
                Self::StaticRoutesBlocked => "STATIC_ROUTES_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_STATIC_ROUTES" => Some(Self::UndefinedAllowStaticRoutes),
                "STATIC_ROUTES_ALLOWED" => Some(Self::StaticRoutesAllowed),
                "STATIC_ROUTES_BLOCKED" => Some(Self::StaticRoutesBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether sub interfaces are allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowSubInterfaces {
        /// A value indicating that the enum field is not set.
        UndefinedAllowSubInterfaces = 0,
        SubinterfacesAllowed = 158685891,
        SubinterfacesBlocked = 511720199,
    }
    impl AllowSubInterfaces {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowSubInterfaces => "UNDEFINED_ALLOW_SUB_INTERFACES",
                Self::SubinterfacesAllowed => "SUBINTERFACES_ALLOWED",
                Self::SubinterfacesBlocked => "SUBINTERFACES_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_SUB_INTERFACES" => {
                    Some(Self::UndefinedAllowSubInterfaces)
                }
                "SUBINTERFACES_ALLOWED" => Some(Self::SubinterfacesAllowed),
                "SUBINTERFACES_BLOCKED" => Some(Self::SubinterfacesBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether subnetwork creation is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowSubnetworkCreation {
        /// A value indicating that the enum field is not set.
        UndefinedAllowSubnetworkCreation = 0,
        SubnetworkCreationAllowed = 158580825,
        SubnetworkCreationBlocked = 511615133,
    }
    impl AllowSubnetworkCreation {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowSubnetworkCreation => {
                    "UNDEFINED_ALLOW_SUBNETWORK_CREATION"
                }
                Self::SubnetworkCreationAllowed => "SUBNETWORK_CREATION_ALLOWED",
                Self::SubnetworkCreationBlocked => "SUBNETWORK_CREATION_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_SUBNETWORK_CREATION" => {
                    Some(Self::UndefinedAllowSubnetworkCreation)
                }
                "SUBNETWORK_CREATION_ALLOWED" => Some(Self::SubnetworkCreationAllowed),
                "SUBNETWORK_CREATION_BLOCKED" => Some(Self::SubnetworkCreationBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether VPC firewall rules can be created under the network.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowVpcFirewallRules {
        /// A value indicating that the enum field is not set.
        UndefinedAllowVpcFirewallRules = 0,
        VpcFirewallRulesAllowed = 489586007,
        VpcFirewallRulesBlocked = 305749403,
    }
    impl AllowVpcFirewallRules {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowVpcFirewallRules => {
                    "UNDEFINED_ALLOW_VPC_FIREWALL_RULES"
                }
                Self::VpcFirewallRulesAllowed => "VPC_FIREWALL_RULES_ALLOWED",
                Self::VpcFirewallRulesBlocked => "VPC_FIREWALL_RULES_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_VPC_FIREWALL_RULES" => {
                    Some(Self::UndefinedAllowVpcFirewallRules)
                }
                "VPC_FIREWALL_RULES_ALLOWED" => Some(Self::VpcFirewallRulesAllowed),
                "VPC_FIREWALL_RULES_BLOCKED" => Some(Self::VpcFirewallRulesBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether VPC peering is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowVpcPeering {
        /// A value indicating that the enum field is not set.
        UndefinedAllowVpcPeering = 0,
        VpcPeeringAllowed = 261465075,
        VpcPeeringBlocked = 77628471,
    }
    impl AllowVpcPeering {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowVpcPeering => "UNDEFINED_ALLOW_VPC_PEERING",
                Self::VpcPeeringAllowed => "VPC_PEERING_ALLOWED",
                Self::VpcPeeringBlocked => "VPC_PEERING_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_VPC_PEERING" => Some(Self::UndefinedAllowVpcPeering),
                "VPC_PEERING_ALLOWED" => Some(Self::VpcPeeringAllowed),
                "VPC_PEERING_BLOCKED" => Some(Self::VpcPeeringBlocked),
                _ => None,
            }
        }
    }
    /// Specifies whether VPN creation is allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AllowVpn {
        /// A value indicating that the enum field is not set.
        UndefinedAllowVpn = 0,
        VpnAllowed = 162163997,
        VpnBlocked = 515198305,
    }
    impl AllowVpn {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAllowVpn => "UNDEFINED_ALLOW_VPN",
                Self::VpnAllowed => "VPN_ALLOWED",
                Self::VpnBlocked => "VPN_BLOCKED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ALLOW_VPN" => Some(Self::UndefinedAllowVpn),
                "VPN_ALLOWED" => Some(Self::VpnAllowed),
                "VPN_BLOCKED" => Some(Self::VpnBlocked),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum FirewallPolicyTypes {
        /// A value indicating that the enum field is not set.
        UndefinedFirewallPolicyTypes = 0,
        RdmaRocePolicy = 148757145,
        VpcPolicy = 74319208,
    }
    impl FirewallPolicyTypes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedFirewallPolicyTypes => "UNDEFINED_FIREWALL_POLICY_TYPES",
                Self::RdmaRocePolicy => "RDMA_ROCE_POLICY",
                Self::VpcPolicy => "VPC_POLICY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_FIREWALL_POLICY_TYPES" => {
                    Some(Self::UndefinedFirewallPolicyTypes)
                }
                "RDMA_ROCE_POLICY" => Some(Self::RdmaRocePolicy),
                "VPC_POLICY" => Some(Self::VpcPolicy),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum InterfaceTypes {
        /// A value indicating that the enum field is not set.
        UndefinedInterfaceTypes = 0,
        /// GVNIC
        Gvnic = 68209305,
        /// IDPF
        Idpf = 2242641,
        /// IRDMA
        Irdma = 69927695,
        /// MRDMA
        Mrdma = 73621779,
        /// No type specified.
        UnspecifiedNicType = 67411801,
        /// VIRTIO
        VirtioNet = 452123481,
    }
    impl InterfaceTypes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInterfaceTypes => "UNDEFINED_INTERFACE_TYPES",
                Self::Gvnic => "GVNIC",
                Self::Idpf => "IDPF",
                Self::Irdma => "IRDMA",
                Self::Mrdma => "MRDMA",
                Self::UnspecifiedNicType => "UNSPECIFIED_NIC_TYPE",
                Self::VirtioNet => "VIRTIO_NET",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INTERFACE_TYPES" => Some(Self::UndefinedInterfaceTypes),
                "GVNIC" => Some(Self::Gvnic),
                "IDPF" => Some(Self::Idpf),
                "IRDMA" => Some(Self::Irdma),
                "MRDMA" => Some(Self::Mrdma),
                "UNSPECIFIED_NIC_TYPE" => Some(Self::UnspecifiedNicType),
                "VIRTIO_NET" => Some(Self::VirtioNet),
                _ => None,
            }
        }
    }
    /// Specifies which type of multicast is supported.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Multicast {
        /// A value indicating that the enum field is not set.
        UndefinedMulticast = 0,
        Sdn = 532209462,
        Ull = 532211630,
    }
    impl Multicast {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMulticast => "UNDEFINED_MULTICAST",
                Self::Sdn => "MULTICAST_SDN",
                Self::Ull => "MULTICAST_ULL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MULTICAST" => Some(Self::UndefinedMulticast),
                "MULTICAST_SDN" => Some(Self::Sdn),
                "MULTICAST_ULL" => Some(Self::Ull),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SubnetPurposes {
        /// A value indicating that the enum field is not set.
        UndefinedSubnetPurposes = 0,
        SubnetPurposeCustomHardware = 283160275,
        SubnetPurposePrivate = 404371008,
    }
    impl SubnetPurposes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSubnetPurposes => "UNDEFINED_SUBNET_PURPOSES",
                Self::SubnetPurposeCustomHardware => "SUBNET_PURPOSE_CUSTOM_HARDWARE",
                Self::SubnetPurposePrivate => "SUBNET_PURPOSE_PRIVATE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SUBNET_PURPOSES" => Some(Self::UndefinedSubnetPurposes),
                "SUBNET_PURPOSE_CUSTOM_HARDWARE" => {
                    Some(Self::SubnetPurposeCustomHardware)
                }
                "SUBNET_PURPOSE_PRIVATE" => Some(Self::SubnetPurposePrivate),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SubnetStackTypes {
        /// A value indicating that the enum field is not set.
        UndefinedSubnetStackTypes = 0,
        SubnetStackTypeIpv4Ipv6 = 41454485,
        SubnetStackTypeIpv4Only = 41631034,
        SubnetStackTypeIpv6Only = 98889336,
    }
    impl SubnetStackTypes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSubnetStackTypes => "UNDEFINED_SUBNET_STACK_TYPES",
                Self::SubnetStackTypeIpv4Ipv6 => "SUBNET_STACK_TYPE_IPV4_IPV6",
                Self::SubnetStackTypeIpv4Only => "SUBNET_STACK_TYPE_IPV4_ONLY",
                Self::SubnetStackTypeIpv6Only => "SUBNET_STACK_TYPE_IPV6_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SUBNET_STACK_TYPES" => Some(Self::UndefinedSubnetStackTypes),
                "SUBNET_STACK_TYPE_IPV4_IPV6" => Some(Self::SubnetStackTypeIpv4Ipv6),
                "SUBNET_STACK_TYPE_IPV4_ONLY" => Some(Self::SubnetStackTypeIpv4Only),
                "SUBNET_STACK_TYPE_IPV6_ONLY" => Some(Self::SubnetStackTypeIpv6Only),
                _ => None,
            }
        }
    }
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// PRIVATE_SERVICE_CONNECT
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SubnetworkPurposes {
        /// A value indicating that the enum field is not set.
        UndefinedSubnetworkPurposes = 0,
        /// Subnet reserved for Global Envoy-based Load Balancing.
        GlobalManagedProxy = 236463602,
        /// Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
        /// purpose, please use REGIONAL_MANAGED_PROXY instead.
        InternalHttpsLoadBalancer = 248748889,
        /// Subnetwork will be used for Migration from one peered VPC to another.
        /// (a transient state of subnetwork
        /// while migrating resources from one project to another).
        PeerMigration = 491902225,
        /// Regular user created or automatically created subnet.
        Private = 403485027,
        /// Subnetwork used as source range for Private NAT Gateways.
        PrivateNat = 367764517,
        /// Regular user created or automatically created subnet.
        PrivateRfc1918 = 254902107,
        /// Subnetwork used for Regional Envoy-based Load Balancing.
        RegionalManagedProxy = 153049966,
    }
    impl SubnetworkPurposes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSubnetworkPurposes => "UNDEFINED_SUBNETWORK_PURPOSES",
                Self::GlobalManagedProxy => "GLOBAL_MANAGED_PROXY",
                Self::InternalHttpsLoadBalancer => "INTERNAL_HTTPS_LOAD_BALANCER",
                Self::PeerMigration => "PEER_MIGRATION",
                Self::Private => "PRIVATE",
                Self::PrivateNat => "PRIVATE_NAT",
                Self::PrivateRfc1918 => "PRIVATE_RFC_1918",
                Self::RegionalManagedProxy => "REGIONAL_MANAGED_PROXY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SUBNETWORK_PURPOSES" => {
                    Some(Self::UndefinedSubnetworkPurposes)
                }
                "GLOBAL_MANAGED_PROXY" => Some(Self::GlobalManagedProxy),
                "INTERNAL_HTTPS_LOAD_BALANCER" => Some(Self::InternalHttpsLoadBalancer),
                "PEER_MIGRATION" => Some(Self::PeerMigration),
                "PRIVATE" => Some(Self::Private),
                "PRIVATE_NAT" => Some(Self::PrivateNat),
                "PRIVATE_RFC_1918" => Some(Self::PrivateRfc1918),
                "REGIONAL_MANAGED_PROXY" => Some(Self::RegionalManagedProxy),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SubnetworkStackTypes {
        /// A value indicating that the enum field is not set.
        UndefinedSubnetworkStackTypes = 0,
        /// New VMs in this subnet can have both IPv4 and IPv6 addresses.
        Ipv4Ipv6 = 22197249,
        /// New VMs in this subnet will only be assigned IPv4 addresses.
        Ipv4Only = 22373798,
        /// New VMs in this subnet will only  be assigned IPv6 addresses.
        Ipv6Only = 79632100,
    }
    impl SubnetworkStackTypes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSubnetworkStackTypes => "UNDEFINED_SUBNETWORK_STACK_TYPES",
                Self::Ipv4Ipv6 => "IPV4_IPV6",
                Self::Ipv4Only => "IPV4_ONLY",
                Self::Ipv6Only => "IPV6_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SUBNETWORK_STACK_TYPES" => {
                    Some(Self::UndefinedSubnetworkStackTypes)
                }
                "IPV4_IPV6" => Some(Self::Ipv4Ipv6),
                "IPV4_ONLY" => Some(Self::Ipv4Only),
                "IPV6_ONLY" => Some(Self::Ipv6Only),
                _ => None,
            }
        }
    }
    /// Specifies which type of unicast is supported.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Unicast {
        /// A value indicating that the enum field is not set.
        UndefinedUnicast = 0,
        Sdn = 379954157,
        Ull = 379956325,
    }
    impl Unicast {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedUnicast => "UNDEFINED_UNICAST",
                Self::Sdn => "UNICAST_SDN",
                Self::Ull => "UNICAST_ULL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_UNICAST" => Some(Self::UndefinedUnicast),
                "UNICAST_SDN" => Some(Self::Sdn),
                "UNICAST_ULL" => Some(Self::Ull),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkProfileNetworkFeaturesPredefinedSubnetworkRange {
    /// The IPv6 range of the predefined subnetwork.
    #[prost(string, optional, tag = "50053349")]
    pub ipv6_range: ::core::option::Option<::prost::alloc::string::String>,
    /// The naming prefix of the predefined subnetwork.
    #[prost(string, optional, tag = "236409542")]
    pub name_prefix: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkProfileProfileType {
    /// Check the NetworkType enum for the list of possible values.
    #[prost(string, optional, tag = "517413547")]
    pub network_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the RdmaSubtype enum for the list of possible values.
    #[prost(string, optional, tag = "82019713")]
    pub rdma_subtype: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the UllSubtype enum for the list of possible values.
    #[prost(string, optional, tag = "94311408")]
    pub ull_subtype: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the VpcSubtype enum for the list of possible values.
    #[prost(string, optional, tag = "356623396")]
    pub vpc_subtype: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkProfileProfileType`.
pub mod network_profile_profile_type {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NetworkType {
        /// A value indicating that the enum field is not set.
        UndefinedNetworkType = 0,
        /// RDMA network.
        Rdma = 2510662,
        /// ULL network.
        Ull = 84117,
        /// VPC network.
        Vpc = 85193,
    }
    impl NetworkType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNetworkType => "UNDEFINED_NETWORK_TYPE",
                Self::Rdma => "RDMA",
                Self::Ull => "ULL",
                Self::Vpc => "VPC",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NETWORK_TYPE" => Some(Self::UndefinedNetworkType),
                "RDMA" => Some(Self::Rdma),
                "ULL" => Some(Self::Ull),
                "VPC" => Some(Self::Vpc),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RdmaSubtype {
        /// A value indicating that the enum field is not set.
        UndefinedRdmaSubtype = 0,
        /// RDMA over Falcon.
        Falcon = 455787729,
        /// RDMA over Converged Ethernet (RoCE).
        Roce = 2520927,
        /// RDMA over Converged Ethernet (RoCE) for Bare Metal.
        RoceMetal = 421218823,
    }
    impl RdmaSubtype {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRdmaSubtype => "UNDEFINED_RDMA_SUBTYPE",
                Self::Falcon => "FALCON",
                Self::Roce => "ROCE",
                Self::RoceMetal => "ROCE_METAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_RDMA_SUBTYPE" => Some(Self::UndefinedRdmaSubtype),
                "FALCON" => Some(Self::Falcon),
                "ROCE" => Some(Self::Roce),
                "ROCE_METAL" => Some(Self::RoceMetal),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum UllSubtype {
        /// A value indicating that the enum field is not set.
        UndefinedUllSubtype = 0,
        /// Exchange operator.
        Operator = 282073252,
        /// Exchange participant.
        Participant = 236028691,
    }
    impl UllSubtype {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedUllSubtype => "UNDEFINED_ULL_SUBTYPE",
                Self::Operator => "OPERATOR",
                Self::Participant => "PARTICIPANT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ULL_SUBTYPE" => Some(Self::UndefinedUllSubtype),
                "OPERATOR" => Some(Self::Operator),
                "PARTICIPANT" => Some(Self::Participant),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum VpcSubtype {
        /// A value indicating that the enum field is not set.
        UndefinedVpcSubtype = 0,
        /// Regionally bound VPC network.
        Regional = 92288543,
    }
    impl VpcSubtype {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedVpcSubtype => "UNDEFINED_VPC_SUBTYPE",
                Self::Regional => "REGIONAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_VPC_SUBTYPE" => Some(Self::UndefinedVpcSubtype),
                "REGIONAL" => Some(Self::Regional),
                _ => None,
            }
        }
    }
}
/// Contains a list of network profiles.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkProfilesListResponse {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NetworkProfile resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<NetworkProfile>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#networkProfileList for network profiles.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value
    /// for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken
    /// to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface: MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A routing configuration attached to a network resource. The message
/// includes the list of routers associated with the network, and a flag
/// indicating the type of routing behavior to enforce network-wide.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworkRoutingConfig {
    /// Enable comparison of Multi-Exit Discriminators (MED) across routes with
    /// different neighbor ASNs when using the STANDARD BGP best path selection
    /// algorithm.
    #[prost(bool, optional, tag = "213102902")]
    pub bgp_always_compare_med: ::core::option::Option<bool>,
    /// The BGP best path selection algorithm to be employed within this network
    /// for dynamic routes learned by Cloud Routers. Can be LEGACY
    /// (default) or STANDARD.
    /// Check the BgpBestPathSelectionMode enum for the list of possible values.
    #[prost(string, optional, tag = "317816297")]
    pub bgp_best_path_selection_mode: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Allows to define a preferred approach for handling inter-region cost in
    /// the selection process when using the STANDARD BGP best path
    /// selection algorithm. Can be DEFAULT orADD_COST_TO_MED.
    /// Check the BgpInterRegionCost enum for the list of possible values.
    #[prost(string, optional, tag = "462142689")]
    pub bgp_inter_region_cost: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Effective value of the bgp_always_compare_med
    /// field.
    #[prost(bool, optional, tag = "214661838")]
    pub effective_bgp_always_compare_med: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Effective value of the bgp_inter_region_cost
    /// field.
    /// Check the EffectiveBgpInterRegionCost enum for the list of possible values.
    #[prost(string, optional, tag = "185098313")]
    pub effective_bgp_inter_region_cost: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// The network-wide routing mode to use. If set to REGIONAL,
    /// this network's Cloud Routers will only advertise routes with subnets
    /// of this network in the same region as the router. If set toGLOBAL, this network's Cloud Routers will advertise
    /// routes with all subnets of this network, across regions.
    /// Check the RoutingMode enum for the list of possible values.
    #[prost(string, optional, tag = "475143548")]
    pub routing_mode: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkRoutingConfig`.
pub mod network_routing_config {
    /// The BGP best path selection algorithm to be employed within this network
    /// for dynamic routes learned by Cloud Routers. Can be LEGACY
    /// (default) or STANDARD.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum BgpBestPathSelectionMode {
        /// A value indicating that the enum field is not set.
        UndefinedBgpBestPathSelectionMode = 0,
        Legacy = 94234569,
        Standard = 484642493,
    }
    impl BgpBestPathSelectionMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBgpBestPathSelectionMode => {
                    "UNDEFINED_BGP_BEST_PATH_SELECTION_MODE"
                }
                Self::Legacy => "LEGACY",
                Self::Standard => "STANDARD",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BGP_BEST_PATH_SELECTION_MODE" => {
                    Some(Self::UndefinedBgpBestPathSelectionMode)
                }
                "LEGACY" => Some(Self::Legacy),
                "STANDARD" => Some(Self::Standard),
                _ => None,
            }
        }
    }
    /// Allows to define a preferred approach for handling inter-region cost in
    /// the selection process when using the STANDARD BGP best path
    /// selection algorithm. Can be DEFAULT orADD_COST_TO_MED.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// ADD_COST_TO_MED
    /// DEFAULT
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum BgpInterRegionCost {
        /// A value indicating that the enum field is not set.
        UndefinedBgpInterRegionCost = 0,
        AddCostToMed = 490583004,
        Default = 115302945,
    }
    impl BgpInterRegionCost {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBgpInterRegionCost => "UNDEFINED_BGP_INTER_REGION_COST",
                Self::AddCostToMed => "ADD_COST_TO_MED",
                Self::Default => "DEFAULT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BGP_INTER_REGION_COST" => {
                    Some(Self::UndefinedBgpInterRegionCost)
                }
                "ADD_COST_TO_MED" => Some(Self::AddCostToMed),
                "DEFAULT" => Some(Self::Default),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] Effective value of the bgp_inter_region_cost
    /// field.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// ADD_COST_TO_MED
    /// DEFAULT
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum EffectiveBgpInterRegionCost {
        /// A value indicating that the enum field is not set.
        UndefinedEffectiveBgpInterRegionCost = 0,
    }
    impl EffectiveBgpInterRegionCost {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedEffectiveBgpInterRegionCost => {
                    "UNDEFINED_EFFECTIVE_BGP_INTER_REGION_COST"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_EFFECTIVE_BGP_INTER_REGION_COST" => {
                    Some(Self::UndefinedEffectiveBgpInterRegionCost)
                }
                _ => None,
            }
        }
    }
    /// The network-wide routing mode to use. If set to REGIONAL,
    /// this network's Cloud Routers will only advertise routes with subnets
    /// of this network in the same region as the router. If set toGLOBAL, this network's Cloud Routers will advertise
    /// routes with all subnets of this network, across regions.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RoutingMode {
        /// A value indicating that the enum field is not set.
        UndefinedRoutingMode = 0,
        Global = 494663587,
        Regional = 92288543,
    }
    impl RoutingMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRoutingMode => "UNDEFINED_ROUTING_MODE",
                Self::Global => "GLOBAL",
                Self::Regional => "REGIONAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ROUTING_MODE" => Some(Self::UndefinedRoutingMode),
                "GLOBAL" => Some(Self::Global),
                "REGIONAL" => Some(Self::Regional),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworksAddPeeringRequest {
    /// This field will be deprecated soon. Useexchange_subnet_routes in network_peering
    /// instead.
    /// Indicates whether full mesh connectivity is created and managed
    /// automatically between peered networks. Currently this field should always
    /// be true since Google Compute Engine will automatically create and manage
    /// subnetwork routes between two networks when peering state isACTIVE.
    #[prost(bool, optional, tag = "57454941")]
    pub auto_create_routes: ::core::option::Option<bool>,
    /// Name of the peering, which should conform to RFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Network peering parameters.
    /// In order to specify route policies for peering using import and export
    /// custom routes, you must specify all peering related parameters
    /// (name, peer network,exchange_subnet_routes) in the network_peering
    /// field.
    /// The corresponding fields in NetworksAddPeeringRequest will be
    /// deprecated soon.
    #[prost(message, optional, tag = "328926767")]
    pub network_peering: ::core::option::Option<NetworkPeering>,
    /// URL of the peer network.  It can be either full URL or partial URL. The
    /// peer network may belong to a different project. If the partial URL does not
    /// contain project, it is assumed that the peer network is in the same project
    /// as the current network.
    #[prost(string, optional, tag = "500625489")]
    pub peer_network: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworksGetEffectiveFirewallsResponse {
    /// \[Output Only\] Effective firewalls from firewall policy. It returns Global
    /// Network Firewall Policies and Hierarchical Firewall Policies. UseregionNetworkFirewallPolicies.getEffectiveFirewalls to get
    /// Regional Network Firewall Policies as well.
    #[prost(message, repeated, tag = "410985794")]
    pub firewall_policys: ::prost::alloc::vec::Vec<
        NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy,
    >,
    /// Effective firewalls on the network.
    #[prost(message, repeated, tag = "272245619")]
    pub firewalls: ::prost::alloc::vec::Vec<Firewall>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy {
    /// Output only. \[Output Only\] Deprecated, please use short name instead. The display name
    /// of the firewall policy.
    #[prost(string, optional, tag = "4473832")]
    pub display_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of the firewall policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The packet mirroring rules that apply to the network.
    #[prost(message, repeated, tag = "531644356")]
    pub packet_mirroring_rules: ::prost::alloc::vec::Vec<FirewallPolicyRule>,
    /// Output only. \[Output only\] Priority of firewall policy association. Not applicable for
    /// type=HIERARCHY.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// \[Output Only\] The rules that apply to the network.
    #[prost(message, repeated, tag = "108873975")]
    pub rules: ::prost::alloc::vec::Vec<FirewallPolicyRule>,
    /// Output only. \[Output Only\] The short name of the firewall policy.
    #[prost(string, optional, tag = "492051566")]
    pub short_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The type of the firewall policy.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy`.
pub mod networks_get_effective_firewalls_response_effective_firewall_policy {
    /// Output only. \[Output Only\] The type of the firewall policy.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        Hierarchy = 69902869,
        Network = 413984270,
        System = 313484847,
        Unspecified = 526786327,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Hierarchy => "HIERARCHY",
                Self::Network => "NETWORK",
                Self::System => "SYSTEM",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "HIERARCHY" => Some(Self::Hierarchy),
                "NETWORK" => Some(Self::Network),
                "SYSTEM" => Some(Self::System),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworksRemovePeeringRequest {
    /// Name of the peering, which should conform to RFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworksRequestRemovePeeringRequest {
    /// Name of the peering, which should conform to RFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NetworksUpdatePeeringRequest {
    #[prost(message, optional, tag = "328926767")]
    pub network_peering: ::core::option::Option<NetworkPeering>,
}
/// Represents a sole-tenant Node Group resource.
///
/// A sole-tenant node is a physical server that is dedicated to
/// hosting VM instances only for your specific project. Use sole-tenant nodes to
/// keep your instances physically separated from instances in other projects, or
/// to group your instances together on the same host hardware. For more
/// information, readSole-tenant nodes.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeGroup {
    /// Specifies how autoscaling should behave.
    #[prost(message, optional, tag = "221950041")]
    pub autoscaling_policy: ::core::option::Option<NodeGroupAutoscalingPolicy>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The type of the resource. Alwayscompute#nodeGroup for node group.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// An opaque location hint used to place the Node close to other
    /// resources.
    /// This field is for use by internal tools that use the public API.
    /// The location hint here on the NodeGroup overrides any location_hint
    /// present in the NodeTemplate.
    #[prost(string, optional, tag = "350519505")]
    pub location_hint: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the frequency of planned maintenance events. The accepted values
    /// are: `AS_NEEDED` and `RECURRENT`.
    /// Check the MaintenanceInterval enum for the list of possible values.
    #[prost(string, optional, tag = "403368049")]
    pub maintenance_interval: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how to handle instances when a node in the group undergoes
    /// maintenance. Set to one of: DEFAULT,RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP.
    /// The default value is DEFAULT. For more information, see
    /// Maintenance policies.
    /// Check the MaintenancePolicy enum for the list of possible values.
    #[prost(string, optional, tag = "528327646")]
    pub maintenance_policy: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "186374812")]
    pub maintenance_window: ::core::option::Option<NodeGroupMaintenanceWindow>,
    /// The name of the resource, provided by the client when initially creating
    /// the resource. The resource name must be 1-63 characters long, and comply
    /// withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the node template to create the node group from.
    #[prost(string, optional, tag = "323154455")]
    pub node_template: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Share-settings for the node group
    #[prost(message, optional, tag = "266668163")]
    pub share_settings: ::core::option::Option<ShareSettings>,
    /// Output only. \[Output Only\] The total number of nodes in the node group.
    #[prost(int32, optional, tag = "3530753")]
    pub size: ::core::option::Option<i32>,
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of the zone where the node group resides,
    /// such as us-central1-a.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NodeGroup`.
pub mod node_group {
    /// Specifies the frequency of planned maintenance events. The accepted values
    /// are: `AS_NEEDED` and `RECURRENT`.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MaintenanceInterval {
        /// A value indicating that the enum field is not set.
        UndefinedMaintenanceInterval = 0,
        /// VMs are eligible to receive infrastructure and hypervisor updates as they
        /// become available.  This may result in more maintenance operations (live
        /// migrations or terminations) for the VM than the PERIODIC andRECURRENT options.
        AsNeeded = 500724834,
        /// VMs receive infrastructure and hypervisor updates on a periodic basis,
        /// minimizing the number of maintenance operations (live migrations or
        /// terminations) on an individual VM.  This may mean a VM will take longer
        /// to receive an update than if it was configured forAS_NEEDED.  Security updates will still be applied as soon
        /// as they are available. RECURRENT is used for GEN3 and Slice
        /// of Hardware VMs.
        Recurrent = 194244550,
    }
    impl MaintenanceInterval {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMaintenanceInterval => "UNDEFINED_MAINTENANCE_INTERVAL",
                Self::AsNeeded => "AS_NEEDED",
                Self::Recurrent => "RECURRENT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MAINTENANCE_INTERVAL" => {
                    Some(Self::UndefinedMaintenanceInterval)
                }
                "AS_NEEDED" => Some(Self::AsNeeded),
                "RECURRENT" => Some(Self::Recurrent),
                _ => None,
            }
        }
    }
    /// Specifies how to handle instances when a node in the group undergoes
    /// maintenance. Set to one of: DEFAULT,RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP.
    /// The default value is DEFAULT. For more information, see
    /// Maintenance policies.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MaintenancePolicy {
        /// A value indicating that the enum field is not set.
        UndefinedMaintenancePolicy = 0,
        /// Allow the node and corresponding instances to retain default
        /// maintenance behavior.
        Default = 115302945,
        Unspecified = 72964182,
        /// When maintenance must be done on a node, the instances on that node will
        /// be moved to other nodes in the group.
        /// Instances with onHostMaintenance = MIGRATE will live migrate to their
        /// destinations while instances with onHostMaintenance = TERMINATE will
        /// terminate and then restart on their destination nodes if
        /// automaticRestart = true.
        MigrateWithinNodeGroup = 153483394,
        /// Instances in this group will restart on the same node when maintenance
        /// has completed. Instances must have onHostMaintenance = TERMINATE, and
        /// they will only restart if automaticRestart = true.
        RestartInPlace = 228647325,
    }
    impl MaintenancePolicy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMaintenancePolicy => "UNDEFINED_MAINTENANCE_POLICY",
                Self::Default => "DEFAULT",
                Self::Unspecified => "MAINTENANCE_POLICY_UNSPECIFIED",
                Self::MigrateWithinNodeGroup => "MIGRATE_WITHIN_NODE_GROUP",
                Self::RestartInPlace => "RESTART_IN_PLACE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MAINTENANCE_POLICY" => Some(Self::UndefinedMaintenancePolicy),
                "DEFAULT" => Some(Self::Default),
                "MAINTENANCE_POLICY_UNSPECIFIED" => Some(Self::Unspecified),
                "MIGRATE_WITHIN_NODE_GROUP" => Some(Self::MigrateWithinNodeGroup),
                "RESTART_IN_PLACE" => Some(Self::RestartInPlace),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Creating = 455564985,
        Deleting = 528602024,
        Invalid = 530283991,
        Ready = 77848963,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Invalid => "INVALID",
                Self::Ready => "READY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "INVALID" => Some(Self::Invalid),
                "READY" => Some(Self::Ready),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeGroupAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NodeGroupsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        NodeGroupsScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource.Alwayscompute#nodeGroupAggregatedList for aggregated lists of node
    /// groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NodeGroupAutoscalingPolicy {
    /// The maximum number of nodes that the group should have. Must be set if
    /// autoscaling is enabled. Maximum value allowed is 100.
    #[prost(int32, optional, tag = "297762838")]
    pub max_nodes: ::core::option::Option<i32>,
    /// The minimum number of nodes that the group should have.
    #[prost(int32, optional, tag = "533370500")]
    pub min_nodes: ::core::option::Option<i32>,
    /// The autoscaling mode. Set to one of: ON, OFF,
    /// or ONLY_SCALE_OUT. For more information, see
    /// Autoscaler modes.
    /// Check the Mode enum for the list of possible values.
    #[prost(string, optional, tag = "3357091")]
    pub mode: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NodeGroupAutoscalingPolicy`.
pub mod node_group_autoscaling_policy {
    /// The autoscaling mode. Set to one of: ON, OFF,
    /// or ONLY_SCALE_OUT. For more information, see
    /// Autoscaler modes.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Mode {
        /// A value indicating that the enum field is not set.
        UndefinedMode = 0,
        Unspecified = 371348091,
        /// Autoscaling is disabled.
        Off = 78159,
        /// Autocaling is fully enabled.
        On = 2527,
        /// Autoscaling will only scale out and will not remove nodes.
        OnlyScaleOut = 152713670,
    }
    impl Mode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMode => "UNDEFINED_MODE",
                Self::Unspecified => "MODE_UNSPECIFIED",
                Self::Off => "OFF",
                Self::On => "ON",
                Self::OnlyScaleOut => "ONLY_SCALE_OUT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MODE" => Some(Self::UndefinedMode),
                "MODE_UNSPECIFIED" => Some(Self::Unspecified),
                "OFF" => Some(Self::Off),
                "ON" => Some(Self::On),
                "ONLY_SCALE_OUT" => Some(Self::OnlyScaleOut),
                _ => None,
            }
        }
    }
}
/// Contains a list of nodeGroups.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeGroupList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NodeGroup resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<NodeGroup>,
    /// Output only. \[Output Only\] Type of resource.Always compute#nodeGroupList
    /// for lists of node groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Time window specified for daily maintenance operations. GCE's internal
/// maintenance will be performed within this window.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NodeGroupMaintenanceWindow {
    /// Output only. \[Output only\] A predetermined duration for the window, automatically
    /// chosen to be the smallest possible in the given scenario.
    #[prost(message, optional, tag = "525291840")]
    pub maintenance_duration: ::core::option::Option<Duration>,
    /// Start time of the window. This must be in UTC format that resolves to one
    /// of 00:00, 04:00, 08:00,12:00, 16:00, or 20:00. For
    /// example, both 13:00-5 and 08:00 are valid.
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeGroupNode {
    /// Accelerators for this node.
    #[prost(message, repeated, tag = "269577064")]
    pub accelerators: ::prost::alloc::vec::Vec<AcceleratorConfig>,
    /// Output only. Node resources that are reserved by all instances.
    #[prost(message, optional, tag = "334527118")]
    pub consumed_resources: ::core::option::Option<InstanceConsumptionInfo>,
    /// CPU overcommit.
    /// Check the CpuOvercommitType enum for the list of possible values.
    #[prost(string, optional, tag = "247727959")]
    pub cpu_overcommit_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Local disk configurations.
    #[prost(message, repeated, tag = "95594102")]
    pub disks: ::prost::alloc::vec::Vec<LocalDisk>,
    /// Output only. Instance data that shows consumed resources on the node.
    #[prost(message, repeated, tag = "84715576")]
    pub instance_consumption_data: ::prost::alloc::vec::Vec<InstanceConsumptionData>,
    /// Instances scheduled on this node.
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The name of the node.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The type of this node.
    #[prost(string, optional, tag = "465832791")]
    pub node_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// Binding properties for the physical server.
    #[prost(message, optional, tag = "208179593")]
    pub server_binding: ::core::option::Option<ServerBinding>,
    /// Server ID associated with this node.
    #[prost(string, optional, tag = "339433367")]
    pub server_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Total amount of available resources on the node.
    #[prost(message, optional, tag = "97406698")]
    pub total_resources: ::core::option::Option<InstanceConsumptionInfo>,
    /// Output only. \[Output Only\] The information about an upcoming maintenance event.
    #[prost(message, optional, tag = "227348592")]
    pub upcoming_maintenance: ::core::option::Option<UpcomingMaintenance>,
}
/// Nested message and enum types in `NodeGroupNode`.
pub mod node_group_node {
    /// CPU overcommit.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CpuOvercommitType {
        /// A value indicating that the enum field is not set.
        UndefinedCpuOvercommitType = 0,
        Unspecified = 520665615,
        Enabled = 182130465,
        None = 2402104,
    }
    impl CpuOvercommitType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCpuOvercommitType => "UNDEFINED_CPU_OVERCOMMIT_TYPE",
                Self::Unspecified => "CPU_OVERCOMMIT_TYPE_UNSPECIFIED",
                Self::Enabled => "ENABLED",
                Self::None => "NONE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CPU_OVERCOMMIT_TYPE" => Some(Self::UndefinedCpuOvercommitType),
                "CPU_OVERCOMMIT_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                "ENABLED" => Some(Self::Enabled),
                "NONE" => Some(Self::None),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Creating = 455564985,
        Deleting = 528602024,
        Invalid = 530283991,
        Ready = 77848963,
        Repairing = 413483285,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Invalid => "INVALID",
                Self::Ready => "READY",
                Self::Repairing => "REPAIRING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "INVALID" => Some(Self::Invalid),
                "READY" => Some(Self::Ready),
                "REPAIRING" => Some(Self::Repairing),
                _ => None,
            }
        }
    }
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NodeGroupsAddNodesRequest {
    /// Count of additional nodes to be added to the node group.
    #[prost(int32, optional, tag = "134997930")]
    pub additional_node_count: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NodeGroupsDeleteNodesRequest {
    /// Names of the nodes to delete.
    #[prost(string, repeated, tag = "104993457")]
    pub nodes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeGroupsListNodes {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Node resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<NodeGroupNode>,
    /// Output only. \[Output Only\] The resource type, which is alwayscompute.nodeGroupsListNodes for the list of nodes in the
    /// specified node group.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NodeGroupsPerformMaintenanceRequest {
    /// \[Required\] List of nodes affected by the call.
    #[prost(string, repeated, tag = "104993457")]
    pub nodes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The start time of the schedule. The timestamp is an RFC3339 string.
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeGroupsScopedList {
    /// \[Output Only\] A list of node groups contained in this scope.
    #[prost(message, repeated, tag = "73188017")]
    pub node_groups: ::prost::alloc::vec::Vec<NodeGroup>,
    /// \[Output Only\] An informational warning that appears when the nodeGroup
    /// list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NodeGroupsSetNodeTemplateRequest {
    /// Full or partial URL of the node template resource to be updated for this
    /// node group.
    #[prost(string, optional, tag = "323154455")]
    pub node_template: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NodeGroupsSimulateMaintenanceEventRequest {
    /// Names of the nodes to go under maintenance simulation.
    #[prost(string, repeated, tag = "104993457")]
    pub nodes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Represent a sole-tenant Node Template resource.
///
/// You can use a template to define properties for nodes in a node group. For
/// more information, readCreating node groups
/// and instances.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeTemplate {
    #[prost(message, repeated, tag = "269577064")]
    pub accelerators: ::prost::alloc::vec::Vec<AcceleratorConfig>,
    /// CPU overcommit.
    /// Check the CpuOvercommitType enum for the list of possible values.
    #[prost(string, optional, tag = "247727959")]
    pub cpu_overcommit_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "95594102")]
    pub disks: ::prost::alloc::vec::Vec<LocalDisk>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The type of the resource. Alwayscompute#nodeTemplate for node templates.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the resource, provided by the client when initially creating
    /// the resource. The resource name must be 1-63 characters long, and comply
    /// withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels to use for node affinity, which will be used in instance scheduling.
    #[prost(map = "string, string", tag = "339007161")]
    pub node_affinity_labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// The node type to use for nodes group that are created from this template.
    #[prost(string, optional, tag = "465832791")]
    pub node_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Do not use. Instead, use the node_type property.
    #[prost(message, optional, tag = "315257905")]
    pub node_type_flexibility: ::core::option::Option<NodeTemplateNodeTypeFlexibility>,
    /// Output only. \[Output Only\] The name of the region where the node template resides,
    /// such as us-central1.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Sets the binding properties for the physical server. Valid values include:
    ///
    /// ```text
    /// - *\[Default\]* RESTART_NODE_ON_ANY_SERVER:
    /// Restarts VMs on any available
    /// physical server
    /// - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same
    /// physical server whenever possible
    /// ```
    ///
    /// See Sole-tenant
    /// node options for more information.
    #[prost(message, optional, tag = "208179593")]
    pub server_binding: ::core::option::Option<ServerBinding>,
    /// Output only. \[Output Only\] The status of the node template. One of the following values:CREATING, READY, and DELETING.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] An optional, human-readable explanation of the status.
    #[prost(string, optional, tag = "297428154")]
    pub status_message: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NodeTemplate`.
pub mod node_template {
    /// CPU overcommit.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CpuOvercommitType {
        /// A value indicating that the enum field is not set.
        UndefinedCpuOvercommitType = 0,
        Unspecified = 520665615,
        Enabled = 182130465,
        None = 2402104,
    }
    impl CpuOvercommitType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCpuOvercommitType => "UNDEFINED_CPU_OVERCOMMIT_TYPE",
                Self::Unspecified => "CPU_OVERCOMMIT_TYPE_UNSPECIFIED",
                Self::Enabled => "ENABLED",
                Self::None => "NONE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CPU_OVERCOMMIT_TYPE" => Some(Self::UndefinedCpuOvercommitType),
                "CPU_OVERCOMMIT_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                "ENABLED" => Some(Self::Enabled),
                "NONE" => Some(Self::None),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of the node template. One of the following values:CREATING, READY, and DELETING.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Resources are being allocated.
        Creating = 455564985,
        /// The node template is currently being deleted.
        Deleting = 528602024,
        /// Invalid status.
        Invalid = 530283991,
        /// The node template is ready.
        Ready = 77848963,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Invalid => "INVALID",
                Self::Ready => "READY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "INVALID" => Some(Self::Invalid),
                "READY" => Some(Self::Ready),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeTemplateAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NodeTemplatesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        NodeTemplatesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource.Alwayscompute#nodeTemplateAggregatedList for aggregated lists of
    /// node templates.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of node templates.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeTemplateList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NodeTemplate resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<NodeTemplate>,
    /// Output only. \[Output Only\] Type of resource.Always compute#nodeTemplateList
    /// for lists of node templates.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NodeTemplateNodeTypeFlexibility {
    #[prost(string, optional, tag = "3060683")]
    pub cpus: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "405741360")]
    pub local_ssd: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "532856065")]
    pub memory: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeTemplatesScopedList {
    /// \[Output Only\] A list of node templates contained in this scope.
    #[prost(message, repeated, tag = "354111804")]
    pub node_templates: ::prost::alloc::vec::Vec<NodeTemplate>,
    /// \[Output Only\] An informational warning that appears when the node templates
    /// list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represent a sole-tenant Node Type resource.
///
/// Each node within a node group must have a node type. A node type specifies
/// the total amount of cores and memory for that node. Currently, the only
/// available node type is n1-node-96-624 node type that has 96
/// vCPUs and 624 GB of memory, available in multiple zones. For more information
/// readNode types.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NodeType {
    /// \[Output Only\] The CPU platform used by this node type.
    #[prost(string, optional, tag = "410285354")]
    pub cpu_platform: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The deprecation status associated with this node type.
    #[prost(message, optional, tag = "515138995")]
    pub deprecated: ::core::option::Option<DeprecationStatus>,
    /// \[Output Only\] An optional textual description of the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The number of virtual CPUs that are available to the node
    /// type.
    #[prost(int32, optional, tag = "393356754")]
    pub guest_cpus: ::core::option::Option<i32>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The type of the resource. Alwayscompute#nodeType for node types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Local SSD available to the node type, defined in GB.
    #[prost(int32, optional, tag = "329237578")]
    pub local_ssd_gb: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Maximum number of VMs that can be created for this node type.
    #[prost(int32, optional, tag = "307579713")]
    pub max_vms: ::core::option::Option<i32>,
    /// \[Output Only\] The amount of physical memory available to the node type,
    /// defined in MB.
    #[prost(int32, optional, tag = "116001171")]
    pub memory_mb: ::core::option::Option<i32>,
    /// \[Output Only\] Name of the resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of the zone where the node type resides,
    /// such as us-central1-a.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeTypeAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NodeTypesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        NodeTypesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource.Alwayscompute#nodeTypeAggregatedList for aggregated lists of node
    /// types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of node types.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeTypeList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NodeType resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<NodeType>,
    /// Output only. \[Output Only\] Type of resource.Always compute#nodeTypeList for
    /// lists of node types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeTypesScopedList {
    /// \[Output Only\] A list of node types contained in this scope.
    #[prost(message, repeated, tag = "482172924")]
    pub node_types: ::prost::alloc::vec::Vec<NodeType>,
    /// \[Output Only\] An informational warning that appears when the node types
    /// list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a notification endpoint.
///
/// A notification endpoint resource defines an endpoint to receive notifications
/// when there are status changes detected by the associated health check
/// service.
///
/// For more information, see
/// Health checks overview.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NotificationEndpoint {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Settings of the gRPC notification endpoint including the endpoint URL and
    /// the retry duration.
    #[prost(message, optional, tag = "456139556")]
    pub grpc_settings: ::core::option::Option<NotificationEndpointGrpcSettings>,
    /// Output only. \[Output Only\] A unique identifier for this resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#notificationEndpoint for notification endpoints.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the notification endpoint resides.
    /// This field applies only to the regional resource. You must specify this
    /// field as part of the HTTP request URL. It is not settable as a field in
    /// the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains a list of NotificationEndpointsScopedList.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NotificationEndpointAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NotificationEndpointsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        NotificationEndpointsScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a gRPC setting that describes one gRPC notification endpoint and
/// the retry duration attempting to send notification to this endpoint.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct NotificationEndpointGrpcSettings {
    /// Optional. If specified, this field is used to set the authority header by
    /// the sender of notifications. See
    /// <https://tools.ietf.org/html/rfc7540#section-8.1.2.3>
    #[prost(string, optional, tag = "401868611")]
    pub authority: ::core::option::Option<::prost::alloc::string::String>,
    /// Endpoint to which gRPC notifications are sent. This must be a valid
    /// gRPCLB DNS name.
    #[prost(string, optional, tag = "130489749")]
    pub endpoint: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. If specified, this field is used to populate the "name" field
    /// in gRPC requests.
    #[prost(string, optional, tag = "300358300")]
    pub payload_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. This field is used to configure how often to send a full update
    /// of all non-healthy backends. If unspecified, full updates are not sent.
    /// If specified, must be in the range between 600 seconds to 3600 seconds.
    /// Nanos are disallowed. Can only be set for regional notification
    /// endpoints.
    #[prost(message, optional, tag = "478288969")]
    pub resend_interval: ::core::option::Option<Duration>,
    /// How much time (in seconds) is spent attempting notification retries
    /// until a successful response is received. Default is 30s. Limit is 20m
    /// (1200s). Must be a positive number.
    #[prost(uint32, optional, tag = "115681117")]
    pub retry_duration_sec: ::core::option::Option<u32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NotificationEndpointList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NotificationEndpoint resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<NotificationEndpoint>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#notificationEndpoint for notification endpoints.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NotificationEndpointsScopedList {
    /// A list of NotificationEndpoints contained in this scope.
    #[prost(message, repeated, tag = "164412965")]
    pub resources: ::prost::alloc::vec::Vec<NotificationEndpoint>,
    /// Informational warning which replaces the list of
    /// notification endpoints when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents an Operation resource.
///
/// Google Compute Engine has three Operation resources:
///
/// * [Global](/compute/docs/reference/rest/v1/globalOperations)
/// * [Regional](/compute/docs/reference/rest/v1/regionOperations)
/// * [Zonal](/compute/docs/reference/rest/v1/zoneOperations)
///
/// You can use an operation resource to manage asynchronous API requests.
/// For more information, readHandling
/// API responses.
///
/// Operations can be global, regional or zonal.
///
/// ```text
/// - For global operations, use the `globalOperations`
/// resource.
/// - For regional operations, use the
/// `regionOperations` resource.
/// - For zonal operations, use
/// the `zoneOperations` resource.
/// ```
///
/// For more information, read
/// Global, Regional, and Zonal Resources.
///
/// Note that completed Operation resources have a limited
/// retention period.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Operation {
    /// \[Output Only\] The value of `requestId` if you provided it in the request.
    /// Not present otherwise.
    #[prost(string, optional, tag = "297240295")]
    pub client_operation_id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Deprecated\] This field is deprecated.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A textual description of the operation, which is
    /// set when the operation is created.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The time that this operation was completed. This value is inRFC3339
    /// text format.
    #[prost(string, optional, tag = "114938801")]
    pub end_time: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] If errors are generated during processing of the operation,
    /// this field will be populated.
    #[prost(message, optional, tag = "96784904")]
    pub error: ::core::option::Option<Error>,
    #[prost(message, optional, tag = "173230167")]
    pub get_version_operation_metadata: ::core::option::Option<
        GetVersionOperationMetadata,
    >,
    /// \[Output Only\] If the operation fails, this field contains the HTTP error
    /// message that was returned, such as `NOT FOUND`.
    #[prost(string, optional, tag = "202521945")]
    pub http_error_message: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] If the operation fails, this field contains the HTTP error
    /// status code that was returned. For example, a `404` means the
    /// resource was not found.
    #[prost(int32, optional, tag = "312345196")]
    pub http_error_status_code: ::core::option::Option<i32>,
    /// \[Output Only\] The unique identifier for the operation. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// \[Output Only\] The time that this operation was requested.
    /// This value is inRFC3339
    /// text format.
    #[prost(string, optional, tag = "433722515")]
    pub insert_time: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "89146177")]
    pub instances_bulk_insert_operation_metadata: ::core::option::Option<
        InstancesBulkInsertOperationMetadata,
    >,
    /// Output only. \[Output Only\] Type of the resource. Always `compute#operation` for
    /// Operation resources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Name of the operation.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] An ID that represents a group of operations, such as when a
    /// group of operations results from a `bulkInsert` API request.
    #[prost(string, optional, tag = "40171187")]
    pub operation_group_id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The type of operation, such as `insert`,
    /// `update`, or `delete`, and so on.
    #[prost(string, optional, tag = "177650450")]
    pub operation_type: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] An optional progress indicator that ranges from 0 to 100.
    /// There is no requirement that this be linear or support any granularity of
    /// operations. This should not be used to guess when the operation will be
    /// complete. This number should monotonically increase as the operation
    /// progresses.
    #[prost(int32, optional, tag = "72663597")]
    pub progress: ::core::option::Option<i32>,
    /// \[Output Only\] The URL of the region where the operation resides. Only
    /// applicable when performing regional operations.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] If the operation is for projects.setCommonInstanceMetadata,
    /// this field will contain information on all underlying zonal actions and
    /// their state.
    #[prost(message, optional, tag = "490378980")]
    pub set_common_instance_metadata_operation_metadata: ::core::option::Option<
        SetCommonInstanceMetadataOperationMetadata,
    >,
    /// \[Output Only\] The time that this operation was started by the server.
    /// This value is inRFC3339
    /// text format.
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The status of the operation, which can be one of the
    /// following:
    /// `PENDING`, `RUNNING`, or `DONE`.
    #[prost(enumeration = "operation::Status", optional, tag = "181260274")]
    pub status: ::core::option::Option<i32>,
    /// \[Output Only\] An optional textual description of the current status of the
    /// operation.
    #[prost(string, optional, tag = "297428154")]
    pub status_message: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique target ID, which identifies a specific incarnation
    /// of the target resource.
    #[prost(uint64, optional, tag = "258165385")]
    pub target_id: ::core::option::Option<u64>,
    /// \[Output Only\] The URL of the resource that the operation modifies. For
    /// operations related to creating a snapshot, this points to the disk
    /// that the snapshot was created from.
    #[prost(string, optional, tag = "62671336")]
    pub target_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] User who requested the operation, for example:
    /// `user@example.com` or
    /// `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
    #[prost(string, optional, tag = "3599307")]
    pub user: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] If warning messages are generated during processing of the
    /// operation, this field will be populated.
    #[prost(message, repeated, tag = "498091095")]
    pub warnings: ::prost::alloc::vec::Vec<Warnings>,
    /// \[Output Only\] The URL of the zone where the operation resides. Only
    /// applicable when performing per-zone operations.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Operation`.
pub mod operation {
    /// \[Output Only\] The status of the operation, which can be one of the
    /// following:
    /// `PENDING`, `RUNNING`, or `DONE`.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Done = 2104194,
        Pending = 35394935,
        Running = 121282975,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Done => "DONE",
                Self::Pending => "PENDING",
                Self::Running => "RUNNING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "DONE" => Some(Self::Done),
                "PENDING" => Some(Self::Pending),
                "RUNNING" => Some(Self::Running),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OperationAggregatedList {
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A map of scoped operation lists.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        OperationsScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Always `compute#operationAggregatedList`
    /// for aggregated lists of operations.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger than
    /// `maxResults`, use the `nextPageToken` as a value for
    /// the query parameter `pageToken` in the next list request.
    /// Subsequent list requests will have their own `nextPageToken` to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of Operation resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OperationList {
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of Operation resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Operation>,
    /// Output only. \[Output Only\] Type of resource. Always `compute#operations` for Operations
    /// resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger than
    /// `maxResults`, use the `nextPageToken` as a value for
    /// the query parameter `pageToken` in the next list request.
    /// Subsequent list requests will have their own `nextPageToken` to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OperationsScopedList {
    /// \[Output Only\] A list of operations contained in this scope.
    #[prost(message, repeated, tag = "4184044")]
    pub operations: ::prost::alloc::vec::Vec<Operation>,
    /// \[Output Only\] Informational warning which replaces the list of operations
    /// when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OrganizationSecurityPoliciesListAssociationsResponse {
    /// A list of associations.
    #[prost(message, repeated, tag = "508736530")]
    pub associations: ::prost::alloc::vec::Vec<SecurityPolicyAssociation>,
    /// Output only. \[Output Only\] Type of securityPolicy associations. Alwayscompute#organizationSecurityPoliciesListAssociations for lists
    /// of securityPolicy associations.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
}
/// Settings controlling the eviction of unhealthy hosts from the load balancing
/// pool for the backend service.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct OutlierDetection {
    /// The base time that a backend endpoint is ejected for. Defaults to 30000ms
    /// or 30s.
    ///
    /// After a backend endpoint is returned back to the load balancing pool, it
    /// can be ejected again in another ejection analysis. Thus, the total ejection
    /// time is equal to the base ejection time multiplied by the number of times
    /// the backend endpoint has been ejected. Defaults to 30000ms or 30s.
    #[prost(message, optional, tag = "80997255")]
    pub base_ejection_time: ::core::option::Option<Duration>,
    /// Number of consecutive errors before a backend endpoint is ejected from the
    /// load balancing pool. When the backend endpoint is accessed over HTTP, a 5xx
    /// return code qualifies as an error. Defaults to 5.
    #[prost(int32, optional, tag = "387193248")]
    pub consecutive_errors: ::core::option::Option<i32>,
    /// The number of consecutive gateway failures (502, 503, 504 status or
    /// connection errors that are mapped to one of those status codes) before a
    /// consecutive gateway failure ejection occurs. Defaults to 3.
    #[prost(int32, optional, tag = "417504250")]
    pub consecutive_gateway_failure: ::core::option::Option<i32>,
    /// The percentage chance that a backend endpoint will be ejected when an
    /// outlier status is detected through consecutive 5xx. This setting can be
    /// used to disable ejection or to ramp it up slowly. Defaults to 0.
    #[prost(int32, optional, tag = "213133760")]
    pub enforcing_consecutive_errors: ::core::option::Option<i32>,
    /// The percentage chance that a backend endpoint will be ejected when an
    /// outlier status is detected through consecutive gateway failures. This
    /// setting can be used to disable ejection or to ramp it up slowly. Defaults
    /// to 100.
    #[prost(int32, optional, tag = "394440666")]
    pub enforcing_consecutive_gateway_failure: ::core::option::Option<i32>,
    /// The percentage chance that a backend endpoint will be ejected when an
    /// outlier status is detected through success rate statistics. This setting
    /// can be used to disable ejection or to ramp it up slowly. Defaults to 100.
    ///
    /// Not supported when the backend service uses Serverless NEG.
    #[prost(int32, optional, tag = "194508732")]
    pub enforcing_success_rate: ::core::option::Option<i32>,
    /// Time interval between ejection analysis sweeps. This can result in both new
    /// ejections and backend endpoints being returned to service. The interval is
    /// equal to the number of seconds as defined in
    /// outlierDetection.interval.seconds plus the number of nanoseconds as defined
    /// in outlierDetection.interval.nanos. Defaults to 1 second.
    #[prost(message, optional, tag = "33547461")]
    pub interval: ::core::option::Option<Duration>,
    /// Maximum percentage of backend endpoints in the load balancing pool for the
    /// backend service that can be ejected if the ejection conditions are met.
    /// Defaults to 50%.
    #[prost(int32, optional, tag = "18436888")]
    pub max_ejection_percent: ::core::option::Option<i32>,
    /// The number of backend endpoints in the load balancing pool that must have
    /// enough request volume to detect success rate outliers. If the number of
    /// backend endpoints is fewer than this setting, outlier detection via success
    /// rate statistics is not performed for any backend endpoint in the load
    /// balancing pool. Defaults to 5.
    ///
    /// Not supported when the backend service uses Serverless NEG.
    #[prost(int32, optional, tag = "525766903")]
    pub success_rate_minimum_hosts: ::core::option::Option<i32>,
    /// The minimum number of total requests that must be collected in one interval
    /// (as defined by the interval duration above) to include this backend
    /// endpoint in success rate based outlier detection. If the volume is lower
    /// than this setting, outlier detection via success rate statistics is not
    /// performed for that backend endpoint. Defaults to 100.
    ///
    /// Not supported when the backend service uses Serverless NEG.
    #[prost(int32, optional, tag = "281425357")]
    pub success_rate_request_volume: ::core::option::Option<i32>,
    /// This factor is used to determine the ejection threshold for success rate
    /// outlier ejection. The ejection threshold is the difference between the mean
    /// success rate, and the product of this factor and the standard deviation of
    /// the mean success rate: mean - (stdev * successRateStdevFactor). This factor
    /// is divided by a thousand to get a double. That is, if the desired factor
    /// is 1.9, the runtime value should be 1900. Defaults to 1900.
    ///
    /// Not supported when the backend service uses Serverless NEG.
    #[prost(int32, optional, tag = "174735773")]
    pub success_rate_stdev_factor: ::core::option::Option<i32>,
}
/// Next free: 7
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PacketIntervals {
    /// Average observed inter-packet interval in milliseconds.
    #[prost(int64, optional, tag = "204811827")]
    pub avg_ms: ::core::option::Option<i64>,
    /// From how long ago in the past these intervals were observed.
    /// Check the Duration enum for the list of possible values.
    #[prost(string, optional, tag = "155471252")]
    pub duration: ::core::option::Option<::prost::alloc::string::String>,
    /// Maximum observed inter-packet interval in milliseconds.
    #[prost(int64, optional, tag = "529474145")]
    pub max_ms: ::core::option::Option<i64>,
    /// Minimum observed inter-packet interval in milliseconds.
    #[prost(int64, optional, tag = "536564403")]
    pub min_ms: ::core::option::Option<i64>,
    /// Number of inter-packet intervals from which these statistics were derived.
    #[prost(int64, optional, tag = "186329813")]
    pub num_intervals: ::core::option::Option<i64>,
    /// The type of packets for which inter-packet intervals were computed.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `PacketIntervals`.
pub mod packet_intervals {
    /// From how long ago in the past these intervals were observed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Duration {
        /// A value indicating that the enum field is not set.
        UndefinedDuration = 0,
        Unspecified = 529071340,
        Hour = 2223588,
        /// From BfdSession object creation time.
        Max = 76100,
        Minute = 126786068,
    }
    impl Duration {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDuration => "UNDEFINED_DURATION",
                Self::Unspecified => "DURATION_UNSPECIFIED",
                Self::Hour => "HOUR",
                Self::Max => "MAX",
                Self::Minute => "MINUTE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DURATION" => Some(Self::UndefinedDuration),
                "DURATION_UNSPECIFIED" => Some(Self::Unspecified),
                "HOUR" => Some(Self::Hour),
                "MAX" => Some(Self::Max),
                "MINUTE" => Some(Self::Minute),
                _ => None,
            }
        }
    }
    /// The type of packets for which inter-packet intervals were computed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// Only applies to Echo packets. This shows the intervals between sending
        /// and receiving the same packet.
        Loopback = 356174219,
        /// Intervals between received packets.
        Receive = 189660867,
        /// Intervals between transmitted packets.
        Transmit = 452903600,
        Unspecified = 437714322,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Loopback => "LOOPBACK",
                Self::Receive => "RECEIVE",
                Self::Transmit => "TRANSMIT",
                Self::Unspecified => "TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "LOOPBACK" => Some(Self::Loopback),
                "RECEIVE" => Some(Self::Receive),
                "TRANSMIT" => Some(Self::Transmit),
                "TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Represents a Packet Mirroring resource.
///
/// Packet Mirroring clones the traffic of specified instances in your Virtual
/// Private Cloud (VPC) network and forwards it to a collector destination,
/// such as an instance group of an internal TCP/UDP load balancer, for analysis
/// or examination.
/// For more information about setting up Packet Mirroring, seeUsing Packet Mirroring.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PacketMirroring {
    /// The Forwarding Rule resource of typeloadBalancingScheme=INTERNAL that will be used as collector
    /// for mirrored traffic.
    /// The specified forwarding rule must have isMirroringCollector
    /// set to true.
    #[prost(message, optional, tag = "426607853")]
    pub collector_ilb: ::core::option::Option<PacketMirroringForwardingRuleInfo>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether or not this packet mirroring takes effect.
    /// If set to FALSE, this packet mirroring policy will not be enforced on the
    /// network.
    ///
    /// The default is TRUE.
    /// Check the Enable enum for the list of possible values.
    #[prost(string, optional, tag = "311764355")]
    pub enable: ::core::option::Option<::prost::alloc::string::String>,
    /// Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
    #[prost(message, optional, tag = "336120696")]
    pub filter: ::core::option::Option<PacketMirroringFilter>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#packetMirroring for packet mirrorings.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// PacketMirroring mirroredResourceInfos.
    /// MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks
    /// and/or tags for which traffic from/to all VM instances will be mirrored.
    #[prost(message, optional, tag = "124817348")]
    pub mirrored_resources: ::core::option::Option<PacketMirroringMirroredResourceInfo>,
    /// Name of the resource; provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the mirrored VPC network. Only packets in this network will be
    /// mirrored. All mirrored VMs should have a NIC in the given network.
    /// All mirrored subnetworks should belong to the given network.
    #[prost(message, optional, tag = "232872494")]
    pub network: ::core::option::Option<PacketMirroringNetworkInfo>,
    /// The priority of applying this configuration. Priority is used to break ties
    /// in cases where there is more than one matching rule. In the case of two
    /// rules that apply for a given Instance, the one with the lowest-numbered
    /// priority value wins.
    ///
    /// Default value is 1000. Valid range is 0 through 65535.
    #[prost(uint32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<u32>,
    /// \[Output Only\] URI of the region where the packetMirroring resides.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `PacketMirroring`.
pub mod packet_mirroring {
    /// Indicates whether or not this packet mirroring takes effect.
    /// If set to FALSE, this packet mirroring policy will not be enforced on the
    /// network.
    ///
    /// The default is TRUE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Enable {
        /// A value indicating that the enum field is not set.
        UndefinedEnable = 0,
        False = 66658563,
        True = 2583950,
    }
    impl Enable {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedEnable => "UNDEFINED_ENABLE",
                Self::False => "FALSE",
                Self::True => "TRUE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ENABLE" => Some(Self::UndefinedEnable),
                "FALSE" => Some(Self::False),
                "TRUE" => Some(Self::True),
                _ => None,
            }
        }
    }
}
/// Contains a list of packetMirrorings.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PacketMirroringAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of PacketMirroring resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        PacketMirroringsScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PacketMirroringFilter {
    /// Protocols that apply as filter on mirrored traffic.
    /// If no protocols are specified, all traffic that matches the specified
    /// CIDR ranges is mirrored.
    /// If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is
    /// mirrored.
    #[prost(string, repeated, tag = "98544854")]
    pub i_p_protocols: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source
    /// (ingress) or destination (egress) IP in the IP header. If no ranges are
    /// specified, all IPv4 traffic that matches the specified IPProtocols is
    /// mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4
    /// traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use
    /// "0.0.0.0/0,::/0".
    #[prost(string, repeated, tag = "487901697")]
    pub cidr_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH.
    /// The default is BOTH.
    /// Check the Direction enum for the list of possible values.
    #[prost(string, optional, tag = "111150975")]
    pub direction: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `PacketMirroringFilter`.
pub mod packet_mirroring_filter {
    /// Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH.
    /// The default is BOTH.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Direction {
        /// A value indicating that the enum field is not set.
        UndefinedDirection = 0,
        /// Default, both directions are mirrored.
        Both = 2044801,
        /// Only egress traffic is mirrored.
        Egress = 432880501,
        /// Only ingress traffic is mirrored.
        Ingress = 516931221,
    }
    impl Direction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDirection => "UNDEFINED_DIRECTION",
                Self::Both => "BOTH",
                Self::Egress => "EGRESS",
                Self::Ingress => "INGRESS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DIRECTION" => Some(Self::UndefinedDirection),
                "BOTH" => Some(Self::Both),
                "EGRESS" => Some(Self::Egress),
                "INGRESS" => Some(Self::Ingress),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PacketMirroringForwardingRuleInfo {
    /// Output only. \[Output Only\] Unique identifier for the forwarding rule; defined by the
    /// server.
    #[prost(string, optional, tag = "512294820")]
    pub canonical_url: ::core::option::Option<::prost::alloc::string::String>,
    /// Resource URL to the forwarding rule representing the ILB
    /// configured as destination of the mirrored traffic.
    #[prost(string, optional, tag = "116079")]
    pub url: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains a list of PacketMirroring resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PacketMirroringList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of PacketMirroring resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<PacketMirroring>,
    /// Output only. \[Output Only\] Type of resource. Always compute#packetMirroring
    /// for packetMirrorings.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PacketMirroringMirroredResourceInfo {
    /// A set of virtual machine instances that are being mirrored.
    /// They must live in zones contained in the same region as this
    /// packetMirroring.
    ///
    /// Note that this config will apply only to those network interfaces of the
    /// Instances that belong to the network specified in this packetMirroring.
    ///
    /// You may specify a maximum of 50 Instances.
    #[prost(message, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<
        PacketMirroringMirroredResourceInfoInstanceInfo,
    >,
    /// A set of subnetworks for which traffic from/to all VM instances will be
    /// mirrored. They must live in the same region as this packetMirroring.
    ///
    /// You may specify a maximum of 5 subnetworks.
    #[prost(message, repeated, tag = "415853125")]
    pub subnetworks: ::prost::alloc::vec::Vec<
        PacketMirroringMirroredResourceInfoSubnetInfo,
    >,
    /// A set of mirrored tags. Traffic from/to all VM instances that have one or
    /// more of these tags will be mirrored.
    #[prost(string, repeated, tag = "3552281")]
    pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PacketMirroringMirroredResourceInfoInstanceInfo {
    /// Output only. \[Output Only\] Unique identifier for the instance; defined by the
    /// server.
    #[prost(string, optional, tag = "512294820")]
    pub canonical_url: ::core::option::Option<::prost::alloc::string::String>,
    /// Resource URL to the virtual machine instance which is being mirrored.
    #[prost(string, optional, tag = "116079")]
    pub url: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PacketMirroringMirroredResourceInfoSubnetInfo {
    /// Output only. \[Output Only\] Unique identifier for the subnetwork; defined by the
    /// server.
    #[prost(string, optional, tag = "512294820")]
    pub canonical_url: ::core::option::Option<::prost::alloc::string::String>,
    /// Resource URL to the subnetwork for which
    /// traffic from/to all VM instances will be mirrored.
    #[prost(string, optional, tag = "116079")]
    pub url: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PacketMirroringNetworkInfo {
    /// Output only. \[Output Only\] Unique identifier for the network; defined by the server.
    #[prost(string, optional, tag = "512294820")]
    pub canonical_url: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the network resource.
    #[prost(string, optional, tag = "116079")]
    pub url: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PacketMirroringsScopedList {
    /// A list of packetMirrorings contained in this scope.
    #[prost(message, repeated, tag = "154615079")]
    pub packet_mirrorings: ::prost::alloc::vec::Vec<PacketMirroring>,
    /// Informational warning which replaces the list of packetMirrorings when the
    /// list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A request message for Autoscalers.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchAutoscalerRequest {
    /// Name of the autoscaler to patch.
    #[prost(string, optional, tag = "517258967")]
    pub autoscaler: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "207616118")]
    pub autoscaler_resource: ::core::option::Option<Autoscaler>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for BackendBuckets.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchBackendBucketRequest {
    /// Name of the BackendBucket resource to patch.
    #[prost(string, tag = "91714037")]
    pub backend_bucket: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "380757784")]
    pub backend_bucket_resource: ::core::option::Option<BackendBucket>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for BackendServices.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchBackendServiceRequest {
    /// Name of the BackendService resource to patch.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "347586723")]
    pub backend_service_resource: ::core::option::Option<BackendService>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for CrossSiteNetworks.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchCrossSiteNetworkRequest {
    /// Name of the cross-site network to update.
    #[prost(string, tag = "108192469")]
    pub cross_site_network: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "30896696")]
    pub cross_site_network_resource: ::core::option::Option<CrossSiteNetwork>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Input Only\] Validate the new configuration, but don't update it.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
}
/// A request message for FirewallPolicies.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "495049532")]
    pub firewall_policy_resource: ::core::option::Option<FirewallPolicy>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Firewalls.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchFirewallRequest {
    /// Name of the firewall rule to patch.
    #[prost(string, tag = "511016192")]
    pub firewall: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "41425005")]
    pub firewall_resource: ::core::option::Option<Firewall>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for ForwardingRules.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchForwardingRuleRequest {
    /// Name of the ForwardingRule resource to patch.
    #[prost(string, tag = "269964030")]
    pub forwarding_rule: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "301211695")]
    pub forwarding_rule_resource: ::core::option::Option<ForwardingRule>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for GlobalForwardingRules.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchGlobalForwardingRuleRequest {
    /// Name of the ForwardingRule resource to patch.
    #[prost(string, tag = "269964030")]
    pub forwarding_rule: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "301211695")]
    pub forwarding_rule_resource: ::core::option::Option<ForwardingRule>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for GlobalPublicDelegatedPrefixes.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchGlobalPublicDelegatedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the PublicDelegatedPrefix resource to patch.
    #[prost(string, tag = "204238440")]
    pub public_delegated_prefix: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "47594501")]
    pub public_delegated_prefix_resource: ::core::option::Option<PublicDelegatedPrefix>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for HealthChecks.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchHealthCheckRequest {
    /// Name of the HealthCheck resource to patch.
    #[prost(string, tag = "308876645")]
    pub health_check: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "201925032")]
    pub health_check_resource: ::core::option::Option<HealthCheck>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Images.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchImageRequest {
    /// Name of the image resource to patch.
    #[prost(string, tag = "100313435")]
    pub image: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "371171954")]
    pub image_resource: ::core::option::Option<Image>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstanceGroupManagers.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchInstanceGroupManagerRequest {
    /// The name of the instance group manager.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "261063946")]
    pub instance_group_manager_resource: ::core::option::Option<InstanceGroupManager>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone where
    /// you want to create the managed instance group.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceSettingsService.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchInstanceSettingRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "290689920")]
    pub instance_settings_resource: ::core::option::Option<InstanceSettings>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// The zone scoping this request. It should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InterconnectAttachmentGroups.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchInterconnectAttachmentGroupRequest {
    /// Name of the InterconnectAttachmentGroup resource to patch.
    #[prost(string, tag = "75905012")]
    pub interconnect_attachment_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "9990137")]
    pub interconnect_attachment_group_resource: ::core::option::Option<
        InterconnectAttachmentGroup,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of fields to update.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InterconnectAttachments.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchInterconnectAttachmentRequest {
    /// Name of the interconnect attachment to patch.
    #[prost(string, tag = "308135284")]
    pub interconnect_attachment: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "212341369")]
    pub interconnect_attachment_resource: ::core::option::Option<InterconnectAttachment>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InterconnectGroups.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchInterconnectGroupRequest {
    /// Name of the InterconnectGroup resource to patch.
    #[prost(string, tag = "388651918")]
    pub interconnect_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "85571999")]
    pub interconnect_group_resource: ::core::option::Option<InterconnectGroup>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of fields to update.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Interconnects.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchInterconnectRequest {
    /// Name of the interconnect to update.
    #[prost(string, tag = "224601230")]
    pub interconnect: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "397611167")]
    pub interconnect_resource: ::core::option::Option<Interconnect>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkAttachments.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchNetworkAttachmentRequest {
    /// Name of the NetworkAttachment resource to patch.
    #[prost(string, tag = "224644052")]
    pub network_attachment: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "210974745")]
    pub network_attachment_resource: ::core::option::Option<NetworkAttachment>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkEdgeSecurityServices.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchNetworkEdgeSecurityServiceRequest {
    /// Name of the network edge security service to update.
    #[prost(string, tag = "157011879")]
    pub network_edge_security_service: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "477548966")]
    pub network_edge_security_service_resource: ::core::option::Option<
        NetworkEdgeSecurityService,
    >,
    #[prost(string, optional, tag = "106438894")]
    pub paths: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkFirewallPolicies.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "495049532")]
    pub firewall_policy_resource: ::core::option::Option<FirewallPolicy>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Networks.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchNetworkRequest {
    /// Name of the network to update.
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "122105599")]
    pub network_resource: ::core::option::Option<Network>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NodeGroups.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchNodeGroupRequest {
    /// Name of the NodeGroup resource to update.
    #[prost(string, tag = "469958146")]
    pub node_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "505321899")]
    pub node_group_resource: ::core::option::Option<NodeGroup>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for OrganizationSecurityPolicies.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchOrganizationSecurityPolicyRequest {
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "216159612")]
    pub security_policy_resource: ::core::option::Option<SecurityPolicy>,
}
/// A request message for PacketMirrorings.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchPacketMirroringRequest {
    /// Name of the PacketMirroring resource to patch.
    #[prost(string, tag = "22305996")]
    pub packet_mirroring: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "493501985")]
    pub packet_mirroring_resource: ::core::option::Option<PacketMirroring>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkFirewallPolicies.PatchPacketMirroringRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchPacketMirroringRuleNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "250523523")]
    pub firewall_policy_rule_resource: ::core::option::Option<FirewallPolicyRule>,
    /// The priority of the rule to patch.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstanceGroupManagers.PatchPerInstanceConfigs. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchPerInstanceConfigsInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    /// It should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "356650495")]
    pub instance_group_managers_patch_per_instance_configs_req_resource: ::core::option::Option<
        InstanceGroupManagersPatchPerInstanceConfigsReq,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone
    /// where the managed instance group is located.
    /// It should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.PatchPerInstanceConfigs. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchPerInstanceConfigsRegionInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    /// It should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request, should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "197682890")]
    pub region_instance_group_manager_patch_instance_config_req_resource: ::core::option::Option<
        RegionInstanceGroupManagerPatchInstanceConfigReq,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for PublicAdvertisedPrefixes.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchPublicAdvertisedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the PublicAdvertisedPrefix resource to patch.
    #[prost(string, tag = "101874590")]
    pub public_advertised_prefix: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "233614223")]
    pub public_advertised_prefix_resource: ::core::option::Option<
        PublicAdvertisedPrefix,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for PublicDelegatedPrefixes.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchPublicDelegatedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the PublicDelegatedPrefix resource to patch.
    #[prost(string, tag = "204238440")]
    pub public_delegated_prefix: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "47594501")]
    pub public_delegated_prefix_resource: ::core::option::Option<PublicDelegatedPrefix>,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionAutoscalers.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRegionAutoscalerRequest {
    /// Name of the autoscaler to patch.
    #[prost(string, optional, tag = "517258967")]
    pub autoscaler: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "207616118")]
    pub autoscaler_resource: ::core::option::Option<Autoscaler>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionBackendBuckets.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRegionBackendBucketRequest {
    /// Name of the BackendBucket resource to patch.
    #[prost(string, tag = "91714037")]
    pub backend_bucket: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "380757784")]
    pub backend_bucket_resource: ::core::option::Option<BackendBucket>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionBackendServices.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRegionBackendServiceRequest {
    /// Name of the BackendService resource to patch.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "347586723")]
    pub backend_service_resource: ::core::option::Option<BackendService>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionCompositeHealthChecks.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchRegionCompositeHealthCheckRequest {
    /// Name of the CompositeHealthCheck to update. The name
    /// must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, tag = "466984989")]
    pub composite_health_check: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "132195824")]
    pub composite_health_check_resource: ::core::option::Option<CompositeHealthCheck>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthAggregationPolicies.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchRegionHealthAggregationPolicyRequest {
    /// Name of the HealthAggregationPolicy to update. The name
    /// must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, tag = "240314354")]
    pub health_aggregation_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "293526971")]
    pub health_aggregation_policy_resource: ::core::option::Option<
        HealthAggregationPolicy,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthChecks.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchRegionHealthCheckRequest {
    /// Name of the HealthCheck resource to patch.
    #[prost(string, tag = "308876645")]
    pub health_check: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "201925032")]
    pub health_check_resource: ::core::option::Option<HealthCheck>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthCheckServices.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchRegionHealthCheckServiceRequest {
    /// Name of the HealthCheckService to update. The name
    /// must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, tag = "408374747")]
    pub health_check_service: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "477367794")]
    pub health_check_service_resource: ::core::option::Option<HealthCheckService>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthSources.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchRegionHealthSourceRequest {
    /// Name of the HealthSource to update. The name
    /// must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, tag = "376521566")]
    pub health_source: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "357735375")]
    pub health_source_resource: ::core::option::Option<HealthSource>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstanceGroupManagers.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRegionInstanceGroupManagerRequest {
    /// The name of the instance group manager.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "261063946")]
    pub instance_group_manager_resource: ::core::option::Option<InstanceGroupManager>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionNetworkFirewallPolicies.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "495049532")]
    pub firewall_policy_resource: ::core::option::Option<FirewallPolicy>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionSecurityPolicies.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRegionSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "216159612")]
    pub security_policy_resource: ::core::option::Option<SecurityPolicy>,
    /// Indicates fields to be cleared as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionSnapshotSettings.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRegionSnapshotSettingRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "357664495")]
    pub snapshot_settings_resource: ::core::option::Option<SnapshotSettings>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionSslPolicies.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRegionSslPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the SSL policy to update. The name must be 1-63 characters long,
    /// and comply with RFC1035.
    #[prost(string, tag = "295190213")]
    pub ssl_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "274891848")]
    pub ssl_policy_resource: ::core::option::Option<SslPolicy>,
}
/// A request message for RegionTargetHttpsProxies.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchRegionTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpsProxy resource to patch.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "433657473")]
    pub target_https_proxy_resource: ::core::option::Option<TargetHttpsProxy>,
}
/// A request message for RegionUrlMaps.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRegionUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// begin_interface: MixerMutationRequestBuilder
    /// Request ID to support idempotency.
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the UrlMap resource to patch.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "168675425")]
    pub url_map_resource: ::core::option::Option<UrlMap>,
}
/// A request message for ResourcePolicies.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchResourcePolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Id of the resource policy to patch.
    #[prost(string, tag = "159240835")]
    pub resource_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "76826186")]
    pub resource_policy_resource: ::core::option::Option<ResourcePolicy>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Routers.PatchRoutePolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRoutePolicyRouterRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "116219525")]
    pub route_policy_resource: ::core::option::Option<RoutePolicy>,
    /// Name of the Router resource where Route Policy is defined.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// A request message for Routers.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRouterRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Router resource to patch.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "155222084")]
    pub router_resource: ::core::option::Option<Router>,
}
/// A request message for FirewallPolicies.PatchRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRuleFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "250523523")]
    pub firewall_policy_rule_resource: ::core::option::Option<FirewallPolicyRule>,
    /// The priority of the rule to patch.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkFirewallPolicies.PatchRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRuleNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "250523523")]
    pub firewall_policy_rule_resource: ::core::option::Option<FirewallPolicyRule>,
    /// The priority of the rule to patch.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for OrganizationSecurityPolicies.PatchRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRuleOrganizationSecurityPolicyRequest {
    /// The priority of the rule to patch.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "402693443")]
    pub security_policy_rule_resource: ::core::option::Option<SecurityPolicyRule>,
}
/// A request message for RegionNetworkFirewallPolicies.PatchRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRuleRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "250523523")]
    pub firewall_policy_rule_resource: ::core::option::Option<FirewallPolicyRule>,
    /// The priority of the rule to patch.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionSecurityPolicies.PatchRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRuleRegionSecurityPolicyRequest {
    /// The priority of the rule to patch.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "402693443")]
    pub security_policy_rule_resource: ::core::option::Option<SecurityPolicyRule>,
    /// Indicates fields to be cleared as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// If true, the request will not be committed.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
}
/// A request message for SecurityPolicies.PatchRule. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchRuleSecurityPolicyRequest {
    /// The priority of the rule to patch.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "402693443")]
    pub security_policy_rule_resource: ::core::option::Option<SecurityPolicyRule>,
    /// Indicates fields to be cleared as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// If true, the request will not be committed.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
}
/// A request message for SecurityPolicies.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "216159612")]
    pub security_policy_resource: ::core::option::Option<SecurityPolicy>,
    /// Indicates fields to be cleared as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for ServiceAttachments.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchServiceAttachmentRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region scoping this request and should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The resource id of the ServiceAttachment to patch. It should conform to
    /// RFC1035 resource name or be a string form on an unsigned long number.
    #[prost(string, tag = "338957549")]
    pub service_attachment: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "472980256")]
    pub service_attachment_resource: ::core::option::Option<ServiceAttachment>,
}
/// A request message for SnapshotSettingsService.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchSnapshotSettingRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "357664495")]
    pub snapshot_settings_resource: ::core::option::Option<SnapshotSettings>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for SslPolicies.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchSslPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the SSL policy to update. The name must be 1-63 characters long,
    /// and comply with RFC1035.
    #[prost(string, tag = "295190213")]
    pub ssl_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "274891848")]
    pub ssl_policy_resource: ::core::option::Option<SslPolicy>,
}
/// A request message for Subnetworks.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchSubnetworkRequest {
    /// The drain timeout specifies the upper bound in seconds on the amount of
    /// time allowed to drain connections from the current ACTIVE subnetwork
    /// to the current BACKUP subnetwork. The drain timeout is only applicable
    /// when the following conditions are true:
    ///
    /// * the subnetwork being patched has purpose = INTERNAL_HTTPS_LOAD_BALANCER
    /// * the subnetwork being patched has role = BACKUP
    /// * the patch request is setting the role to ACTIVE. Note that after this
    ///   patch operation the roles of the ACTIVE and BACKUP subnetworks will be
    ///   swapped.
    #[prost(int32, optional, tag = "357707098")]
    pub drain_timeout_seconds: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Subnetwork resource to patch.
    #[prost(string, tag = "307827694")]
    pub subnetwork: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "42233151")]
    pub subnetwork_resource: ::core::option::Option<Subnetwork>,
}
/// A request message for TargetGrpcProxies.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchTargetGrpcProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetGrpcProxy resource to patch.
    #[prost(string, tag = "5020283")]
    pub target_grpc_proxy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "328922450")]
    pub target_grpc_proxy_resource: ::core::option::Option<TargetGrpcProxy>,
}
/// A request message for TargetHttpProxies.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchTargetHttpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpProxy resource to patch.
    #[prost(string, tag = "206872421")]
    pub target_http_proxy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "24696744")]
    pub target_http_proxy_resource: ::core::option::Option<TargetHttpProxy>,
}
/// A request message for TargetHttpsProxies.Patch. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PatchTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpsProxy resource to patch.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "433657473")]
    pub target_https_proxy_resource: ::core::option::Option<TargetHttpsProxy>,
}
/// A request message for UrlMaps.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the UrlMap resource to patch.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "168675425")]
    pub url_map_resource: ::core::option::Option<UrlMap>,
}
/// A request message for WireGroups.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PatchWireGroupRequest {
    #[prost(string, tag = "108192469")]
    pub cross_site_network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    /// end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Input Only\] Validate the new configuration, but don't update it.
    #[prost(bool, optional, tag = "242744629")]
    pub validate_only: ::core::option::Option<bool>,
    /// Name of the WireGroups resource to patch.
    #[prost(string, tag = "122540613")]
    pub wire_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "117104840")]
    pub wire_group_resource: ::core::option::Option<WireGroup>,
}
/// A matcher for the path portion of the URL. The BackendService
/// from the longest-matched rule will serve the URL. If no rule was matched, the
/// default service is used.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PathMatcher {
    /// defaultCustomErrorResponsePolicy specifies how the Load
    /// Balancer returns error responses when BackendServiceorBackendBucket responds with an error.
    ///
    /// This policy takes
    /// effect at the PathMatcher level and applies only when no
    /// policy has been defined for the error code at lower levels likeRouteRule and PathRule within thisPathMatcher. If an error code does not have a policy defined
    /// in defaultCustomErrorResponsePolicy, then a policy defined for
    /// the error code in UrlMap.defaultCustomErrorResponsePolicy
    /// takes effect.
    ///
    /// For example, consider a UrlMap with the following
    /// configuration:
    ///
    /// ```text
    ///   - UrlMap.defaultCustomErrorResponsePolicy is configured
    ///   with policies for 5xx and 4xx errors
    ///   - A RouteRule for /coming_soon/ is configured for the
    ///   error code 404.
    /// ```
    ///
    /// If the request is for www.myotherdomain.com and a404 is encountered, the policy underUrlMap.defaultCustomErrorResponsePolicy takes effect. If a404 response is encountered for the requestwww.example.com/current_events/, the pathMatcher's policy
    /// takes effect. If however, the request forwww.example.com/coming_soon/ encounters a 404,
    /// the policy in RouteRule.customErrorResponsePolicy takes
    /// effect. If any of the requests in this example encounter a 500
    /// error code, the policy atUrlMap.defaultCustomErrorResponsePolicy takes effect.
    ///
    /// When
    /// used in conjunction withpathMatcher.defaultRouteAction.retryPolicy, retries take
    /// precedence. Only once all retries are exhausted, thedefaultCustomErrorResponsePolicy is applied. While attempting
    /// a retry, if load balancer is successful in reaching the
    /// service, the defaultCustomErrorResponsePolicy is ignored and
    /// the response from the service is returned to the client.
    ///
    /// defaultCustomErrorResponsePolicy is supported only for
    /// global external Application Load Balancers.
    #[prost(message, optional, tag = "81266089")]
    pub default_custom_error_response_policy: ::core::option::Option<
        CustomErrorResponsePolicy,
    >,
    /// defaultRouteAction takes effect when none of the
    /// pathRules or routeRules match. The load balancer
    /// performs advanced routing actions, such as URL rewrites and
    /// header transformations, before forwarding the request to the
    /// selected backend.
    ///
    /// Only one of defaultUrlRedirect, defaultService
    /// or defaultRouteAction.weightedBackendService can be set.
    ///
    /// URL maps for classic Application Load Balancers only support
    /// the urlRewrite action within a path matcher'sdefaultRouteAction.
    #[prost(message, optional, tag = "378919466")]
    pub default_route_action: ::core::option::Option<HttpRouteAction>,
    /// The full or partial URL to the BackendService resource. This
    /// URL is used if none of the pathRules orrouteRules defined by this PathMatcher are
    /// matched. For example, the
    /// following are all valid URLs to a BackendService resource:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService>
    ///   - compute/v1/projects/project/global/backendServices/backendService
    ///   - global/backendServices/backendService
    /// ```
    ///
    /// If defaultRouteAction is also specified, advanced
    /// routing actions, such as URL rewrites, take effect before sending the
    /// request to the backend.
    ///
    /// Only one of defaultUrlRedirect, defaultService
    /// or defaultRouteAction.weightedBackendService can be set.
    ///
    /// Authorization requires one or more of the following Google IAM permissions on the
    /// specified resource default_service:
    ///
    /// ```text
    ///    - compute.backendBuckets.use
    ///    - compute.backendServices.use
    /// ```
    #[prost(string, optional, tag = "370242231")]
    pub default_service: ::core::option::Option<::prost::alloc::string::String>,
    /// When none of the specified pathRules orrouteRules match, the request is redirected to a URL specified
    /// by defaultUrlRedirect.
    ///
    /// Only one of defaultUrlRedirect, defaultService
    /// or defaultRouteAction.weightedBackendService can be set.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy.
    #[prost(message, optional, tag = "359503338")]
    pub default_url_redirect: ::core::option::Option<HttpRedirectAction>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies changes to request and response headers that need to take effect
    /// for the selected backend service.
    ///
    /// HeaderAction specified here are applied after the matchingHttpRouteRule HeaderAction and before theHeaderAction in the UrlMap
    ///
    /// HeaderAction is not supported for load balancers
    /// that have
    /// their loadBalancingScheme set to EXTERNAL.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy that
    /// has validateForProxyless field set to true.
    #[prost(message, optional, tag = "328077352")]
    pub header_action: ::core::option::Option<HttpHeaderAction>,
    /// The name to which this PathMatcher is referred by theHostRule.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of path rules. Use this list instead of routeRules
    /// when routing based on simple path matching is all that's required. A path
    /// rule can only include a wildcard character (\*) after a
    /// forward slash character ("/").
    ///
    /// The order by which path rules are specified does not matter.
    /// Matches are always done on the longest-path-first basis.
    ///
    /// For example: a pathRule with a path /a/b/c/\* will match
    /// before /a/b/\* irrespective of the order in which those paths appear in this
    /// list.
    ///
    /// Within a given pathMatcher, only one ofpathRules or routeRules must be set.
    #[prost(message, repeated, tag = "104439901")]
    pub path_rules: ::prost::alloc::vec::Vec<PathRule>,
    /// The list of HTTP route rules. Use this list instead ofpathRules when advanced route matching and routing actions are
    /// desired. routeRules are evaluated in order of priority, from
    /// the lowest to highest number.
    ///
    /// Within a given pathMatcher, you can set only one ofpathRules or routeRules.
    #[prost(message, repeated, tag = "376292225")]
    pub route_rules: ::prost::alloc::vec::Vec<HttpRouteRule>,
}
/// A path-matching rule for a URL. If matched, will use the specifiedBackendService to handle the traffic arriving at this URL.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PathRule {
    /// customErrorResponsePolicy specifies how the Load
    /// Balancer returns error responses when BackendServiceorBackendBucket responds with an error.
    ///
    /// If a policy for an
    /// error code is not configured for the PathRule, a policy for
    /// the error code configured inpathMatcher.defaultCustomErrorResponsePolicy is applied. If
    /// one is not specified inpathMatcher.defaultCustomErrorResponsePolicy, the policy
    /// configured in UrlMap.defaultCustomErrorResponsePolicy takes
    /// effect.
    ///
    /// For example, consider a UrlMap with the following configuration:
    ///
    /// ```text
    ///   - UrlMap.defaultCustomErrorResponsePolicy are configured
    ///   with policies for 5xx and 4xx errors
    ///   - A PathRule for /coming_soon/ is configured for the error
    ///   code 404.
    /// ```
    ///
    /// If the request is for www.myotherdomain.com and a404 is encountered, the policy underUrlMap.defaultCustomErrorResponsePolicy takes effect. If a404 response is encountered for the requestwww.example.com/current_events/, the pathMatcher's policy
    /// takes effect. If however, the request forwww.example.com/coming_soon/ encounters a 404,
    /// the policy in PathRule.customErrorResponsePolicy takes
    /// effect. If any of the requests in this example encounter a 500
    /// error code, the policy atUrlMap.defaultCustomErrorResponsePolicy takes effect.
    ///
    /// customErrorResponsePolicy is supported only for
    /// global external Application Load Balancers.
    #[prost(message, optional, tag = "202816619")]
    pub custom_error_response_policy: ::core::option::Option<CustomErrorResponsePolicy>,
    /// The list of path patterns to match. Each must start with /
    /// and the only place a * is allowed is at the end following
    /// a /.  The string fed to the path matcher does not include
    /// any text after the first ? or #, and
    /// those chars are not allowed here.
    #[prost(string, repeated, tag = "106438894")]
    pub paths: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// In response to a matching path, the load balancer
    /// performs advanced routing actions, such as URL rewrites and header
    /// transformations, before forwarding the request to the selected
    /// backend.
    ///
    /// Only one of urlRedirect, service orrouteAction.weightedBackendService can be set.
    ///
    /// URL maps for classic Application Load Balancers only support
    /// the urlRewrite action within a path rule'srouteAction.
    #[prost(message, optional, tag = "424563948")]
    pub route_action: ::core::option::Option<HttpRouteAction>,
    /// The full or partial URL of the backend service resource to which traffic
    /// is directed if this rule is matched. If routeAction is
    /// also specified, advanced routing actions, such as URL rewrites,
    /// take effect before sending the request to the backend.
    ///
    /// Only one of urlRedirect, service orrouteAction.weightedBackendService can be set.
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
    /// When a path pattern is matched, the request is redirected to a URL
    /// specified by urlRedirect.
    ///
    /// Only one of urlRedirect, service orrouteAction.weightedBackendService can be set.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy.
    #[prost(message, optional, tag = "405147820")]
    pub url_redirect: ::core::option::Option<HttpRedirectAction>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PerInstanceConfig {
    /// Fingerprint of this per-instance config. This field can be used in
    /// optimistic locking. It is ignored when inserting a per-instance
    /// config. An up-to-date fingerprint must be provided in order to update an
    /// existing per-instance configuration or the field needs to be unset.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of a per-instance configuration and its corresponding instance.
    /// Serves as a merge key during UpdatePerInstanceConfigs
    /// operations, that is, if a per-instance configuration with the same name
    /// exists then it will be updated, otherwise a new one will be created for the
    /// VM instance with the same name. An attempt to create a per-instance
    /// configuration for a VM instance that either doesn't exist or is not part
    /// of the group will result in an error.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The intended preserved state for the given instance. Does not contain
    /// preserved state generated from a stateful policy.
    #[prost(message, optional, tag = "2634026")]
    pub preserved_state: ::core::option::Option<PreservedState>,
    /// The status of applying this per-instance configuration on the corresponding
    /// managed instance.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `PerInstanceConfig`.
pub mod per_instance_config {
    /// The status of applying this per-instance configuration on the corresponding
    /// managed instance.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The per-instance configuration is being applied to the instance, but is
        /// not yet effective, possibly waiting for the instance to, for example,REFRESH.
        Applying = 352003508,
        /// The per-instance configuration deletion is being applied on the instance,
        /// possibly waiting for the instance to, for example, REFRESH.
        Deleting = 528602024,
        /// The per-instance configuration is effective on the instance, meaning that
        /// all disks, ips and metadata specified in this configuration are attached
        /// or set on the instance.
        Effective = 244201863,
        /// *\[Default\]* The default status, when no per-instance configuration
        /// exists.
        None = 2402104,
        /// The per-instance configuration is set on an instance but not been applied
        /// yet.
        Unapplied = 483935140,
        /// The per-instance configuration has been deleted, but the deletion is not
        /// yet applied.
        UnappliedDeletion = 313956873,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Applying => "APPLYING",
                Self::Deleting => "DELETING",
                Self::Effective => "EFFECTIVE",
                Self::None => "NONE",
                Self::Unapplied => "UNAPPLIED",
                Self::UnappliedDeletion => "UNAPPLIED_DELETION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "APPLYING" => Some(Self::Applying),
                "DELETING" => Some(Self::Deleting),
                "EFFECTIVE" => Some(Self::Effective),
                "NONE" => Some(Self::None),
                "UNAPPLIED" => Some(Self::Unapplied),
                "UNAPPLIED_DELETION" => Some(Self::UnappliedDeletion),
                _ => None,
            }
        }
    }
}
/// A request message for Instances.PerformMaintenance. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PerformMaintenanceInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NodeGroups.PerformMaintenance. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PerformMaintenanceNodeGroupRequest {
    /// Name of the node group scoping this request.
    #[prost(string, tag = "469958146")]
    pub node_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "185310294")]
    pub node_groups_perform_maintenance_request_resource: ::core::option::Option<
        NodeGroupsPerformMaintenanceRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ReservationBlocks.PerformMaintenance. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PerformMaintenanceReservationBlockRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the reservation.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "47530956")]
    pub reservation: ::prost::alloc::string::String,
    /// The name of the reservation block.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "532832858")]
    pub reservation_block: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "485823625")]
    pub reservations_blocks_perform_maintenance_request_resource: ::core::option::Option<
        ReservationsBlocksPerformMaintenanceRequest,
    >,
    /// Name of the zone for this request. Zone name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Reservations.PerformMaintenance. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PerformMaintenanceReservationRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the reservation.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "47530956")]
    pub reservation: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "29702816")]
    pub reservations_perform_maintenance_request_resource: ::core::option::Option<
        ReservationsPerformMaintenanceRequest,
    >,
    /// Name of the zone for this request. Zone name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ReservationSubBlocks.PerformMaintenance. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PerformMaintenanceReservationSubBlockRequest {
    /// The name of the parent reservation and parent block. In the format of
    /// reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
    #[prost(string, tag = "478151936")]
    pub parent_name: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the reservation subBlock.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "22750491")]
    pub reservation_sub_block: ::prost::alloc::string::String,
    /// Name of the zone for this request. Zone name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// An Identity and Access Management (IAM) policy, which specifies access
/// controls for Google Cloud resources.
///
/// A `Policy` is a collection of `bindings`. A `binding` binds one or more
/// `members`, or principals, to a single `role`. Principals can be user
/// accounts, service accounts, Google groups, and domains (such as G Suite). A
/// `role` is a named list of permissions; each `role` can be an IAM predefined
/// role or a user-created custom role.
///
/// For some types of Google Cloud resources, a `binding` can also specify a
/// `condition`, which is a logical expression that allows access to a resource
/// only if the expression evaluates to `true`. A condition can add constraints
/// based on attributes of the request, the resource, or both. To learn which
/// resources support conditions in their IAM policies, see the
/// [IAM documentation](<https://cloud.google.com/iam/help/conditions/resource-policies>).
///
/// **JSON example:**
///
/// ```text,
///     {
///       "bindings": [
///         {
///           "role": "roles/resourcemanager.organizationAdmin",
///           "members": [
///             "user:mike@example.com",
///             "group:admins@example.com",
///             "domain:google.com",
///             "serviceAccount:my-project-id@appspot.gserviceaccount.com"
///           ]
///         },
///         {
///           "role": "roles/resourcemanager.organizationViewer",
///           "members": [
///             "user:eve@example.com"
///           ],
///           "condition": {
///             "title": "expirable access",
///             "description": "Does not grant access after Sep 2020",
///             "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
///           }
///         }
///       ],
///       "etag": "BwWWja0YfJA=",
///       "version": 3
///     }
/// ```
///
/// **YAML example:**
///
/// ```text,
///     bindings:
///     - members:
///       - user:mike@example.com
///       - group:admins@example.com
///       - domain:google.com
///       - serviceAccount:my-project-id@appspot.gserviceaccount.com
///       role: roles/resourcemanager.organizationAdmin
///     - members:
///       - user:eve@example.com
///       role: roles/resourcemanager.organizationViewer
///       condition:
///         title: expirable access
///         description: Does not grant access after Sep 2020
///         expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
///     etag: BwWWja0YfJA=
///     version: 3
/// ```
///
/// For a description of IAM and its features, see the
/// [IAM documentation](<https://cloud.google.com/iam/docs/>).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Policy {
    /// Specifies cloud audit logging configuration for this policy.
    #[prost(message, repeated, tag = "328080653")]
    pub audit_configs: ::prost::alloc::vec::Vec<AuditConfig>,
    /// Associates a list of `members`, or principals, with a `role`. Optionally,
    /// may specify a `condition` that determines how and when the `bindings` are
    /// applied. Each of the `bindings` must contain at least one principal.
    ///
    /// The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
    /// of these principals can be Google groups. Each occurrence of a principal
    /// counts towards these limits. For example, if the `bindings` grant 50
    /// different roles to `user:alice@example.com`, and not to any other
    /// principal, then you can add another 1,450 principals to the `bindings` in
    /// the `Policy`.
    #[prost(message, repeated, tag = "403251854")]
    pub bindings: ::prost::alloc::vec::Vec<Binding>,
    /// `etag` is used for optimistic concurrency control as a way to help
    /// prevent simultaneous updates of a policy from overwriting each other.
    /// It is strongly suggested that systems make use of the `etag` in the
    /// read-modify-write cycle to perform policy updates in order to avoid race
    /// conditions: An `etag` is returned in the response to `getIamPolicy`, and
    /// systems are expected to put that etag in the request to `setIamPolicy` to
    /// ensure that their change will be applied to the same version of the policy.
    ///
    /// **Important:** If you use IAM Conditions, you must include the `etag` field
    /// whenever you call `setIamPolicy`. If you omit this field, then IAM allows
    /// you to overwrite a version `3` policy with a version `1` policy, and all of
    /// the conditions in the version `3` policy are lost.
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(bool, optional, tag = "450566203")]
    pub iam_owned: ::core::option::Option<bool>,
    /// Specifies the format of the policy.
    ///
    /// Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
    /// are rejected.
    ///
    /// Any operation that affects conditional role bindings must specify version
    /// `3`. This requirement applies to the following operations:
    ///
    /// * Getting a policy that includes a conditional role binding
    /// * Adding a conditional role binding to a policy
    /// * Changing a conditional role binding in a policy
    /// * Removing any role binding, with or without a condition, from a policy
    ///   that includes conditions
    ///
    /// **Important:** If you use IAM Conditions, you must include the `etag` field
    /// whenever you call `setIamPolicy`. If you omit this field, then IAM allows
    /// you to overwrite a version `3` policy with a version `1` policy, and all of
    /// the conditions in the version `3` policy are lost.
    ///
    /// If a policy does not include any conditions, operations on that policy may
    /// specify any valid version or leave the field unset.
    ///
    /// To learn which resources support conditions in their IAM policies, see the
    /// [IAM documentation](<https://cloud.google.com/iam/help/conditions/resource-policies>).
    #[prost(int32, optional, tag = "351608024")]
    pub version: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PreconfiguredWafSet {
    /// List of entities that are currently supported for WAF rules.
    #[prost(message, repeated, tag = "474011032")]
    pub expression_sets: ::prost::alloc::vec::Vec<WafExpressionSet>,
}
/// Preserved state for a given instance.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PreservedState {
    /// Preserved disks defined for this instance.
    /// This map is keyed with the device names of the disks.
    #[prost(map = "string, message", tag = "95594102")]
    pub disks: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        PreservedStatePreservedDisk,
    >,
    /// Preserved external IPs defined for this instance.
    /// This map is keyed with the name of the network interface.
    #[prost(map = "string, message", tag = "532687245")]
    pub external_i_ps: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        PreservedStatePreservedNetworkIp,
    >,
    /// Preserved internal IPs defined for this instance.
    /// This map is keyed with the name of the network interface.
    #[prost(map = "string, message", tag = "215731675")]
    pub internal_i_ps: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        PreservedStatePreservedNetworkIp,
    >,
    /// Preserved metadata defined for this instance.
    #[prost(map = "string, string", tag = "86866735")]
    pub metadata: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PreservedStatePreservedDisk {
    /// These stateful disks will never be deleted during autohealing,
    /// update, instance recreate operations. This flag is used to configure
    /// if the disk should be deleted after it is no longer used by the group,
    /// e.g. when the given instance or the whole MIG is deleted.
    /// Note: disks attached in READ_ONLY mode cannot be
    /// auto-deleted.
    /// Check the AutoDelete enum for the list of possible values.
    #[prost(string, optional, tag = "464761403")]
    pub auto_delete: ::core::option::Option<::prost::alloc::string::String>,
    /// The mode in which to attach this disk, either READ_WRITE orREAD_ONLY. If not specified, the default is to attach the
    /// disk in READ_WRITE mode.
    /// Check the Mode enum for the list of possible values.
    #[prost(string, optional, tag = "3357091")]
    pub mode: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the disk resource that is stateful and should be attached
    /// to the VM instance.
    #[prost(string, optional, tag = "177235995")]
    pub source: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `PreservedStatePreservedDisk`.
pub mod preserved_state_preserved_disk {
    /// These stateful disks will never be deleted during autohealing,
    /// update, instance recreate operations. This flag is used to configure
    /// if the disk should be deleted after it is no longer used by the group,
    /// e.g. when the given instance or the whole MIG is deleted.
    /// Note: disks attached in READ_ONLY mode cannot be
    /// auto-deleted.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AutoDelete {
        /// A value indicating that the enum field is not set.
        UndefinedAutoDelete = 0,
        Never = 74175084,
        OnPermanentInstanceDeletion = 95727719,
    }
    impl AutoDelete {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAutoDelete => "UNDEFINED_AUTO_DELETE",
                Self::Never => "NEVER",
                Self::OnPermanentInstanceDeletion => "ON_PERMANENT_INSTANCE_DELETION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AUTO_DELETE" => Some(Self::UndefinedAutoDelete),
                "NEVER" => Some(Self::Never),
                "ON_PERMANENT_INSTANCE_DELETION" => {
                    Some(Self::OnPermanentInstanceDeletion)
                }
                _ => None,
            }
        }
    }
    /// The mode in which to attach this disk, either READ_WRITE orREAD_ONLY. If not specified, the default is to attach the
    /// disk in READ_WRITE mode.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Mode {
        /// A value indicating that the enum field is not set.
        UndefinedMode = 0,
        /// Attaches this disk in read-only mode. Multiple VM instances can use
        /// a disk in READ_ONLY mode at a time.
        ReadOnly = 91950261,
        /// *\[Default\]* Attaches this disk in READ_WRITE mode. Only
        /// one VM instance at a time can be attached to a disk inREAD_WRITE mode.
        ReadWrite = 173607894,
    }
    impl Mode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMode => "UNDEFINED_MODE",
                Self::ReadOnly => "READ_ONLY",
                Self::ReadWrite => "READ_WRITE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MODE" => Some(Self::UndefinedMode),
                "READ_ONLY" => Some(Self::ReadOnly),
                "READ_WRITE" => Some(Self::ReadWrite),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PreservedStatePreservedNetworkIp {
    /// These stateful IPs will never be released during autohealing,
    /// update or VM instance recreate operations.
    /// This flag is used to configure if the IP reservation should be deleted
    /// after it is no longer used by the group, e.g. when the given instance
    /// or the whole group is deleted.
    /// Check the AutoDelete enum for the list of possible values.
    #[prost(string, optional, tag = "464761403")]
    pub auto_delete: ::core::option::Option<::prost::alloc::string::String>,
    /// Ip address representation
    #[prost(message, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<PreservedStatePreservedNetworkIpIpAddress>,
}
/// Nested message and enum types in `PreservedStatePreservedNetworkIp`.
pub mod preserved_state_preserved_network_ip {
    /// These stateful IPs will never be released during autohealing,
    /// update or VM instance recreate operations.
    /// This flag is used to configure if the IP reservation should be deleted
    /// after it is no longer used by the group, e.g. when the given instance
    /// or the whole group is deleted.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AutoDelete {
        /// A value indicating that the enum field is not set.
        UndefinedAutoDelete = 0,
        Never = 74175084,
        OnPermanentInstanceDeletion = 95727719,
    }
    impl AutoDelete {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAutoDelete => "UNDEFINED_AUTO_DELETE",
                Self::Never => "NEVER",
                Self::OnPermanentInstanceDeletion => "ON_PERMANENT_INSTANCE_DELETION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AUTO_DELETE" => Some(Self::UndefinedAutoDelete),
                "NEVER" => Some(Self::Never),
                "ON_PERMANENT_INSTANCE_DELETION" => {
                    Some(Self::OnPermanentInstanceDeletion)
                }
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PreservedStatePreservedNetworkIpIpAddress {
    /// The URL of the reservation for this IP address.
    #[prost(string, optional, tag = "462920692")]
    pub address: ::core::option::Option<::prost::alloc::string::String>,
    /// An IPv4 internal network address to assign to the instance for this
    /// network interface.
    #[prost(string, optional, tag = "182460591")]
    pub literal: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a single Google Compute Engine preview feature.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PreviewFeature {
    /// Specifies whether the feature is enabled or disabled.
    /// Check the ActivationStatus enum for the list of possible values.
    #[prost(string, optional, tag = "71960379")]
    pub activation_status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Description of the feature.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output only\] The type of the feature. Always "compute#previewFeature" for
    /// preview features.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the feature.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Rollout operation of the feature.
    #[prost(message, optional, tag = "486746201")]
    pub rollout_operation: ::core::option::Option<PreviewFeatureRolloutOperation>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output only\] Status of the feature.
    #[prost(message, optional, tag = "181260274")]
    pub status: ::core::option::Option<PreviewFeatureStatus>,
}
/// Nested message and enum types in `PreviewFeature`.
pub mod preview_feature {
    /// Specifies whether the feature is enabled or disabled.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ActivationStatus {
        /// A value indicating that the enum field is not set.
        UndefinedActivationStatus = 0,
        ActivationStateUnspecified = 632160,
        Disabled = 516696700,
        Enabled = 182130465,
    }
    impl ActivationStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedActivationStatus => "UNDEFINED_ACTIVATION_STATUS",
                Self::ActivationStateUnspecified => "ACTIVATION_STATE_UNSPECIFIED",
                Self::Disabled => "DISABLED",
                Self::Enabled => "ENABLED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ACTIVATION_STATUS" => Some(Self::UndefinedActivationStatus),
                "ACTIVATION_STATE_UNSPECIFIED" => Some(Self::ActivationStateUnspecified),
                "DISABLED" => Some(Self::Disabled),
                "ENABLED" => Some(Self::Enabled),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PreviewFeatureList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of PreviewFeature resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<PreviewFeature>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface: MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents the rollout operation
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PreviewFeatureRolloutOperation {
    /// Input only. The input for the rollout operation.
    #[prost(message, optional, tag = "265745340")]
    pub rollout_input: ::core::option::Option<
        PreviewFeatureRolloutOperationRolloutInput,
    >,
}
/// Represents the input for the rollout operation.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PreviewFeatureRolloutOperationRolloutInput {
    /// The name of the rollout plan
    /// Ex.
    /// organizations//locations/global/rolloutPlans/
    /// Ex.
    /// folders//locations/global/rolloutPlans/
    /// Ex.
    /// projects//locations/global/rolloutPlans/.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Predefined rollout plan.
    /// Check the PredefinedRolloutPlan enum for the list of possible values.
    #[prost(string, optional, tag = "364023440")]
    pub predefined_rollout_plan: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `PreviewFeatureRolloutOperationRolloutInput`.
pub mod preview_feature_rollout_operation_rollout_input {
    /// Predefined rollout plan.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PredefinedRolloutPlan {
        /// A value indicating that the enum field is not set.
        UndefinedPredefinedRolloutPlan = 0,
        RolloutPlanFastRollout = 167808726,
        RolloutPlanTwoDayRollout = 349866771,
        RolloutPlanUnspecified = 144511983,
    }
    impl PredefinedRolloutPlan {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPredefinedRolloutPlan => {
                    "UNDEFINED_PREDEFINED_ROLLOUT_PLAN"
                }
                Self::RolloutPlanFastRollout => "ROLLOUT_PLAN_FAST_ROLLOUT",
                Self::RolloutPlanTwoDayRollout => "ROLLOUT_PLAN_TWO_DAY_ROLLOUT",
                Self::RolloutPlanUnspecified => "ROLLOUT_PLAN_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PREDEFINED_ROLLOUT_PLAN" => {
                    Some(Self::UndefinedPredefinedRolloutPlan)
                }
                "ROLLOUT_PLAN_FAST_ROLLOUT" => Some(Self::RolloutPlanFastRollout),
                "ROLLOUT_PLAN_TWO_DAY_ROLLOUT" => Some(Self::RolloutPlanTwoDayRollout),
                "ROLLOUT_PLAN_UNSPECIFIED" => Some(Self::RolloutPlanUnspecified),
                _ => None,
            }
        }
    }
}
/// \[Output Only\] The status of the feature.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PreviewFeatureStatus {
    /// Output only. \[Output Only\] The description of the feature.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Link to the public documentation for the feature.
    #[prost(string, optional, tag = "223410744")]
    pub help_link: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "508026666")]
    pub release_status: ::core::option::Option<PreviewFeatureStatusReleaseStatus>,
}
/// \[Output Only\] The release status of the feature.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PreviewFeatureStatusReleaseStatus {
    /// Output only. \[Output Only\] The stage of the feature.
    /// Check the Stage enum for the list of possible values.
    #[prost(string, optional, tag = "109757182")]
    pub stage: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The last date when a feature transitioned between ReleaseStatuses.
    #[prost(message, optional, tag = "499811684")]
    pub update_date: ::core::option::Option<Date>,
}
/// Nested message and enum types in `PreviewFeatureStatusReleaseStatus`.
pub mod preview_feature_status_release_status {
    /// Output only. \[Output Only\] The stage of the feature.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Stage {
        /// A value indicating that the enum field is not set.
        UndefinedStage = 0,
        Deprecated = 463360435,
        Ga = 2266,
        Preview = 399798184,
        Unspecified = 63695670,
    }
    impl Stage {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStage => "UNDEFINED_STAGE",
                Self::Deprecated => "DEPRECATED",
                Self::Ga => "GA",
                Self::Preview => "PREVIEW",
                Self::Unspecified => "STAGE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STAGE" => Some(Self::UndefinedStage),
                "DEPRECATED" => Some(Self::Deprecated),
                "GA" => Some(Self::Ga),
                "PREVIEW" => Some(Self::Preview),
                "STAGE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// A request message for Routers.Preview. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PreviewRouterRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the Router resource to query.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "155222084")]
    pub router_resource: ::core::option::Option<Router>,
}
/// Represents a Project resource.
///
/// A project is used to organize resources in a Google Cloud Platform
/// environment. For more information, read about the
/// Resource Hierarchy.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Project {
    /// Output only. \[Output Only\] The Cloud Armor tier for this project. It can be one of the
    /// following values: CA_STANDARD,CA_ENTERPRISE_PAYGO.
    ///
    /// If this field is not specified, it is assumed to beCA_STANDARD.
    /// Check the CloudArmorTier enum for the list of possible values.
    #[prost(string, optional, tag = "4427052")]
    pub cloud_armor_tier: ::core::option::Option<::prost::alloc::string::String>,
    /// Metadata key/value pairs available to all instances contained in this
    /// project. See Custom
    /// metadata for more information.
    #[prost(message, optional, tag = "185794117")]
    pub common_instance_metadata: ::core::option::Option<Metadata>,
    /// \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// This signifies the default network tier used for configuring resources of
    /// the project and can only take the following values:PREMIUM, STANDARD. Initially the default network
    /// tier is PREMIUM.
    /// Check the DefaultNetworkTier enum for the list of possible values.
    #[prost(string, optional, tag = "471753361")]
    pub default_network_tier: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Default service account used by VMs running in this project.
    #[prost(string, optional, tag = "298712229")]
    pub default_service_account: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional textual description of the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional list of restricted features enabled for use on this project.
    #[prost(string, repeated, tag = "469017467")]
    pub enabled_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server. This is *not* the project ID, and is
    /// just a unique ID used by Compute Engine to identify resources.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#project for
    /// projects.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The project ID. For example: my-example-project. Use the
    /// project ID to make requests to Compute Engine.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Quotas assigned to this project.
    #[prost(message, repeated, tag = "125341947")]
    pub quotas: ::prost::alloc::vec::Vec<Quota>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional naming prefix for daily usage reports and the Google Cloud
    /// Storage bucket where they are stored.
    #[prost(message, optional, tag = "347543874")]
    pub usage_export_location: ::core::option::Option<UsageExportLocation>,
    /// Output only. \[Output Only\] Default internal DNS setting used by VMs running in
    /// this project.
    /// Check the VmDnsSetting enum for the list of possible values.
    #[prost(string, optional, tag = "58856370")]
    pub vm_dns_setting: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The role this project has in a shared VPC configuration.
    /// Currently, only projects with the host role, which is specified by the
    /// value HOST, are differentiated.
    /// Check the XpnProjectStatus enum for the list of possible values.
    #[prost(string, optional, tag = "228419265")]
    pub xpn_project_status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Project`.
pub mod project {
    /// Output only. \[Output Only\] The Cloud Armor tier for this project. It can be one of the
    /// following values: CA_STANDARD,CA_ENTERPRISE_PAYGO.
    ///
    /// If this field is not specified, it is assumed to beCA_STANDARD.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CloudArmorTier {
        /// A value indicating that the enum field is not set.
        UndefinedCloudArmorTier = 0,
        /// Enterprise tier protection billed annually.
        CaEnterpriseAnnual = 219921116,
        /// Enterprise tier protection billed monthly.
        CaEnterprisePaygo = 453530323,
        /// Standard protection.
        CaStandard = 13156734,
    }
    impl CloudArmorTier {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCloudArmorTier => "UNDEFINED_CLOUD_ARMOR_TIER",
                Self::CaEnterpriseAnnual => "CA_ENTERPRISE_ANNUAL",
                Self::CaEnterprisePaygo => "CA_ENTERPRISE_PAYGO",
                Self::CaStandard => "CA_STANDARD",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CLOUD_ARMOR_TIER" => Some(Self::UndefinedCloudArmorTier),
                "CA_ENTERPRISE_ANNUAL" => Some(Self::CaEnterpriseAnnual),
                "CA_ENTERPRISE_PAYGO" => Some(Self::CaEnterprisePaygo),
                "CA_STANDARD" => Some(Self::CaStandard),
                _ => None,
            }
        }
    }
    /// This signifies the default network tier used for configuring resources of
    /// the project and can only take the following values:PREMIUM, STANDARD. Initially the default network
    /// tier is PREMIUM.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DefaultNetworkTier {
        /// A value indicating that the enum field is not set.
        UndefinedDefaultNetworkTier = 0,
        /// Public internet quality with fixed bandwidth.
        FixedStandard = 310464328,
        /// High quality, Google-grade network tier, support for all networking
        /// products.
        Premium = 399530551,
        /// Public internet quality, only limited support for other networking
        /// products.
        Standard = 484642493,
        /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
        /// is expired or not configured.
        StandardOverridesFixedStandard = 465847234,
    }
    impl DefaultNetworkTier {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDefaultNetworkTier => "UNDEFINED_DEFAULT_NETWORK_TIER",
                Self::FixedStandard => "FIXED_STANDARD",
                Self::Premium => "PREMIUM",
                Self::Standard => "STANDARD",
                Self::StandardOverridesFixedStandard => {
                    "STANDARD_OVERRIDES_FIXED_STANDARD"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DEFAULT_NETWORK_TIER" => {
                    Some(Self::UndefinedDefaultNetworkTier)
                }
                "FIXED_STANDARD" => Some(Self::FixedStandard),
                "PREMIUM" => Some(Self::Premium),
                "STANDARD" => Some(Self::Standard),
                "STANDARD_OVERRIDES_FIXED_STANDARD" => {
                    Some(Self::StandardOverridesFixedStandard)
                }
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] Default internal DNS setting used by VMs running in
    /// this project.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum VmDnsSetting {
        /// A value indicating that the enum field is not set.
        UndefinedVmDnsSetting = 0,
        GlobalDefault = 345419141,
        UnspecifiedVmDnsSetting = 35691930,
        ZonalDefault = 368475782,
        ZonalOnly = 521198951,
    }
    impl VmDnsSetting {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedVmDnsSetting => "UNDEFINED_VM_DNS_SETTING",
                Self::GlobalDefault => "GLOBAL_DEFAULT",
                Self::UnspecifiedVmDnsSetting => "UNSPECIFIED_VM_DNS_SETTING",
                Self::ZonalDefault => "ZONAL_DEFAULT",
                Self::ZonalOnly => "ZONAL_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_VM_DNS_SETTING" => Some(Self::UndefinedVmDnsSetting),
                "GLOBAL_DEFAULT" => Some(Self::GlobalDefault),
                "UNSPECIFIED_VM_DNS_SETTING" => Some(Self::UnspecifiedVmDnsSetting),
                "ZONAL_DEFAULT" => Some(Self::ZonalDefault),
                "ZONAL_ONLY" => Some(Self::ZonalOnly),
                _ => None,
            }
        }
    }
    /// \[Output Only\] The role this project has in a shared VPC configuration.
    /// Currently, only projects with the host role, which is specified by the
    /// value HOST, are differentiated.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum XpnProjectStatus {
        /// A value indicating that the enum field is not set.
        UndefinedXpnProjectStatus = 0,
        Host = 2223528,
        UnspecifiedXpnProjectStatus = 340393257,
    }
    impl XpnProjectStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedXpnProjectStatus => "UNDEFINED_XPN_PROJECT_STATUS",
                Self::Host => "HOST",
                Self::UnspecifiedXpnProjectStatus => "UNSPECIFIED_XPN_PROJECT_STATUS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_XPN_PROJECT_STATUS" => Some(Self::UndefinedXpnProjectStatus),
                "HOST" => Some(Self::Host),
                "UNSPECIFIED_XPN_PROJECT_STATUS" => {
                    Some(Self::UnspecifiedXpnProjectStatus)
                }
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ProjectsDisableXpnResourceRequest {
    /// Service resource (a.k.a service project) ID.
    #[prost(message, optional, tag = "133384631")]
    pub xpn_resource: ::core::option::Option<XpnResourceId>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ProjectsEnableXpnResourceRequest {
    /// Service resource (a.k.a service project) ID.
    #[prost(message, optional, tag = "133384631")]
    pub xpn_resource: ::core::option::Option<XpnResourceId>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProjectsGetXpnResources {
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#projectsGetXpnResources for lists of service resources
    /// (a.k.a service projects)
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Service resources (a.k.a service projects) attached to this project as
    /// their shared VPC host.
    #[prost(message, repeated, tag = "164412965")]
    pub resources: ::prost::alloc::vec::Vec<XpnResourceId>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ProjectsListXpnHostsRequest {
    /// Optional organization ID managed by Cloud Resource Manager, for which to
    /// list shared VPC host projects. If not specified, the organization will be
    /// inferred from the project.
    #[prost(string, optional, tag = "105180467")]
    pub organization: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ProjectsSetCloudArmorTierRequest {
    /// Managed protection tier to be set.
    /// Check the CloudArmorTier enum for the list of possible values.
    #[prost(string, optional, tag = "4427052")]
    pub cloud_armor_tier: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ProjectsSetCloudArmorTierRequest`.
pub mod projects_set_cloud_armor_tier_request {
    /// Managed protection tier to be set.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CloudArmorTier {
        /// A value indicating that the enum field is not set.
        UndefinedCloudArmorTier = 0,
        /// Enterprise tier protection billed annually.
        CaEnterpriseAnnual = 219921116,
        /// Enterprise tier protection billed monthly.
        CaEnterprisePaygo = 453530323,
        /// Standard protection.
        CaStandard = 13156734,
    }
    impl CloudArmorTier {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCloudArmorTier => "UNDEFINED_CLOUD_ARMOR_TIER",
                Self::CaEnterpriseAnnual => "CA_ENTERPRISE_ANNUAL",
                Self::CaEnterprisePaygo => "CA_ENTERPRISE_PAYGO",
                Self::CaStandard => "CA_STANDARD",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CLOUD_ARMOR_TIER" => Some(Self::UndefinedCloudArmorTier),
                "CA_ENTERPRISE_ANNUAL" => Some(Self::CaEnterpriseAnnual),
                "CA_ENTERPRISE_PAYGO" => Some(Self::CaEnterprisePaygo),
                "CA_STANDARD" => Some(Self::CaStandard),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ProjectsSetDefaultNetworkTierRequest {
    /// Default network tier to be set.
    /// Check the NetworkTier enum for the list of possible values.
    #[prost(string, optional, tag = "517397843")]
    pub network_tier: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ProjectsSetDefaultNetworkTierRequest`.
pub mod projects_set_default_network_tier_request {
    /// Default network tier to be set.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NetworkTier {
        /// A value indicating that the enum field is not set.
        UndefinedNetworkTier = 0,
        /// Public internet quality with fixed bandwidth.
        FixedStandard = 310464328,
        /// High quality, Google-grade network tier, support for all networking
        /// products.
        Premium = 399530551,
        /// Public internet quality, only limited support for other networking
        /// products.
        Standard = 484642493,
        /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
        /// is expired or not configured.
        StandardOverridesFixedStandard = 465847234,
    }
    impl NetworkTier {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNetworkTier => "UNDEFINED_NETWORK_TIER",
                Self::FixedStandard => "FIXED_STANDARD",
                Self::Premium => "PREMIUM",
                Self::Standard => "STANDARD",
                Self::StandardOverridesFixedStandard => {
                    "STANDARD_OVERRIDES_FIXED_STANDARD"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NETWORK_TIER" => Some(Self::UndefinedNetworkTier),
                "FIXED_STANDARD" => Some(Self::FixedStandard),
                "PREMIUM" => Some(Self::Premium),
                "STANDARD" => Some(Self::Standard),
                "STANDARD_OVERRIDES_FIXED_STANDARD" => {
                    Some(Self::StandardOverridesFixedStandard)
                }
                _ => None,
            }
        }
    }
}
/// A public advertised prefix represents an aggregated IP prefix or netblock
/// which customers bring to cloud. The IP prefix is a single unit of route
/// advertisement and is announced globally to the internet.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PublicAdvertisedPrefix {
    /// Output only. \[Output Only\] The version of BYOIP API.
    /// Check the ByoipApiVersion enum for the list of possible values.
    #[prost(string, optional, tag = "162683283")]
    pub byoip_api_version: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// The address to be used for reverse DNS verification.
    #[prost(string, optional, tag = "241011381")]
    pub dns_verification_ip: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a new PublicAdvertisedPrefix. An up-to-date
    /// fingerprint must be provided in order to update thePublicAdvertisedPrefix, otherwise the request will fail with
    /// error 412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a PublicAdvertisedPrefix.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// The address range, in CIDR format, represented by this public advertised
    /// prefix.
    #[prost(string, optional, tag = "98117322")]
    pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
    /// The internet access type for IPv6 Public Advertised Prefixes.
    /// Check the Ipv6AccessType enum for the list of possible values.
    #[prost(string, optional, tag = "504658653")]
    pub ipv6_access_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#publicAdvertisedPrefix for public advertised prefixes.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how child public delegated prefix will be scoped. It could
    /// be one of following values:
    ///
    /// ```text
    ///   - `REGIONAL`: The public delegated prefix is regional only. The
    ///   provisioning will take a few minutes.
    ///   - `GLOBAL`: The public delegated prefix is global only. The
    ///   provisioning will take ~4 weeks.
    ///   - `GLOBAL_AND_REGIONAL` \[output only\]: The public delegated prefixes is
    ///    BYOIP V1 legacy prefix. This is output only value and no longer
    ///    supported in BYOIP V2.
    /// ```
    ///
    /// Check the PdpScope enum for the list of possible values.
    #[prost(string, optional, tag = "524264785")]
    pub pdp_scope: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The list of public delegated prefixes that exist for this
    /// public advertised prefix.
    #[prost(message, repeated, tag = "425811723")]
    pub public_delegated_prefixs: ::prost::alloc::vec::Vec<
        PublicAdvertisedPrefixPublicDelegatedPrefix,
    >,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The shared secret to be used for reverse DNS verification.
    #[prost(string, optional, tag = "381932490")]
    pub shared_secret: ::core::option::Option<::prost::alloc::string::String>,
    /// The status of the public advertised prefix. Possible values include:
    ///
    /// ```text
    ///   - `INITIAL`: RPKI validation is complete.
    ///   - `PTR_CONFIGURED`: User has configured the PTR.
    ///   - `VALIDATED`: Reverse DNS lookup is successful.
    ///   - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed.
    ///   - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being
    ///   configured.
    ///   - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured.
    ///   - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.
    /// ```
    ///
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `PublicAdvertisedPrefix`.
pub mod public_advertised_prefix {
    /// Output only. \[Output Only\] The version of BYOIP API.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ByoipApiVersion {
        /// A value indicating that the enum field is not set.
        UndefinedByoipApiVersion = 0,
        /// This public advertised prefix can be used to create both regional and
        /// global public delegated prefixes. It usually takes 4 weeks to create or
        /// delete a public delegated prefix. The BGP status cannot be changed.
        V1 = 2715,
        /// This public advertised prefix can only be used to create regional public
        /// delegated prefixes. Public delegated prefix creation and deletion takes
        /// minutes and the BGP status can be modified.
        V2 = 2716,
    }
    impl ByoipApiVersion {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedByoipApiVersion => "UNDEFINED_BYOIP_API_VERSION",
                Self::V1 => "V1",
                Self::V2 => "V2",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BYOIP_API_VERSION" => Some(Self::UndefinedByoipApiVersion),
                "V1" => Some(Self::V1),
                "V2" => Some(Self::V2),
                _ => None,
            }
        }
    }
    /// The internet access type for IPv6 Public Advertised Prefixes.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Ipv6AccessType {
        /// A value indicating that the enum field is not set.
        UndefinedIpv6AccessType = 0,
        /// Default IPv6 access type. The prefix will be announced to the internet.
        /// All children Public Delegated Prefixes will have IPv6 access type as
        /// EXTERNAL.
        External = 35607499,
        /// The prefix will not be announced to the internet. Prefix will be used
        /// privately within Cloud. All children Public Delegated Prefixes
        /// will have IPv6 access type as INTERNAL.
        Internal = 279295677,
    }
    impl Ipv6AccessType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpv6AccessType => "UNDEFINED_IPV6_ACCESS_TYPE",
                Self::External => "EXTERNAL",
                Self::Internal => "INTERNAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IPV6_ACCESS_TYPE" => Some(Self::UndefinedIpv6AccessType),
                "EXTERNAL" => Some(Self::External),
                "INTERNAL" => Some(Self::Internal),
                _ => None,
            }
        }
    }
    /// Specifies how child public delegated prefix will be scoped. It could
    /// be one of following values:
    ///
    /// ```text
    ///   - `REGIONAL`: The public delegated prefix is regional only. The
    ///   provisioning will take a few minutes.
    ///   - `GLOBAL`: The public delegated prefix is global only. The
    ///   provisioning will take ~4 weeks.
    ///   - `GLOBAL_AND_REGIONAL` \[output only\]: The public delegated prefixes is
    ///    BYOIP V1 legacy prefix. This is output only value and no longer
    ///    supported in BYOIP V2.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PdpScope {
        /// A value indicating that the enum field is not set.
        UndefinedPdpScope = 0,
        /// The public delegated prefix is global only. The provisioning will take ~4
        /// weeks.
        Global = 494663587,
        /// The public delegated prefixes is BYOIP V1 legacy prefix. This is output
        /// only value and no longer supported in BYOIP V2.
        GlobalAndRegional = 318053059,
        /// The public delegated prefix is regional only. The provisioning will take
        /// a few minutes.
        Regional = 92288543,
    }
    impl PdpScope {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPdpScope => "UNDEFINED_PDP_SCOPE",
                Self::Global => "GLOBAL",
                Self::GlobalAndRegional => "GLOBAL_AND_REGIONAL",
                Self::Regional => "REGIONAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PDP_SCOPE" => Some(Self::UndefinedPdpScope),
                "GLOBAL" => Some(Self::Global),
                "GLOBAL_AND_REGIONAL" => Some(Self::GlobalAndRegional),
                "REGIONAL" => Some(Self::Regional),
                _ => None,
            }
        }
    }
    /// The status of the public advertised prefix. Possible values include:
    ///
    /// ```text
    ///   - `INITIAL`: RPKI validation is complete.
    ///   - `PTR_CONFIGURED`: User has configured the PTR.
    ///   - `VALIDATED`: Reverse DNS lookup is successful.
    ///   - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed.
    ///   - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being
    ///   configured.
    ///   - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured.
    ///   - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The prefix is announced to Internet.
        AnnouncedToInternet = 177880897,
        /// RPKI validation is complete.
        Initial = 518841124,
        /// The prefix is fully configured.
        PrefixConfigurationComplete = 480889551,
        /// The prefix is being configured.
        PrefixConfigurationInProgress = 378550961,
        /// The prefix is being removed.
        PrefixRemovalInProgress = 284375783,
        /// User has configured the PTR.
        PtrConfigured = 513497167,
        /// The prefix is currently withdrawn but ready to be announced.
        ReadyToAnnounce = 64641265,
        /// Reverse DNS lookup failed.
        ReverseDnsLookupFailed = 295755183,
        /// Reverse DNS lookup is successful.
        Validated = 66197998,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::AnnouncedToInternet => "ANNOUNCED_TO_INTERNET",
                Self::Initial => "INITIAL",
                Self::PrefixConfigurationComplete => "PREFIX_CONFIGURATION_COMPLETE",
                Self::PrefixConfigurationInProgress => "PREFIX_CONFIGURATION_IN_PROGRESS",
                Self::PrefixRemovalInProgress => "PREFIX_REMOVAL_IN_PROGRESS",
                Self::PtrConfigured => "PTR_CONFIGURED",
                Self::ReadyToAnnounce => "READY_TO_ANNOUNCE",
                Self::ReverseDnsLookupFailed => "REVERSE_DNS_LOOKUP_FAILED",
                Self::Validated => "VALIDATED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "ANNOUNCED_TO_INTERNET" => Some(Self::AnnouncedToInternet),
                "INITIAL" => Some(Self::Initial),
                "PREFIX_CONFIGURATION_COMPLETE" => {
                    Some(Self::PrefixConfigurationComplete)
                }
                "PREFIX_CONFIGURATION_IN_PROGRESS" => {
                    Some(Self::PrefixConfigurationInProgress)
                }
                "PREFIX_REMOVAL_IN_PROGRESS" => Some(Self::PrefixRemovalInProgress),
                "PTR_CONFIGURED" => Some(Self::PtrConfigured),
                "READY_TO_ANNOUNCE" => Some(Self::ReadyToAnnounce),
                "REVERSE_DNS_LOOKUP_FAILED" => Some(Self::ReverseDnsLookupFailed),
                "VALIDATED" => Some(Self::Validated),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PublicAdvertisedPrefixList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of PublicAdvertisedPrefix resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<PublicAdvertisedPrefix>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#publicAdvertisedPrefix for public advertised prefixes.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a CIDR range which can be used to assign addresses.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PublicAdvertisedPrefixPublicDelegatedPrefix {
    /// The IP address range of the public delegated prefix
    #[prost(string, optional, tag = "145092645")]
    pub ip_range: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the public delegated prefix
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The project number of the public delegated prefix
    #[prost(string, optional, tag = "227560217")]
    pub project: ::core::option::Option<::prost::alloc::string::String>,
    /// The region of the public delegated prefix if it is regional. If absent,
    /// the prefix is global.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// The status of the public delegated prefix. Possible values are:
    /// INITIALIZING: The public delegated prefix is being initialized and
    /// addresses cannot be created yet.
    /// ANNOUNCED: The public delegated prefix is active.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// A PublicDelegatedPrefix resource represents an IP block within a
/// PublicAdvertisedPrefix that is configured within a single cloud scope
/// (global or region). IPs in the block can be allocated to resources within
/// that scope. Public delegated prefixes may be further broken up into
/// smaller IP blocks in the same scope as the parent block.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PublicDelegatedPrefix {
    /// The allocatable prefix length supported by this public delegated prefix.
    /// This field is optional and cannot be set for prefixes in DELEGATION mode.
    /// It cannot be set for IPv4 prefixes either, and it always defaults to 32.
    #[prost(int32, optional, tag = "38427446")]
    pub allocatable_prefix_length: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] The version of BYOIP API.
    /// Check the ByoipApiVersion enum for the list of possible values.
    #[prost(string, optional, tag = "162683283")]
    pub byoip_api_version: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Whether this PDP supports enhanced IPv4 allocations.
    /// Applicable for IPv4 PDPs only.
    #[prost(bool, optional, tag = "54582253")]
    pub enable_enhanced_ipv4_allocation: ::core::option::Option<bool>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a new PublicDelegatedPrefix. An up-to-date
    /// fingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with
    /// error 412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a PublicDelegatedPrefix.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// The IP address range, in CIDR format, represented by this public
    /// delegated prefix.
    #[prost(string, optional, tag = "98117322")]
    pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The internet access type for IPv6 Public Delegated Prefixes.
    /// Inherited from parent prefix.
    /// Check the Ipv6AccessType enum for the list of possible values.
    #[prost(string, optional, tag = "504658653")]
    pub ipv6_access_type: ::core::option::Option<::prost::alloc::string::String>,
    /// If true, the prefix will be live migrated.
    #[prost(bool, optional, tag = "511823856")]
    pub is_live_migration: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The public delegated prefix mode for IPv6 only.
    /// Check the Mode enum for the list of possible values.
    #[prost(string, optional, tag = "3357091")]
    pub mode: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of parent prefix. Either PublicAdvertisedPrefix or
    /// PublicDelegatedPrefix.
    #[prost(string, optional, tag = "15233991")]
    pub parent_prefix: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of sub public delegated prefixes that exist for this public
    /// delegated prefix.
    #[prost(message, repeated, tag = "188940044")]
    pub public_delegated_sub_prefixs: ::prost::alloc::vec::Vec<
        PublicDelegatedPrefixPublicDelegatedSubPrefix,
    >,
    /// Output only. \[Output Only\] URL of the region where the public delegated prefix resides.
    /// This field applies only to the region resource. You must specify this
    /// field as part of the HTTP request URL. It is not settable as a field in
    /// the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The status of the public delegated prefix, which can be one
    /// of following values:
    ///
    /// ```text
    ///   - `INITIALIZING` The public delegated prefix is being initialized and
    ///   addresses cannot be created yet.
    ///   - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
    ///   prefix and is active.
    ///   - `ANNOUNCED` The public delegated prefix is announced and ready to
    ///   use.
    ///   - `DELETING` The public delegated prefix is being deprovsioned.
    ///   - `ACTIVE` The public delegated prefix is ready to use.
    /// ```
    ///
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `PublicDelegatedPrefix`.
pub mod public_delegated_prefix {
    /// Output only. \[Output Only\] The version of BYOIP API.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ByoipApiVersion {
        /// A value indicating that the enum field is not set.
        UndefinedByoipApiVersion = 0,
        /// This public delegated prefix usually takes 4 weeks to delete, and the BGP
        /// status cannot be changed. Announce and Withdraw APIs can not be used on
        /// this prefix.
        V1 = 2715,
        /// This public delegated prefix takes minutes to delete. Announce and
        /// Withdraw APIs can be used on this prefix to change the BGP status.
        V2 = 2716,
    }
    impl ByoipApiVersion {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedByoipApiVersion => "UNDEFINED_BYOIP_API_VERSION",
                Self::V1 => "V1",
                Self::V2 => "V2",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BYOIP_API_VERSION" => Some(Self::UndefinedByoipApiVersion),
                "V1" => Some(Self::V1),
                "V2" => Some(Self::V2),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The internet access type for IPv6 Public Delegated Prefixes.
    /// Inherited from parent prefix.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Ipv6AccessType {
        /// A value indicating that the enum field is not set.
        UndefinedIpv6AccessType = 0,
        /// The parent public advertised prefix will be announced to the internet.
        /// All children public delegated prefixes will have IPv6 access type as
        /// EXTERNAL.
        External = 35607499,
        /// The parent public advertised prefix will not be announced to the
        /// internet. Prefix will be used privately within Cloud. All children
        /// public delegated prefixes will have IPv6 access type as INTERNAL.
        Internal = 279295677,
    }
    impl Ipv6AccessType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpv6AccessType => "UNDEFINED_IPV6_ACCESS_TYPE",
                Self::External => "EXTERNAL",
                Self::Internal => "INTERNAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IPV6_ACCESS_TYPE" => Some(Self::UndefinedIpv6AccessType),
                "EXTERNAL" => Some(Self::External),
                "INTERNAL" => Some(Self::Internal),
                _ => None,
            }
        }
    }
    /// The public delegated prefix mode for IPv6 only.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Mode {
        /// A value indicating that the enum field is not set.
        UndefinedMode = 0,
        /// The public delegated prefix is used for further sub-delegation only. Such
        /// prefixes cannot set allocatablePrefixLength.
        Delegation = 264149288,
        /// The public delegated prefix is used for creating forwarding rules only.
        /// Such prefixes cannot set publicDelegatedSubPrefixes. Parent public
        /// delegated prefix must have IPv6 access type as EXTERNAL.
        ExternalIpv6ForwardingRuleCreation = 398684356,
        /// The public delegated prefix is used for creating dual-mode subnetworks
        /// only. Such prefixes cannot set publicDelegatedSubPrefixes. Parent public
        /// delegated prefix must have IPv6 access type as EXTERNAL.
        ExternalIpv6SubnetworkCreation = 61198284,
        /// The public delegated prefix is used for creating dual stack or IPv6-only
        /// subnetwork with internal access only. Such prefixes cannot set
        /// publicDelegatedSubPrefixes and allocatablePrefixLength. Parent public
        /// delegated prefix must have IPv6 access type as INTERNAL.
        InternalIpv6SubnetworkCreation = 153239834,
    }
    impl Mode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMode => "UNDEFINED_MODE",
                Self::Delegation => "DELEGATION",
                Self::ExternalIpv6ForwardingRuleCreation => {
                    "EXTERNAL_IPV6_FORWARDING_RULE_CREATION"
                }
                Self::ExternalIpv6SubnetworkCreation => {
                    "EXTERNAL_IPV6_SUBNETWORK_CREATION"
                }
                Self::InternalIpv6SubnetworkCreation => {
                    "INTERNAL_IPV6_SUBNETWORK_CREATION"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MODE" => Some(Self::UndefinedMode),
                "DELEGATION" => Some(Self::Delegation),
                "EXTERNAL_IPV6_FORWARDING_RULE_CREATION" => {
                    Some(Self::ExternalIpv6ForwardingRuleCreation)
                }
                "EXTERNAL_IPV6_SUBNETWORK_CREATION" => {
                    Some(Self::ExternalIpv6SubnetworkCreation)
                }
                "INTERNAL_IPV6_SUBNETWORK_CREATION" => {
                    Some(Self::InternalIpv6SubnetworkCreation)
                }
                _ => None,
            }
        }
    }
    /// \[Output Only\] The status of the public delegated prefix, which can be one
    /// of following values:
    ///
    /// ```text
    ///   - `INITIALIZING` The public delegated prefix is being initialized and
    ///   addresses cannot be created yet.
    ///   - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
    ///   prefix and is active.
    ///   - `ANNOUNCED` The public delegated prefix is announced and ready to
    ///   use.
    ///   - `DELETING` The public delegated prefix is being deprovsioned.
    ///   - `ACTIVE` The public delegated prefix is ready to use.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The public delegated prefix is ready to use.
        Active = 314733318,
        /// The public delegated prefix is announced and ready to use.
        Announced = 365103355,
        /// The prefix is announced within Google network.
        AnnouncedToGoogle = 454875705,
        /// The prefix is announced to Internet and within Google.
        AnnouncedToInternet = 177880897,
        /// The public delegated prefix is being deprovsioned.
        Deleting = 528602024,
        /// The public delegated prefix is being initialized and addresses cannot be
        /// created yet.
        Initializing = 306588749,
        /// The public delegated prefix is currently withdrawn but ready to be
        /// announced.
        ReadyToAnnounce = 64641265,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Active => "ACTIVE",
                Self::Announced => "ANNOUNCED",
                Self::AnnouncedToGoogle => "ANNOUNCED_TO_GOOGLE",
                Self::AnnouncedToInternet => "ANNOUNCED_TO_INTERNET",
                Self::Deleting => "DELETING",
                Self::Initializing => "INITIALIZING",
                Self::ReadyToAnnounce => "READY_TO_ANNOUNCE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "ACTIVE" => Some(Self::Active),
                "ANNOUNCED" => Some(Self::Announced),
                "ANNOUNCED_TO_GOOGLE" => Some(Self::AnnouncedToGoogle),
                "ANNOUNCED_TO_INTERNET" => Some(Self::AnnouncedToInternet),
                "DELETING" => Some(Self::Deleting),
                "INITIALIZING" => Some(Self::Initializing),
                "READY_TO_ANNOUNCE" => Some(Self::ReadyToAnnounce),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PublicDelegatedPrefixAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of PublicDelegatedPrefixesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        PublicDelegatedPrefixesScopedList,
    >,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#publicDelegatedPrefixAggregatedList for aggregated
    /// lists of public delegated prefixes.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PublicDelegatedPrefixList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of PublicDelegatedPrefix resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<PublicDelegatedPrefix>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#publicDelegatedPrefixList for public delegated
    /// prefixes.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a sub PublicDelegatedPrefix.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct PublicDelegatedPrefixPublicDelegatedSubPrefix {
    /// The allocatable prefix length supported by this PublicDelegatedSubPrefix.
    #[prost(int32, optional, tag = "38427446")]
    pub allocatable_prefix_length: ::core::option::Option<i32>,
    /// Name of the project scoping this PublicDelegatedSubPrefix.
    #[prost(string, optional, tag = "414860634")]
    pub delegatee_project: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Whether this PDP supports enhanced IPv4 allocations.
    /// Applicable for IPv4 PDPs only.
    #[prost(bool, optional, tag = "54582253")]
    pub enable_enhanced_ipv4_allocation: ::core::option::Option<bool>,
    /// The IP address range, in CIDR format, represented by this sub public
    /// delegated prefix.
    #[prost(string, optional, tag = "98117322")]
    pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The internet access type for IPv6 Public Delegated Sub
    /// Prefixes. Inherited from parent prefix.
    /// Check the Ipv6AccessType enum for the list of possible values.
    #[prost(string, optional, tag = "504658653")]
    pub ipv6_access_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Whether the sub prefix is delegated to create Address resources in the
    /// delegatee project.
    #[prost(bool, optional, tag = "352617951")]
    pub is_address: ::core::option::Option<bool>,
    /// The PublicDelegatedSubPrefix mode for IPv6 only.
    /// Check the Mode enum for the list of possible values.
    #[prost(string, optional, tag = "3357091")]
    pub mode: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the sub public delegated prefix.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The region of the sub public delegated prefix if it is
    /// regional. If absent, the sub prefix is global.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The status of the sub public delegated prefix.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `PublicDelegatedPrefixPublicDelegatedSubPrefix`.
pub mod public_delegated_prefix_public_delegated_sub_prefix {
    /// Output only. \[Output Only\] The internet access type for IPv6 Public Delegated Sub
    /// Prefixes. Inherited from parent prefix.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Ipv6AccessType {
        /// A value indicating that the enum field is not set.
        UndefinedIpv6AccessType = 0,
        /// The parent public advertised prefix will be announced to the internet.
        /// All children public delegated prefixes will have IPv6 access type as
        /// EXTERNAL.
        External = 35607499,
        /// The parent public advertised prefix will not be announced to the
        /// internet. Prefix will be used privately within Cloud. All children
        /// public delegated prefixes will have IPv6 access type as INTERNAL.
        Internal = 279295677,
    }
    impl Ipv6AccessType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpv6AccessType => "UNDEFINED_IPV6_ACCESS_TYPE",
                Self::External => "EXTERNAL",
                Self::Internal => "INTERNAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IPV6_ACCESS_TYPE" => Some(Self::UndefinedIpv6AccessType),
                "EXTERNAL" => Some(Self::External),
                "INTERNAL" => Some(Self::Internal),
                _ => None,
            }
        }
    }
    /// The PublicDelegatedSubPrefix mode for IPv6 only.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Mode {
        /// A value indicating that the enum field is not set.
        UndefinedMode = 0,
        /// The public delegated prefix is used for further sub-delegation only. Such
        /// prefixes cannot set allocatablePrefixLength.
        Delegation = 264149288,
        /// The public delegated prefix is used for creating forwarding rules only.
        /// Such prefixes cannot set publicDelegatedSubPrefixes. Parent public
        /// delegated prefix must have IPv6 access type as EXTERNAL.
        ExternalIpv6ForwardingRuleCreation = 398684356,
        /// The public delegated prefix is used for creating dual-mode subnetworks
        /// only. Such prefixes cannot set publicDelegatedSubPrefixes. Parent public
        /// delegated prefix must have IPv6 access type as EXTERNAL.
        ExternalIpv6SubnetworkCreation = 61198284,
        /// The public delegated prefix is used for creating dual stack or IPv6-only
        /// subnetwork with internal access only. Such prefixes cannot set
        /// publicDelegatedSubPrefixes and allocatablePrefixLength. Parent public
        /// delegated prefix must have IPv6 access type as INTERNAL.
        InternalIpv6SubnetworkCreation = 153239834,
    }
    impl Mode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMode => "UNDEFINED_MODE",
                Self::Delegation => "DELEGATION",
                Self::ExternalIpv6ForwardingRuleCreation => {
                    "EXTERNAL_IPV6_FORWARDING_RULE_CREATION"
                }
                Self::ExternalIpv6SubnetworkCreation => {
                    "EXTERNAL_IPV6_SUBNETWORK_CREATION"
                }
                Self::InternalIpv6SubnetworkCreation => {
                    "INTERNAL_IPV6_SUBNETWORK_CREATION"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MODE" => Some(Self::UndefinedMode),
                "DELEGATION" => Some(Self::Delegation),
                "EXTERNAL_IPV6_FORWARDING_RULE_CREATION" => {
                    Some(Self::ExternalIpv6ForwardingRuleCreation)
                }
                "EXTERNAL_IPV6_SUBNETWORK_CREATION" => {
                    Some(Self::ExternalIpv6SubnetworkCreation)
                }
                "INTERNAL_IPV6_SUBNETWORK_CREATION" => {
                    Some(Self::InternalIpv6SubnetworkCreation)
                }
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of the sub public delegated prefix.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Active = 314733318,
        Inactive = 270421099,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Active => "ACTIVE",
                Self::Inactive => "INACTIVE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "ACTIVE" => Some(Self::Active),
                "INACTIVE" => Some(Self::Inactive),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PublicDelegatedPrefixesScopedList {
    /// \[Output Only\] A list of PublicDelegatedPrefixes contained in this scope.
    #[prost(message, repeated, tag = "315261206")]
    pub public_delegated_prefixes: ::prost::alloc::vec::Vec<PublicDelegatedPrefix>,
    /// \[Output Only\] Informational warning which replaces the list of
    /// public delegated prefixes when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A quotas entry.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Quota {
    /// \[Output Only\] Quota limit for this metric.
    #[prost(double, optional, tag = "102976443")]
    pub limit: ::core::option::Option<f64>,
    /// \[Output Only\] Name of the quota metric.
    /// Check the Metric enum for the list of possible values.
    #[prost(string, optional, tag = "533067184")]
    pub metric: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Owning resource. This is the resource on which this quota
    /// is applied.
    #[prost(string, optional, tag = "106164915")]
    pub owner: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Current usage of this metric.
    #[prost(double, optional, tag = "111574433")]
    pub usage: ::core::option::Option<f64>,
}
/// Nested message and enum types in `Quota`.
pub mod quota {
    /// \[Output Only\] Name of the quota metric.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Metric {
        /// A value indicating that the enum field is not set.
        UndefinedMetric = 0,
        A2Cpus = 153206585,
        AffinityGroups = 108303563,
        Autoscalers = 471248988,
        BackendBuckets = 137626846,
        BackendServices = 269623753,
        C2dCpus = 508182517,
        C2Cpus = 317601211,
        C3Cpus = 346230362,
        Commitments = 456141790,
        CommittedA2Cpus = 59330902,
        CommittedC2dCpus = 282390904,
        CommittedC2Cpus = 223725528,
        CommittedC3Cpus = 252354679,
        CommittedCpus = 292394702,
        CommittedE2Cpus = 388120154,
        CommittedLicenses = 357606869,
        CommittedLocalSsdTotalGb = 308393480,
        CommittedM3Cpus = 585985,
        CommittedMemoryOptimizedCpus = 489057886,
        CommittedN2aCpus = 40064304,
        CommittedN2dCpus = 125951757,
        CommittedN2Cpus = 322589603,
        CommittedNvidiaA10080gbGpus = 464326565,
        CommittedNvidiaA100Gpus = 375799445,
        CommittedNvidiaH100Gpus = 71649180,
        CommittedNvidiaK80Gpus = 3857188,
        CommittedNvidiaL4Gpus = 19163645,
        CommittedNvidiaP100Gpus = 107528100,
        CommittedNvidiaP4Gpus = 347952897,
        CommittedNvidiaT4Gpus = 139871237,
        CommittedNvidiaV100Gpus = 219562,
        CommittedT2aCpus = 296378986,
        CommittedT2dCpus = 382266439,
        CommittedZ3Cpus = 263844686,
        /// Guest CPUs
        Cpus = 2075595,
        CpusAllRegions = 470911149,
        DisksTotalGb = 353520543,
        E2Cpus = 481995837,
        ExternalManagedForwardingRules = 150790089,
        ExternalNetworkLbForwardingRules = 374298265,
        ExternalProtocolForwardingRules = 63478888,
        ExternalVpnGateways = 272457134,
        Firewalls = 374485843,
        ForwardingRules = 432668949,
        GlobalExternalManagedBackendServices = 164566753,
        GlobalExternalManagedForwardingRules = 327611949,
        GlobalExternalProxyLbBackendServices = 400256169,
        GlobalInternalAddresses = 42738332,
        GlobalInternalManagedBackendServices = 256608303,
        GlobalInternalTrafficDirectorBackendServices = 323514196,
        GpusAllRegions = 39387177,
        HdbTotalGb = 319316271,
        HdbTotalIops = 309720317,
        HdbTotalThroughput = 20981374,
        HealthChecks = 289347502,
        Images = 15562360,
        Instances = 131337822,
        InstanceGroups = 355919038,
        InstanceGroupManagers = 101798192,
        InstanceTemplates = 226188271,
        Interconnects = 415204741,
        InterconnectAttachmentsPerRegion = 159968086,
        InterconnectAttachmentsTotalMbps = 425090419,
        InterconnectTotalGbps = 285341866,
        InternalAddresses = 197899392,
        InternalTrafficDirectorForwardingRules = 266433668,
        InPlaceSnapshots = 151359133,
        InUseAddresses = 402125072,
        InUseBackupSchedules = 32786705,
        InUseSnapshotSchedules = 462104083,
        LocalSsdTotalGb = 330878021,
        M1Cpus = 37203366,
        M2Cpus = 65832517,
        M3Cpus = 94461668,
        MachineImages = 446986640,
        N2aCpus = 265855917,
        N2dCpus = 351743370,
        N2Cpus = 416465286,
        Networks = 485481477,
        NetworkAttachments = 149028575,
        NetworkEndpointGroups = 102144909,
        NetworkFirewallPolicies = 101117374,
        NetLbSecurityPoliciesPerRegion = 157892269,
        NetLbSecurityPolicyRulesPerRegion = 356090931,
        NetLbSecurityPolicyRuleAttributesPerRegion = 311243888,
        NodeGroups = 24624817,
        NodeTemplates = 474896668,
        NvidiaA10080gbGpus = 286389320,
        NvidiaA100Gpus = 504872978,
        NvidiaK80Gpus = 163886599,
        NvidiaL4Gpus = 491923130,
        NvidiaP100Gpus = 236601633,
        NvidiaP100VwsGpus = 213970574,
        NvidiaP4Gpus = 283841470,
        NvidiaP4VwsGpus = 528296619,
        NvidiaT4Gpus = 75759810,
        NvidiaT4VwsGpus = 319813039,
        NvidiaV100Gpus = 129293095,
        PacketMirrorings = 15578407,
        PdExtremeTotalProvisionedIops = 69593965,
        PreemptibleCpus = 251184841,
        PreemptibleLocalSsdGb = 260819336,
        PreemptibleNvidiaA10080gbGpus = 151942410,
        PreemptibleNvidiaA100Gpus = 68832784,
        PreemptibleNvidiaH100Gpus = 301553431,
        PreemptibleNvidiaK80Gpus = 374960201,
        PreemptibleNvidiaL4Gpus = 100408376,
        PreemptibleNvidiaP100Gpus = 337432351,
        PreemptibleNvidiaP100VwsGpus = 313544076,
        PreemptibleNvidiaP4Gpus = 429197628,
        PreemptibleNvidiaP4VwsGpus = 252981545,
        PreemptibleNvidiaT4Gpus = 221115968,
        PreemptibleNvidiaT4VwsGpus = 44497965,
        PreemptibleNvidiaV100Gpus = 230123813,
        PreemptibleTpuLiteDeviceV5 = 174262523,
        PreemptibleTpuLitePodsliceV5 = 112281796,
        PreemptibleTpuPodsliceV4 = 425541132,
        PscIlbConsumerForwardingRulesPerProducerNetwork = 231164291,
        PscInternalLbForwardingRules = 169005435,
        PublicAdvertisedPrefixes = 471371980,
        PublicDelegatedPrefixes = 532465974,
        RegionalAutoscalers = 29363772,
        RegionalExternalManagedBackendServices = 4240989,
        RegionalExternalNetworkLbBackendServices = 409564525,
        RegionalInstanceGroupManagers = 37543696,
        RegionalInternalLbBackendServices = 137983760,
        RegionalInternalManagedBackendServices = 96282539,
        RegionalInternalTrafficDirectorBackendServices = 483162968,
        Reservations = 32644647,
        ResourcePolicies = 83955297,
        Routers = 493018666,
        Routes = 275680074,
        SecurityPolicies = 189518703,
        SecurityPoliciesPerRegion = 249041734,
        SecurityPolicyAdvancedRulesPerRegion = 371815341,
        SecurityPolicyCevalRules = 470815689,
        SecurityPolicyRules = 203549225,
        SecurityPolicyRulesPerRegion = 126510156,
        ServiceAttachments = 471521510,
        /// The total number of snapshots allowed for a single project.
        Snapshots = 343405327,
        SsdTotalGb = 161732561,
        SslCertificates = 378372399,
        SslPolicies = 523254339,
        StaticAddresses = 93624049,
        StaticByoipAddresses = 275809649,
        StaticExternalIpv6AddressRanges = 472346774,
        Subnetworks = 421330469,
        T2aCpus = 522170599,
        T2dCpus = 71187140,
        TargetHttpsProxies = 219522506,
        TargetHttpProxies = 164117155,
        TargetInstances = 284519728,
        TargetPools = 348261257,
        TargetSslProxies = 159216235,
        TargetTcpProxies = 182243136,
        TargetVpnGateways = 75029928,
        TpuLiteDeviceV5 = 449577597,
        TpuLitePodsliceV5 = 12708294,
        TpuPodsliceV4 = 214467530,
        UrlMaps = 378660743,
        VariableIpv6PublicDelegatedPrefixes = 128400161,
        VpnGateways = 35620282,
        VpnTunnels = 104327296,
        XpnServiceProjects = 95191981,
    }
    impl Metric {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMetric => "UNDEFINED_METRIC",
                Self::A2Cpus => "A2_CPUS",
                Self::AffinityGroups => "AFFINITY_GROUPS",
                Self::Autoscalers => "AUTOSCALERS",
                Self::BackendBuckets => "BACKEND_BUCKETS",
                Self::BackendServices => "BACKEND_SERVICES",
                Self::C2dCpus => "C2D_CPUS",
                Self::C2Cpus => "C2_CPUS",
                Self::C3Cpus => "C3_CPUS",
                Self::Commitments => "COMMITMENTS",
                Self::CommittedA2Cpus => "COMMITTED_A2_CPUS",
                Self::CommittedC2dCpus => "COMMITTED_C2D_CPUS",
                Self::CommittedC2Cpus => "COMMITTED_C2_CPUS",
                Self::CommittedC3Cpus => "COMMITTED_C3_CPUS",
                Self::CommittedCpus => "COMMITTED_CPUS",
                Self::CommittedE2Cpus => "COMMITTED_E2_CPUS",
                Self::CommittedLicenses => "COMMITTED_LICENSES",
                Self::CommittedLocalSsdTotalGb => "COMMITTED_LOCAL_SSD_TOTAL_GB",
                Self::CommittedM3Cpus => "COMMITTED_M3_CPUS",
                Self::CommittedMemoryOptimizedCpus => "COMMITTED_MEMORY_OPTIMIZED_CPUS",
                Self::CommittedN2aCpus => "COMMITTED_N2A_CPUS",
                Self::CommittedN2dCpus => "COMMITTED_N2D_CPUS",
                Self::CommittedN2Cpus => "COMMITTED_N2_CPUS",
                Self::CommittedNvidiaA10080gbGpus => "COMMITTED_NVIDIA_A100_80GB_GPUS",
                Self::CommittedNvidiaA100Gpus => "COMMITTED_NVIDIA_A100_GPUS",
                Self::CommittedNvidiaH100Gpus => "COMMITTED_NVIDIA_H100_GPUS",
                Self::CommittedNvidiaK80Gpus => "COMMITTED_NVIDIA_K80_GPUS",
                Self::CommittedNvidiaL4Gpus => "COMMITTED_NVIDIA_L4_GPUS",
                Self::CommittedNvidiaP100Gpus => "COMMITTED_NVIDIA_P100_GPUS",
                Self::CommittedNvidiaP4Gpus => "COMMITTED_NVIDIA_P4_GPUS",
                Self::CommittedNvidiaT4Gpus => "COMMITTED_NVIDIA_T4_GPUS",
                Self::CommittedNvidiaV100Gpus => "COMMITTED_NVIDIA_V100_GPUS",
                Self::CommittedT2aCpus => "COMMITTED_T2A_CPUS",
                Self::CommittedT2dCpus => "COMMITTED_T2D_CPUS",
                Self::CommittedZ3Cpus => "COMMITTED_Z3_CPUS",
                Self::Cpus => "CPUS",
                Self::CpusAllRegions => "CPUS_ALL_REGIONS",
                Self::DisksTotalGb => "DISKS_TOTAL_GB",
                Self::E2Cpus => "E2_CPUS",
                Self::ExternalManagedForwardingRules => {
                    "EXTERNAL_MANAGED_FORWARDING_RULES"
                }
                Self::ExternalNetworkLbForwardingRules => {
                    "EXTERNAL_NETWORK_LB_FORWARDING_RULES"
                }
                Self::ExternalProtocolForwardingRules => {
                    "EXTERNAL_PROTOCOL_FORWARDING_RULES"
                }
                Self::ExternalVpnGateways => "EXTERNAL_VPN_GATEWAYS",
                Self::Firewalls => "FIREWALLS",
                Self::ForwardingRules => "FORWARDING_RULES",
                Self::GlobalExternalManagedBackendServices => {
                    "GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES"
                }
                Self::GlobalExternalManagedForwardingRules => {
                    "GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES"
                }
                Self::GlobalExternalProxyLbBackendServices => {
                    "GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES"
                }
                Self::GlobalInternalAddresses => "GLOBAL_INTERNAL_ADDRESSES",
                Self::GlobalInternalManagedBackendServices => {
                    "GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES"
                }
                Self::GlobalInternalTrafficDirectorBackendServices => {
                    "GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES"
                }
                Self::GpusAllRegions => "GPUS_ALL_REGIONS",
                Self::HdbTotalGb => "HDB_TOTAL_GB",
                Self::HdbTotalIops => "HDB_TOTAL_IOPS",
                Self::HdbTotalThroughput => "HDB_TOTAL_THROUGHPUT",
                Self::HealthChecks => "HEALTH_CHECKS",
                Self::Images => "IMAGES",
                Self::Instances => "INSTANCES",
                Self::InstanceGroups => "INSTANCE_GROUPS",
                Self::InstanceGroupManagers => "INSTANCE_GROUP_MANAGERS",
                Self::InstanceTemplates => "INSTANCE_TEMPLATES",
                Self::Interconnects => "INTERCONNECTS",
                Self::InterconnectAttachmentsPerRegion => {
                    "INTERCONNECT_ATTACHMENTS_PER_REGION"
                }
                Self::InterconnectAttachmentsTotalMbps => {
                    "INTERCONNECT_ATTACHMENTS_TOTAL_MBPS"
                }
                Self::InterconnectTotalGbps => "INTERCONNECT_TOTAL_GBPS",
                Self::InternalAddresses => "INTERNAL_ADDRESSES",
                Self::InternalTrafficDirectorForwardingRules => {
                    "INTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULES"
                }
                Self::InPlaceSnapshots => "IN_PLACE_SNAPSHOTS",
                Self::InUseAddresses => "IN_USE_ADDRESSES",
                Self::InUseBackupSchedules => "IN_USE_BACKUP_SCHEDULES",
                Self::InUseSnapshotSchedules => "IN_USE_SNAPSHOT_SCHEDULES",
                Self::LocalSsdTotalGb => "LOCAL_SSD_TOTAL_GB",
                Self::M1Cpus => "M1_CPUS",
                Self::M2Cpus => "M2_CPUS",
                Self::M3Cpus => "M3_CPUS",
                Self::MachineImages => "MACHINE_IMAGES",
                Self::N2aCpus => "N2A_CPUS",
                Self::N2dCpus => "N2D_CPUS",
                Self::N2Cpus => "N2_CPUS",
                Self::Networks => "NETWORKS",
                Self::NetworkAttachments => "NETWORK_ATTACHMENTS",
                Self::NetworkEndpointGroups => "NETWORK_ENDPOINT_GROUPS",
                Self::NetworkFirewallPolicies => "NETWORK_FIREWALL_POLICIES",
                Self::NetLbSecurityPoliciesPerRegion => {
                    "NET_LB_SECURITY_POLICIES_PER_REGION"
                }
                Self::NetLbSecurityPolicyRulesPerRegion => {
                    "NET_LB_SECURITY_POLICY_RULES_PER_REGION"
                }
                Self::NetLbSecurityPolicyRuleAttributesPerRegion => {
                    "NET_LB_SECURITY_POLICY_RULE_ATTRIBUTES_PER_REGION"
                }
                Self::NodeGroups => "NODE_GROUPS",
                Self::NodeTemplates => "NODE_TEMPLATES",
                Self::NvidiaA10080gbGpus => "NVIDIA_A100_80GB_GPUS",
                Self::NvidiaA100Gpus => "NVIDIA_A100_GPUS",
                Self::NvidiaK80Gpus => "NVIDIA_K80_GPUS",
                Self::NvidiaL4Gpus => "NVIDIA_L4_GPUS",
                Self::NvidiaP100Gpus => "NVIDIA_P100_GPUS",
                Self::NvidiaP100VwsGpus => "NVIDIA_P100_VWS_GPUS",
                Self::NvidiaP4Gpus => "NVIDIA_P4_GPUS",
                Self::NvidiaP4VwsGpus => "NVIDIA_P4_VWS_GPUS",
                Self::NvidiaT4Gpus => "NVIDIA_T4_GPUS",
                Self::NvidiaT4VwsGpus => "NVIDIA_T4_VWS_GPUS",
                Self::NvidiaV100Gpus => "NVIDIA_V100_GPUS",
                Self::PacketMirrorings => "PACKET_MIRRORINGS",
                Self::PdExtremeTotalProvisionedIops => {
                    "PD_EXTREME_TOTAL_PROVISIONED_IOPS"
                }
                Self::PreemptibleCpus => "PREEMPTIBLE_CPUS",
                Self::PreemptibleLocalSsdGb => "PREEMPTIBLE_LOCAL_SSD_GB",
                Self::PreemptibleNvidiaA10080gbGpus => {
                    "PREEMPTIBLE_NVIDIA_A100_80GB_GPUS"
                }
                Self::PreemptibleNvidiaA100Gpus => "PREEMPTIBLE_NVIDIA_A100_GPUS",
                Self::PreemptibleNvidiaH100Gpus => "PREEMPTIBLE_NVIDIA_H100_GPUS",
                Self::PreemptibleNvidiaK80Gpus => "PREEMPTIBLE_NVIDIA_K80_GPUS",
                Self::PreemptibleNvidiaL4Gpus => "PREEMPTIBLE_NVIDIA_L4_GPUS",
                Self::PreemptibleNvidiaP100Gpus => "PREEMPTIBLE_NVIDIA_P100_GPUS",
                Self::PreemptibleNvidiaP100VwsGpus => "PREEMPTIBLE_NVIDIA_P100_VWS_GPUS",
                Self::PreemptibleNvidiaP4Gpus => "PREEMPTIBLE_NVIDIA_P4_GPUS",
                Self::PreemptibleNvidiaP4VwsGpus => "PREEMPTIBLE_NVIDIA_P4_VWS_GPUS",
                Self::PreemptibleNvidiaT4Gpus => "PREEMPTIBLE_NVIDIA_T4_GPUS",
                Self::PreemptibleNvidiaT4VwsGpus => "PREEMPTIBLE_NVIDIA_T4_VWS_GPUS",
                Self::PreemptibleNvidiaV100Gpus => "PREEMPTIBLE_NVIDIA_V100_GPUS",
                Self::PreemptibleTpuLiteDeviceV5 => "PREEMPTIBLE_TPU_LITE_DEVICE_V5",
                Self::PreemptibleTpuLitePodsliceV5 => "PREEMPTIBLE_TPU_LITE_PODSLICE_V5",
                Self::PreemptibleTpuPodsliceV4 => "PREEMPTIBLE_TPU_PODSLICE_V4",
                Self::PscIlbConsumerForwardingRulesPerProducerNetwork => {
                    "PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK"
                }
                Self::PscInternalLbForwardingRules => "PSC_INTERNAL_LB_FORWARDING_RULES",
                Self::PublicAdvertisedPrefixes => "PUBLIC_ADVERTISED_PREFIXES",
                Self::PublicDelegatedPrefixes => "PUBLIC_DELEGATED_PREFIXES",
                Self::RegionalAutoscalers => "REGIONAL_AUTOSCALERS",
                Self::RegionalExternalManagedBackendServices => {
                    "REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES"
                }
                Self::RegionalExternalNetworkLbBackendServices => {
                    "REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES"
                }
                Self::RegionalInstanceGroupManagers => "REGIONAL_INSTANCE_GROUP_MANAGERS",
                Self::RegionalInternalLbBackendServices => {
                    "REGIONAL_INTERNAL_LB_BACKEND_SERVICES"
                }
                Self::RegionalInternalManagedBackendServices => {
                    "REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES"
                }
                Self::RegionalInternalTrafficDirectorBackendServices => {
                    "REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES"
                }
                Self::Reservations => "RESERVATIONS",
                Self::ResourcePolicies => "RESOURCE_POLICIES",
                Self::Routers => "ROUTERS",
                Self::Routes => "ROUTES",
                Self::SecurityPolicies => "SECURITY_POLICIES",
                Self::SecurityPoliciesPerRegion => "SECURITY_POLICIES_PER_REGION",
                Self::SecurityPolicyAdvancedRulesPerRegion => {
                    "SECURITY_POLICY_ADVANCED_RULES_PER_REGION"
                }
                Self::SecurityPolicyCevalRules => "SECURITY_POLICY_CEVAL_RULES",
                Self::SecurityPolicyRules => "SECURITY_POLICY_RULES",
                Self::SecurityPolicyRulesPerRegion => "SECURITY_POLICY_RULES_PER_REGION",
                Self::ServiceAttachments => "SERVICE_ATTACHMENTS",
                Self::Snapshots => "SNAPSHOTS",
                Self::SsdTotalGb => "SSD_TOTAL_GB",
                Self::SslCertificates => "SSL_CERTIFICATES",
                Self::SslPolicies => "SSL_POLICIES",
                Self::StaticAddresses => "STATIC_ADDRESSES",
                Self::StaticByoipAddresses => "STATIC_BYOIP_ADDRESSES",
                Self::StaticExternalIpv6AddressRanges => {
                    "STATIC_EXTERNAL_IPV6_ADDRESS_RANGES"
                }
                Self::Subnetworks => "SUBNETWORKS",
                Self::T2aCpus => "T2A_CPUS",
                Self::T2dCpus => "T2D_CPUS",
                Self::TargetHttpsProxies => "TARGET_HTTPS_PROXIES",
                Self::TargetHttpProxies => "TARGET_HTTP_PROXIES",
                Self::TargetInstances => "TARGET_INSTANCES",
                Self::TargetPools => "TARGET_POOLS",
                Self::TargetSslProxies => "TARGET_SSL_PROXIES",
                Self::TargetTcpProxies => "TARGET_TCP_PROXIES",
                Self::TargetVpnGateways => "TARGET_VPN_GATEWAYS",
                Self::TpuLiteDeviceV5 => "TPU_LITE_DEVICE_V5",
                Self::TpuLitePodsliceV5 => "TPU_LITE_PODSLICE_V5",
                Self::TpuPodsliceV4 => "TPU_PODSLICE_V4",
                Self::UrlMaps => "URL_MAPS",
                Self::VariableIpv6PublicDelegatedPrefixes => {
                    "VARIABLE_IPV6_PUBLIC_DELEGATED_PREFIXES"
                }
                Self::VpnGateways => "VPN_GATEWAYS",
                Self::VpnTunnels => "VPN_TUNNELS",
                Self::XpnServiceProjects => "XPN_SERVICE_PROJECTS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_METRIC" => Some(Self::UndefinedMetric),
                "A2_CPUS" => Some(Self::A2Cpus),
                "AFFINITY_GROUPS" => Some(Self::AffinityGroups),
                "AUTOSCALERS" => Some(Self::Autoscalers),
                "BACKEND_BUCKETS" => Some(Self::BackendBuckets),
                "BACKEND_SERVICES" => Some(Self::BackendServices),
                "C2D_CPUS" => Some(Self::C2dCpus),
                "C2_CPUS" => Some(Self::C2Cpus),
                "C3_CPUS" => Some(Self::C3Cpus),
                "COMMITMENTS" => Some(Self::Commitments),
                "COMMITTED_A2_CPUS" => Some(Self::CommittedA2Cpus),
                "COMMITTED_C2D_CPUS" => Some(Self::CommittedC2dCpus),
                "COMMITTED_C2_CPUS" => Some(Self::CommittedC2Cpus),
                "COMMITTED_C3_CPUS" => Some(Self::CommittedC3Cpus),
                "COMMITTED_CPUS" => Some(Self::CommittedCpus),
                "COMMITTED_E2_CPUS" => Some(Self::CommittedE2Cpus),
                "COMMITTED_LICENSES" => Some(Self::CommittedLicenses),
                "COMMITTED_LOCAL_SSD_TOTAL_GB" => Some(Self::CommittedLocalSsdTotalGb),
                "COMMITTED_M3_CPUS" => Some(Self::CommittedM3Cpus),
                "COMMITTED_MEMORY_OPTIMIZED_CPUS" => {
                    Some(Self::CommittedMemoryOptimizedCpus)
                }
                "COMMITTED_N2A_CPUS" => Some(Self::CommittedN2aCpus),
                "COMMITTED_N2D_CPUS" => Some(Self::CommittedN2dCpus),
                "COMMITTED_N2_CPUS" => Some(Self::CommittedN2Cpus),
                "COMMITTED_NVIDIA_A100_80GB_GPUS" => {
                    Some(Self::CommittedNvidiaA10080gbGpus)
                }
                "COMMITTED_NVIDIA_A100_GPUS" => Some(Self::CommittedNvidiaA100Gpus),
                "COMMITTED_NVIDIA_H100_GPUS" => Some(Self::CommittedNvidiaH100Gpus),
                "COMMITTED_NVIDIA_K80_GPUS" => Some(Self::CommittedNvidiaK80Gpus),
                "COMMITTED_NVIDIA_L4_GPUS" => Some(Self::CommittedNvidiaL4Gpus),
                "COMMITTED_NVIDIA_P100_GPUS" => Some(Self::CommittedNvidiaP100Gpus),
                "COMMITTED_NVIDIA_P4_GPUS" => Some(Self::CommittedNvidiaP4Gpus),
                "COMMITTED_NVIDIA_T4_GPUS" => Some(Self::CommittedNvidiaT4Gpus),
                "COMMITTED_NVIDIA_V100_GPUS" => Some(Self::CommittedNvidiaV100Gpus),
                "COMMITTED_T2A_CPUS" => Some(Self::CommittedT2aCpus),
                "COMMITTED_T2D_CPUS" => Some(Self::CommittedT2dCpus),
                "COMMITTED_Z3_CPUS" => Some(Self::CommittedZ3Cpus),
                "CPUS" => Some(Self::Cpus),
                "CPUS_ALL_REGIONS" => Some(Self::CpusAllRegions),
                "DISKS_TOTAL_GB" => Some(Self::DisksTotalGb),
                "E2_CPUS" => Some(Self::E2Cpus),
                "EXTERNAL_MANAGED_FORWARDING_RULES" => {
                    Some(Self::ExternalManagedForwardingRules)
                }
                "EXTERNAL_NETWORK_LB_FORWARDING_RULES" => {
                    Some(Self::ExternalNetworkLbForwardingRules)
                }
                "EXTERNAL_PROTOCOL_FORWARDING_RULES" => {
                    Some(Self::ExternalProtocolForwardingRules)
                }
                "EXTERNAL_VPN_GATEWAYS" => Some(Self::ExternalVpnGateways),
                "FIREWALLS" => Some(Self::Firewalls),
                "FORWARDING_RULES" => Some(Self::ForwardingRules),
                "GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES" => {
                    Some(Self::GlobalExternalManagedBackendServices)
                }
                "GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES" => {
                    Some(Self::GlobalExternalManagedForwardingRules)
                }
                "GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES" => {
                    Some(Self::GlobalExternalProxyLbBackendServices)
                }
                "GLOBAL_INTERNAL_ADDRESSES" => Some(Self::GlobalInternalAddresses),
                "GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES" => {
                    Some(Self::GlobalInternalManagedBackendServices)
                }
                "GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES" => {
                    Some(Self::GlobalInternalTrafficDirectorBackendServices)
                }
                "GPUS_ALL_REGIONS" => Some(Self::GpusAllRegions),
                "HDB_TOTAL_GB" => Some(Self::HdbTotalGb),
                "HDB_TOTAL_IOPS" => Some(Self::HdbTotalIops),
                "HDB_TOTAL_THROUGHPUT" => Some(Self::HdbTotalThroughput),
                "HEALTH_CHECKS" => Some(Self::HealthChecks),
                "IMAGES" => Some(Self::Images),
                "INSTANCES" => Some(Self::Instances),
                "INSTANCE_GROUPS" => Some(Self::InstanceGroups),
                "INSTANCE_GROUP_MANAGERS" => Some(Self::InstanceGroupManagers),
                "INSTANCE_TEMPLATES" => Some(Self::InstanceTemplates),
                "INTERCONNECTS" => Some(Self::Interconnects),
                "INTERCONNECT_ATTACHMENTS_PER_REGION" => {
                    Some(Self::InterconnectAttachmentsPerRegion)
                }
                "INTERCONNECT_ATTACHMENTS_TOTAL_MBPS" => {
                    Some(Self::InterconnectAttachmentsTotalMbps)
                }
                "INTERCONNECT_TOTAL_GBPS" => Some(Self::InterconnectTotalGbps),
                "INTERNAL_ADDRESSES" => Some(Self::InternalAddresses),
                "INTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULES" => {
                    Some(Self::InternalTrafficDirectorForwardingRules)
                }
                "IN_PLACE_SNAPSHOTS" => Some(Self::InPlaceSnapshots),
                "IN_USE_ADDRESSES" => Some(Self::InUseAddresses),
                "IN_USE_BACKUP_SCHEDULES" => Some(Self::InUseBackupSchedules),
                "IN_USE_SNAPSHOT_SCHEDULES" => Some(Self::InUseSnapshotSchedules),
                "LOCAL_SSD_TOTAL_GB" => Some(Self::LocalSsdTotalGb),
                "M1_CPUS" => Some(Self::M1Cpus),
                "M2_CPUS" => Some(Self::M2Cpus),
                "M3_CPUS" => Some(Self::M3Cpus),
                "MACHINE_IMAGES" => Some(Self::MachineImages),
                "N2A_CPUS" => Some(Self::N2aCpus),
                "N2D_CPUS" => Some(Self::N2dCpus),
                "N2_CPUS" => Some(Self::N2Cpus),
                "NETWORKS" => Some(Self::Networks),
                "NETWORK_ATTACHMENTS" => Some(Self::NetworkAttachments),
                "NETWORK_ENDPOINT_GROUPS" => Some(Self::NetworkEndpointGroups),
                "NETWORK_FIREWALL_POLICIES" => Some(Self::NetworkFirewallPolicies),
                "NET_LB_SECURITY_POLICIES_PER_REGION" => {
                    Some(Self::NetLbSecurityPoliciesPerRegion)
                }
                "NET_LB_SECURITY_POLICY_RULES_PER_REGION" => {
                    Some(Self::NetLbSecurityPolicyRulesPerRegion)
                }
                "NET_LB_SECURITY_POLICY_RULE_ATTRIBUTES_PER_REGION" => {
                    Some(Self::NetLbSecurityPolicyRuleAttributesPerRegion)
                }
                "NODE_GROUPS" => Some(Self::NodeGroups),
                "NODE_TEMPLATES" => Some(Self::NodeTemplates),
                "NVIDIA_A100_80GB_GPUS" => Some(Self::NvidiaA10080gbGpus),
                "NVIDIA_A100_GPUS" => Some(Self::NvidiaA100Gpus),
                "NVIDIA_K80_GPUS" => Some(Self::NvidiaK80Gpus),
                "NVIDIA_L4_GPUS" => Some(Self::NvidiaL4Gpus),
                "NVIDIA_P100_GPUS" => Some(Self::NvidiaP100Gpus),
                "NVIDIA_P100_VWS_GPUS" => Some(Self::NvidiaP100VwsGpus),
                "NVIDIA_P4_GPUS" => Some(Self::NvidiaP4Gpus),
                "NVIDIA_P4_VWS_GPUS" => Some(Self::NvidiaP4VwsGpus),
                "NVIDIA_T4_GPUS" => Some(Self::NvidiaT4Gpus),
                "NVIDIA_T4_VWS_GPUS" => Some(Self::NvidiaT4VwsGpus),
                "NVIDIA_V100_GPUS" => Some(Self::NvidiaV100Gpus),
                "PACKET_MIRRORINGS" => Some(Self::PacketMirrorings),
                "PD_EXTREME_TOTAL_PROVISIONED_IOPS" => {
                    Some(Self::PdExtremeTotalProvisionedIops)
                }
                "PREEMPTIBLE_CPUS" => Some(Self::PreemptibleCpus),
                "PREEMPTIBLE_LOCAL_SSD_GB" => Some(Self::PreemptibleLocalSsdGb),
                "PREEMPTIBLE_NVIDIA_A100_80GB_GPUS" => {
                    Some(Self::PreemptibleNvidiaA10080gbGpus)
                }
                "PREEMPTIBLE_NVIDIA_A100_GPUS" => Some(Self::PreemptibleNvidiaA100Gpus),
                "PREEMPTIBLE_NVIDIA_H100_GPUS" => Some(Self::PreemptibleNvidiaH100Gpus),
                "PREEMPTIBLE_NVIDIA_K80_GPUS" => Some(Self::PreemptibleNvidiaK80Gpus),
                "PREEMPTIBLE_NVIDIA_L4_GPUS" => Some(Self::PreemptibleNvidiaL4Gpus),
                "PREEMPTIBLE_NVIDIA_P100_GPUS" => Some(Self::PreemptibleNvidiaP100Gpus),
                "PREEMPTIBLE_NVIDIA_P100_VWS_GPUS" => {
                    Some(Self::PreemptibleNvidiaP100VwsGpus)
                }
                "PREEMPTIBLE_NVIDIA_P4_GPUS" => Some(Self::PreemptibleNvidiaP4Gpus),
                "PREEMPTIBLE_NVIDIA_P4_VWS_GPUS" => {
                    Some(Self::PreemptibleNvidiaP4VwsGpus)
                }
                "PREEMPTIBLE_NVIDIA_T4_GPUS" => Some(Self::PreemptibleNvidiaT4Gpus),
                "PREEMPTIBLE_NVIDIA_T4_VWS_GPUS" => {
                    Some(Self::PreemptibleNvidiaT4VwsGpus)
                }
                "PREEMPTIBLE_NVIDIA_V100_GPUS" => Some(Self::PreemptibleNvidiaV100Gpus),
                "PREEMPTIBLE_TPU_LITE_DEVICE_V5" => {
                    Some(Self::PreemptibleTpuLiteDeviceV5)
                }
                "PREEMPTIBLE_TPU_LITE_PODSLICE_V5" => {
                    Some(Self::PreemptibleTpuLitePodsliceV5)
                }
                "PREEMPTIBLE_TPU_PODSLICE_V4" => Some(Self::PreemptibleTpuPodsliceV4),
                "PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK" => {
                    Some(Self::PscIlbConsumerForwardingRulesPerProducerNetwork)
                }
                "PSC_INTERNAL_LB_FORWARDING_RULES" => {
                    Some(Self::PscInternalLbForwardingRules)
                }
                "PUBLIC_ADVERTISED_PREFIXES" => Some(Self::PublicAdvertisedPrefixes),
                "PUBLIC_DELEGATED_PREFIXES" => Some(Self::PublicDelegatedPrefixes),
                "REGIONAL_AUTOSCALERS" => Some(Self::RegionalAutoscalers),
                "REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES" => {
                    Some(Self::RegionalExternalManagedBackendServices)
                }
                "REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES" => {
                    Some(Self::RegionalExternalNetworkLbBackendServices)
                }
                "REGIONAL_INSTANCE_GROUP_MANAGERS" => {
                    Some(Self::RegionalInstanceGroupManagers)
                }
                "REGIONAL_INTERNAL_LB_BACKEND_SERVICES" => {
                    Some(Self::RegionalInternalLbBackendServices)
                }
                "REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES" => {
                    Some(Self::RegionalInternalManagedBackendServices)
                }
                "REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES" => {
                    Some(Self::RegionalInternalTrafficDirectorBackendServices)
                }
                "RESERVATIONS" => Some(Self::Reservations),
                "RESOURCE_POLICIES" => Some(Self::ResourcePolicies),
                "ROUTERS" => Some(Self::Routers),
                "ROUTES" => Some(Self::Routes),
                "SECURITY_POLICIES" => Some(Self::SecurityPolicies),
                "SECURITY_POLICIES_PER_REGION" => Some(Self::SecurityPoliciesPerRegion),
                "SECURITY_POLICY_ADVANCED_RULES_PER_REGION" => {
                    Some(Self::SecurityPolicyAdvancedRulesPerRegion)
                }
                "SECURITY_POLICY_CEVAL_RULES" => Some(Self::SecurityPolicyCevalRules),
                "SECURITY_POLICY_RULES" => Some(Self::SecurityPolicyRules),
                "SECURITY_POLICY_RULES_PER_REGION" => {
                    Some(Self::SecurityPolicyRulesPerRegion)
                }
                "SERVICE_ATTACHMENTS" => Some(Self::ServiceAttachments),
                "SNAPSHOTS" => Some(Self::Snapshots),
                "SSD_TOTAL_GB" => Some(Self::SsdTotalGb),
                "SSL_CERTIFICATES" => Some(Self::SslCertificates),
                "SSL_POLICIES" => Some(Self::SslPolicies),
                "STATIC_ADDRESSES" => Some(Self::StaticAddresses),
                "STATIC_BYOIP_ADDRESSES" => Some(Self::StaticByoipAddresses),
                "STATIC_EXTERNAL_IPV6_ADDRESS_RANGES" => {
                    Some(Self::StaticExternalIpv6AddressRanges)
                }
                "SUBNETWORKS" => Some(Self::Subnetworks),
                "T2A_CPUS" => Some(Self::T2aCpus),
                "T2D_CPUS" => Some(Self::T2dCpus),
                "TARGET_HTTPS_PROXIES" => Some(Self::TargetHttpsProxies),
                "TARGET_HTTP_PROXIES" => Some(Self::TargetHttpProxies),
                "TARGET_INSTANCES" => Some(Self::TargetInstances),
                "TARGET_POOLS" => Some(Self::TargetPools),
                "TARGET_SSL_PROXIES" => Some(Self::TargetSslProxies),
                "TARGET_TCP_PROXIES" => Some(Self::TargetTcpProxies),
                "TARGET_VPN_GATEWAYS" => Some(Self::TargetVpnGateways),
                "TPU_LITE_DEVICE_V5" => Some(Self::TpuLiteDeviceV5),
                "TPU_LITE_PODSLICE_V5" => Some(Self::TpuLitePodsliceV5),
                "TPU_PODSLICE_V4" => Some(Self::TpuPodsliceV4),
                "URL_MAPS" => Some(Self::UrlMaps),
                "VARIABLE_IPV6_PUBLIC_DELEGATED_PREFIXES" => {
                    Some(Self::VariableIpv6PublicDelegatedPrefixes)
                }
                "VPN_GATEWAYS" => Some(Self::VpnGateways),
                "VPN_TUNNELS" => Some(Self::VpnTunnels),
                "XPN_SERVICE_PROJECTS" => Some(Self::XpnServiceProjects),
                _ => None,
            }
        }
    }
}
/// Additional details for quota exceeded error for resource quota.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuotaExceededInfo {
    /// The map holding related quota dimensions.
    #[prost(map = "string, string", tag = "414334925")]
    pub dimensions: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Future quota limit being rolled out. The limit's unit depends on the quota
    /// type or metric.
    #[prost(double, optional, tag = "456564287")]
    pub future_limit: ::core::option::Option<f64>,
    /// Current effective quota limit. The limit's unit depends on the quota type
    /// or metric.
    #[prost(double, optional, tag = "102976443")]
    pub limit: ::core::option::Option<f64>,
    /// The name of the quota limit.
    #[prost(string, optional, tag = "398197903")]
    pub limit_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The Compute Engine quota metric name.
    #[prost(string, optional, tag = "409881530")]
    pub metric_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Rollout status of the future quota limit.
    /// Check the RolloutStatus enum for the list of possible values.
    #[prost(string, optional, tag = "476426816")]
    pub rollout_status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `QuotaExceededInfo`.
pub mod quota_exceeded_info {
    /// Rollout status of the future quota limit.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RolloutStatus {
        /// A value indicating that the enum field is not set.
        UndefinedRolloutStatus = 0,
        /// IN_PROGRESS - A rollout is in process which will change the limit value
        /// to future limit.
        InProgress = 469193735,
        /// ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default
        /// value.
        Unspecified = 26864568,
    }
    impl RolloutStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRolloutStatus => "UNDEFINED_ROLLOUT_STATUS",
                Self::InProgress => "IN_PROGRESS",
                Self::Unspecified => "ROLLOUT_STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ROLLOUT_STATUS" => Some(Self::UndefinedRolloutStatus),
                "IN_PROGRESS" => Some(Self::InProgress),
                "ROLLOUT_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Output only. \[Output Only\] Warning of fetching the `quotas` field for this region. This
/// field is populated only if fetching of the `quotas` field fails.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuotaStatusWarning {
    /// \[Output Only\] A warning code, if applicable. For example, Compute
    /// Engine returns NO_RESULTS_ON_PAGE if there
    /// are no results in the response.
    /// Check the Code enum for the list of possible values.
    #[prost(string, optional, tag = "3059181")]
    pub code: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Metadata about this warning in key:
    /// value format. For example:
    ///
    /// "data": \[
    /// {
    /// "key": "scope",
    /// "value": "zones/us-east1-d"
    /// }
    #[prost(message, repeated, tag = "3076010")]
    pub data: ::prost::alloc::vec::Vec<Data>,
    /// \[Output Only\] A human-readable description of the warning code.
    #[prost(string, optional, tag = "418054151")]
    pub message: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `QuotaStatusWarning`.
pub mod quota_status_warning {
    /// \[Output Only\] A warning code, if applicable. For example, Compute
    /// Engine returns NO_RESULTS_ON_PAGE if there
    /// are no results in the response.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Code {
        /// A value indicating that the enum field is not set.
        UndefinedCode = 0,
        /// Warning about failed cleanup of transient changes made by a failed
        /// operation.
        CleanupFailed = 150308440,
        /// A link to a deprecated resource was created.
        DeprecatedResourceUsed = 391835586,
        /// When deploying and at least one of the resources has a type marked as
        /// deprecated
        DeprecatedTypeUsed = 346526230,
        /// The user created a boot disk that is larger than image size.
        DiskSizeLargerThanImageSize = 369442967,
        /// When deploying and at least one of the resources has a type marked as
        /// experimental
        ExperimentalTypeUsed = 451954443,
        /// Warning that is present in an external api call
        ExternalApiWarning = 175546307,
        /// Warning that value of a field has been overridden.
        /// Deprecated unused field.
        FieldValueOverriden = 329669423,
        /// The operation involved use of an injected kernel, which is deprecated.
        InjectedKernelsDeprecated = 417377419,
        /// A WEIGHTED_MAGLEV backend service is associated with a health check that is
        /// not of type HTTP/HTTPS/HTTP2.
        InvalidHealthCheckForDynamicWieghtedLb = 401542606,
        /// When deploying a deployment with a exceedingly large number of resources
        LargeDeploymentWarning = 481440678,
        /// Resource can't be retrieved due to list overhead quota exceed
        /// which captures the amount of resources filtered out by
        /// user-defined list filter.
        ListOverheadQuotaExceed = 47618117,
        /// A resource depends on a missing type
        MissingTypeDependency = 344505463,
        /// The route's nextHopIp address is not assigned to an instance on the
        /// network.
        NextHopAddressNotAssigned = 324964999,
        /// The route's next hop instance cannot ip forward.
        NextHopCannotIpForward = 383382887,
        /// The route's nextHopInstance URL refers to an instance that does not have an
        /// ipv6 interface on the same network as the route.
        NextHopInstanceHasNoIpv6Interface = 146748434,
        /// The route's nextHopInstance URL refers to an instance that does not exist.
        NextHopInstanceNotFound = 464250446,
        /// The route's nextHopInstance URL refers to an instance that is not on the
        /// same network as the route.
        NextHopInstanceNotOnNetwork = 243758146,
        /// The route's next hop instance does not have a status of RUNNING.
        NextHopNotRunning = 417081265,
        /// Error which is not critical. We decided to continue the process despite
        /// the mentioned error.
        NotCriticalError = 105763924,
        /// No results are present on a particular list page.
        NoResultsOnPage = 30036744,
        /// Success is reported, but some results may be missing due to errors
        PartialSuccess = 39966469,
        /// Quota information is not available to client requests (e.g:
        /// regions.list).
        QuotaInfoUnavailable = 304294182,
        /// The user attempted to use a resource that requires a TOS they have not
        /// accepted.
        RequiredTosAgreement = 3745539,
        /// Warning that a resource is in use.
        ResourceInUseByOtherResourceWarning = 496728641,
        /// One or more of the resources set to auto-delete could not be deleted
        /// because they were in use.
        ResourceNotDeleted = 168598460,
        /// When a resource schema validation is ignored.
        SchemaValidationIgnored = 275245642,
        /// Instance template used in instance group manager is valid as such, but
        /// its application does not make a lot of sense, because it allows only
        /// single instance in instance group.
        SingleInstancePropertyTemplate = 268305617,
        /// When undeclared properties in the schema are present
        UndeclaredProperties = 390513439,
        /// A given scope cannot be reached.
        Unreachable = 13328052,
    }
    impl Code {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCode => "UNDEFINED_CODE",
                Self::CleanupFailed => "CLEANUP_FAILED",
                Self::DeprecatedResourceUsed => "DEPRECATED_RESOURCE_USED",
                Self::DeprecatedTypeUsed => "DEPRECATED_TYPE_USED",
                Self::DiskSizeLargerThanImageSize => "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
                Self::ExperimentalTypeUsed => "EXPERIMENTAL_TYPE_USED",
                Self::ExternalApiWarning => "EXTERNAL_API_WARNING",
                Self::FieldValueOverriden => "FIELD_VALUE_OVERRIDEN",
                Self::InjectedKernelsDeprecated => "INJECTED_KERNELS_DEPRECATED",
                Self::InvalidHealthCheckForDynamicWieghtedLb => {
                    "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB"
                }
                Self::LargeDeploymentWarning => "LARGE_DEPLOYMENT_WARNING",
                Self::ListOverheadQuotaExceed => "LIST_OVERHEAD_QUOTA_EXCEED",
                Self::MissingTypeDependency => "MISSING_TYPE_DEPENDENCY",
                Self::NextHopAddressNotAssigned => "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
                Self::NextHopCannotIpForward => "NEXT_HOP_CANNOT_IP_FORWARD",
                Self::NextHopInstanceHasNoIpv6Interface => {
                    "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
                }
                Self::NextHopInstanceNotFound => "NEXT_HOP_INSTANCE_NOT_FOUND",
                Self::NextHopInstanceNotOnNetwork => "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
                Self::NextHopNotRunning => "NEXT_HOP_NOT_RUNNING",
                Self::NotCriticalError => "NOT_CRITICAL_ERROR",
                Self::NoResultsOnPage => "NO_RESULTS_ON_PAGE",
                Self::PartialSuccess => "PARTIAL_SUCCESS",
                Self::QuotaInfoUnavailable => "QUOTA_INFO_UNAVAILABLE",
                Self::RequiredTosAgreement => "REQUIRED_TOS_AGREEMENT",
                Self::ResourceInUseByOtherResourceWarning => {
                    "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
                }
                Self::ResourceNotDeleted => "RESOURCE_NOT_DELETED",
                Self::SchemaValidationIgnored => "SCHEMA_VALIDATION_IGNORED",
                Self::SingleInstancePropertyTemplate => {
                    "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
                }
                Self::UndeclaredProperties => "UNDECLARED_PROPERTIES",
                Self::Unreachable => "UNREACHABLE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CODE" => Some(Self::UndefinedCode),
                "CLEANUP_FAILED" => Some(Self::CleanupFailed),
                "DEPRECATED_RESOURCE_USED" => Some(Self::DeprecatedResourceUsed),
                "DEPRECATED_TYPE_USED" => Some(Self::DeprecatedTypeUsed),
                "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" => {
                    Some(Self::DiskSizeLargerThanImageSize)
                }
                "EXPERIMENTAL_TYPE_USED" => Some(Self::ExperimentalTypeUsed),
                "EXTERNAL_API_WARNING" => Some(Self::ExternalApiWarning),
                "FIELD_VALUE_OVERRIDEN" => Some(Self::FieldValueOverriden),
                "INJECTED_KERNELS_DEPRECATED" => Some(Self::InjectedKernelsDeprecated),
                "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB" => {
                    Some(Self::InvalidHealthCheckForDynamicWieghtedLb)
                }
                "LARGE_DEPLOYMENT_WARNING" => Some(Self::LargeDeploymentWarning),
                "LIST_OVERHEAD_QUOTA_EXCEED" => Some(Self::ListOverheadQuotaExceed),
                "MISSING_TYPE_DEPENDENCY" => Some(Self::MissingTypeDependency),
                "NEXT_HOP_ADDRESS_NOT_ASSIGNED" => Some(Self::NextHopAddressNotAssigned),
                "NEXT_HOP_CANNOT_IP_FORWARD" => Some(Self::NextHopCannotIpForward),
                "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE" => {
                    Some(Self::NextHopInstanceHasNoIpv6Interface)
                }
                "NEXT_HOP_INSTANCE_NOT_FOUND" => Some(Self::NextHopInstanceNotFound),
                "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" => {
                    Some(Self::NextHopInstanceNotOnNetwork)
                }
                "NEXT_HOP_NOT_RUNNING" => Some(Self::NextHopNotRunning),
                "NOT_CRITICAL_ERROR" => Some(Self::NotCriticalError),
                "NO_RESULTS_ON_PAGE" => Some(Self::NoResultsOnPage),
                "PARTIAL_SUCCESS" => Some(Self::PartialSuccess),
                "QUOTA_INFO_UNAVAILABLE" => Some(Self::QuotaInfoUnavailable),
                "REQUIRED_TOS_AGREEMENT" => Some(Self::RequiredTosAgreement),
                "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING" => {
                    Some(Self::ResourceInUseByOtherResourceWarning)
                }
                "RESOURCE_NOT_DELETED" => Some(Self::ResourceNotDeleted),
                "SCHEMA_VALIDATION_IGNORED" => Some(Self::SchemaValidationIgnored),
                "SINGLE_INSTANCE_PROPERTY_TEMPLATE" => {
                    Some(Self::SingleInstancePropertyTemplate)
                }
                "UNDECLARED_PROPERTIES" => Some(Self::UndeclaredProperties),
                "UNREACHABLE" => Some(Self::Unreachable),
                _ => None,
            }
        }
    }
}
/// The parameters of the raw disk image.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RawDisk {
    /// The format used to encode and transmit the block device, which should beTAR. This is just a container and transmission format and not
    /// a runtime format. Provided by the client when the disk image is created.
    /// Check the ContainerType enum for the list of possible values.
    #[prost(string, optional, tag = "318809144")]
    pub container_type: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Deprecated\] This field is deprecated.
    /// An optional SHA1 checksum of the disk image before unpackaging provided
    /// by the client when the disk image is created.
    #[prost(string, optional, tag = "314444349")]
    pub sha1_checksum: ::core::option::Option<::prost::alloc::string::String>,
    /// The full Google Cloud Storage URL or Artifact Registry path where the raw
    /// disk image archive is stored.
    /// The following are valid formats:
    ///
    /// ```text
    /// - <https://storage.googleapis.com/bucket_name/image_archive_name>
    /// - <https://storage.googleapis.com/bucket_name/folder_name/image_archive_name>
    /// - projects/project/locations/location/repositories/repo/packages/package/versions/version_id
    /// - projects/project/locations/location/repositories/repo/packages/package/versions/version_id@dirsum_sha256:hex_value
    /// ```
    ///
    /// In order to create an image, you must provide the full or partial URL of
    /// one of the following:
    ///
    /// ```text
    /// - The rawDisk.source URL
    /// - The sourceDisk URL
    /// - The sourceImage URL
    /// - The sourceSnapshot URL
    /// ```
    #[prost(string, optional, tag = "177235995")]
    pub source: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `RawDisk`.
pub mod raw_disk {
    /// The format used to encode and transmit the block device, which should beTAR. This is just a container and transmission format and not
    /// a runtime format. Provided by the client when the disk image is created.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ContainerType {
        /// A value indicating that the enum field is not set.
        UndefinedContainerType = 0,
        Tar = 82821,
    }
    impl ContainerType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedContainerType => "UNDEFINED_CONTAINER_TYPE",
                Self::Tar => "TAR",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CONTAINER_TYPE" => Some(Self::UndefinedContainerType),
                "TAR" => Some(Self::Tar),
                _ => None,
            }
        }
    }
}
/// A request message for InstanceGroupManagers.RecreateInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RecreateInstancesInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "21405952")]
    pub instance_group_managers_recreate_instances_request_resource: ::core::option::Option<
        InstanceGroupManagersRecreateInstancesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.RecreateInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RecreateInstancesRegionInstanceGroupManagerRequest {
    /// Name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "170999316")]
    pub region_instance_group_managers_recreate_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersRecreateRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a reference to a resource.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Reference {
    /// Output only. \[Output Only\] Type of the resource. Always compute#reference
    /// for references.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A description of the reference type with no implied semantics. Possible
    /// values include:
    ///
    /// ```text
    /// 1. MEMBER_OF
    /// ```
    #[prost(string, optional, tag = "247521198")]
    pub reference_type: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the resource which refers to the target.
    #[prost(string, optional, tag = "351173663")]
    pub referrer: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the resource to which this reference points.
    #[prost(string, optional, tag = "192835985")]
    pub target: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a Region resource.
///
/// A region is a geographical area where a resource is located. For more
/// information, readRegions
/// and Zones.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Region {
    /// \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The deprecation status associated with this region.
    #[prost(message, optional, tag = "515138995")]
    pub deprecated: ::core::option::Option<DeprecationStatus>,
    /// \[Output Only\] Textual description of the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#region for
    /// regions.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Name of the resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Warning of fetching the `quotas` field for this region. This
    /// field is populated only if fetching of the `quotas` field fails.
    #[prost(message, optional, tag = "302941430")]
    pub quota_status_warning: ::core::option::Option<QuotaStatusWarning>,
    /// \[Output Only\] Quotas assigned to this region.
    #[prost(message, repeated, tag = "125341947")]
    pub quotas: ::prost::alloc::vec::Vec<Quota>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Status of the region, either UP orDOWN.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "83983214")]
    pub supports_pzs: ::core::option::Option<bool>,
    /// \[Output Only\] A list of zones available in this region, in the form of
    /// resource URLs.
    #[prost(string, repeated, tag = "116085319")]
    pub zones: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Region`.
pub mod region {
    /// \[Output Only\] Status of the region, either UP orDOWN.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Down = 2104482,
        Up = 2715,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Down => "DOWN",
                Self::Up => "UP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "DOWN" => Some(Self::Down),
                "UP" => Some(Self::Up),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionAddressesMoveRequest {
    /// An optional destination address description if intended to be different
    /// from the source.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the destination address to move to. This can be a full or
    /// partial URL. For example, the following are all valid URLs to a address:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address>
    /// - projects/project/regions/region/addresses/address
    /// ```
    ///
    /// Note that destination project must be different from the source project. So/regions/region/addresses/address is not valid partial url.
    #[prost(string, optional, tag = "371693763")]
    pub destination_address: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains a list of autoscalers.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionAutoscalerList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Autoscaler resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Autoscaler>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionDiskTypeList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of DiskType resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<DiskType>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#regionDiskTypeList for region disk types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionDiskUpdateKmsKeyRequest {
    /// Optional. The new KMS key to replace the current one on the disk. If empty, the disk
    /// will be re-encrypted using the primary version of the disk's current KMS
    /// key.
    ///
    /// The KMS key can be provided in the following formats:
    ///
    /// ```text
    ///   - projects/project_id/locations/location/keyRings/key_ring/cryptoKeys/key
    /// ```
    ///
    /// Where project is the project ID or
    /// project number.
    #[prost(string, optional, tag = "484373913")]
    pub kms_key_name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionDisksAddResourcePoliciesRequest {
    /// Resource policies to be added to this disk.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionDisksRemoveResourcePoliciesRequest {
    /// Resource policies to be removed from this disk.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionDisksResizeRequest {
    /// The new size of the regional persistent disk, which is specified in GB.
    #[prost(int64, optional, tag = "494929369")]
    pub size_gb: ::core::option::Option<i64>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionDisksStartAsyncReplicationRequest {
    /// The secondary disk to start asynchronous replication to.
    /// You can provide this as a partial or full URL to the resource. For example,
    /// the following are valid values:
    ///
    /// ```text
    ///   -
    ///     <https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk>
    ///
    ///   -
    ///     <https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk>
    ///
    ///   -
    ///     projects/project/zones/zone/disks/disk
    ///
    ///   -
    ///     projects/project/regions/region/disks/disk
    ///
    ///   -
    ///     zones/zone/disks/disk
    ///
    ///   -
    ///     regions/region/disks/disk
    /// ```
    #[prost(string, optional, tag = "131645867")]
    pub async_secondary_disk: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains a list of InstanceGroup resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupList {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstanceGroup resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceGroup>,
    /// Output only. The resource type.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// RegionInstanceGroupManagers.deletePerInstanceConfigs
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagerDeleteInstanceConfigReq {
    /// The list of instance names for which we want to delete per-instance configs
    /// on this managed instance group.
    #[prost(string, repeated, tag = "104585032")]
    pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Contains a list of managed instance groups.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagerList {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstanceGroupManager resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceGroupManager>,
    /// Output only. \[Output Only\] The resource type, which is always
    /// compute#instanceGroupManagerList for a list of managed instance groups that
    /// exist in th regional scope.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// RegionInstanceGroupManagers.patchPerInstanceConfigs
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagerPatchInstanceConfigReq {
    /// The list of per-instance configurations to insert or patch on this managed
    /// instance group.
    #[prost(message, repeated, tag = "526265001")]
    pub per_instance_configs: ::prost::alloc::vec::Vec<PerInstanceConfig>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagerResizeRequestsListResponse {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Resize Request resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceGroupManagerResizeRequest>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#regionInstanceGroupManagerResizeRequestList for
    /// a list of Resize Requests.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface: MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// RegionInstanceGroupManagers.updatePerInstanceConfigs
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagerUpdateInstanceConfigReq {
    /// The list of per-instance configurations to insert or patch on this managed
    /// instance group.
    #[prost(message, repeated, tag = "526265001")]
    pub per_instance_configs: ::prost::alloc::vec::Vec<PerInstanceConfig>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagersAbandonInstancesRequest {
    /// The URLs of one or more instances to abandon. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// RegionInstanceGroupManagers.applyUpdatesToInstances
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagersApplyUpdatesRequest {
    /// Flag to update all instances instead of specified list of “instances”.
    /// If the flag is set to true then the instances may not be specified
    /// in the request.
    #[prost(bool, optional, tag = "403676512")]
    pub all_instances: ::core::option::Option<bool>,
    /// The list of URLs of one or more instances for which you want to apply
    /// updates. Each URL can be a full URL or a partial URL, such aszones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The minimal action that you want to perform on each instance during the
    /// update:
    ///
    /// ```text
    ///   - REPLACE: At minimum, delete the instance and create it
    ///   again.
    /// - RESTART: Stop the instance and start it
    ///   again.
    /// - REFRESH: Do not stop the instance and limit
    ///   disruption as much as possible.
    /// - NONE: Do not
    ///   disrupt the instance at all.
    /// ```
    ///
    /// By default, the minimum action is NONE. If your update
    /// requires a more disruptive action than you set with this flag, the
    /// necessary action is performed to execute the update.
    /// Check the MinimalAction enum for the list of possible values.
    #[prost(string, optional, tag = "270567060")]
    pub minimal_action: ::core::option::Option<::prost::alloc::string::String>,
    /// The most disruptive action that you want to perform on each instance during
    /// the update:
    ///
    /// ```text
    ///   - REPLACE: Delete the instance and create it again.
    ///   - RESTART: Stop the instance and start it again.
    ///   - REFRESH: Do not stop the instance and limit disruption
    ///   as much as possible.
    /// - NONE: Do not disrupt the
    ///   instance at all.
    /// ```
    ///
    /// By default, the most disruptive allowed action is REPLACE. If
    /// your update requires a more disruptive action than you set with this flag,
    /// the update request will fail.
    /// Check the MostDisruptiveAllowedAction enum for the list of possible values.
    #[prost(string, optional, tag = "66103053")]
    pub most_disruptive_allowed_action: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Nested message and enum types in `RegionInstanceGroupManagersApplyUpdatesRequest`.
pub mod region_instance_group_managers_apply_updates_request {
    /// The minimal action that you want to perform on each instance during the
    /// update:
    ///
    /// ```text
    ///   - REPLACE: At minimum, delete the instance and create it
    ///   again.
    /// - RESTART: Stop the instance and start it
    ///   again.
    /// - REFRESH: Do not stop the instance and limit
    ///   disruption as much as possible.
    /// - NONE: Do not
    ///   disrupt the instance at all.
    /// ```
    ///
    /// By default, the minimum action is NONE. If your update
    /// requires a more disruptive action than you set with this flag, the
    /// necessary action is performed to execute the update.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// NONE
    /// REFRESH
    /// REPLACE
    /// RESTART
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MinimalAction {
        /// A value indicating that the enum field is not set.
        UndefinedMinimalAction = 0,
    }
    impl MinimalAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMinimalAction => "UNDEFINED_MINIMAL_ACTION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MINIMAL_ACTION" => Some(Self::UndefinedMinimalAction),
                _ => None,
            }
        }
    }
    /// The most disruptive action that you want to perform on each instance during
    /// the update:
    ///
    /// ```text
    ///   - REPLACE: Delete the instance and create it again.
    ///   - RESTART: Stop the instance and start it again.
    ///   - REFRESH: Do not stop the instance and limit disruption
    ///   as much as possible.
    /// - NONE: Do not disrupt the
    ///   instance at all.
    /// ```
    ///
    /// By default, the most disruptive allowed action is REPLACE. If
    /// your update requires a more disruptive action than you set with this flag,
    /// the update request will fail.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// NONE
    /// REFRESH
    /// REPLACE
    /// RESTART
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MostDisruptiveAllowedAction {
        /// A value indicating that the enum field is not set.
        UndefinedMostDisruptiveAllowedAction = 0,
    }
    impl MostDisruptiveAllowedAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMostDisruptiveAllowedAction => {
                    "UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION" => {
                    Some(Self::UndefinedMostDisruptiveAllowedAction)
                }
                _ => None,
            }
        }
    }
}
/// RegionInstanceGroupManagers.createInstances
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagersCreateInstancesRequest {
    /// \[Required\] List of specifications of per-instance configs.
    #[prost(message, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<PerInstanceConfig>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagersDeleteInstancesRequest {
    /// The URLs of one or more instances to delete. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies whether the request should proceed despite the inclusion of
    /// instances that are not members of the group or that are already in the
    /// process of being deleted or abandoned. If this field is set to `false` and
    /// such an instance is specified in the request, the operation fails. The
    /// operation always fails if the request contains a malformed instance URL or
    /// a reference to an instance that exists in a zone or region other than the
    /// group's zone or region.
    #[prost(bool, optional, tag = "40631073")]
    pub skip_instances_on_validation_error: ::core::option::Option<bool>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagersListErrorsResponse {
    /// \[Output Only\] The list of errors of the managed instance group.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceManagedByIgmError>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagersListInstanceConfigsResp {
    /// Output only. \[Output Only\] The list of PerInstanceConfig.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<PerInstanceConfig>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagersListInstancesResponse {
    /// A list of managed instances.
    #[prost(message, repeated, tag = "336219614")]
    pub managed_instances: ::prost::alloc::vec::Vec<ManagedInstance>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagersRecreateRequest {
    /// The URLs of one or more instances to recreate. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagersResumeInstancesRequest {
    /// The URLs of one or more instances to resume. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagersSetTargetPoolsRequest {
    /// Fingerprint of the target pools information, which is a hash of the
    /// contents. This field is used for optimistic locking when you update the
    /// target pool entries. This field is optional.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically
    /// apply to all of the instances in the managed instance group.
    #[prost(string, repeated, tag = "336072617")]
    pub target_pools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagersSetTemplateRequest {
    /// URL of the InstanceTemplate resource from which all new instances will be
    /// created.
    #[prost(string, optional, tag = "309248228")]
    pub instance_template: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagersStartInstancesRequest {
    /// The URLs of one or more instances to start. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagersStopInstancesRequest {
    /// If this flag is set to true, the Instance Group Manager will proceed to
    /// stop the instances, skipping initialization on them.
    #[prost(bool, optional, tag = "134762710")]
    pub force_stop: ::core::option::Option<bool>,
    /// The URLs of one or more instances to stop. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupManagersSuspendInstancesRequest {
    /// If this flag is set to true, the Instance Group Manager will proceed to
    /// suspend the instances, skipping initialization on them.
    #[prost(bool, optional, tag = "27637480")]
    pub force_suspend: ::core::option::Option<bool>,
    /// The URLs of one or more instances to suspend. This can be a full URL or
    /// a partial URL, such as zones/\[ZONE\]/instances/\[INSTANCE_NAME\].
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupsListInstances {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of InstanceWithNamedPorts resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceWithNamedPorts>,
    /// Output only. The resource type.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionInstanceGroupsListInstancesRequest {
    /// Instances in which state should be returned. Valid options are:
    /// 'ALL', 'RUNNING'. By default, it lists all instances.
    /// Check the InstanceState enum for the list of possible values.
    #[prost(string, optional, tag = "92223591")]
    pub instance_state: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of port user is interested in. It is optional. If it is set, only
    /// information about this ports will be returned. If it is not set, all the
    /// named ports will be returned.
    /// Always lists all instances.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `RegionInstanceGroupsListInstancesRequest`.
pub mod region_instance_groups_list_instances_request {
    /// Instances in which state should be returned. Valid options are:
    /// 'ALL', 'RUNNING'. By default, it lists all instances.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum InstanceState {
        /// A value indicating that the enum field is not set.
        UndefinedInstanceState = 0,
        /// Matches any status of the instances, running, non-running and others.
        All = 64897,
        /// Instance is in RUNNING state if it is running.
        Running = 121282975,
    }
    impl InstanceState {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInstanceState => "UNDEFINED_INSTANCE_STATE",
                Self::All => "ALL",
                Self::Running => "RUNNING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INSTANCE_STATE" => Some(Self::UndefinedInstanceState),
                "ALL" => Some(Self::All),
                "RUNNING" => Some(Self::Running),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupsSetNamedPortsRequest {
    /// The fingerprint of the named ports information for this instance group.
    /// Use this optional property to prevent conflicts when multiple users change
    /// the named ports settings concurrently. Obtain the fingerprint with theinstanceGroups.get
    /// method. Then, include the fingerprint in your request to ensure that you
    /// do not overwrite changes that were applied from another
    /// concurrent request.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of named ports to set for this instance group.
    #[prost(message, repeated, tag = "427598732")]
    pub named_ports: ::prost::alloc::vec::Vec<NamedPort>,
}
/// Contains a list of region resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Region resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Region>,
    /// Output only. \[Output Only\] Type of resource. Always compute#regionList for
    /// lists of regions.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionNetworkEndpointGroupsAttachEndpointsRequest {
    /// The list of network endpoints to be attached.
    #[prost(message, repeated, tag = "149850285")]
    pub network_endpoints: ::prost::alloc::vec::Vec<NetworkEndpoint>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionNetworkEndpointGroupsDetachEndpointsRequest {
    /// The list of network endpoints to be detached.
    #[prost(message, repeated, tag = "149850285")]
    pub network_endpoints: ::prost::alloc::vec::Vec<NetworkEndpoint>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse {
    /// Output only. \[Output only\] Effective firewalls from firewall policy. It applies to
    /// Regional Network Firewall Policies in the specified region, Global Network
    /// Firewall Policies and Hierachial Firewall Policies which are associated
    /// with the network.
    #[prost(message, repeated, tag = "410985794")]
    pub firewall_policys: ::prost::alloc::vec::Vec<
        RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy,
    >,
    /// Effective firewalls on the network.
    #[prost(message, repeated, tag = "272245619")]
    pub firewalls: ::prost::alloc::vec::Vec<Firewall>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy {
    /// Output only. \[Output Only\] The display name of the firewall policy.
    #[prost(string, optional, tag = "4473832")]
    pub display_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of the firewall policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output only\] The packet mirroring rules that apply to the network.
    #[prost(message, repeated, tag = "531644356")]
    pub packet_mirroring_rules: ::prost::alloc::vec::Vec<FirewallPolicyRule>,
    /// Output only. \[Output only\] Priority of firewall policy association. Not applicable for
    /// type=HIERARCHY.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Output only. \[Output only\] The rules that apply to the network.
    #[prost(message, repeated, tag = "108873975")]
    pub rules: ::prost::alloc::vec::Vec<FirewallPolicyRule>,
    /// Output only. \[Output Only\] The type of the firewall policy. Can be one of HIERARCHY,
    /// NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy`.
pub mod region_network_firewall_policies_get_effective_firewalls_response_effective_firewall_policy {
    /// Output only. \[Output Only\] The type of the firewall policy. Can be one of HIERARCHY,
    /// NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        Hierarchy = 69902869,
        Network = 413984270,
        NetworkRegional = 190804272,
        SystemGlobal = 60099507,
        SystemRegional = 161777199,
        Unspecified = 526786327,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Hierarchy => "HIERARCHY",
                Self::Network => "NETWORK",
                Self::NetworkRegional => "NETWORK_REGIONAL",
                Self::SystemGlobal => "SYSTEM_GLOBAL",
                Self::SystemRegional => "SYSTEM_REGIONAL",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "HIERARCHY" => Some(Self::Hierarchy),
                "NETWORK" => Some(Self::Network),
                "NETWORK_REGIONAL" => Some(Self::NetworkRegional),
                "SYSTEM_GLOBAL" => Some(Self::SystemGlobal),
                "SYSTEM_REGIONAL" => Some(Self::SystemRegional),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionSetLabelsRequest {
    /// The fingerprint of the previous set of labels for this resource,
    /// used to detect conflicts. The fingerprint is initially generated by Compute
    /// Engine and changes after every request to modify or update labels. You must
    /// always provide an up-to-date fingerprint hash in order to update or change
    /// labels. Make a get() request to the resource to get the latest
    /// fingerprint.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// The labels to set for this resource.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionSetPolicyRequest {
    /// Flatten Policy to create a backwacd compatible wire-format.
    /// Deprecated. Use 'policy' to specify bindings.
    #[prost(message, repeated, tag = "403251854")]
    pub bindings: ::prost::alloc::vec::Vec<Binding>,
    /// Flatten Policy to create a backward compatible wire-format.
    /// Deprecated. Use 'policy' to specify the etag.
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// REQUIRED: The complete policy to be applied to the 'resource'. The size of
    /// the policy is limited to a few 10s of KB. An empty policy is in general a
    /// valid policy but certain services (like Projects) might reject them.
    #[prost(message, optional, tag = "91071794")]
    pub policy: ::core::option::Option<Policy>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionSnapshotUpdateKmsKeyRequest {
    /// Optional. The new KMS key to replace the current one on the snapshot. If empty, the
    /// snapshot will be re-encrypted using the primary version of the snapshot's
    /// current KMS key.
    ///
    /// The KMS key can be provided in the following formats:
    ///
    /// ```text
    ///   - projects/project_id/locations/region/keyRings/region/cryptoKeys/key
    /// ```
    #[prost(string, optional, tag = "484373913")]
    pub kms_key_name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegionTargetHttpsProxiesSetSslCertificatesRequest {
    /// New set of SslCertificate resources to associate
    /// with this TargetHttpsProxy resource.
    #[prost(string, repeated, tag = "366006543")]
    pub ssl_certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionUrlMapsValidateRequest {
    /// Content of the UrlMap to be validated.
    #[prost(message, optional, tag = "195806222")]
    pub resource: ::core::option::Option<UrlMap>,
}
/// A request message for FirewallPolicies.RemoveAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveAssociationFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// Name for the attachment that will be removed.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkFirewallPolicies.RemoveAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveAssociationNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// Name for the attachment that will be removed.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for OrganizationSecurityPolicies.RemoveAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveAssociationOrganizationSecurityPolicyRequest {
    /// Name for the attachment that will be removed.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkFirewallPolicies.RemoveAssociation. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveAssociationRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// Name for the association that will be removed.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for TargetPools.RemoveHealthCheck. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveHealthCheckTargetPoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the target pool to remove health checks from.
    #[prost(string, tag = "62796298")]
    pub target_pool: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "304985011")]
    pub target_pools_remove_health_check_request_resource: ::core::option::Option<
        TargetPoolsRemoveHealthCheckRequest,
    >,
}
/// A request message for TargetPools.RemoveInstance. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveInstanceTargetPoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetPool resource to remove instances from.
    #[prost(string, tag = "62796298")]
    pub target_pool: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "29548547")]
    pub target_pools_remove_instance_request_resource: ::core::option::Option<
        TargetPoolsRemoveInstanceRequest,
    >,
}
/// A request message for InstanceGroups.RemoveInstances. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveInstancesInstanceGroupRequest {
    /// The name of the instance group where the specified instances will be
    /// removed.
    #[prost(string, tag = "81095253")]
    pub instance_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "390981817")]
    pub instance_groups_remove_instances_request_resource: ::core::option::Option<
        InstanceGroupsRemoveInstancesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone
    /// where the instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NetworkFirewallPolicies.RemovePacketMirroringRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemovePacketMirroringRuleNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The priority of the rule to remove from the firewall policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Networks.RemovePeering. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemovePeeringNetworkRequest {
    /// Name of the network resource to remove peering from.
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "421162494")]
    pub networks_remove_peering_request_resource: ::core::option::Option<
        NetworksRemovePeeringRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Disks.RemoveResourcePolicies. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveResourcePoliciesDiskRequest {
    /// The disk name for this request.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "436756718")]
    pub disks_remove_resource_policies_request_resource: ::core::option::Option<
        DisksRemoveResourcePoliciesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.RemoveResourcePolicies. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveResourcePoliciesInstanceRequest {
    /// The instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "49229558")]
    pub instances_remove_resource_policies_request_resource: ::core::option::Option<
        InstancesRemoveResourcePoliciesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.RemoveResourcePolicies. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveResourcePoliciesRegionDiskRequest {
    /// The disk name for this request.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "8741283")]
    pub region_disks_remove_resource_policies_request_resource: ::core::option::Option<
        RegionDisksRemoveResourcePoliciesRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for FirewallPolicies.RemoveRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveRuleFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The priority of the rule to remove from the firewall policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NetworkFirewallPolicies.RemoveRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveRuleNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The priority of the rule to remove from the firewall policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for OrganizationSecurityPolicies.RemoveRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveRuleOrganizationSecurityPolicyRequest {
    /// The priority of the rule to remove from the security policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkFirewallPolicies.RemoveRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveRuleRegionNetworkFirewallPolicyRequest {
    /// Name of the firewall policy to update.
    #[prost(string, tag = "498173265")]
    pub firewall_policy: ::prost::alloc::string::String,
    /// The priority of the rule to remove from the firewall policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionSecurityPolicies.RemoveRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveRuleRegionSecurityPolicyRequest {
    /// The priority of the rule to remove from the security policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for SecurityPolicies.RemoveRule. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RemoveRuleSecurityPolicyRequest {
    /// The priority of the rule to remove from the security policy.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the security policy to update.
    #[prost(string, tag = "171082513")]
    pub security_policy: ::prost::alloc::string::String,
}
/// A request message for ReservationSubBlocks.ReportFaulty. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReportFaultyReservationSubBlockRequest {
    /// The name of the parent reservation and parent block. In the format of
    /// reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
    #[prost(string, tag = "478151936")]
    pub parent_name: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the reservation subBlock.
    /// Name should conform to RFC1035 or be a resource ID.
    #[prost(string, tag = "22750491")]
    pub reservation_sub_block: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "450847938")]
    pub reservation_sub_blocks_report_faulty_request_resource: ::core::option::Option<
        ReservationSubBlocksReportFaultyRequest,
    >,
    /// Name of the zone for this request. Zone name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.ReportHostAsFaulty. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReportHostAsFaultyInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "494094886")]
    pub instances_report_host_as_faulty_request_resource: ::core::option::Option<
        InstancesReportHostAsFaultyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A policy that specifies how requests intended for the route's backends
/// are shadowed to a separate mirrored backend service. The load balancer
/// doesn't wait for responses from the shadow service. Before sending traffic
/// to the shadow service, the host or authority header is suffixed with-shadow.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RequestMirrorPolicy {
    /// The full or partial URL to the BackendService resource being
    /// mirrored to.
    ///
    /// The backend service configured for a mirroring
    /// policy must reference backends that are of the same type as the original
    /// backend service matched in the URL map.
    ///
    /// Serverless NEG backends are not currently supported as a mirrored
    /// backend service.
    #[prost(string, optional, tag = "306946058")]
    pub backend_service: ::core::option::Option<::prost::alloc::string::String>,
    /// The percentage of requests to be mirrored to `backend_service`.
    #[prost(double, optional, tag = "277432261")]
    pub mirror_percent: ::core::option::Option<f64>,
}
/// A request message for Networks.RequestRemovePeering. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RequestRemovePeeringNetworkRequest {
    /// Name of the network resource to remove peering from.
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "150860366")]
    pub networks_request_remove_peering_request_resource: ::core::option::Option<
        NetworksRequestRemovePeeringRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a reservation resource.  A reservation ensures that capacity is
/// held in a specific zone even if the reserved VMs are not running. For more
/// information, read  Reserving zonal
/// resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Reservation {
    /// Advanced control for cluster management, applicable only to DENSE
    /// deployment type reservations.
    #[prost(message, optional, tag = "410618144")]
    pub advanced_deployment_control: ::core::option::Option<
        ReservationAdvancedDeploymentControl,
    >,
    /// Reservation for aggregated resources, providing shape flexibility.
    #[prost(message, optional, tag = "291567948")]
    pub aggregate_reservation: ::core::option::Option<AllocationAggregateReservation>,
    /// Output only. \[Output Only\] Full or partial URL to a parent commitment. This field
    /// displays for reservations that are tied to a commitment.
    #[prost(string, optional, tag = "482134805")]
    pub commitment: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the ConfidentialComputeType enum for the list of possible values.
    #[prost(string, optional, tag = "386447257")]
    pub confidential_compute_type: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Duration time relative to reservation creation when Compute Engine will
    /// automatically delete this resource.
    #[prost(message, optional, tag = "323997099")]
    pub delete_after_duration: ::core::option::Option<Duration>,
    /// Absolute time in future when the reservation will be
    /// auto-deleted by Compute Engine. Timestamp is represented inRFC3339 text format.
    #[prost(string, optional, tag = "83294405")]
    pub delete_at_time: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the deployment strategy for this reservation.
    /// Check the DeploymentType enum for the list of possible values.
    #[prost(string, optional, tag = "396722292")]
    pub deployment_type: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates the early access maintenance for the reservation.
    /// If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
    /// enrolled in early access maintenance and the standard notice applies.
    /// Check the EarlyAccessMaintenance enum for the list of possible values.
    #[prost(string, optional, tag = "343918356")]
    pub early_access_maintenance: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether Compute Engine allows unplanned maintenance for your VMs;
    /// for example, to fix hardware errors.
    #[prost(bool, optional, tag = "353759497")]
    pub enable_emergent_maintenance: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#reservations for reservations.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Full or partial URL to parent commitments. This field
    /// displays for reservations that are tied to multiple commitments.
    #[prost(string, repeated, tag = "470957784")]
    pub linked_commitments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The name of the resource, provided by the client when initially creating
    /// the resource. The resource name must be 1-63 characters long, and comply
    /// withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<ReservationParams>,
    /// Protection tier for the workload which specifies the workload expectations
    /// in the event of infrastructure failures at data center (e.g. power
    /// and/or cooling failures).
    /// Check the ProtectionTier enum for the list of possible values.
    #[prost(string, optional, tag = "503959432")]
    pub protection_tier: ::core::option::Option<::prost::alloc::string::String>,
    /// Specify the reservation sharing policy. If unspecified, the reservation
    /// will not be shared with Google Cloud managed services.
    #[prost(message, optional, tag = "205970120")]
    pub reservation_sharing_policy: ::core::option::Option<
        AllocationReservationSharingPolicy,
    >,
    /// Resource policies to be added to this reservation. The key is defined by
    /// user, and the value is resource policy url. This is to define placement
    /// policy with reservation.
    #[prost(map = "string, string", tag = "22220385")]
    pub resource_policies: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Status information for Reservation resource.
    #[prost(message, optional, tag = "249429315")]
    pub resource_status: ::core::option::Option<AllocationResourceStatus>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// The type of maintenance for the reservation.
    /// Check the SchedulingType enum for the list of possible values.
    #[prost(string, optional, tag = "199835397")]
    pub scheduling_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined fully-qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Specify share-settings to create a shared reservation. This property is
    /// optional. For more information about the syntax and options for this
    /// field and its subfields, see the guide for creating
    /// a shared reservation.
    #[prost(message, optional, tag = "266668163")]
    pub share_settings: ::core::option::Option<ShareSettings>,
    /// Reservation for instances with specific machine shapes.
    #[prost(message, optional, tag = "404901951")]
    pub specific_reservation: ::core::option::Option<AllocationSpecificSkuReservation>,
    /// Indicates whether the reservation can be consumed by VMs with affinity
    /// for "any" reservation. If the field is set, then only VMs that target
    /// the reservation by name can consume from this reservation.
    #[prost(bool, optional, tag = "226550687")]
    pub specific_reservation_required: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] The status of the reservation.
    ///
    /// ```text
    ///   - CREATING: Reservation resources are being
    ///     allocated.
    ///   - READY: Reservation resources have been allocated,
    ///     and the reservation is ready for use.
    ///   - DELETING: Reservation deletion is in progress.
    ///   - UPDATING: Reservation update is in progress.
    /// ```
    ///
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Zone in which the reservation resides. A zone must be provided if the
    /// reservation is created within a commitment.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Reservation`.
pub mod reservation {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ConfidentialComputeType {
        /// A value indicating that the enum field is not set.
        UndefinedConfidentialComputeType = 0,
        /// Intel Trust Domain Extensions.
        Tdx = 301241954,
        Unspecified = 42227601,
    }
    impl ConfidentialComputeType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedConfidentialComputeType => {
                    "UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE"
                }
                Self::Tdx => "CONFIDENTIAL_COMPUTE_TYPE_TDX",
                Self::Unspecified => "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE" => {
                    Some(Self::UndefinedConfidentialComputeType)
                }
                "CONFIDENTIAL_COMPUTE_TYPE_TDX" => Some(Self::Tdx),
                "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
    /// Specifies the deployment strategy for this reservation.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DeploymentType {
        /// A value indicating that the enum field is not set.
        UndefinedDeploymentType = 0,
        /// The reserved capacity is made up of densely deployed reservation blocks.
        Dense = 64932607,
        Unspecified = 234847180,
    }
    impl DeploymentType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDeploymentType => "UNDEFINED_DEPLOYMENT_TYPE",
                Self::Dense => "DENSE",
                Self::Unspecified => "DEPLOYMENT_TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DEPLOYMENT_TYPE" => Some(Self::UndefinedDeploymentType),
                "DENSE" => Some(Self::Dense),
                "DEPLOYMENT_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
    /// Indicates the early access maintenance for the reservation.
    /// If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
    /// enrolled in early access maintenance and the standard notice applies.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum EarlyAccessMaintenance {
        /// A value indicating that the enum field is not set.
        UndefinedEarlyAccessMaintenance = 0,
        /// No early access.
        NoEarlyAccess = 220751774,
        /// Wave 1: Fastest notification period
        Wave1 = 82367576,
        /// Wave 2: Medium notification period
        Wave2 = 82367577,
    }
    impl EarlyAccessMaintenance {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedEarlyAccessMaintenance => {
                    "UNDEFINED_EARLY_ACCESS_MAINTENANCE"
                }
                Self::NoEarlyAccess => "NO_EARLY_ACCESS",
                Self::Wave1 => "WAVE1",
                Self::Wave2 => "WAVE2",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_EARLY_ACCESS_MAINTENANCE" => {
                    Some(Self::UndefinedEarlyAccessMaintenance)
                }
                "NO_EARLY_ACCESS" => Some(Self::NoEarlyAccess),
                "WAVE1" => Some(Self::Wave1),
                "WAVE2" => Some(Self::Wave2),
                _ => None,
            }
        }
    }
    /// Protection tier for the workload which specifies the workload expectations
    /// in the event of infrastructure failures at data center (e.g. power
    /// and/or cooling failures).
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProtectionTier {
        /// A value indicating that the enum field is not set.
        UndefinedProtectionTier = 0,
        /// CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
        /// at the data center during normal operating conditions. In the event of
        /// infrastructure failures at data center (e.g. power and/or cooling
        /// failures), this workload may be disrupted. As a consequence, it has a
        /// weaker availability SLO than STANDARD.
        CapacityOptimized = 17430466,
        /// Unspecified protection tier.
        Unspecified = 262261984,
        /// STANDARD protection for workload that should be protected by redundancies
        /// (e.g. power, cooling) at the data center level. In the event of
        /// infrastructure failures at data center (e.g. power and/or cooling
        /// failures), this workload is expected to continue as normal using the
        /// redundancies.
        Standard = 484642493,
    }
    impl ProtectionTier {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProtectionTier => "UNDEFINED_PROTECTION_TIER",
                Self::CapacityOptimized => "CAPACITY_OPTIMIZED",
                Self::Unspecified => "PROTECTION_TIER_UNSPECIFIED",
                Self::Standard => "STANDARD",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROTECTION_TIER" => Some(Self::UndefinedProtectionTier),
                "CAPACITY_OPTIMIZED" => Some(Self::CapacityOptimized),
                "PROTECTION_TIER_UNSPECIFIED" => Some(Self::Unspecified),
                "STANDARD" => Some(Self::Standard),
                _ => None,
            }
        }
    }
    /// The type of maintenance for the reservation.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SchedulingType {
        /// A value indicating that the enum field is not set.
        UndefinedSchedulingType = 0,
        /// Maintenance on all reserved instances in the reservation is synchronized.
        Grouped = 474540862,
        /// Unknown maintenance type.
        GroupMaintenanceTypeUnspecified = 447183678,
        /// Maintenance is not synchronized for this reservation. Instead, each
        /// instance has its own maintenance window.
        Independent = 127011674,
    }
    impl SchedulingType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSchedulingType => "UNDEFINED_SCHEDULING_TYPE",
                Self::Grouped => "GROUPED",
                Self::GroupMaintenanceTypeUnspecified => {
                    "GROUP_MAINTENANCE_TYPE_UNSPECIFIED"
                }
                Self::Independent => "INDEPENDENT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SCHEDULING_TYPE" => Some(Self::UndefinedSchedulingType),
                "GROUPED" => Some(Self::Grouped),
                "GROUP_MAINTENANCE_TYPE_UNSPECIFIED" => {
                    Some(Self::GroupMaintenanceTypeUnspecified)
                }
                "INDEPENDENT" => Some(Self::Independent),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of the reservation.
    ///
    /// ```text
    ///   - CREATING: Reservation resources are being
    ///     allocated.
    ///   - READY: Reservation resources have been allocated,
    ///     and the reservation is ready for use.
    ///   - DELETING: Reservation deletion is in progress.
    ///   - UPDATING: Reservation update is in progress.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Reservation resources are being allocated.
        Creating = 455564985,
        /// Reservation deletion is in progress.
        Deleting = 528602024,
        Invalid = 530283991,
        /// Reservation resources have been allocated, and the reservation is ready
        /// for use.
        Ready = 77848963,
        /// Reservation update is in progress.
        Updating = 494614342,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Invalid => "INVALID",
                Self::Ready => "READY",
                Self::Updating => "UPDATING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "INVALID" => Some(Self::Invalid),
                "READY" => Some(Self::Ready),
                "UPDATING" => Some(Self::Updating),
                _ => None,
            }
        }
    }
}
/// Advance control for cluster management, applicable only to DENSE deployment
/// type reservations.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationAdvancedDeploymentControl {
    /// Indicates chosen reservation operational mode for the reservation.
    /// Check the ReservationOperationalMode enum for the list of possible values.
    #[prost(string, optional, tag = "499978755")]
    pub reservation_operational_mode: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Nested message and enum types in `ReservationAdvancedDeploymentControl`.
pub mod reservation_advanced_deployment_control {
    /// Indicates chosen reservation operational mode for the reservation.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ReservationOperationalMode {
        /// A value indicating that the enum field is not set.
        UndefinedReservationOperationalMode = 0,
        /// Google Cloud does not manage the failure of machines, but provides
        /// additional capacity, which is not guaranteed to be available.
        AllCapacity = 500029880,
        /// Google Cloud manages the failure of machines to provide high
        /// availability.
        HighlyAvailableCapacity = 110861600,
        Unspecified = 194296603,
    }
    impl ReservationOperationalMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedReservationOperationalMode => {
                    "UNDEFINED_RESERVATION_OPERATIONAL_MODE"
                }
                Self::AllCapacity => "ALL_CAPACITY",
                Self::HighlyAvailableCapacity => "HIGHLY_AVAILABLE_CAPACITY",
                Self::Unspecified => "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_RESERVATION_OPERATIONAL_MODE" => {
                    Some(Self::UndefinedReservationOperationalMode)
                }
                "ALL_CAPACITY" => Some(Self::AllCapacity),
                "HIGHLY_AVAILABLE_CAPACITY" => Some(Self::HighlyAvailableCapacity),
                "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Specifies the reservations that this instance can consume from.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationAffinity {
    /// Specifies the type of reservation from which this instance can consume
    /// resources: ANY_RESERVATION (default),SPECIFIC_RESERVATION, or NO_RESERVATION. See
    /// Consuming reserved instances for examples.
    /// Check the ConsumeReservationType enum for the list of possible values.
    #[prost(string, optional, tag = "300736944")]
    pub consume_reservation_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Corresponds to the label key of a reservation resource. To target aSPECIFIC_RESERVATION by name, specifygoogleapis.com/reservation-name as the key and specify
    /// the name of your reservation as its value.
    #[prost(string, optional, tag = "106079")]
    pub key: ::core::option::Option<::prost::alloc::string::String>,
    /// Corresponds to the label values of a reservation resource. This can be
    /// either a name to a reservation in the same project or
    /// "projects/different-project/reservations/some-reservation-name" to target a
    /// shared reservation in the same zone but in a different project.
    #[prost(string, repeated, tag = "249928994")]
    pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ReservationAffinity`.
pub mod reservation_affinity {
    /// Specifies the type of reservation from which this instance can consume
    /// resources: ANY_RESERVATION (default),SPECIFIC_RESERVATION, or NO_RESERVATION. See
    /// Consuming reserved instances for examples.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ConsumeReservationType {
        /// A value indicating that the enum field is not set.
        UndefinedConsumeReservationType = 0,
        /// Consume any allocation available.
        AnyReservation = 200008121,
        /// Do not consume from any allocated capacity.
        NoReservation = 169322030,
        /// Must consume from a specific reservation. Must specify key value fields
        /// for specifying the reservations.
        SpecificReservation = 229889055,
        Unspecified = 526786327,
    }
    impl ConsumeReservationType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedConsumeReservationType => {
                    "UNDEFINED_CONSUME_RESERVATION_TYPE"
                }
                Self::AnyReservation => "ANY_RESERVATION",
                Self::NoReservation => "NO_RESERVATION",
                Self::SpecificReservation => "SPECIFIC_RESERVATION",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CONSUME_RESERVATION_TYPE" => {
                    Some(Self::UndefinedConsumeReservationType)
                }
                "ANY_RESERVATION" => Some(Self::AnyReservation),
                "NO_RESERVATION" => Some(Self::NoReservation),
                "SPECIFIC_RESERVATION" => Some(Self::SpecificReservation),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Contains a list of reservations.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Allocation resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ReservationsScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a reservation block resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationBlock {
    /// Output only. \[Output Only\] The number of resources that are allocated in this
    /// reservation block.
    #[prost(int32, optional, tag = "94851343")]
    pub count: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Health information for the reservation block.
    #[prost(message, optional, tag = "235287729")]
    pub health_info: ::core::option::Option<ReservationBlockHealthInfo>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The number of instances that are currently in use on this
    /// reservation block.
    #[prost(int32, optional, tag = "493458877")]
    pub in_use_count: ::core::option::Option<i32>,
    /// Output only. Number of hosts currently in use. If there is one or more Instances running
    /// on the host, it is considered in use.
    #[prost(int32, optional, tag = "364069834")]
    pub in_use_host_count: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of this reservation block generated by Google
    /// Compute Engine. The name must be 1-63 characters long, and comply with
    /// RFC1035 @pattern [a-z](?:\[-a-z0-9\]{0,61}\[a-z0-9\])?
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The physical topology of the reservation block.
    #[prost(message, optional, tag = "279778519")]
    pub physical_topology: ::core::option::Option<ReservationBlockPhysicalTopology>,
    /// Output only. \[Output Only\] Maintenance information for this reservation block.
    #[prost(message, optional, tag = "340607776")]
    pub reservation_maintenance: ::core::option::Option<GroupMaintenanceInfo>,
    /// Output only. \[Output Only\] The number of reservation subBlocks associated with this
    /// reservation block.
    #[prost(int32, optional, tag = "330782955")]
    pub reservation_sub_block_count: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] The number of in-use reservation subBlocks associated with
    /// this reservation block. If at least one VM is running on a subBlock, it is
    /// considered in-use.
    #[prost(int32, optional, tag = "186007137")]
    pub reservation_sub_block_in_use_count: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Server-defined fully-qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Status of the reservation block.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Zone in which the reservation block resides.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ReservationBlock`.
pub mod reservation_block {
    /// Output only. \[Output Only\] Status of the reservation block.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Resources are being allocated for the reservation block.
        Creating = 455564985,
        /// Reservation block is currently being deleted.
        Deleting = 528602024,
        Invalid = 530283991,
        /// Reservation block has allocated all its resources.
        Ready = 77848963,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Invalid => "INVALID",
                Self::Ready => "READY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "INVALID" => Some(Self::Invalid),
                "READY" => Some(Self::Ready),
                _ => None,
            }
        }
    }
}
/// Health information for the reservation block.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationBlockHealthInfo {
    /// The number of subBlocks that are degraded.
    #[prost(int32, optional, tag = "458044493")]
    pub degraded_sub_block_count: ::core::option::Option<i32>,
    /// The health status of the reservation block.
    /// Check the HealthStatus enum for the list of possible values.
    #[prost(string, optional, tag = "380545845")]
    pub health_status: ::core::option::Option<::prost::alloc::string::String>,
    /// The number of subBlocks that are healthy.
    #[prost(int32, optional, tag = "5348540")]
    pub healthy_sub_block_count: ::core::option::Option<i32>,
}
/// Nested message and enum types in `ReservationBlockHealthInfo`.
pub mod reservation_block_health_info {
    /// The health status of the reservation block.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum HealthStatus {
        /// A value indicating that the enum field is not set.
        UndefinedHealthStatus = 0,
        /// The reservation block is degraded.
        Degraded = 396890926,
        /// The reservation block is healthy.
        Healthy = 439801213,
        /// The health status of the reservation block is unspecified.
        Unspecified = 482246925,
    }
    impl HealthStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedHealthStatus => "UNDEFINED_HEALTH_STATUS",
                Self::Degraded => "DEGRADED",
                Self::Healthy => "HEALTHY",
                Self::Unspecified => "HEALTH_STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_HEALTH_STATUS" => Some(Self::UndefinedHealthStatus),
                "DEGRADED" => Some(Self::Degraded),
                "HEALTHY" => Some(Self::Healthy),
                "HEALTH_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationBlockPhysicalTopology {
    /// The hash of the capacity block within the cluster.
    #[prost(string, optional, tag = "93832333")]
    pub block: ::core::option::Option<::prost::alloc::string::String>,
    /// The cluster name of the reservation block.
    #[prost(string, optional, tag = "335221242")]
    pub cluster: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. The detailed instances information for a given Block
    #[prost(message, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<ReservationBlockPhysicalTopologyInstance>,
}
/// The instances information for a given Block
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationBlockPhysicalTopologyInstance {
    /// The InstanceId of the instance
    #[prost(uint64, optional, tag = "45488389")]
    pub instance_id: ::core::option::Option<u64>,
    /// Output only. The PhysicalHostTopology of instances within a Block resource.
    #[prost(message, optional, tag = "390842814")]
    pub physical_host_topology: ::core::option::Option<
        ReservationBlockPhysicalTopologyInstancePhysicalHostTopology,
    >,
    /// Project where the instance lives
    #[prost(uint64, optional, tag = "177513473")]
    pub project_id: ::core::option::Option<u64>,
}
/// The PhysicalHostTopology of the instance within a Block resource.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationBlockPhysicalTopologyInstancePhysicalHostTopology {
    /// Host hash for a given instance
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// Sub block hash for a given instance
    #[prost(string, optional, tag = "478033358")]
    pub sub_block: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationBlocksGetResponse {
    #[prost(message, optional, tag = "195806222")]
    pub resource: ::core::option::Option<ReservationBlock>,
}
/// A list of reservation blocks under a single reservation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationBlocksListResponse {
    /// Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of reservation block resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<ReservationBlock>,
    /// Type of the resource. Alwayscompute#reservationBlock for a list of reservation blocks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationList {
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of Allocation resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Reservation>,
    /// Output only. \[Output Only\] Type of resource.Always compute#reservationsList
    /// for listsof reservations
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Additional reservation params.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationParams {
    /// Input only. Resource manager tags to be bound to the reservation. Tag keys and
    /// values have the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
    /// namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// Represents a reservation slot resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationSlot {
    /// Output only. \[Output Only\] The creation timestamp, formatted asRFC3339 text.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for this resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The type of resource. Alwayscompute#reservationSlot for reservation slots.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of the reservation slot.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The physical topology of the reservation slot.
    #[prost(message, optional, tag = "279778519")]
    pub physical_topology: ::core::option::Option<ReservationSlotPhysicalTopology>,
    /// Output only. \[Output Only\] A server-defined fully-qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A server-defined URL for this resource with the resource ID.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Specify share settings to create a shared slot. Set to empty
    /// to inherit the share settings from a parent resource.
    #[prost(message, optional, tag = "266668163")]
    pub share_settings: ::core::option::Option<ShareSettings>,
    /// Output only. \[Output Only\] The state of the reservation slot.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The status of the reservation slot.
    #[prost(message, optional, tag = "181260274")]
    pub status: ::core::option::Option<ReservationSlotStatus>,
    /// Output only. \[Output Only\] The zone in which the reservation slot resides.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ReservationSlot`.
pub mod reservation_slot {
    /// Output only. \[Output Only\] The state of the reservation slot.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// The reservation slot has allocated all its resources.
        Active = 314733318,
        /// The resources are being allocated for the reservation slot.
        Creating = 455564985,
        /// The reservation slot is currently being deleted.
        Deleting = 528602024,
        Unspecified = 470755401,
        /// The reservation slot is currently unavailable.
        Unavailable = 413756464,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Active => "ACTIVE",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Unspecified => "STATE_UNSPECIFIED",
                Self::Unavailable => "UNAVAILABLE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVE" => Some(Self::Active),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "STATE_UNSPECIFIED" => Some(Self::Unspecified),
                "UNAVAILABLE" => Some(Self::Unavailable),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationSlotPhysicalTopology {
    /// The unique identifier of the capacity block within the cluster.
    #[prost(string, optional, tag = "93832333")]
    pub block: ::core::option::Option<::prost::alloc::string::String>,
    /// The cluster name of the reservation sub-block.
    #[prost(string, optional, tag = "335221242")]
    pub cluster: ::core::option::Option<::prost::alloc::string::String>,
    /// The unique identifier of the capacity host within the capacity sub-block.
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// The unique identifier of the capacity sub-block within the capacity
    /// block.
    #[prost(string, optional, tag = "478033358")]
    pub sub_block: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationSlotStatus {
    /// Output only. \[Output Only\] The physical topology of the reservation sub-block.
    #[prost(message, optional, tag = "279778519")]
    pub physical_topology: ::core::option::Option<ReservationSlotPhysicalTopology>,
    /// Output only. The RDMA IP address of the physical host.
    #[prost(string, repeated, tag = "167842531")]
    pub rdma_ip_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. The URIs of the instances currently running on this slot.
    #[prost(string, repeated, tag = "536292350")]
    pub running_instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationSlotsGetResponse {
    #[prost(message, optional, tag = "195806222")]
    pub resource: ::core::option::Option<ReservationSlot>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationSlotsGetVersionRequest {
    /// The SBOM selection to return. Duplicate values in the list will be ignored.
    /// Check the SbomSelections enum for the list of possible values.
    #[prost(string, repeated, tag = "69155705")]
    pub sbom_selections: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ReservationSlotsGetVersionRequest`.
pub mod reservation_slots_get_version_request {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SbomSelections {
        /// A value indicating that the enum field is not set.
        UndefinedSbomSelections = 0,
        SbomSelectionCurrent = 423856692,
        SbomSelectionTarget = 152837462,
        SbomSelectionUnspecified = 379615858,
    }
    impl SbomSelections {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSbomSelections => "UNDEFINED_SBOM_SELECTIONS",
                Self::SbomSelectionCurrent => "SBOM_SELECTION_CURRENT",
                Self::SbomSelectionTarget => "SBOM_SELECTION_TARGET",
                Self::SbomSelectionUnspecified => "SBOM_SELECTION_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SBOM_SELECTIONS" => Some(Self::UndefinedSbomSelections),
                "SBOM_SELECTION_CURRENT" => Some(Self::SbomSelectionCurrent),
                "SBOM_SELECTION_TARGET" => Some(Self::SbomSelectionTarget),
                "SBOM_SELECTION_UNSPECIFIED" => Some(Self::SbomSelectionUnspecified),
                _ => None,
            }
        }
    }
}
/// A list of reservation slots within a single reservation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationSlotsListResponse {
    /// The unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of reservation slot resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<ReservationSlot>,
    /// The type of resource. Alwayscompute#reservationSlot for a list of reservation
    /// slots.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// The server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// An informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a reservation subBlock resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationSubBlock {
    /// Output only. \[Output Only\] Slice info for the reservation subBlock.
    #[prost(message, optional, tag = "84833420")]
    pub accelerator_topologies_info: ::core::option::Option<AcceleratorTopologiesInfo>,
    /// Output only. \[Output Only\] The number of hosts that are allocated in this
    /// reservation subBlock.
    #[prost(int32, optional, tag = "94851343")]
    pub count: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Health information for the reservation subBlock.
    #[prost(message, optional, tag = "235287729")]
    pub health_info: ::core::option::Option<ReservationSubBlockHealthInfo>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] The number of instances that are currently in use on this
    /// reservation subBlock.
    #[prost(int32, optional, tag = "493458877")]
    pub in_use_count: ::core::option::Option<i32>,
    /// Output only. Number of hosts currently in use. If there is one or more Instances running
    /// on the host, it is considered in use.
    #[prost(int32, optional, tag = "364069834")]
    pub in_use_host_count: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#reservationSubBlock for reservation subBlocks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of this reservation subBlock generated by Google
    /// Compute Engine. The name must be 1-63 characters long, and comply with
    /// RFC1035 @pattern [a-z](?:\[-a-z0-9\]{0,61}\[a-z0-9\])?
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The physical topology of the reservation subBlock.
    #[prost(message, optional, tag = "279778519")]
    pub physical_topology: ::core::option::Option<ReservationSubBlockPhysicalTopology>,
    /// Output only. Maintenance information for this reservation subBlock.
    #[prost(message, optional, tag = "377005551")]
    pub reservation_sub_block_maintenance: ::core::option::Option<GroupMaintenanceInfo>,
    /// Output only. \[Output Only\] Server-defined fully-qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Status of the reservation subBlock.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Zone in which the reservation subBlock resides.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ReservationSubBlock`.
pub mod reservation_sub_block {
    /// Output only. \[Output Only\] Status of the reservation subBlock.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Resources are being allocated for the reservation subBlock.
        Creating = 455564985,
        /// Reservation subBlock is currently being deleted.
        Deleting = 528602024,
        Invalid = 530283991,
        /// Reservation subBlock has allocated all its resources.
        Ready = 77848963,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Invalid => "INVALID",
                Self::Ready => "READY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "INVALID" => Some(Self::Invalid),
                "READY" => Some(Self::Ready),
                _ => None,
            }
        }
    }
}
/// Health information for the reservation subBlock.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationSubBlockHealthInfo {
    /// The number of degraded hosts in the reservation subBlock.
    #[prost(int32, optional, tag = "535025001")]
    pub degraded_host_count: ::core::option::Option<i32>,
    /// The number of degraded infrastructure (e.g NV link domain) in the
    /// reservation subblock.
    #[prost(int32, optional, tag = "138638927")]
    pub degraded_infra_count: ::core::option::Option<i32>,
    /// The health status of the reservation subBlock.
    /// Check the HealthStatus enum for the list of possible values.
    #[prost(string, optional, tag = "380545845")]
    pub health_status: ::core::option::Option<::prost::alloc::string::String>,
    /// The number of healthy hosts in the reservation subBlock.
    #[prost(int32, optional, tag = "40739738")]
    pub healthy_host_count: ::core::option::Option<i32>,
    /// The number of healthy infrastructure (e.g NV link domain) in the
    /// reservation subblock.
    #[prost(int32, optional, tag = "385052222")]
    pub healthy_infra_count: ::core::option::Option<i32>,
}
/// Nested message and enum types in `ReservationSubBlockHealthInfo`.
pub mod reservation_sub_block_health_info {
    /// The health status of the reservation subBlock.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum HealthStatus {
        /// A value indicating that the enum field is not set.
        UndefinedHealthStatus = 0,
        /// The reservation subBlock is degraded.
        Degraded = 396890926,
        /// The reservation subBlock is healthy.
        Healthy = 439801213,
        /// The health status of the reservation subBlock is unspecified.
        Unspecified = 482246925,
    }
    impl HealthStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedHealthStatus => "UNDEFINED_HEALTH_STATUS",
                Self::Degraded => "DEGRADED",
                Self::Healthy => "HEALTHY",
                Self::Unspecified => "HEALTH_STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_HEALTH_STATUS" => Some(Self::UndefinedHealthStatus),
                "DEGRADED" => Some(Self::Degraded),
                "HEALTHY" => Some(Self::Healthy),
                "HEALTH_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationSubBlockPhysicalTopology {
    /// The hash of the capacity block within the cluster.
    #[prost(string, optional, tag = "93832333")]
    pub block: ::core::option::Option<::prost::alloc::string::String>,
    /// The cluster name of the reservation subBlock.
    #[prost(string, optional, tag = "335221242")]
    pub cluster: ::core::option::Option<::prost::alloc::string::String>,
    /// The hash of the capacity sub-block within the capacity block.
    #[prost(string, optional, tag = "478033358")]
    pub sub_block: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationSubBlocksGetResponse {
    #[prost(message, optional, tag = "195806222")]
    pub resource: ::core::option::Option<ReservationSubBlock>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationSubBlocksGetVersionRequest {
    /// The SBOM selection to return.
    /// Check the SbomSelections enum for the list of possible values.
    #[prost(string, repeated, tag = "69155705")]
    pub sbom_selections: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ReservationSubBlocksGetVersionRequest`.
pub mod reservation_sub_blocks_get_version_request {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SbomSelections {
        /// A value indicating that the enum field is not set.
        UndefinedSbomSelections = 0,
        SbomSelectionCurrent = 423856692,
        SbomSelectionTarget = 152837462,
        SbomSelectionUnspecified = 379615858,
    }
    impl SbomSelections {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSbomSelections => "UNDEFINED_SBOM_SELECTIONS",
                Self::SbomSelectionCurrent => "SBOM_SELECTION_CURRENT",
                Self::SbomSelectionTarget => "SBOM_SELECTION_TARGET",
                Self::SbomSelectionUnspecified => "SBOM_SELECTION_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SBOM_SELECTIONS" => Some(Self::UndefinedSbomSelections),
                "SBOM_SELECTION_CURRENT" => Some(Self::SbomSelectionCurrent),
                "SBOM_SELECTION_TARGET" => Some(Self::SbomSelectionTarget),
                "SBOM_SELECTION_UNSPECIFIED" => Some(Self::SbomSelectionUnspecified),
                _ => None,
            }
        }
    }
}
/// A list of reservation subBlocks under a single reservation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationSubBlocksListResponse {
    /// Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of reservation subBlock resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<ReservationSubBlock>,
    /// Type of the resource. Alwayscompute#reservationSubBlock for a list of reservation
    /// subBlocks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationSubBlocksReportFaultyRequest {
    /// The disruption schedule for the subBlock.
    /// Check the DisruptionSchedule enum for the list of possible values.
    #[prost(string, optional, tag = "95871619")]
    pub disruption_schedule: ::core::option::Option<::prost::alloc::string::String>,
    /// The component that experienced the fault.
    /// Check the FailureComponent enum for the list of possible values.
    #[prost(string, optional, tag = "25912456")]
    pub failure_component: ::core::option::Option<::prost::alloc::string::String>,
    /// The reasons for the fault experienced with the subBlock.
    #[prost(message, repeated, tag = "168056210")]
    pub fault_reasons: ::prost::alloc::vec::Vec<
        ReservationSubBlocksReportFaultyRequestFaultReason,
    >,
}
/// Nested message and enum types in `ReservationSubBlocksReportFaultyRequest`.
pub mod reservation_sub_blocks_report_faulty_request {
    /// The disruption schedule for the subBlock.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DisruptionSchedule {
        /// A value indicating that the enum field is not set.
        UndefinedDisruptionSchedule = 0,
        Unspecified = 332543835,
        /// All VMs will be disrupted immediately.
        Immediate = 152881041,
    }
    impl DisruptionSchedule {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDisruptionSchedule => "UNDEFINED_DISRUPTION_SCHEDULE",
                Self::Unspecified => "DISRUPTION_SCHEDULE_UNSPECIFIED",
                Self::Immediate => "IMMEDIATE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DISRUPTION_SCHEDULE" => {
                    Some(Self::UndefinedDisruptionSchedule)
                }
                "DISRUPTION_SCHEDULE_UNSPECIFIED" => Some(Self::Unspecified),
                "IMMEDIATE" => Some(Self::Immediate),
                _ => None,
            }
        }
    }
    /// The component that experienced the fault.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum FailureComponent {
        /// A value indicating that the enum field is not set.
        UndefinedFailureComponent = 0,
        Unspecified = 332003744,
        /// Multiple hosts experienced the fault.
        MultipleFaultyHosts = 423545298,
        /// The NVLink switch experienced the fault.
        NvlinkSwitch = 239107153,
    }
    impl FailureComponent {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedFailureComponent => "UNDEFINED_FAILURE_COMPONENT",
                Self::Unspecified => "FAILURE_COMPONENT_UNSPECIFIED",
                Self::MultipleFaultyHosts => "MULTIPLE_FAULTY_HOSTS",
                Self::NvlinkSwitch => "NVLINK_SWITCH",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_FAILURE_COMPONENT" => Some(Self::UndefinedFailureComponent),
                "FAILURE_COMPONENT_UNSPECIFIED" => Some(Self::Unspecified),
                "MULTIPLE_FAULTY_HOSTS" => Some(Self::MultipleFaultyHosts),
                "NVLINK_SWITCH" => Some(Self::NvlinkSwitch),
                _ => None,
            }
        }
    }
}
/// The reason for the fault experienced with the subBlock.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationSubBlocksReportFaultyRequestFaultReason {
    /// The behavior of the fault experienced with the subBlock.
    /// Check the Behavior enum for the list of possible values.
    #[prost(string, optional, tag = "437170770")]
    pub behavior: ::core::option::Option<::prost::alloc::string::String>,
    /// The description of the fault experienced with the subBlock.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ReservationSubBlocksReportFaultyRequestFaultReason`.
pub mod reservation_sub_blocks_report_faulty_request_fault_reason {
    /// The behavior of the fault experienced with the subBlock.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Behavior {
        /// A value indicating that the enum field is not set.
        UndefinedBehavior = 0,
        FaultBehaviorUnspecified = 447660743,
        /// The subBlock experienced a GPU error.
        GpuError = 198817909,
        /// The subBlock experienced performance issues.
        Performance = 135701520,
        /// The subBlock experienced silent data corruption.
        SilentDataCorruption = 111360678,
        /// The subBlock experienced a switch failure.
        SwitchFailure = 254909279,
    }
    impl Behavior {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBehavior => "UNDEFINED_BEHAVIOR",
                Self::FaultBehaviorUnspecified => "FAULT_BEHAVIOR_UNSPECIFIED",
                Self::GpuError => "GPU_ERROR",
                Self::Performance => "PERFORMANCE",
                Self::SilentDataCorruption => "SILENT_DATA_CORRUPTION",
                Self::SwitchFailure => "SWITCH_FAILURE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BEHAVIOR" => Some(Self::UndefinedBehavior),
                "FAULT_BEHAVIOR_UNSPECIFIED" => Some(Self::FaultBehaviorUnspecified),
                "GPU_ERROR" => Some(Self::GpuError),
                "PERFORMANCE" => Some(Self::Performance),
                "SILENT_DATA_CORRUPTION" => Some(Self::SilentDataCorruption),
                "SWITCH_FAILURE" => Some(Self::SwitchFailure),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationsBlocksPerformMaintenanceRequest {
    /// Specifies if all, running or unused hosts are in scope for this request.
    /// Check the MaintenanceScope enum for the list of possible values.
    #[prost(string, optional, tag = "140687912")]
    pub maintenance_scope: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ReservationsBlocksPerformMaintenanceRequest`.
pub mod reservations_blocks_perform_maintenance_request {
    /// Specifies if all, running or unused hosts are in scope for this request.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MaintenanceScope {
        /// A value indicating that the enum field is not set.
        UndefinedMaintenanceScope = 0,
        /// Trigger maintenance for all hosts belonging to this reservation
        /// irrespective of whether VMs are running on them or not.
        All = 64897,
        /// Internal only
        Unspecified = 78827328,
        /// Trigger maintenance only on the hosts belonging to this reservation which
        /// have VMs running on them.
        RunningVms = 535770588,
        /// Trigger maintenance only on the hosts belonging to this reservation which
        /// do not have any VMs running on them. This is not allowed for Standard ExR
        UnusedCapacity = 212724995,
    }
    impl MaintenanceScope {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMaintenanceScope => "UNDEFINED_MAINTENANCE_SCOPE",
                Self::All => "ALL",
                Self::Unspecified => "MAINTENANCE_SCOPE_UNSPECIFIED",
                Self::RunningVms => "RUNNING_VMS",
                Self::UnusedCapacity => "UNUSED_CAPACITY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MAINTENANCE_SCOPE" => Some(Self::UndefinedMaintenanceScope),
                "ALL" => Some(Self::All),
                "MAINTENANCE_SCOPE_UNSPECIFIED" => Some(Self::Unspecified),
                "RUNNING_VMS" => Some(Self::RunningVms),
                "UNUSED_CAPACITY" => Some(Self::UnusedCapacity),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationsPerformMaintenanceRequest {
    /// Specifies if all, running or unused hosts are in scope for this request.
    /// Check the MaintenanceScope enum for the list of possible values.
    #[prost(string, optional, tag = "140687912")]
    pub maintenance_scope: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ReservationsPerformMaintenanceRequest`.
pub mod reservations_perform_maintenance_request {
    /// Specifies if all, running or unused hosts are in scope for this request.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MaintenanceScope {
        /// A value indicating that the enum field is not set.
        UndefinedMaintenanceScope = 0,
        /// Trigger maintenance for all hosts belonging to this reservation
        /// irrespective of whether VMs are running on them or not.
        All = 64897,
        /// Internal only
        Unspecified = 78827328,
        /// Trigger maintenance only on the hosts belonging to this reservation which
        /// have VMs running on them.
        RunningVms = 535770588,
        /// Trigger maintenance only on the hosts belonging to this reservation which
        /// do not have any VMs running on them. This is not allowed for Standard ExR
        UnusedCapacity = 212724995,
    }
    impl MaintenanceScope {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMaintenanceScope => "UNDEFINED_MAINTENANCE_SCOPE",
                Self::All => "ALL",
                Self::Unspecified => "MAINTENANCE_SCOPE_UNSPECIFIED",
                Self::RunningVms => "RUNNING_VMS",
                Self::UnusedCapacity => "UNUSED_CAPACITY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MAINTENANCE_SCOPE" => Some(Self::UndefinedMaintenanceScope),
                "ALL" => Some(Self::All),
                "MAINTENANCE_SCOPE_UNSPECIFIED" => Some(Self::Unspecified),
                "RUNNING_VMS" => Some(Self::RunningVms),
                "UNUSED_CAPACITY" => Some(Self::UnusedCapacity),
                _ => None,
            }
        }
    }
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReservationsResizeRequest {
    /// Number of allocated resources can be resized with minimum = 1 and
    /// maximum = 1000.
    #[prost(int64, optional, tag = "13890720")]
    pub specific_sku_count: ::core::option::Option<i64>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReservationsScopedList {
    /// A list of reservations contained in this scope.
    #[prost(message, repeated, tag = "399717927")]
    pub reservations: ::prost::alloc::vec::Vec<Reservation>,
    /// Informational warning which replaces the list of reservations when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A request message for Instances.Reset. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResetInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Disks.Resize. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResizeDiskRequest {
    /// The name of the persistent disk.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "78307616")]
    pub disks_resize_request_resource: ::core::option::Option<DisksResizeRequest>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagers.Resize. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResizeInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The number of running instances that the managed instance group should
    /// maintain at any given time. The group automatically adds or removes
    /// instances to maintain the number of instances specified by this parameter.
    #[prost(int32, tag = "3530753")]
    pub size: i32,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.Resize. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResizeRegionDiskRequest {
    /// Name of the regional persistent disk.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// The project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "446633237")]
    pub region_disks_resize_request_resource: ::core::option::Option<
        RegionDisksResizeRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionInstanceGroupManagers.Resize. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResizeRegionInstanceGroupManagerRequest {
    /// Name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Number of instances that should exist in this instance group
    /// manager.
    #[prost(int32, tag = "3530753")]
    pub size: i32,
}
/// A request message for Reservations.Resize. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResizeReservationRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the reservation to update.
    #[prost(string, tag = "47530956")]
    pub reservation: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "389262801")]
    pub reservations_resize_request_resource: ::core::option::Option<
        ReservationsResizeRequest,
    >,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// Commitment for a particular hardware resource (a commitment is composed of
/// one or more of these).
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourceCommitment {
    /// Name of the accelerator type or GPU resource. Specify this field only when
    /// the type of hardware resource is ACCELERATOR.
    #[prost(string, optional, tag = "138031246")]
    pub accelerator_type: ::core::option::Option<::prost::alloc::string::String>,
    /// The quantity of the hardware resource that you want to commit to purchasing
    /// (in a type-dependent unit).
    ///
    /// ```text
    /// - For vCPUs, you must specify an integer value.
    /// - For memory, you specify the amount of MB that you want. The value you
    /// specify must be a multiple of 256 MB, with up to 6.5 GB of
    /// memory per every vCPU.
    /// - For GPUs, you must specify an integer value.
    /// - For Local SSD disks, you must specify the amount in GB. The size of a
    /// single Local SSD disk is 375 GB.
    /// ```
    #[prost(int64, optional, tag = "196759640")]
    pub amount: ::core::option::Option<i64>,
    /// The type of hardware resource that you want to specify.
    /// You can specify any of the following values:
    ///
    /// ```text
    /// - VCPU
    /// - MEMORY
    /// - LOCAL_SSD
    /// - ACCELERATOR
    /// ```
    ///
    /// Specify as a separate entry in the list for each
    /// individual resource type.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ResourceCommitment`.
pub mod resource_commitment {
    /// The type of hardware resource that you want to specify.
    /// You can specify any of the following values:
    ///
    /// ```text
    /// - VCPU
    /// - MEMORY
    /// - LOCAL_SSD
    /// - ACCELERATOR
    /// ```
    ///
    /// Specify as a separate entry in the list for each
    /// individual resource type.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        Accelerator = 429815371,
        LocalSsd = 508934896,
        Memory = 123056385,
        Unspecified = 526786327,
        Vcpu = 2628978,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Accelerator => "ACCELERATOR",
                Self::LocalSsd => "LOCAL_SSD",
                Self::Memory => "MEMORY",
                Self::Unspecified => "UNSPECIFIED",
                Self::Vcpu => "VCPU",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "ACCELERATOR" => Some(Self::Accelerator),
                "LOCAL_SSD" => Some(Self::LocalSsd),
                "MEMORY" => Some(Self::Memory),
                "UNSPECIFIED" => Some(Self::Unspecified),
                "VCPU" => Some(Self::Vcpu),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourceGroupReference {
    /// A URI referencing one of the instance groups or network endpoint groups
    /// listed in the backend service.
    #[prost(string, optional, tag = "98629247")]
    pub group: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePoliciesScopedList {
    /// A list of resourcePolicies contained in this scope.
    #[prost(message, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<ResourcePolicy>,
    /// Informational warning which replaces the list of resourcePolicies when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a Resource Policy resource. You can use resource policies to
/// schedule actions for some Compute Engine resources. For example, you can
/// use them toschedule persistent disk
/// snapshots.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePolicy {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Resource policy for disk consistency groups.
    #[prost(message, optional, tag = "473727515")]
    pub disk_consistency_group_policy: ::core::option::Option<
        ResourcePolicyDiskConsistencyGroupPolicy,
    >,
    /// Resource policy for instances for placement configuration.
    #[prost(message, optional, tag = "10931596")]
    pub group_placement_policy: ::core::option::Option<
        ResourcePolicyGroupPlacementPolicy,
    >,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Resource policy for scheduling instance operations.
    #[prost(message, optional, tag = "344877104")]
    pub instance_schedule_policy: ::core::option::Option<
        ResourcePolicyInstanceSchedulePolicy,
    >,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#resource_policies for resource policies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the resource, provided by the client when initially creating
    /// the resource. The resource name must be 1-63 characters long, and comply
    /// withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The system status of the resource policy.
    #[prost(message, optional, tag = "249429315")]
    pub resource_status: ::core::option::Option<ResourcePolicyResourceStatus>,
    /// Output only. \[Output Only\] Server-defined fully-qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Resource policy for persistent disks for creating snapshots.
    #[prost(message, optional, tag = "218131295")]
    pub snapshot_schedule_policy: ::core::option::Option<
        ResourcePolicySnapshotSchedulePolicy,
    >,
    /// Output only. \[Output Only\] The status of resource policy creation.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Resource policy for defining instance placement for MIGs.
    #[prost(message, optional, tag = "114721530")]
    pub workload_policy: ::core::option::Option<ResourcePolicyWorkloadPolicy>,
}
/// Nested message and enum types in `ResourcePolicy`.
pub mod resource_policy {
    /// Output only. \[Output Only\] The status of resource policy creation.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Resource policy is being created.
        Creating = 455564985,
        /// Resource policy is being deleted.
        Deleting = 528602024,
        /// Resource policy is expired and will not run again.
        Expired = 482489093,
        Invalid = 530283991,
        /// Resource policy is ready to be used.
        Ready = 77848963,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Expired => "EXPIRED",
                Self::Invalid => "INVALID",
                Self::Ready => "READY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "EXPIRED" => Some(Self::Expired),
                "INVALID" => Some(Self::Invalid),
                "READY" => Some(Self::Ready),
                _ => None,
            }
        }
    }
}
/// Contains a list of resourcePolicies.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePolicyAggregatedList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of ResourcePolicy resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ResourcePoliciesScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Time window specified for daily operations.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicyDailyCycle {
    /// Defines a schedule with units measured in days. The value determines
    /// how many days pass between the start of each cycle.
    #[prost(int32, optional, tag = "369790004")]
    pub days_in_cycle: ::core::option::Option<i32>,
    /// Output only. \[Output only\] A predetermined duration for the window, automatically
    /// chosen to be the smallest possible in the given scenario.
    #[prost(string, optional, tag = "155471252")]
    pub duration: ::core::option::Option<::prost::alloc::string::String>,
    /// Start time of the window. This must be in UTC format that resolves to one
    /// of 00:00, 04:00, 08:00,12:00, 16:00, or 20:00. For
    /// example, both 13:00-5 and 08:00 are valid.
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
}
/// Resource policy for disk consistency groups.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicyDiskConsistencyGroupPolicy {}
/// A GroupPlacementPolicy specifies resource placement configuration.
/// It specifies the failure bucket separation
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicyGroupPlacementPolicy {
    /// Specifies the connection mode for the accelerator topology. If not
    /// specified, the default is AUTO_CONNECT.
    /// Check the AcceleratorTopologyMode enum for the list of possible values.
    #[prost(string, optional, tag = "284293791")]
    pub accelerator_topology_mode: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// The number of availability domains to spread instances across. If two
    /// instances are in different availability domain, they are not in the same
    /// low latency network.
    #[prost(int32, optional, tag = "12453432")]
    pub availability_domain_count: ::core::option::Option<i32>,
    /// Specifies network collocation
    /// Check the Collocation enum for the list of possible values.
    #[prost(string, optional, tag = "511156533")]
    pub collocation: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the shape of the GPU slice, in slice based GPU families eg.
    /// A4X.
    #[prost(string, optional, tag = "247948450")]
    pub gpu_topology: ::core::option::Option<::prost::alloc::string::String>,
    /// Number of VMs in this placement group. Google does not recommend that you
    /// use this field unless you use a compact policy and you want your policy
    /// to work only if it contains this exact number of VMs.
    #[prost(int32, optional, tag = "261463431")]
    pub vm_count: ::core::option::Option<i32>,
}
/// Nested message and enum types in `ResourcePolicyGroupPlacementPolicy`.
pub mod resource_policy_group_placement_policy {
    /// Specifies the connection mode for the accelerator topology. If not
    /// specified, the default is AUTO_CONNECT.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AcceleratorTopologyMode {
        /// A value indicating that the enum field is not set.
        UndefinedAcceleratorTopologyMode = 0,
        /// The interconnected chips are pre-configured at the time of VM creation.
        AutoConnect = 491872826,
        /// The interconnected chips are connected on demand. At the time of VM
        /// creation, the chips are not connected.
        ProvisionOnly = 399134966,
    }
    impl AcceleratorTopologyMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAcceleratorTopologyMode => {
                    "UNDEFINED_ACCELERATOR_TOPOLOGY_MODE"
                }
                Self::AutoConnect => "AUTO_CONNECT",
                Self::ProvisionOnly => "PROVISION_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ACCELERATOR_TOPOLOGY_MODE" => {
                    Some(Self::UndefinedAcceleratorTopologyMode)
                }
                "AUTO_CONNECT" => Some(Self::AutoConnect),
                "PROVISION_ONLY" => Some(Self::ProvisionOnly),
                _ => None,
            }
        }
    }
    /// Specifies network collocation
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Collocation {
        /// A value indicating that the enum field is not set.
        UndefinedCollocation = 0,
        Collocated = 103257554,
        UnspecifiedCollocation = 464308205,
    }
    impl Collocation {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCollocation => "UNDEFINED_COLLOCATION",
                Self::Collocated => "COLLOCATED",
                Self::UnspecifiedCollocation => "UNSPECIFIED_COLLOCATION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_COLLOCATION" => Some(Self::UndefinedCollocation),
                "COLLOCATED" => Some(Self::Collocated),
                "UNSPECIFIED_COLLOCATION" => Some(Self::UnspecifiedCollocation),
                _ => None,
            }
        }
    }
}
/// Time window specified for hourly operations.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicyHourlyCycle {
    /// Output only. \[Output only\] Duration of the time window, automatically chosen to be
    /// smallest possible in the given scenario.
    #[prost(string, optional, tag = "155471252")]
    pub duration: ::core::option::Option<::prost::alloc::string::String>,
    /// Defines a schedule with units measured in hours. The value determines
    /// how many hours pass between the start of each cycle.
    #[prost(int32, optional, tag = "526763132")]
    pub hours_in_cycle: ::core::option::Option<i32>,
    /// Time within the window to start the operations.
    /// It must be in format "HH:MM", where HH : \[00-23\] and MM : \[00-00\] GMT.
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
}
/// An InstanceSchedulePolicy specifies when and how frequent certain
/// operations are performed on the instance.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicyInstanceSchedulePolicy {
    /// The expiration time of the schedule. The timestamp is an RFC3339 string.
    #[prost(string, optional, tag = "230299229")]
    pub expiration_time: ::core::option::Option<::prost::alloc::string::String>,
    /// The start time of the schedule. The timestamp is an RFC3339 string.
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the time zone to be used in interpreting Schedule.schedule.
    /// The value of this field must be a time zone name from the tz database:
    /// <https://wikipedia.org/wiki/Tz_database.>
    #[prost(string, optional, tag = "36848094")]
    pub time_zone: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the schedule for starting instances.
    #[prost(message, optional, tag = "17762396")]
    pub vm_start_schedule: ::core::option::Option<
        ResourcePolicyInstanceSchedulePolicySchedule,
    >,
    /// Specifies the schedule for stopping instances.
    #[prost(message, optional, tag = "426242732")]
    pub vm_stop_schedule: ::core::option::Option<
        ResourcePolicyInstanceSchedulePolicySchedule,
    >,
}
/// Schedule for an instance operation.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicyInstanceSchedulePolicySchedule {
    /// Specifies the frequency for the operation, using the unix-cron format.
    #[prost(string, optional, tag = "375820951")]
    pub schedule: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePolicyList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of ResourcePolicy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<ResourcePolicy>,
    /// Output only. \[Output Only\] Type of resource.Alwayscompute#resourcePoliciesList for listsof resourcePolicies
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains output only fields.
/// Use this sub-message for all output fields set on ResourcePolicy.
/// The internal structure of this "status" field should mimic the structure
/// of ResourcePolicy proto specification.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicyResourceStatus {
    /// Output only. \[Output Only\] Specifies a set of output values reffering to
    /// the instance_schedule_policy system status.
    /// This field should have the same name as corresponding policy field.
    #[prost(message, optional, tag = "344877104")]
    pub instance_schedule_policy: ::core::option::Option<
        ResourcePolicyResourceStatusInstanceSchedulePolicyStatus,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicyResourceStatusInstanceSchedulePolicyStatus {
    /// Output only. \[Output Only\] The last time the schedule successfully ran.
    /// The timestamp is an RFC3339 string.
    #[prost(string, optional, tag = "303069063")]
    pub last_run_start_time: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The next time the schedule is planned to run.
    /// The actual time might be slightly different.
    /// The timestamp is an RFC3339 string.
    #[prost(string, optional, tag = "318642570")]
    pub next_run_start_time: ::core::option::Option<::prost::alloc::string::String>,
}
/// A snapshot schedule policy specifies when and how frequently snapshots are
/// to be created for the target disk. Also specifies how many and how long
/// these scheduled snapshots should be retained.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePolicySnapshotSchedulePolicy {
    /// Retention policy applied to snapshots created by this resource policy.
    #[prost(message, optional, tag = "68625779")]
    pub retention_policy: ::core::option::Option<
        ResourcePolicySnapshotSchedulePolicyRetentionPolicy,
    >,
    /// A Vm Maintenance Policy specifies what kind of infrastructure
    /// maintenance we are allowed to perform on this VM and when. Schedule
    /// that is applied to disks covered by this policy.
    #[prost(message, optional, tag = "375820951")]
    pub schedule: ::core::option::Option<ResourcePolicySnapshotSchedulePolicySchedule>,
    /// Properties with which snapshots are created such as labels, encryption
    /// keys.
    #[prost(message, optional, tag = "185371278")]
    pub snapshot_properties: ::core::option::Option<
        ResourcePolicySnapshotSchedulePolicySnapshotProperties,
    >,
}
/// Policy for retention of scheduled snapshots.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicySnapshotSchedulePolicyRetentionPolicy {
    /// Maximum age of the snapshot that is allowed to be kept.
    #[prost(int32, optional, tag = "324296979")]
    pub max_retention_days: ::core::option::Option<i32>,
    /// Specifies the behavior to apply to scheduled snapshots when
    /// the source disk is deleted.
    /// Check the OnSourceDiskDelete enum for the list of possible values.
    #[prost(string, optional, tag = "321955529")]
    pub on_source_disk_delete: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ResourcePolicySnapshotSchedulePolicyRetentionPolicy`.
pub mod resource_policy_snapshot_schedule_policy_retention_policy {
    /// Specifies the behavior to apply to scheduled snapshots when
    /// the source disk is deleted.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum OnSourceDiskDelete {
        /// A value indicating that the enum field is not set.
        UndefinedOnSourceDiskDelete = 0,
        ApplyRetentionPolicy = 535071332,
        KeepAutoSnapshots = 258925689,
        UnspecifiedOnSourceDiskDelete = 239140769,
    }
    impl OnSourceDiskDelete {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOnSourceDiskDelete => "UNDEFINED_ON_SOURCE_DISK_DELETE",
                Self::ApplyRetentionPolicy => "APPLY_RETENTION_POLICY",
                Self::KeepAutoSnapshots => "KEEP_AUTO_SNAPSHOTS",
                Self::UnspecifiedOnSourceDiskDelete => {
                    "UNSPECIFIED_ON_SOURCE_DISK_DELETE"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ON_SOURCE_DISK_DELETE" => {
                    Some(Self::UndefinedOnSourceDiskDelete)
                }
                "APPLY_RETENTION_POLICY" => Some(Self::ApplyRetentionPolicy),
                "KEEP_AUTO_SNAPSHOTS" => Some(Self::KeepAutoSnapshots),
                "UNSPECIFIED_ON_SOURCE_DISK_DELETE" => {
                    Some(Self::UnspecifiedOnSourceDiskDelete)
                }
                _ => None,
            }
        }
    }
}
/// A schedule for disks where the schedueled operations are performed.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePolicySnapshotSchedulePolicySchedule {
    #[prost(message, optional, tag = "86159869")]
    pub daily_schedule: ::core::option::Option<ResourcePolicyDailyCycle>,
    #[prost(message, optional, tag = "38328485")]
    pub hourly_schedule: ::core::option::Option<ResourcePolicyHourlyCycle>,
    #[prost(message, optional, tag = "359548053")]
    pub weekly_schedule: ::core::option::Option<ResourcePolicyWeeklyCycle>,
}
/// Specified snapshot properties for scheduled snapshots created by this
/// policy.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePolicySnapshotSchedulePolicySnapshotProperties {
    /// Chain name that the snapshot is created in.
    #[prost(string, optional, tag = "68644169")]
    pub chain_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Indication to perform a 'guest aware' snapshot.
    #[prost(bool, optional, tag = "385550813")]
    pub guest_flush: ::core::option::Option<bool>,
    /// Labels to apply to scheduled snapshots. These can be later modified
    /// by the setLabels method. Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Cloud Storage bucket storage location of the auto snapshot (regional or
    /// multi-regional).
    #[prost(string, repeated, tag = "328005274")]
    pub storage_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Time window specified for weekly operations.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePolicyWeeklyCycle {
    /// Up to 7 intervals/windows, one for each day of the week.
    #[prost(message, repeated, tag = "257871834")]
    pub day_of_weeks: ::prost::alloc::vec::Vec<ResourcePolicyWeeklyCycleDayOfWeek>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicyWeeklyCycleDayOfWeek {
    /// Defines a schedule that runs on specific days of the week. Specify
    /// one or more days. The following options are available:
    /// MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
    /// Check the Day enum for the list of possible values.
    #[prost(string, optional, tag = "99228")]
    pub day: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output only\] Duration of the time window, automatically chosen to be
    /// smallest possible in the given scenario.
    #[prost(string, optional, tag = "155471252")]
    pub duration: ::core::option::Option<::prost::alloc::string::String>,
    /// Time within the window to start the operations.
    /// It must be in format "HH:MM", where HH : \[00-23\] and MM : \[00-00\] GMT.
    #[prost(string, optional, tag = "37467274")]
    pub start_time: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ResourcePolicyWeeklyCycleDayOfWeek`.
pub mod resource_policy_weekly_cycle_day_of_week {
    /// Defines a schedule that runs on specific days of the week. Specify
    /// one or more days. The following options are available:
    /// MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Day {
        /// A value indicating that the enum field is not set.
        UndefinedDay = 0,
        Friday = 471398751,
        Invalid = 530283991,
        Monday = 132310288,
        Saturday = 279037881,
        Sunday = 309626320,
        Thursday = 207198682,
        Tuesday = 277509677,
        Wednesday = 422029110,
    }
    impl Day {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDay => "UNDEFINED_DAY",
                Self::Friday => "FRIDAY",
                Self::Invalid => "INVALID",
                Self::Monday => "MONDAY",
                Self::Saturday => "SATURDAY",
                Self::Sunday => "SUNDAY",
                Self::Thursday => "THURSDAY",
                Self::Tuesday => "TUESDAY",
                Self::Wednesday => "WEDNESDAY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DAY" => Some(Self::UndefinedDay),
                "FRIDAY" => Some(Self::Friday),
                "INVALID" => Some(Self::Invalid),
                "MONDAY" => Some(Self::Monday),
                "SATURDAY" => Some(Self::Saturday),
                "SUNDAY" => Some(Self::Sunday),
                "THURSDAY" => Some(Self::Thursday),
                "TUESDAY" => Some(Self::Tuesday),
                "WEDNESDAY" => Some(Self::Wednesday),
                _ => None,
            }
        }
    }
}
/// Represents the workload policy.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourcePolicyWorkloadPolicy {
    /// Specifies the topology required to create a partition for VMs that have
    /// interconnected GPUs.
    #[prost(string, optional, tag = "389323203")]
    pub accelerator_topology: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the connection mode for the accelerator topology. If not
    /// specified, the default is AUTO_CONNECT.
    /// Check the AcceleratorTopologyMode enum for the list of possible values.
    #[prost(string, optional, tag = "284293791")]
    pub accelerator_topology_mode: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies the maximum distance between instances.
    /// Check the MaxTopologyDistance enum for the list of possible values.
    #[prost(string, optional, tag = "7521706")]
    pub max_topology_distance: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the intent of the instance placement in the MIG.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ResourcePolicyWorkloadPolicy`.
pub mod resource_policy_workload_policy {
    /// Specifies the connection mode for the accelerator topology. If not
    /// specified, the default is AUTO_CONNECT.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AcceleratorTopologyMode {
        /// A value indicating that the enum field is not set.
        UndefinedAcceleratorTopologyMode = 0,
        /// The interconnected chips are pre-configured at the time of VM creation.
        AutoConnect = 491872826,
        /// The interconnected chips are connected on demand. At the time of VM
        /// creation, the chips are not connected.
        ProvisionOnly = 399134966,
    }
    impl AcceleratorTopologyMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAcceleratorTopologyMode => {
                    "UNDEFINED_ACCELERATOR_TOPOLOGY_MODE"
                }
                Self::AutoConnect => "AUTO_CONNECT",
                Self::ProvisionOnly => "PROVISION_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ACCELERATOR_TOPOLOGY_MODE" => {
                    Some(Self::UndefinedAcceleratorTopologyMode)
                }
                "AUTO_CONNECT" => Some(Self::AutoConnect),
                "PROVISION_ONLY" => Some(Self::ProvisionOnly),
                _ => None,
            }
        }
    }
    /// Specifies the maximum distance between instances.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MaxTopologyDistance {
        /// A value indicating that the enum field is not set.
        UndefinedMaxTopologyDistance = 0,
        /// VMs must be provisioned in the same block.
        Block = 63294573,
        /// VMs must be provisioned in the same cluster.
        Cluster = 516333018,
        /// VMs must be provisioned in the same subblock.
        Subblock = 316202573,
    }
    impl MaxTopologyDistance {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMaxTopologyDistance => "UNDEFINED_MAX_TOPOLOGY_DISTANCE",
                Self::Block => "BLOCK",
                Self::Cluster => "CLUSTER",
                Self::Subblock => "SUBBLOCK",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MAX_TOPOLOGY_DISTANCE" => {
                    Some(Self::UndefinedMaxTopologyDistance)
                }
                "BLOCK" => Some(Self::Block),
                "CLUSTER" => Some(Self::Cluster),
                "SUBBLOCK" => Some(Self::Subblock),
                _ => None,
            }
        }
    }
    /// Specifies the intent of the instance placement in the MIG.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// MIG spreads out the instances as much as possible for high availability.
        HighAvailability = 409487576,
        /// MIG provisions instances as close to each other as possible for high
        /// throughput.
        HighThroughput = 146499815,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::HighAvailability => "HIGH_AVAILABILITY",
                Self::HighThroughput => "HIGH_THROUGHPUT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "HIGH_AVAILABILITY" => Some(Self::HighAvailability),
                "HIGH_THROUGHPUT" => Some(Self::HighThroughput),
                _ => None,
            }
        }
    }
}
/// Contains output only fields.
/// Use this sub-message for actual values set on Instance attributes as compared
/// to the value requested by the user (intent) in their instance CRUD calls.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourceStatus {
    /// Output only. \[Output Only\] Effective metadata is a field that consolidates project,
    /// zonal instance settings, and instance-level predefined metadata keys to
    /// provide the overridden value for those metadata keys at the instance level.
    #[prost(message, optional, tag = "55052033")]
    pub effective_instance_metadata: ::core::option::Option<
        ResourceStatusEffectiveInstanceMetadata,
    >,
    /// Output only. \[Output Only\] The precise location of your instance within the zone's data
    /// center, including the block, sub-block, and host. The field is formatted as
    /// follows: blockId/subBlockId/hostId.
    #[prost(string, optional, tag = "464370704")]
    pub physical_host: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A series of fields containing the global name of the Compute
    /// Engine cluster, as well as the ID of the block, sub-block, and host on
    /// which the running instance is located.
    #[prost(message, optional, tag = "390842814")]
    pub physical_host_topology: ::core::option::Option<
        ResourceStatusPhysicalHostTopology,
    >,
    /// Output only. \[Output Only\] Reservation information that the instance is consuming from.
    #[prost(message, optional, tag = "201056997")]
    pub reservation_consumption_info: ::core::option::Option<
        ResourceStatusReservationConsumptionInfo,
    >,
    #[prost(message, optional, tag = "386688404")]
    pub scheduling: ::core::option::Option<ResourceStatusScheduling>,
    #[prost(message, optional, tag = "227348592")]
    pub upcoming_maintenance: ::core::option::Option<UpcomingMaintenance>,
}
/// Effective values of predefined metadata keys for an instance.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourceStatusEffectiveInstanceMetadata {
    /// Effective block-project-ssh-keys value at Instance level.
    #[prost(bool, optional, tag = "338623101")]
    pub block_project_ssh_keys_metadata_value: ::core::option::Option<bool>,
    /// Effective enable-guest-attributes value at Instance level.
    #[prost(bool, optional, tag = "420155878")]
    pub enable_guest_attributes_metadata_value: ::core::option::Option<bool>,
    /// Effective enable-os-inventory value at Instance level.
    #[prost(bool, optional, tag = "371752675")]
    pub enable_os_inventory_metadata_value: ::core::option::Option<bool>,
    /// Effective enable-osconfig value at Instance level.
    #[prost(bool, optional, tag = "502966494")]
    pub enable_osconfig_metadata_value: ::core::option::Option<bool>,
    /// Effective enable-oslogin value at Instance level.
    #[prost(bool, optional, tag = "216603159")]
    pub enable_oslogin_metadata_value: ::core::option::Option<bool>,
    /// Effective gce-container-declaration value at Instance level.
    #[prost(bool, optional, tag = "219617210")]
    pub gce_container_declaration_metadata_value: ::core::option::Option<bool>,
    /// Effective serial-port-enable value at Instance level.
    #[prost(bool, optional, tag = "430536330")]
    pub serial_port_enable_metadata_value: ::core::option::Option<bool>,
    /// Effective serial-port-logging-enable value at Instance level.
    #[prost(bool, optional, tag = "311813290")]
    pub serial_port_logging_enable_metadata_value: ::core::option::Option<bool>,
    /// Effective VM DNS setting at Instance level.
    #[prost(string, optional, tag = "411127950")]
    pub vm_dns_setting_metadata_value: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Represents the physical host topology of the host on which the VM is
/// running.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourceStatusPhysicalHostTopology {
    /// \[Output Only\] The ID of the block in which the running instance is
    /// located. Instances within the same block experience low network latency.
    #[prost(string, optional, tag = "93832333")]
    pub block: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The global name of the Compute Engine cluster where the
    /// running instance is located.
    #[prost(string, optional, tag = "335221242")]
    pub cluster: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The ID of the host on which the running instance is located.
    /// Instances on the same host experience the lowest possible network
    /// latency.
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The ID of the sub-block in which the running instance is
    /// located. Instances in the same sub-block experience lower network latency
    /// than instances in the same block.
    #[prost(string, optional, tag = "70446669")]
    pub subblock: ::core::option::Option<::prost::alloc::string::String>,
}
/// Reservation consumption information that the instance is consuming from.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourceStatusReservationConsumptionInfo {
    /// Output only. \[Output Only\] The full resource name of the reservation that this
    /// instance is consuming from.
    #[prost(string, optional, tag = "318474741")]
    pub consumed_reservation: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResourceStatusScheduling {
    /// Specifies the availability domain to place the instance in. The value
    /// must be a number between 1 and the number of availability domains
    /// specified in the spread placement policy attached to the instance.
    #[prost(int32, optional, tag = "252514344")]
    pub availability_domain: ::core::option::Option<i32>,
}
/// A request message for Instances.Resume. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResumeInstanceRequest {
    /// Name of the instance resource to resume.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagers.ResumeInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResumeInstancesInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "129015618")]
    pub instance_group_managers_resume_instances_request_resource: ::core::option::Option<
        InstanceGroupManagersResumeInstancesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.ResumeInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ResumeInstancesRegionInstanceGroupManagerRequest {
    /// Name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "463471031")]
    pub region_instance_group_managers_resume_instances_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersResumeInstancesRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a Route resource.
///
/// A route defines a path from VM instances in the VPC network to a specific
/// destination. This destination can be inside or outside the VPC network.
/// For more information, read theRoutes overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Route {
    /// Output only. \[Output Only\] AS path.
    #[prost(message, repeated, tag = "137568929")]
    pub as_paths: ::prost::alloc::vec::Vec<RouteAsPath>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this field when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// The destination range of outgoing packets that this route applies to. Both
    /// IPv4 and IPv6 are supported.
    /// Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291
    /// format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952
    /// compressed format.
    #[prost(string, optional, tag = "381327712")]
    pub dest_range: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of this resource. Always compute#routes for
    /// Route resources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?`. The first character must be a
    /// lowercase letter, and all following characters (except for the last
    /// character) must be a dash, lowercase letter, or digit. The last character
    /// must be a lowercase letter or digit.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Fully-qualified URL of the network that this route applies to.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL to a gateway that should handle matching packets.
    /// You can only specify the internet gateway using a full or
    /// partial valid URL: projects/project/global/gateways/default-internet-gateway
    #[prost(string, optional, tag = "377175298")]
    pub next_hop_gateway: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The full resource name of the Network Connectivity Center hub
    /// that will handle matching packets.
    #[prost(string, optional, tag = "198679219")]
    pub next_hop_hub: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching
    /// packets or the IP address of the forwarding Rule.
    /// For example, the following are all valid URLs:
    ///
    /// ```text
    ///    - <https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule>
    /// - regions/region/forwardingRules/forwardingRule
    /// ```
    ///
    /// If an IP address is provided, must specify an IPv4 address in dot-decimal
    /// notation or an IPv6 address in RFC 4291 format. For example, the following
    /// are all valid IP addresses:
    ///
    /// ```text
    ///    - 10.128.0.56
    ///    - 2001:db8::2d9:51:0:0
    ///    - 2001:db8:0:0:2d9:51:0:0
    /// ```
    ///
    /// IPv6 addresses will be displayed using RFC 5952 compressed format (e.g.
    /// 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
    #[prost(string, optional, tag = "198679901")]
    pub next_hop_ilb: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL to an instance that should handle matching packets. You can specify
    /// this as a full or partial URL.
    /// For example:
    /// <https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/>
    #[prost(string, optional, tag = "393508247")]
    pub next_hop_instance: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output only\] Internal fixed region-to-region cost that Google Cloud
    /// calculates based on factors such as network performance, distance, and
    /// available bandwidth between regions.
    #[prost(uint32, optional, tag = "24442003")]
    pub next_hop_inter_region_cost: ::core::option::Option<u32>,
    /// Output only. \[Output Only\] The URL to an InterconnectAttachment which is the next hop
    /// for the route.
    /// This field will only be populated for dynamic routes generated by
    /// Cloud Router with a linked interconnectAttachment or the static route
    /// generated by each L2 Interconnect Attachment.
    #[prost(string, optional, tag = "226852914")]
    pub next_hop_interconnect_attachment: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// The network IP address of an instance that should handle matching packets.
    /// Both IPv6 address and IPv4 addresses are supported.
    /// Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or
    /// an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or
    /// 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952
    /// compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an
    /// IPv4-mapped IPv6 address.
    #[prost(string, optional, tag = "110319529")]
    pub next_hop_ip: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Multi-Exit Discriminator, a BGP route metric that indicates
    /// the desirability of a particular route in a network.
    #[prost(uint32, optional, tag = "198683530")]
    pub next_hop_med: ::core::option::Option<u32>,
    /// The URL of the local network if it should handle matching packets.
    #[prost(string, optional, tag = "262295788")]
    pub next_hop_network: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Indicates the origin of the route. Can be IGP
    /// (Interior Gateway Protocol), EGP (Exterior Gateway Protocol),
    /// or INCOMPLETE.
    /// Check the NextHopOrigin enum for the list of possible values.
    #[prost(string, optional, tag = "48752808")]
    pub next_hop_origin: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The network peering name that should handle matching packets,
    /// which should conform to RFC1035.
    #[prost(string, optional, tag = "412682750")]
    pub next_hop_peering: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL to a VpnTunnel that should handle matching packets.
    #[prost(string, optional, tag = "519844501")]
    pub next_hop_vpn_tunnel: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<RouteParams>,
    /// The priority of this route. Priority is used to break ties in cases
    /// where there is more than one matching route of equal prefix length. In
    /// cases where multiple routes have equal prefix length, the one with the
    /// lowest-numbered priority value wins. The default value is `1000`. The
    /// priority value must be from `0` to `65535`, inclusive.
    #[prost(uint32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<u32>,
    /// \[Output only\] The status of the route. This status applies to
    /// dynamic routes learned by Cloud Routers. It is also applicable to routes
    /// undergoing migration.
    /// Check the RouteStatus enum for the list of possible values.
    #[prost(string, optional, tag = "418162344")]
    pub route_status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The type of this route, which can be one of the following
    /// values:
    ///
    /// * 'TRANSIT' for a transit route that this router learned from
    ///   another Cloud Router and will readvertise to one of its BGP peers
    /// * 'SUBNET' for a route from a subnet of the VPC
    /// * 'BGP' for a route learned from a BGP peer of this router
    /// * 'STATIC' for a static route
    ///   Check the RouteType enum for the list of possible values.
    #[prost(string, optional, tag = "375888752")]
    pub route_type: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined fully-qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of instance tags to which this route applies.
    #[prost(string, repeated, tag = "3552281")]
    pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] If potential misconfigurations are detected for this
    /// route, this field will be populated with warning messages.
    #[prost(message, repeated, tag = "498091095")]
    pub warnings: ::prost::alloc::vec::Vec<Warnings>,
}
/// Nested message and enum types in `Route`.
pub mod route {
    /// Output only. \[Output Only\] Indicates the origin of the route. Can be IGP
    /// (Interior Gateway Protocol), EGP (Exterior Gateway Protocol),
    /// or INCOMPLETE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NextHopOrigin {
        /// A value indicating that the enum field is not set.
        UndefinedNextHopOrigin = 0,
        Egp = 68590,
        Igp = 72434,
        Incomplete = 11941214,
    }
    impl NextHopOrigin {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNextHopOrigin => "UNDEFINED_NEXT_HOP_ORIGIN",
                Self::Egp => "EGP",
                Self::Igp => "IGP",
                Self::Incomplete => "INCOMPLETE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NEXT_HOP_ORIGIN" => Some(Self::UndefinedNextHopOrigin),
                "EGP" => Some(Self::Egp),
                "IGP" => Some(Self::Igp),
                "INCOMPLETE" => Some(Self::Incomplete),
                _ => None,
            }
        }
    }
    /// \[Output only\] The status of the route. This status applies to
    /// dynamic routes learned by Cloud Routers. It is also applicable to routes
    /// undergoing migration.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RouteStatus {
        /// A value indicating that the enum field is not set.
        UndefinedRouteStatus = 0,
        /// This route is processed and active.
        Active = 314733318,
        /// The route is dropped due to the VPC exceeding the dynamic route limit.
        /// For dynamic route limit, please refer to the
        /// Learned route example
        Dropped = 496235424,
        /// This route is processed but inactive due to failure from the backend. The
        /// backend may have rejected the route
        Inactive = 270421099,
        /// This route is being processed internally. The status will change once
        /// processed.
        Pending = 35394935,
    }
    impl RouteStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRouteStatus => "UNDEFINED_ROUTE_STATUS",
                Self::Active => "ACTIVE",
                Self::Dropped => "DROPPED",
                Self::Inactive => "INACTIVE",
                Self::Pending => "PENDING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ROUTE_STATUS" => Some(Self::UndefinedRouteStatus),
                "ACTIVE" => Some(Self::Active),
                "DROPPED" => Some(Self::Dropped),
                "INACTIVE" => Some(Self::Inactive),
                "PENDING" => Some(Self::Pending),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The type of this route, which can be one of the following
    /// values:
    ///
    /// * 'TRANSIT' for a transit route that this router learned from
    ///   another Cloud Router and will readvertise to one of its BGP peers
    /// * 'SUBNET' for a route from a subnet of the VPC
    /// * 'BGP' for a route learned from a BGP peer of this router
    /// * 'STATIC' for a static route
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RouteType {
        /// A value indicating that the enum field is not set.
        UndefinedRouteType = 0,
        Bgp = 65707,
        Static = 308331118,
        Subnet = 309278557,
        Transit = 187793843,
    }
    impl RouteType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRouteType => "UNDEFINED_ROUTE_TYPE",
                Self::Bgp => "BGP",
                Self::Static => "STATIC",
                Self::Subnet => "SUBNET",
                Self::Transit => "TRANSIT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ROUTE_TYPE" => Some(Self::UndefinedRouteType),
                "BGP" => Some(Self::Bgp),
                "STATIC" => Some(Self::Static),
                "SUBNET" => Some(Self::Subnet),
                "TRANSIT" => Some(Self::Transit),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouteAsPath {
    /// \[Output Only\] The AS numbers of the AS Path.
    #[prost(uint32, repeated, tag = "134112584")]
    pub as_lists: ::prost::alloc::vec::Vec<u32>,
    /// \[Output Only\] The type of the AS Path, which can be one of the following
    /// values:
    ///
    /// * 'AS_SET': unordered set of autonomous systems that the route
    ///   in has traversed
    /// * 'AS_SEQUENCE': ordered set of autonomous
    ///   systems that the route has traversed
    /// * 'AS_CONFED_SEQUENCE':
    ///   ordered set of Member Autonomous Systems in the local confederation that
    ///   the route has traversed
    /// * 'AS_CONFED_SET': unordered set of
    ///   Member Autonomous Systems in the local confederation that the route has
    ///   traversed
    ///   Check the PathSegmentType enum for the list of possible values.
    #[prost(string, optional, tag = "513464992")]
    pub path_segment_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `RouteAsPath`.
pub mod route_as_path {
    /// \[Output Only\] The type of the AS Path, which can be one of the following
    /// values:
    ///
    /// * 'AS_SET': unordered set of autonomous systems that the route
    ///   in has traversed
    /// * 'AS_SEQUENCE': ordered set of autonomous
    ///   systems that the route has traversed
    /// * 'AS_CONFED_SEQUENCE':
    ///   ordered set of Member Autonomous Systems in the local confederation that
    ///   the route has traversed
    /// * 'AS_CONFED_SET': unordered set of
    ///   Member Autonomous Systems in the local confederation that the route has
    ///   traversed
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PathSegmentType {
        /// A value indicating that the enum field is not set.
        UndefinedPathSegmentType = 0,
        AsConfedSequence = 222152624,
        AsConfedSet = 374040307,
        AsSequence = 106735918,
        AsSet = 329846453,
    }
    impl PathSegmentType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPathSegmentType => "UNDEFINED_PATH_SEGMENT_TYPE",
                Self::AsConfedSequence => "AS_CONFED_SEQUENCE",
                Self::AsConfedSet => "AS_CONFED_SET",
                Self::AsSequence => "AS_SEQUENCE",
                Self::AsSet => "AS_SET",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PATH_SEGMENT_TYPE" => Some(Self::UndefinedPathSegmentType),
                "AS_CONFED_SEQUENCE" => Some(Self::AsConfedSequence),
                "AS_CONFED_SET" => Some(Self::AsConfedSet),
                "AS_SEQUENCE" => Some(Self::AsSequence),
                "AS_SET" => Some(Self::AsSet),
                _ => None,
            }
        }
    }
}
/// Contains a list of Route resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouteList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Route resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Route>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Additional route parameters.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouteParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoutePolicy {
    /// An optional description of route policy.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the Route Policy being applied to this Router, which is
    /// essentially a hash of the Route Policy used for optimistic locking.
    /// The fingerprint is initially generated by Compute Engine and changes
    /// after every request to modify or update Route Policy. You must always
    /// provide an up-to-date fingerprint hash in order to update or change
    /// labels.
    ///
    /// To see the latest fingerprint, make a getRoutePolicy() request
    /// to retrieve a Route Policy.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Route Policy name, which must be a resource ID segment and unique
    /// within all the router's Route Policies. Name should conform to RFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// List of terms (the order in the list is not important, they are evaluated
    /// in order of priority). Order of policies is not retained and might change
    /// when getting policy later.
    #[prost(message, repeated, tag = "110250375")]
    pub terms: ::prost::alloc::vec::Vec<RoutePolicyPolicyTerm>,
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `RoutePolicy`.
pub mod route_policy {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// The Route Policy is an Export Policy.
        RoutePolicyTypeExport = 293086882,
        /// The Route Policy is an Import Policy.
        RoutePolicyTypeImport = 397444755,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::RoutePolicyTypeExport => "ROUTE_POLICY_TYPE_EXPORT",
                Self::RoutePolicyTypeImport => "ROUTE_POLICY_TYPE_IMPORT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "ROUTE_POLICY_TYPE_EXPORT" => Some(Self::RoutePolicyTypeExport),
                "ROUTE_POLICY_TYPE_IMPORT" => Some(Self::RoutePolicyTypeImport),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoutePolicyPolicyTerm {
    /// CEL expressions to evaluate to modify a route when this term matches.
    #[prost(message, repeated, tag = "448809213")]
    pub actions: ::prost::alloc::vec::Vec<Expr>,
    /// CEL expression evaluated against a route to determine if this term
    /// applies. When not set, the term applies to all
    /// routes.
    #[prost(message, optional, tag = "103668165")]
    pub r#match: ::core::option::Option<Expr>,
    /// The evaluation priority for this term, which must be between 0
    /// (inclusive) and 2^31 (exclusive), and unique within the list.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
}
/// Represents a Cloud Router resource.
///
/// For more information about Cloud Router, read theCloud
/// Router overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Router {
    /// BGP information specific to this router.
    #[prost(message, optional, tag = "97483")]
    pub bgp: ::core::option::Option<RouterBgp>,
    /// BGP information that must be configured into the routing stack to
    /// establish BGP peering. This information must specify the peer ASN and
    /// either the interface name, IP address, or peer IP address. Please refer toRFC4273.
    #[prost(message, repeated, tag = "452695773")]
    pub bgp_peers: ::prost::alloc::vec::Vec<RouterBgpPeer>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates if a router is dedicated for use with encrypted VLAN
    /// attachments (interconnectAttachments).
    #[prost(bool, optional, tag = "297996575")]
    pub encrypted_interconnect_router: ::core::option::Option<bool>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Router interfaces.
    /// To create a BGP peer that uses a router interface,
    /// the interface must have one of the following fields specified:
    ///
    /// ```text
    /// - linkedVpnTunnel
    /// - linkedInterconnectAttachment
    /// - subnetwork
    /// ```
    ///
    /// You can create a router interface without any of these fields specified.
    /// However, you cannot create a BGP peer that uses that interface.
    #[prost(message, repeated, tag = "12073562")]
    pub interfaces: ::prost::alloc::vec::Vec<RouterInterface>,
    /// Output only. \[Output Only\] Type of resource. Always compute#router for
    /// routers.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Keys used for MD5 authentication.
    #[prost(message, repeated, tag = "71063322")]
    pub md5_authentication_keys: ::prost::alloc::vec::Vec<RouterMd5AuthenticationKey>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of NAT services created in this router.
    #[prost(message, repeated, tag = "3373938")]
    pub nats: ::prost::alloc::vec::Vec<RouterNat>,
    /// URI of the network to which this router belongs.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<RouterParams>,
    /// \[Output Only\] URI of the region where the router resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// Description-tagged IP ranges for the router to advertise.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterAdvertisedIpRange {
    /// User-specified description for the IP range.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// The IP range to advertise. The value must be a CIDR-formatted string.
    #[prost(string, optional, tag = "108280125")]
    pub range: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains a list of routers.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Router resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        RoutersScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterBgp {
    /// User-specified flag to indicate which mode to use for advertisement.
    /// The options are DEFAULT or CUSTOM.
    /// Check the AdvertiseMode enum for the list of possible values.
    #[prost(string, optional, tag = "312134331")]
    pub advertise_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// User-specified list of prefix groups to advertise in custom mode.
    /// This field can only be populated if advertise_mode is CUSTOM and
    /// is advertised to all peers of the router.
    /// These groups will be advertised in addition to any specified prefixes.
    /// Leave this field blank to advertise no custom groups.
    /// Check the AdvertisedGroups enum for the list of possible values.
    #[prost(string, repeated, tag = "21065526")]
    pub advertised_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// User-specified list of individual IP ranges to advertise in custom mode.
    /// This field can only be populated if advertise_mode is CUSTOM and
    /// is advertised to all peers of the router.
    /// These IP ranges will be advertised in addition to any specified groups.
    /// Leave this field blank to advertise no custom IP ranges.
    #[prost(message, repeated, tag = "35449932")]
    pub advertised_ip_ranges: ::prost::alloc::vec::Vec<RouterAdvertisedIpRange>,
    /// Local BGP Autonomous System Number (ASN).
    /// Must be anRFC6996 private ASN, either 16-bit or 32-bit. The
    /// value will be fixed for this router resource. All VPN tunnels that link
    /// to this router will have the same local ASN.
    #[prost(uint32, optional, tag = "96892")]
    pub asn: ::core::option::Option<u32>,
    /// Explicitly specifies a range of valid BGP Identifiers for this Router. It
    /// is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at
    /// least /30, even if the BGP sessions are over IPv6. It must not overlap
    /// with any IPv4 BGP session ranges.
    ///
    /// Other vendors commonly call this "router ID".
    #[prost(string, optional, tag = "501573159")]
    pub identifier_range: ::core::option::Option<::prost::alloc::string::String>,
    /// The interval in seconds between BGP keepalive messages that are
    /// sent to the peer.
    ///
    /// Hold time is three times the interval at which keepalive messages are
    /// sent, and the hold time is the maximum number of seconds allowed to
    /// elapse between successive keepalive messages that BGP receives from a
    /// peer.
    ///
    /// BGP will use the smaller of either the local hold time value or the
    /// peer's hold time value as the hold time for the BGP connection between
    /// the two peers.
    ///
    /// If set, this value must be between 20 and 60. The default is 20.
    #[prost(uint32, optional, tag = "276771516")]
    pub keepalive_interval: ::core::option::Option<u32>,
}
/// Nested message and enum types in `RouterBgp`.
pub mod router_bgp {
    /// User-specified flag to indicate which mode to use for advertisement.
    /// The options are DEFAULT or CUSTOM.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AdvertiseMode {
        /// A value indicating that the enum field is not set.
        UndefinedAdvertiseMode = 0,
        Custom = 388595569,
        Default = 115302945,
    }
    impl AdvertiseMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAdvertiseMode => "UNDEFINED_ADVERTISE_MODE",
                Self::Custom => "CUSTOM",
                Self::Default => "DEFAULT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ADVERTISE_MODE" => Some(Self::UndefinedAdvertiseMode),
                "CUSTOM" => Some(Self::Custom),
                "DEFAULT" => Some(Self::Default),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AdvertisedGroups {
        /// A value indicating that the enum field is not set.
        UndefinedAdvertisedGroups = 0,
        /// Advertise all available subnets (including peer VPC subnets).
        AllSubnets = 3622872,
    }
    impl AdvertisedGroups {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAdvertisedGroups => "UNDEFINED_ADVERTISED_GROUPS",
                Self::AllSubnets => "ALL_SUBNETS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ADVERTISED_GROUPS" => Some(Self::UndefinedAdvertisedGroups),
                "ALL_SUBNETS" => Some(Self::AllSubnets),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterBgpPeer {
    /// User-specified flag to indicate which mode to use for advertisement.
    /// Check the AdvertiseMode enum for the list of possible values.
    #[prost(string, optional, tag = "312134331")]
    pub advertise_mode: ::core::option::Option<::prost::alloc::string::String>,
    /// User-specified list of prefix groups to advertise in custom mode,
    /// which currently supports the following option:
    ///
    /// ```text
    /// - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This
    /// excludes any routes learned for subnets that use
    /// VPC Network Peering.
    /// ```
    ///
    /// Note that this field can only be populated if advertise_mode is CUSTOM
    /// and overrides the list defined for the router (in the "bgp" message).
    /// These groups are advertised in addition to any specified prefixes.
    /// Leave this field blank to advertise no custom groups.
    /// Check the AdvertisedGroups enum for the list of possible values.
    #[prost(string, repeated, tag = "21065526")]
    pub advertised_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// User-specified list of individual IP ranges to advertise in custom mode.
    /// This field can only be populated if advertise_mode is CUSTOM and
    /// overrides the list defined for the router (in the "bgp" message).
    /// These IP ranges are advertised in addition to any specified groups.
    /// Leave this field blank to advertise no custom IP ranges.
    #[prost(message, repeated, tag = "35449932")]
    pub advertised_ip_ranges: ::prost::alloc::vec::Vec<RouterAdvertisedIpRange>,
    /// The priority of routes advertised to this BGP peer. Where there is more
    /// than one matching route of maximum length, the routes with the lowest
    /// priority value win.
    #[prost(uint32, optional, tag = "186486332")]
    pub advertised_route_priority: ::core::option::Option<u32>,
    /// BFD configuration for the BGP peering.
    #[prost(message, optional, tag = "97440")]
    pub bfd: ::core::option::Option<RouterBgpPeerBfd>,
    /// A list of user-defined custom learned route IP address ranges for a BGP
    /// session.
    #[prost(message, repeated, tag = "481363012")]
    pub custom_learned_ip_ranges: ::prost::alloc::vec::Vec<
        RouterBgpPeerCustomLearnedIpRange,
    >,
    /// The user-defined custom learned route priority for a BGP session. This
    /// value is applied to all custom learned route ranges for the session.
    /// You can choose a value from `0` to `65335`. If you don't provide a
    /// value, Google Cloud assigns a priority of `100` to the ranges.
    #[prost(int32, optional, tag = "330412356")]
    pub custom_learned_route_priority: ::core::option::Option<i32>,
    /// The status of the BGP peer connection.
    ///
    /// If set to FALSE, any active session with the peer is terminated and
    /// all associated routing information is removed. If set to TRUE, the
    /// peer connection can be established with routing information. The default
    /// is TRUE.
    /// Check the Enable enum for the list of possible values.
    #[prost(string, optional, tag = "311764355")]
    pub enable: ::core::option::Option<::prost::alloc::string::String>,
    /// Enable IPv4 traffic over BGP Peer. It is enabled by default if
    /// the peerIpAddress is version 4.
    #[prost(bool, optional, tag = "181467937")]
    pub enable_ipv4: ::core::option::Option<bool>,
    /// Enable IPv6 traffic over BGP Peer. It is enabled by default if the
    /// peerIpAddress is version 6.
    #[prost(bool, optional, tag = "181467939")]
    pub enable_ipv6: ::core::option::Option<bool>,
    /// List of export policies applied to this peer, in the order they must be
    /// evaluated. The name must correspond to an existing policy that has
    /// ROUTE_POLICY_TYPE_EXPORT type.
    #[prost(string, repeated, tag = "134084987")]
    pub export_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// List of import policies applied to this peer, in the order they must be
    /// evaluated. The name must correspond to an existing policy that has
    /// ROUTE_POLICY_TYPE_IMPORT type.
    #[prost(string, repeated, tag = "451147946")]
    pub import_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Name of the interface the BGP peer is associated with.
    #[prost(string, optional, tag = "437854673")]
    pub interface_name: ::core::option::Option<::prost::alloc::string::String>,
    /// IP address of the interface inside Google Cloud Platform.
    #[prost(string, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// IPv4 address of the interface inside Google Cloud Platform.
    #[prost(string, optional, tag = "5703377")]
    pub ipv4_nexthop_address: ::core::option::Option<::prost::alloc::string::String>,
    /// IPv6 address of the interface inside Google Cloud Platform.
    #[prost(string, optional, tag = "27968211")]
    pub ipv6_nexthop_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The resource that configures and manages this BGP peer.
    ///
    /// ```text
    /// -  MANAGED_BY_USER is the default value and can be managed by you
    /// or other users
    /// - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed
    /// by Cloud Interconnect, specifically by an InterconnectAttachment of type
    /// PARTNER. Google automatically creates, updates, and deletes this type of
    /// BGP peer when the PARTNER InterconnectAttachment is created, updated,
    /// or deleted.
    /// ```
    ///
    /// Check the ManagementType enum for the list of possible values.
    #[prost(string, optional, tag = "173703606")]
    pub management_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Present if MD5 authentication is enabled for the peering. Must be the
    /// name of one of the entries in the Router.md5_authentication_keys. The
    /// field must comply with RFC1035.
    #[prost(string, optional, tag = "281075345")]
    pub md5_authentication_key_name: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Name of this BGP peer.
    /// The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63
    /// characters long and match the regular expression
    /// `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first character must be a
    /// lowercase letter, and all following characters must be a dash, lowercase
    /// letter, or digit, except the last character, which cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Peer BGP Autonomous System Number (ASN). Each BGP interface may use
    /// a different value.
    #[prost(uint32, optional, tag = "69573151")]
    pub peer_asn: ::core::option::Option<u32>,
    /// IP address of the BGP interface outside Google Cloud Platform.
    #[prost(string, optional, tag = "207735769")]
    pub peer_ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// IPv4 address of the BGP interface outside Google Cloud Platform.
    #[prost(string, optional, tag = "469221774")]
    pub peer_ipv4_nexthop_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// IPv6 address of the BGP interface outside Google Cloud Platform.
    #[prost(string, optional, tag = "491486608")]
    pub peer_ipv6_nexthop_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// URI of the VM instance that is used as third-party router
    /// appliances such as Next Gen Firewalls, Virtual Routers, or Router
    /// Appliances. The VM instance must be located in zones contained in the
    /// same region as this Cloud Router.
    /// The VM instance is the peer side of the BGP session.
    #[prost(string, optional, tag = "468312989")]
    pub router_appliance_instance: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Nested message and enum types in `RouterBgpPeer`.
pub mod router_bgp_peer {
    /// User-specified flag to indicate which mode to use for advertisement.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AdvertiseMode {
        /// A value indicating that the enum field is not set.
        UndefinedAdvertiseMode = 0,
        Custom = 388595569,
        Default = 115302945,
    }
    impl AdvertiseMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAdvertiseMode => "UNDEFINED_ADVERTISE_MODE",
                Self::Custom => "CUSTOM",
                Self::Default => "DEFAULT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ADVERTISE_MODE" => Some(Self::UndefinedAdvertiseMode),
                "CUSTOM" => Some(Self::Custom),
                "DEFAULT" => Some(Self::Default),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AdvertisedGroups {
        /// A value indicating that the enum field is not set.
        UndefinedAdvertisedGroups = 0,
        /// Advertise all available subnets (including peer VPC subnets).
        AllSubnets = 3622872,
    }
    impl AdvertisedGroups {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAdvertisedGroups => "UNDEFINED_ADVERTISED_GROUPS",
                Self::AllSubnets => "ALL_SUBNETS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ADVERTISED_GROUPS" => Some(Self::UndefinedAdvertisedGroups),
                "ALL_SUBNETS" => Some(Self::AllSubnets),
                _ => None,
            }
        }
    }
    /// The status of the BGP peer connection.
    ///
    /// If set to FALSE, any active session with the peer is terminated and
    /// all associated routing information is removed. If set to TRUE, the
    /// peer connection can be established with routing information. The default
    /// is TRUE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Enable {
        /// A value indicating that the enum field is not set.
        UndefinedEnable = 0,
        False = 66658563,
        True = 2583950,
    }
    impl Enable {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedEnable => "UNDEFINED_ENABLE",
                Self::False => "FALSE",
                Self::True => "TRUE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ENABLE" => Some(Self::UndefinedEnable),
                "FALSE" => Some(Self::False),
                "TRUE" => Some(Self::True),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The resource that configures and manages this BGP peer.
    ///
    /// ```text
    /// -  MANAGED_BY_USER is the default value and can be managed by you
    /// or other users
    /// - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed
    /// by Cloud Interconnect, specifically by an InterconnectAttachment of type
    /// PARTNER. Google automatically creates, updates, and deletes this type of
    /// BGP peer when the PARTNER InterconnectAttachment is created, updated,
    /// or deleted.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ManagementType {
        /// A value indicating that the enum field is not set.
        UndefinedManagementType = 0,
        /// The BGP peer is automatically created for PARTNER type
        /// InterconnectAttachment; Google will automatically create/delete
        /// this BGP peer when the PARTNER InterconnectAttachment is
        /// created/deleted, and Google will update the ipAddress and
        /// peerIpAddress when the PARTNER InterconnectAttachment is provisioned.
        /// This type of BGP peer cannot be created or deleted, but can be
        /// modified for all fields except for name, ipAddress and peerIpAddress.
        ManagedByAttachment = 458926411,
        /// Default value, the BGP peer is manually created and managed by user.
        ManagedByUser = 317294067,
    }
    impl ManagementType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedManagementType => "UNDEFINED_MANAGEMENT_TYPE",
                Self::ManagedByAttachment => "MANAGED_BY_ATTACHMENT",
                Self::ManagedByUser => "MANAGED_BY_USER",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MANAGEMENT_TYPE" => Some(Self::UndefinedManagementType),
                "MANAGED_BY_ATTACHMENT" => Some(Self::ManagedByAttachment),
                "MANAGED_BY_USER" => Some(Self::ManagedByUser),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterBgpPeerBfd {
    /// The minimum interval, in milliseconds, between BFD control packets
    /// received from the peer router. The actual value is negotiated between
    /// the two routers and is equal to the greater of this value and the
    /// transmit interval of the other router.
    ///
    /// If set, this value must be between 1000 and 30000.
    ///
    /// The default is 1000.
    #[prost(uint32, optional, tag = "186981614")]
    pub min_receive_interval: ::core::option::Option<u32>,
    /// The minimum interval, in milliseconds, between BFD control packets
    /// transmitted to the peer router. The actual value is negotiated between
    /// the two routers and is equal to the greater of this value and the
    /// corresponding receive interval of the other router.
    ///
    /// If set, this value must be between 1000 and 30000.
    ///
    /// The default is 1000.
    #[prost(uint32, optional, tag = "523282631")]
    pub min_transmit_interval: ::core::option::Option<u32>,
    /// The number of consecutive BFD packets that must be missed
    /// before BFD declares that a peer is unavailable.
    ///
    /// If set, the value must be a value between 5 and 16.
    ///
    /// The default is 5.
    #[prost(uint32, optional, tag = "191331777")]
    pub multiplier: ::core::option::Option<u32>,
    /// The BFD session initialization mode for this BGP peer.
    ///
    /// If set to ACTIVE, the Cloud Router will initiate the BFD session for
    /// this BGP peer. If set to PASSIVE, the Cloud Router will wait for the
    /// peer router to initiate the BFD session for this BGP peer. If set to
    /// DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
    /// Check the SessionInitializationMode enum for the list of possible values.
    #[prost(string, optional, tag = "105957049")]
    pub session_initialization_mode: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
}
/// Nested message and enum types in `RouterBgpPeerBfd`.
pub mod router_bgp_peer_bfd {
    /// The BFD session initialization mode for this BGP peer.
    ///
    /// If set to ACTIVE, the Cloud Router will initiate the BFD session for
    /// this BGP peer. If set to PASSIVE, the Cloud Router will wait for the
    /// peer router to initiate the BFD session for this BGP peer. If set to
    /// DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SessionInitializationMode {
        /// A value indicating that the enum field is not set.
        UndefinedSessionInitializationMode = 0,
        Active = 314733318,
        Disabled = 516696700,
        Passive = 462813959,
    }
    impl SessionInitializationMode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSessionInitializationMode => {
                    "UNDEFINED_SESSION_INITIALIZATION_MODE"
                }
                Self::Active => "ACTIVE",
                Self::Disabled => "DISABLED",
                Self::Passive => "PASSIVE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SESSION_INITIALIZATION_MODE" => {
                    Some(Self::UndefinedSessionInitializationMode)
                }
                "ACTIVE" => Some(Self::Active),
                "DISABLED" => Some(Self::Disabled),
                "PASSIVE" => Some(Self::Passive),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterBgpPeerCustomLearnedIpRange {
    /// The custom learned route IP address range. Must be a valid
    /// CIDR-formatted prefix. If an IP address is provided without a subnet
    /// mask, it is interpreted as, for IPv4, a `/32` singular IP address
    /// range, and, for IPv6, `/128`.
    #[prost(string, optional, tag = "108280125")]
    pub range: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterInterface {
    /// IP address and range of the interface.
    ///
    /// ```text
    /// - For Internet Protocol version 4 (IPv4), the IP range must be in theRFC3927 link-local IP address space. The value must
    /// be a CIDR-formatted string, for example, 169.254.0.1/30.
    /// Note: Do not truncate the IP address, as it represents the IP address of
    /// the interface.
    /// - For Internet Protocol version 6 (IPv6), the value
    /// must be a unique local address (ULA) range from fdff:1::/64
    /// with a mask length of 126 or less. This value should be a CIDR-formatted
    /// string, for example, fdff:1::1/112. Within the router's
    /// VPC, this IPv6 prefix will be reserved exclusively for this connection
    /// and cannot be used for any other purpose.
    /// ```
    #[prost(string, optional, tag = "145092645")]
    pub ip_range: ::core::option::Option<::prost::alloc::string::String>,
    /// IP version of this interface.
    /// Check the IpVersion enum for the list of possible values.
    #[prost(string, optional, tag = "294959552")]
    pub ip_version: ::core::option::Option<::prost::alloc::string::String>,
    /// URI of the linked Interconnect attachment. It must be in the same region
    /// as the router. Each interface can have one linked resource, which can be
    /// a VPN tunnel, an Interconnect attachment, or a subnetwork.
    #[prost(string, optional, tag = "501085518")]
    pub linked_interconnect_attachment: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// URI of the linked VPN tunnel, which must be in the same region as the
    /// router. Each interface can have one linked resource, which can be
    /// a VPN tunnel, an Interconnect attachment, or a subnetwork.
    #[prost(string, optional, tag = "352296953")]
    pub linked_vpn_tunnel: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The resource that configures and manages this interface.
    ///
    /// ```text
    /// - MANAGED_BY_USER is the default value and can be managed directly
    /// by users.
    /// - MANAGED_BY_ATTACHMENT is an interface that is configured and
    /// managed by Cloud Interconnect, specifically, by an InterconnectAttachment
    /// of type PARTNER. Google automatically creates, updates, and deletes
    /// this type of interface when the PARTNER InterconnectAttachment is
    /// created, updated, or deleted.
    /// ```
    ///
    /// Check the ManagementType enum for the list of possible values.
    #[prost(string, optional, tag = "173703606")]
    pub management_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of this interface entry.
    /// The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63
    /// characters long and match the regular expression
    /// `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first character must be a
    /// lowercase letter, and all following characters must be a dash, lowercase
    /// letter, or digit, except the last character, which cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The regional private internal IP address that is used to establish
    /// BGP sessions to a VM instance acting as a third-party
    /// Router Appliance, such as a Next Gen Firewall, a Virtual Router, or
    /// an SD-WAN VM.
    #[prost(string, optional, tag = "100854040")]
    pub private_ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the interface that will be redundant with the current interface
    /// you are creating. The redundantInterface must belong to the same Cloud
    /// Router as the interface here. To establish the BGP session to a Router
    /// Appliance VM, you must create two BGP peers. The two BGP peers must be
    /// attached to two separate interfaces that are redundant with each other.
    /// The redundant_interface must be 1-63 characters long, and comply withRFC1035. Specifically, the redundant_interface must
    /// be 1-63 characters long and match the regular expression
    /// `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first character must be a
    /// lowercase letter, and all following characters must be a dash, lowercase
    /// letter, or digit, except the last character, which cannot be a dash.
    #[prost(string, optional, tag = "523187303")]
    pub redundant_interface: ::core::option::Option<::prost::alloc::string::String>,
    /// The URI of the subnetwork resource that this interface belongs to, which
    /// must be in the same region as the Cloud Router.
    /// When you establish a BGP session to a VM instance using this interface,
    /// the VM instance must belong to the same subnetwork as the subnetwork
    /// specified here.
    #[prost(string, optional, tag = "307827694")]
    pub subnetwork: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `RouterInterface`.
pub mod router_interface {
    /// IP version of this interface.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum IpVersion {
        /// A value indicating that the enum field is not set.
        UndefinedIpVersion = 0,
        Ipv4 = 2254341,
        Ipv6 = 2254343,
    }
    impl IpVersion {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpVersion => "UNDEFINED_IP_VERSION",
                Self::Ipv4 => "IPV4",
                Self::Ipv6 => "IPV6",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IP_VERSION" => Some(Self::UndefinedIpVersion),
                "IPV4" => Some(Self::Ipv4),
                "IPV6" => Some(Self::Ipv6),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The resource that configures and manages this interface.
    ///
    /// ```text
    /// - MANAGED_BY_USER is the default value and can be managed directly
    /// by users.
    /// - MANAGED_BY_ATTACHMENT is an interface that is configured and
    /// managed by Cloud Interconnect, specifically, by an InterconnectAttachment
    /// of type PARTNER. Google automatically creates, updates, and deletes
    /// this type of interface when the PARTNER InterconnectAttachment is
    /// created, updated, or deleted.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ManagementType {
        /// A value indicating that the enum field is not set.
        UndefinedManagementType = 0,
        /// The interface is automatically created for PARTNER type
        /// InterconnectAttachment, Google will automatically create/update/delete
        /// this interface when the PARTNER InterconnectAttachment is
        /// created/provisioned/deleted.
        /// This type of interface cannot be manually managed by user.
        ManagedByAttachment = 458926411,
        /// Default value, the interface is manually created and managed by user.
        ManagedByUser = 317294067,
    }
    impl ManagementType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedManagementType => "UNDEFINED_MANAGEMENT_TYPE",
                Self::ManagedByAttachment => "MANAGED_BY_ATTACHMENT",
                Self::ManagedByUser => "MANAGED_BY_USER",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MANAGEMENT_TYPE" => Some(Self::UndefinedManagementType),
                "MANAGED_BY_ATTACHMENT" => Some(Self::ManagedByAttachment),
                "MANAGED_BY_USER" => Some(Self::ManagedByUser),
                _ => None,
            }
        }
    }
}
/// Contains a list of Router resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Router resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Router>,
    /// Output only. \[Output Only\] Type of resource. Always compute#router for
    /// routers.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterMd5AuthenticationKey {
    /// \[Input only\] Value of the key.
    ///
    /// For patch and update calls, it can be skipped to
    /// copy the value from the previous configuration. This is allowed if the
    /// key with the same name existed before the operation. Maximum length is 80
    /// characters. Can only contain printable ASCII characters.
    #[prost(string, optional, tag = "106079")]
    pub key: ::core::option::Option<::prost::alloc::string::String>,
    /// Name used to identify the key.
    ///
    /// Must be unique within a router. Must be referenced by exactly
    /// one bgpPeer. Must comply withRFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a Nat resource. It enables the VMs within the specified
/// subnetworks to access Internet without external IP addresses. It specifies
/// a list of subnetworks (and the ranges within) that want to use NAT.
/// Customers can also provide the external IPs that would be used for NAT. GCP
/// would auto-allocate ephemeral IPs if no external IPs are provided.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterNat {
    /// The network tier to use when automatically reserving NAT IP addresses.
    /// Must be one of: PREMIUM, STANDARD.
    /// If not specified, then the current
    /// project-level default tier is used.
    /// Check the AutoNetworkTier enum for the list of possible values.
    #[prost(string, optional, tag = "269770211")]
    pub auto_network_tier: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of URLs of the IP resources to be drained. These IPs
    /// must be valid static external IPs that have been assigned to the NAT.
    /// These IPs should be used for updating/patching a NAT only.
    #[prost(string, repeated, tag = "504078535")]
    pub drain_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Enable Dynamic Port Allocation.
    ///
    /// If not specified, it is disabled by default.
    ///
    /// If set to true,
    ///
    /// ```text
    /// - Dynamic Port Allocation will be enabled on this NAT
    /// config.
    /// - enableEndpointIndependentMapping cannot be set to true.
    /// - If minPorts is set, minPortsPerVm must be set to a
    /// power of two greater than or equal to 32. If minPortsPerVm is not set, a
    /// minimum of 32 ports will be allocated to a VM from this NAT
    /// config.
    /// ```
    #[prost(bool, optional, tag = "532106402")]
    pub enable_dynamic_port_allocation: ::core::option::Option<bool>,
    #[prost(bool, optional, tag = "259441819")]
    pub enable_endpoint_independent_mapping: ::core::option::Option<bool>,
    /// List of NAT-ted endpoint types supported by the Nat Gateway. If the list
    /// is empty, then it will be equivalent to include ENDPOINT_TYPE_VM
    /// Check the EndpointTypes enum for the list of possible values.
    #[prost(string, repeated, tag = "502633807")]
    pub endpoint_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
    #[prost(int32, optional, tag = "3647562")]
    pub icmp_idle_timeout_sec: ::core::option::Option<i32>,
    /// Configure logging on this NAT.
    #[prost(message, optional, tag = "351299741")]
    pub log_config: ::core::option::Option<RouterNatLogConfig>,
    /// Maximum number of ports allocated to a VM from this NAT config when
    /// Dynamic Port Allocation is enabled.
    ///
    /// If Dynamic Port Allocation is not enabled, this field has no effect.
    ///
    /// If Dynamic Port Allocation is enabled, and this field is set, it must be
    /// set to a power of two greater than minPortsPerVm, or 64 if minPortsPerVm
    /// is not set.
    ///
    /// If Dynamic Port Allocation is enabled and this field is not set,
    /// a maximum of 65536 ports will be allocated to a VM from this NAT
    /// config.
    #[prost(int32, optional, tag = "250062049")]
    pub max_ports_per_vm: ::core::option::Option<i32>,
    /// Minimum number of ports allocated to a VM from this NAT config. If not
    /// set, a default number of ports is allocated to a VM. This is rounded
    /// up to the nearest power of 2. For example, if the value of this field is
    /// 50, at least 64 ports are allocated to a VM.
    #[prost(int32, optional, tag = "186193587")]
    pub min_ports_per_vm: ::core::option::Option<i32>,
    /// Unique name of this Nat service.
    /// The name must be 1-63 characters long and comply withRFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// List of Subnetwork resources whose traffic should be translated by NAT64
    /// Gateway. It is used only when LIST_OF_IPV6_SUBNETWORKS is
    /// selected for the SubnetworkIpRangeToNat64Option above.
    #[prost(message, repeated, tag = "63585701")]
    pub nat64_subnetworks: ::prost::alloc::vec::Vec<RouterNatSubnetworkToNat64>,
    /// Specify the NatIpAllocateOption, which can take one of the following
    /// values:
    ///
    /// ```text
    /// - MANUAL_ONLY: Uses only Nat IP addresses provided by
    /// customers. When there are not enough specified Nat IPs, the Nat service
    /// fails for new VMs.
    /// - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers
    /// can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should
    /// be empty.
    /// ```
    ///
    /// Check the NatIpAllocateOption enum for the list of possible values.
    #[prost(string, optional, tag = "429726845")]
    pub nat_ip_allocate_option: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of URLs of the IP resources used for this Nat service. These IP
    /// addresses must be valid static external IP addresses assigned to the
    /// project.
    #[prost(string, repeated, tag = "117635086")]
    pub nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A list of rules associated with this NAT.
    #[prost(message, repeated, tag = "108873975")]
    pub rules: ::prost::alloc::vec::Vec<RouterNatRule>,
    /// Specify the Nat option, which can take one of the following values:
    ///
    /// ```text
    /// - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every
    /// Subnetwork are allowed to Nat.
    /// - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges
    /// in every Subnetwork are allowed to Nat.
    /// - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat
    /// (specified in the field subnetwork below)
    /// ```
    ///
    /// The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED.
    /// Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there
    /// should not be any other Router.Nat section in any Router for this network
    /// in this region.
    /// Check the SourceSubnetworkIpRangesToNat enum for the list of possible values.
    #[prost(string, optional, tag = "252213211")]
    pub source_subnetwork_ip_ranges_to_nat: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specify the Nat option for NAT64, which can take one of the following
    /// values:
    ///
    /// ```text
    /// - ALL_IPV6_SUBNETWORKS: All of the IP ranges in
    /// every Subnetwork are allowed to Nat.
    /// - LIST_OF_IPV6_SUBNETWORKS: A list of Subnetworks are allowed to Nat
    /// (specified in the field nat64_subnetwork below)
    /// ```
    ///
    /// The default is NAT64_OPTION_UNSPECIFIED.
    /// Note that if this field contains NAT64_ALL_V6_SUBNETWORKS no other
    /// Router.Nat section in this region can also enable NAT64 for any
    /// Subnetworks in this network. Other Router.Nat sections can still be
    /// present to enable NAT44 only.
    /// Check the SourceSubnetworkIpRangesToNat64 enum for the list of possible values.
    #[prost(string, optional, tag = "248116185")]
    pub source_subnetwork_ip_ranges_to_nat64: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// A list of Subnetwork resources whose traffic should be translated by NAT
    /// Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the
    /// SubnetworkIpRangeToNatOption above.
    #[prost(message, repeated, tag = "415853125")]
    pub subnetworks: ::prost::alloc::vec::Vec<RouterNatSubnetworkToNat>,
    /// Timeout (in seconds) for TCP established connections. Defaults to 1200s
    /// if not set.
    #[prost(int32, optional, tag = "223098349")]
    pub tcp_established_idle_timeout_sec: ::core::option::Option<i32>,
    /// Timeout (in seconds) for TCP connections that are in TIME_WAIT state.
    /// Defaults to 120s if not set.
    #[prost(int32, optional, tag = "513596925")]
    pub tcp_time_wait_timeout_sec: ::core::option::Option<i32>,
    /// Timeout (in seconds) for TCP transitory connections. Defaults to 30s if
    /// not set.
    #[prost(int32, optional, tag = "205028774")]
    pub tcp_transitory_idle_timeout_sec: ::core::option::Option<i32>,
    /// Indicates whether this NAT is used for public or private IP
    /// translation. If unspecified, it defaults to PUBLIC.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
    /// Timeout (in seconds) for UDP connections. Defaults to 30s if not set.
    #[prost(int32, optional, tag = "64919878")]
    pub udp_idle_timeout_sec: ::core::option::Option<i32>,
}
/// Nested message and enum types in `RouterNat`.
pub mod router_nat {
    /// The network tier to use when automatically reserving NAT IP addresses.
    /// Must be one of: PREMIUM, STANDARD.
    /// If not specified, then the current
    /// project-level default tier is used.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AutoNetworkTier {
        /// A value indicating that the enum field is not set.
        UndefinedAutoNetworkTier = 0,
        /// Public internet quality with fixed bandwidth.
        FixedStandard = 310464328,
        /// High quality, Google-grade network tier, support for all networking
        /// products.
        Premium = 399530551,
        /// Public internet quality, only limited support for other networking
        /// products.
        Standard = 484642493,
        /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
        /// is expired or not configured.
        StandardOverridesFixedStandard = 465847234,
    }
    impl AutoNetworkTier {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAutoNetworkTier => "UNDEFINED_AUTO_NETWORK_TIER",
                Self::FixedStandard => "FIXED_STANDARD",
                Self::Premium => "PREMIUM",
                Self::Standard => "STANDARD",
                Self::StandardOverridesFixedStandard => {
                    "STANDARD_OVERRIDES_FIXED_STANDARD"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AUTO_NETWORK_TIER" => Some(Self::UndefinedAutoNetworkTier),
                "FIXED_STANDARD" => Some(Self::FixedStandard),
                "PREMIUM" => Some(Self::Premium),
                "STANDARD" => Some(Self::Standard),
                "STANDARD_OVERRIDES_FIXED_STANDARD" => {
                    Some(Self::StandardOverridesFixedStandard)
                }
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum EndpointTypes {
        /// A value indicating that the enum field is not set.
        UndefinedEndpointTypes = 0,
        /// This is used for regional Application Load Balancers (internal and
        /// external) and regional proxy Network Load Balancers (internal and
        /// external) endpoints.
        EndpointTypeManagedProxyLb = 439196930,
        /// This is used for Secure Web Gateway endpoints.
        EndpointTypeSwg = 159344456,
        /// This is the default.
        EndpointTypeVm = 57095474,
    }
    impl EndpointTypes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedEndpointTypes => "UNDEFINED_ENDPOINT_TYPES",
                Self::EndpointTypeManagedProxyLb => "ENDPOINT_TYPE_MANAGED_PROXY_LB",
                Self::EndpointTypeSwg => "ENDPOINT_TYPE_SWG",
                Self::EndpointTypeVm => "ENDPOINT_TYPE_VM",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ENDPOINT_TYPES" => Some(Self::UndefinedEndpointTypes),
                "ENDPOINT_TYPE_MANAGED_PROXY_LB" => {
                    Some(Self::EndpointTypeManagedProxyLb)
                }
                "ENDPOINT_TYPE_SWG" => Some(Self::EndpointTypeSwg),
                "ENDPOINT_TYPE_VM" => Some(Self::EndpointTypeVm),
                _ => None,
            }
        }
    }
    /// Specify the NatIpAllocateOption, which can take one of the following
    /// values:
    ///
    /// ```text
    /// - MANUAL_ONLY: Uses only Nat IP addresses provided by
    /// customers. When there are not enough specified Nat IPs, the Nat service
    /// fails for new VMs.
    /// - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers
    /// can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should
    /// be empty.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NatIpAllocateOption {
        /// A value indicating that the enum field is not set.
        UndefinedNatIpAllocateOption = 0,
        /// Nat IPs are allocated by GCP; customers can not specify any Nat IPs.
        AutoOnly = 182333500,
        /// Only use Nat IPs provided by customers. When specified Nat IPs are not
        /// enough then the Nat service fails for new VMs.
        ManualOnly = 261251205,
    }
    impl NatIpAllocateOption {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNatIpAllocateOption => "UNDEFINED_NAT_IP_ALLOCATE_OPTION",
                Self::AutoOnly => "AUTO_ONLY",
                Self::ManualOnly => "MANUAL_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NAT_IP_ALLOCATE_OPTION" => {
                    Some(Self::UndefinedNatIpAllocateOption)
                }
                "AUTO_ONLY" => Some(Self::AutoOnly),
                "MANUAL_ONLY" => Some(Self::ManualOnly),
                _ => None,
            }
        }
    }
    /// Specify the Nat option, which can take one of the following values:
    ///
    /// ```text
    /// - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every
    /// Subnetwork are allowed to Nat.
    /// - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges
    /// in every Subnetwork are allowed to Nat.
    /// - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat
    /// (specified in the field subnetwork below)
    /// ```
    ///
    /// The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED.
    /// Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there
    /// should not be any other Router.Nat section in any Router for this network
    /// in this region.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SourceSubnetworkIpRangesToNat {
        /// A value indicating that the enum field is not set.
        UndefinedSourceSubnetworkIpRangesToNat = 0,
        /// All the IP ranges in every Subnetwork are allowed to Nat.
        AllSubnetworksAllIpRanges = 179964376,
        /// All the primary IP ranges in every Subnetwork are allowed to Nat.
        AllSubnetworksAllPrimaryIpRanges = 185573819,
        /// A list of Subnetworks are allowed to Nat (specified in the field
        /// subnetwork below)
        ListOfSubnetworks = 517542270,
    }
    impl SourceSubnetworkIpRangesToNat {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSourceSubnetworkIpRangesToNat => {
                    "UNDEFINED_SOURCE_SUBNETWORK_IP_RANGES_TO_NAT"
                }
                Self::AllSubnetworksAllIpRanges => "ALL_SUBNETWORKS_ALL_IP_RANGES",
                Self::AllSubnetworksAllPrimaryIpRanges => {
                    "ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES"
                }
                Self::ListOfSubnetworks => "LIST_OF_SUBNETWORKS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SOURCE_SUBNETWORK_IP_RANGES_TO_NAT" => {
                    Some(Self::UndefinedSourceSubnetworkIpRangesToNat)
                }
                "ALL_SUBNETWORKS_ALL_IP_RANGES" => Some(Self::AllSubnetworksAllIpRanges),
                "ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES" => {
                    Some(Self::AllSubnetworksAllPrimaryIpRanges)
                }
                "LIST_OF_SUBNETWORKS" => Some(Self::ListOfSubnetworks),
                _ => None,
            }
        }
    }
    /// Specify the Nat option for NAT64, which can take one of the following
    /// values:
    ///
    /// ```text
    /// - ALL_IPV6_SUBNETWORKS: All of the IP ranges in
    /// every Subnetwork are allowed to Nat.
    /// - LIST_OF_IPV6_SUBNETWORKS: A list of Subnetworks are allowed to Nat
    /// (specified in the field nat64_subnetwork below)
    /// ```
    ///
    /// The default is NAT64_OPTION_UNSPECIFIED.
    /// Note that if this field contains NAT64_ALL_V6_SUBNETWORKS no other
    /// Router.Nat section in this region can also enable NAT64 for any
    /// Subnetworks in this network. Other Router.Nat sections can still be
    /// present to enable NAT44 only.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SourceSubnetworkIpRangesToNat64 {
        /// A value indicating that the enum field is not set.
        UndefinedSourceSubnetworkIpRangesToNat64 = 0,
        /// NAT64 is enabled for all the IPv6 subnet ranges.
        /// In dual stack subnets, NAT64 will only be enabled for IPv6-only VMs.
        AllIpv6Subnetworks = 341632747,
        /// NAT64 is enabled for a list of IPv6 subnet ranges.
        /// In dual stack subnets, NAT64 will only be enabled for IPv6-only VMs.
        /// If this option is used, the nat64_subnetworks field must be specified.
        ListOfIpv6Subnetworks = 521079860,
    }
    impl SourceSubnetworkIpRangesToNat64 {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSourceSubnetworkIpRangesToNat64 => {
                    "UNDEFINED_SOURCE_SUBNETWORK_IP_RANGES_TO_NAT64"
                }
                Self::AllIpv6Subnetworks => "ALL_IPV6_SUBNETWORKS",
                Self::ListOfIpv6Subnetworks => "LIST_OF_IPV6_SUBNETWORKS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SOURCE_SUBNETWORK_IP_RANGES_TO_NAT64" => {
                    Some(Self::UndefinedSourceSubnetworkIpRangesToNat64)
                }
                "ALL_IPV6_SUBNETWORKS" => Some(Self::AllIpv6Subnetworks),
                "LIST_OF_IPV6_SUBNETWORKS" => Some(Self::ListOfIpv6Subnetworks),
                _ => None,
            }
        }
    }
    /// Indicates whether this NAT is used for public or private IP
    /// translation. If unspecified, it defaults to PUBLIC.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// NAT used for private IP translation.
        Private = 403485027,
        /// NAT used for public IP translation.
        /// This is the default.
        Public = 223389289,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Private => "PRIVATE",
                Self::Public => "PUBLIC",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "PRIVATE" => Some(Self::Private),
                "PUBLIC" => Some(Self::Public),
                _ => None,
            }
        }
    }
}
/// Configuration of logging on a NAT.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterNatLogConfig {
    /// Indicates whether or not to export logs. This is false by default.
    #[prost(bool, optional, tag = "311764355")]
    pub enable: ::core::option::Option<bool>,
    /// Specify the desired filtering of logs on this NAT. If unspecified,
    /// logs are exported for all connections handled by this NAT.
    /// This option can take one of the following values:
    ///
    /// ```text
    /// - ERRORS_ONLY: Export logs only for connection failures.
    /// - TRANSLATIONS_ONLY: Export logs only for successful
    /// connections.
    /// - ALL: Export logs for all connections, successful and
    /// unsuccessful.
    /// ```
    ///
    /// Check the Filter enum for the list of possible values.
    #[prost(string, optional, tag = "336120696")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `RouterNatLogConfig`.
pub mod router_nat_log_config {
    /// Specify the desired filtering of logs on this NAT. If unspecified,
    /// logs are exported for all connections handled by this NAT.
    /// This option can take one of the following values:
    ///
    /// ```text
    /// - ERRORS_ONLY: Export logs only for connection failures.
    /// - TRANSLATIONS_ONLY: Export logs only for successful
    /// connections.
    /// - ALL: Export logs for all connections, successful and
    /// unsuccessful.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Filter {
        /// A value indicating that the enum field is not set.
        UndefinedFilter = 0,
        /// Export logs for all (successful and unsuccessful) connections.
        All = 64897,
        /// Export logs for connection failures only.
        ErrorsOnly = 307484672,
        /// Export logs for successful connections only.
        TranslationsOnly = 357212649,
    }
    impl Filter {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedFilter => "UNDEFINED_FILTER",
                Self::All => "ALL",
                Self::ErrorsOnly => "ERRORS_ONLY",
                Self::TranslationsOnly => "TRANSLATIONS_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_FILTER" => Some(Self::UndefinedFilter),
                "ALL" => Some(Self::All),
                "ERRORS_ONLY" => Some(Self::ErrorsOnly),
                "TRANSLATIONS_ONLY" => Some(Self::TranslationsOnly),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterNatRule {
    /// The action to be enforced for traffic that matches this rule.
    #[prost(message, optional, tag = "187661878")]
    pub action: ::core::option::Option<RouterNatRuleAction>,
    /// An optional description of this rule.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// CEL expression that specifies the match condition that egress traffic
    /// from a VM is evaluated against. If it evaluates to true, the
    /// corresponding `action` is enforced.
    ///
    /// The following examples are valid match expressions for public NAT:
    ///
    /// `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip,       '2.2.0.0/16')`
    ///
    /// `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'`
    ///
    /// The following example is a valid match expression for private NAT:
    ///
    /// `nexthop.hub ==  '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'`
    #[prost(string, optional, tag = "103668165")]
    pub r#match: ::core::option::Option<::prost::alloc::string::String>,
    /// An integer uniquely identifying a rule in the list. The rule number
    /// must be a positive value between 0 and 65000, and
    /// must be unique among rules within a NAT.
    #[prost(uint32, optional, tag = "535211500")]
    pub rule_number: ::core::option::Option<u32>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterNatRuleAction {
    /// A list of URLs of the IP resources used for this NAT rule. These IP
    /// addresses must be valid static external IP addresses assigned to the
    /// project.
    /// This field is used for public NAT.
    #[prost(string, repeated, tag = "210378229")]
    pub source_nat_active_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A list of URLs of the subnetworks used as source ranges for this
    /// NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT.
    /// This field is used for private NAT.
    #[prost(string, repeated, tag = "190556269")]
    pub source_nat_active_ranges: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// A list of URLs of the IP resources to be drained. These IPs
    /// must be valid static external IPs that have been assigned to the NAT.
    /// These IPs should be used for updating/patching a NAT rule only.
    /// This field is used for public NAT.
    #[prost(string, repeated, tag = "340812451")]
    pub source_nat_drain_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A list of URLs of subnetworks representing source ranges to be
    /// drained. This is only supported on patch/update, and these
    /// subnetworks must have previously been used as active ranges in this
    /// NAT Rule.
    /// This field is used for private NAT.
    #[prost(string, repeated, tag = "84802815")]
    pub source_nat_drain_ranges: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
}
/// Defines the IP ranges that want to use NAT for a subnetwork.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterNatSubnetworkToNat {
    /// URL for the subnetwork resource that will use NAT.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of the secondary ranges of the Subnetwork that are allowed to
    /// use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES"
    /// is one of the values in source_ip_ranges_to_nat.
    #[prost(string, repeated, tag = "264315097")]
    pub secondary_ip_range_names: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Specify the options for NAT ranges in the Subnetwork. All
    /// options of a single value are valid except
    /// NAT_IP_RANGE_OPTION_UNSPECIFIED.
    /// The only valid option with multiple values is: \["PRIMARY_IP_RANGE",
    /// "LIST_OF_SECONDARY_IP_RANGES"\]
    /// Default: \[ALL_IP_RANGES\]
    /// Check the SourceIpRangesToNat enum for the list of possible values.
    #[prost(string, repeated, tag = "388310386")]
    pub source_ip_ranges_to_nat: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
}
/// Nested message and enum types in `RouterNatSubnetworkToNat`.
pub mod router_nat_subnetwork_to_nat {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SourceIpRangesToNat {
        /// A value indicating that the enum field is not set.
        UndefinedSourceIpRangesToNat = 0,
        /// The primary and all the secondary ranges are allowed to Nat.
        AllIpRanges = 35608496,
        /// A list of secondary ranges are allowed to Nat.
        ListOfSecondaryIpRanges = 192289308,
        /// The primary range is allowed to Nat.
        PrimaryIpRange = 297109954,
    }
    impl SourceIpRangesToNat {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSourceIpRangesToNat => "UNDEFINED_SOURCE_IP_RANGES_TO_NAT",
                Self::AllIpRanges => "ALL_IP_RANGES",
                Self::ListOfSecondaryIpRanges => "LIST_OF_SECONDARY_IP_RANGES",
                Self::PrimaryIpRange => "PRIMARY_IP_RANGE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SOURCE_IP_RANGES_TO_NAT" => {
                    Some(Self::UndefinedSourceIpRangesToNat)
                }
                "ALL_IP_RANGES" => Some(Self::AllIpRanges),
                "LIST_OF_SECONDARY_IP_RANGES" => Some(Self::ListOfSecondaryIpRanges),
                "PRIMARY_IP_RANGE" => Some(Self::PrimaryIpRange),
                _ => None,
            }
        }
    }
}
/// Specifies a subnetwork to enable NAT64.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterNatSubnetworkToNat64 {
    /// URL for the subnetwork resource that will use NAT64.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Additional router parameters.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterParams {
    /// Tag keys/values directly bound to this resource.
    /// The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    /// * Inconsistent format is not supported. For instance:
    ///   {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterStatus {
    /// A list of the best dynamic routes for this Cloud Router's Virtual Private
    /// Cloud (VPC) network in the same region as this Cloud Router.
    ///
    /// Lists all of the best routes per prefix that are programmed into this
    /// region's VPC data plane.
    ///
    /// When global dynamic routing mode is turned on in the VPC network, this list
    /// can include cross-region dynamic routes from Cloud Routers in other
    /// regions.
    #[prost(message, repeated, tag = "395826693")]
    pub best_routes: ::prost::alloc::vec::Vec<Route>,
    /// A list of the best BGP routes learned by this Cloud Router.
    ///
    /// It is possible that routes listed might not be programmed into the data
    /// plane, if the Google Cloud control plane finds a more optimal route for a
    /// prefix than a route learned by this Cloud Router.
    #[prost(message, repeated, tag = "119389689")]
    pub best_routes_for_router: ::prost::alloc::vec::Vec<Route>,
    #[prost(message, repeated, tag = "218459131")]
    pub bgp_peer_status: ::prost::alloc::vec::Vec<RouterStatusBgpPeerStatus>,
    #[prost(message, repeated, tag = "63098064")]
    pub nat_status: ::prost::alloc::vec::Vec<RouterStatusNatStatus>,
    /// URI of the network to which this router belongs.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterStatusBgpPeerStatus {
    /// Routes that were advertised to the remote BGP peer
    #[prost(message, repeated, tag = "333393068")]
    pub advertised_routes: ::prost::alloc::vec::Vec<Route>,
    #[prost(message, optional, tag = "395631729")]
    pub bfd_status: ::core::option::Option<BfdStatus>,
    /// Output only. Enable IPv4 traffic over BGP Peer.
    /// It is enabled by default if the peerIpAddress is version 4.
    #[prost(bool, optional, tag = "181467937")]
    pub enable_ipv4: ::core::option::Option<bool>,
    /// Output only. Enable IPv6 traffic over BGP Peer.
    /// It is enabled by default if the peerIpAddress is version 6.
    #[prost(bool, optional, tag = "181467939")]
    pub enable_ipv6: ::core::option::Option<bool>,
    /// Output only. IP address of the local BGP interface.
    #[prost(string, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. IPv4 address of the local BGP interface.
    #[prost(string, optional, tag = "5703377")]
    pub ipv4_nexthop_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. IPv6 address of the local BGP interface.
    #[prost(string, optional, tag = "27968211")]
    pub ipv6_nexthop_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. URL of the VPN tunnel that this BGP peer controls.
    #[prost(string, optional, tag = "352296953")]
    pub linked_vpn_tunnel: ::core::option::Option<::prost::alloc::string::String>,
    /// Informs whether MD5 authentication is enabled on this BGP peer.
    #[prost(bool, optional, tag = "451152075")]
    pub md5_auth_enabled: ::core::option::Option<bool>,
    /// Output only. Name of this BGP peer. Unique within the Routers resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Number of routes learned from the remote BGP Peer.
    #[prost(uint32, optional, tag = "135457535")]
    pub num_learned_routes: ::core::option::Option<u32>,
    /// Output only. IP address of the remote BGP interface.
    #[prost(string, optional, tag = "207735769")]
    pub peer_ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. IPv4 address of the remote BGP interface.
    #[prost(string, optional, tag = "469221774")]
    pub peer_ipv4_nexthop_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. IPv6 address of the remote BGP interface.
    #[prost(string, optional, tag = "491486608")]
    pub peer_ipv6_nexthop_address: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output only\] URI of the VM instance that is used as third-party router
    /// appliances such as Next Gen Firewalls, Virtual Routers, or Router
    /// Appliances.
    /// The VM instance is the peer side of the BGP session.
    #[prost(string, optional, tag = "468312989")]
    pub router_appliance_instance: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. The state of the BGP session. For a list of possible values for this
    /// field, seeBGP session states.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Status of the BGP peer: {UP, DOWN}
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates why particular status was returned.
    /// Check the StatusReason enum for the list of possible values.
    #[prost(string, optional, tag = "342706993")]
    pub status_reason: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Time this session has been up.
    /// Format:
    /// 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds
    #[prost(string, optional, tag = "235379688")]
    pub uptime: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Time this session has been up, in seconds.
    /// Format:
    /// 145
    #[prost(string, optional, tag = "104736040")]
    pub uptime_seconds: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `RouterStatusBgpPeerStatus`.
pub mod router_status_bgp_peer_status {
    /// Output only. Status of the BGP peer: {UP, DOWN}
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Down = 2104482,
        Unknown = 433141802,
        Up = 2715,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Down => "DOWN",
                Self::Unknown => "UNKNOWN",
                Self::Up => "UP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "DOWN" => Some(Self::Down),
                "UNKNOWN" => Some(Self::Unknown),
                "UP" => Some(Self::Up),
                _ => None,
            }
        }
    }
    /// Indicates why particular status was returned.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StatusReason {
        /// A value indicating that the enum field is not set.
        UndefinedStatusReason = 0,
        /// BGP peer disabled because it requires IPv4 but the underlying
        /// connection is IPv6-only.
        Ipv4PeerOnIpv6OnlyConnection = 435936662,
        /// BGP peer disabled because it requires IPv6 but the underlying
        /// connection is IPv4-only.
        Ipv6PeerOnIpv4OnlyConnection = 436304082,
        /// Indicates internal problems with configuration of MD5 authentication.
        /// This particular reason can only be returned when md5AuthEnabled is true
        /// and status is DOWN.
        Md5AuthInternalProblem = 140462259,
        Unspecified = 394331913,
    }
    impl StatusReason {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatusReason => "UNDEFINED_STATUS_REASON",
                Self::Ipv4PeerOnIpv6OnlyConnection => "IPV4_PEER_ON_IPV6_ONLY_CONNECTION",
                Self::Ipv6PeerOnIpv4OnlyConnection => "IPV6_PEER_ON_IPV4_ONLY_CONNECTION",
                Self::Md5AuthInternalProblem => "MD5_AUTH_INTERNAL_PROBLEM",
                Self::Unspecified => "STATUS_REASON_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS_REASON" => Some(Self::UndefinedStatusReason),
                "IPV4_PEER_ON_IPV6_ONLY_CONNECTION" => {
                    Some(Self::Ipv4PeerOnIpv6OnlyConnection)
                }
                "IPV6_PEER_ON_IPV4_ONLY_CONNECTION" => {
                    Some(Self::Ipv6PeerOnIpv4OnlyConnection)
                }
                "MD5_AUTH_INTERNAL_PROBLEM" => Some(Self::Md5AuthInternalProblem),
                "STATUS_REASON_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Status of a NAT contained in this router.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterStatusNatStatus {
    /// Output only. A list of IPs auto-allocated for NAT. Example: \["1.1.1.1", "129.2.16.89"\]
    #[prost(string, repeated, tag = "510794246")]
    pub auto_allocated_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. A list of IPs auto-allocated for NAT that are in drain mode.
    /// Example: \["1.1.1.1", "179.12.26.133"\].
    #[prost(string, repeated, tag = "309184557")]
    pub drain_auto_allocated_nat_ips: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Output only. A list of IPs user-allocated for NAT that are in drain mode.
    /// Example: \["1.1.1.1", "179.12.26.133"\].
    #[prost(string, repeated, tag = "305268553")]
    pub drain_user_allocated_nat_ips: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Output only. The number of extra IPs to allocate. This will be greater than 0 only if
    /// user-specified IPs are NOT enough to allow all configured VMs to use NAT.
    /// This value is meaningful only when auto-allocation of NAT IPs is *not*
    /// used.
    #[prost(int32, optional, tag = "365786338")]
    pub min_extra_nat_ips_needed: ::core::option::Option<i32>,
    /// Output only. Unique name of this NAT.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Number of VM endpoints (i.e., Nics) that can use NAT.
    #[prost(int32, optional, tag = "512367468")]
    pub num_vm_endpoints_with_nat_mappings: ::core::option::Option<i32>,
    /// Status of rules in this NAT.
    #[prost(message, repeated, tag = "140223125")]
    pub rule_status: ::prost::alloc::vec::Vec<RouterStatusNatStatusNatRuleStatus>,
    /// Output only. A list of fully qualified URLs of reserved IP address resources.
    #[prost(string, repeated, tag = "212776151")]
    pub user_allocated_nat_ip_resources: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Output only. A list of IPs user-allocated for NAT.
    /// They will be raw IP strings like "179.12.26.133".
    #[prost(string, repeated, tag = "506878242")]
    pub user_allocated_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Status of a NAT Rule contained in this NAT.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RouterStatusNatStatusNatRuleStatus {
    /// Output only. A list of active IPs for NAT.
    /// Example: \["1.1.1.1", "179.12.26.133"\].
    #[prost(string, repeated, tag = "208517077")]
    pub active_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. A list of IPs for NAT that are in drain mode.
    /// Example: \["1.1.1.1", "179.12.26.133"\].
    #[prost(string, repeated, tag = "504078535")]
    pub drain_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. The number of extra IPs to allocate. This will be greater than 0 only
    /// if the existing IPs in this NAT Rule are NOT enough to allow all
    /// configured VMs to use NAT.
    #[prost(int32, optional, tag = "353002756")]
    pub min_extra_ips_needed: ::core::option::Option<i32>,
    /// Output only. Number of VM endpoints (i.e., NICs) that have NAT Mappings from this
    /// NAT Rule.
    #[prost(int32, optional, tag = "512367468")]
    pub num_vm_endpoints_with_nat_mappings: ::core::option::Option<i32>,
    /// Output only. Rule number of the rule.
    #[prost(int32, optional, tag = "535211500")]
    pub rule_number: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterStatusResponse {
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "139315229")]
    pub result: ::core::option::Option<RouterStatus>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoutersGetRoutePolicyResponse {
    #[prost(message, optional, tag = "195806222")]
    pub resource: ::core::option::Option<RoutePolicy>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoutersListBgpRoutes {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#routersListBgpRoutes for lists of bgp routes.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of bgp routes.
    #[prost(message, repeated, tag = "139315229")]
    pub result: ::prost::alloc::vec::Vec<BgpRoute>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoutersListRoutePolicies {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#routersListRoutePolicies for lists of route policies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of route policies.
    #[prost(message, repeated, tag = "139315229")]
    pub result: ::prost::alloc::vec::Vec<RoutePolicy>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoutersPreviewResponse {
    /// Preview of given router.
    #[prost(message, optional, tag = "195806222")]
    pub resource: ::core::option::Option<Router>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RoutersScopedList {
    /// A list of routers contained in this scope.
    #[prost(message, repeated, tag = "311906890")]
    pub routers: ::prost::alloc::vec::Vec<Router>,
    /// Informational warning which replaces the list of routers when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SslHealthCheck {
    /// The TCP port number to which the health check prober sends packets. The
    /// default value is 443. Valid values are 1 through65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Not supported.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    /// Check the PortSpecification enum for the list of possible values.
    #[prost(string, optional, tag = "51590597")]
    pub port_specification: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    /// Check the ProxyHeader enum for the list of possible values.
    #[prost(string, optional, tag = "160374142")]
    pub proxy_header: ::core::option::Option<::prost::alloc::string::String>,
    /// Instructs the health check prober to send this exact ASCII string, up to
    /// 1024 bytes in length, after establishing the TCP connection and SSL
    /// handshake.
    #[prost(string, optional, tag = "21951119")]
    pub request: ::core::option::Option<::prost::alloc::string::String>,
    /// Creates a content-based SSL health check. In addition to establishing a
    /// TCP connection and the TLS handshake, you can configure the health check to
    /// pass only when the backend sends this exact response ASCII string, up to
    /// 1024 bytes in length. For details, see:
    /// <https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp>
    #[prost(string, optional, tag = "196547649")]
    pub response: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SSLHealthCheck`.
pub mod ssl_health_check {
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PortSpecification {
        /// A value indicating that the enum field is not set.
        UndefinedPortSpecification = 0,
        /// The port number in the health check's port is used for health
        /// checking. Applies to network endpoint group and instance group backends.
        UseFixedPort = 190235748,
        /// Not supported.
        UseNamedPort = 349300671,
        /// For network endpoint group backends, the health check uses the port number
        /// specified on each endpoint in the network endpoint group. For instance
        /// group backends, the health check uses the port number specified for the
        /// backend service's named port defined in the instance group's named ports.
        UseServingPort = 362637516,
    }
    impl PortSpecification {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPortSpecification => "UNDEFINED_PORT_SPECIFICATION",
                Self::UseFixedPort => "USE_FIXED_PORT",
                Self::UseNamedPort => "USE_NAMED_PORT",
                Self::UseServingPort => "USE_SERVING_PORT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PORT_SPECIFICATION" => Some(Self::UndefinedPortSpecification),
                "USE_FIXED_PORT" => Some(Self::UseFixedPort),
                "USE_NAMED_PORT" => Some(Self::UseNamedPort),
                "USE_SERVING_PORT" => Some(Self::UseServingPort),
                _ => None,
            }
        }
    }
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProxyHeader {
        /// A value indicating that the enum field is not set.
        UndefinedProxyHeader = 0,
        None = 2402104,
        ProxyV1 = 334352940,
    }
    impl ProxyHeader {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProxyHeader => "UNDEFINED_PROXY_HEADER",
                Self::None => "NONE",
                Self::ProxyV1 => "PROXY_V1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROXY_HEADER" => Some(Self::UndefinedProxyHeader),
                "NONE" => Some(Self::None),
                "PROXY_V1" => Some(Self::ProxyV1),
                _ => None,
            }
        }
    }
}
/// DEPRECATED: Please use compute#savedDisk instead.
/// An instance-attached disk resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SavedAttachedDisk {
    /// Specifies whether the disk will be auto-deleted when the instance is
    /// deleted (but not when the disk is detached from the instance).
    #[prost(bool, optional, tag = "464761403")]
    pub auto_delete: ::core::option::Option<bool>,
    /// Indicates that this is a boot disk. The virtual machine will use the first
    /// partition of the disk for its root filesystem.
    #[prost(bool, optional, tag = "3029746")]
    pub boot: ::core::option::Option<bool>,
    /// Specifies the name of the disk attached to the source instance.
    #[prost(string, optional, tag = "67541716")]
    pub device_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The encryption key for the disk.
    #[prost(message, optional, tag = "271660677")]
    pub disk_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// The size of the disk in base-2 GB.
    #[prost(int64, optional, tag = "316263735")]
    pub disk_size_gb: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] URL of the disk type resource. For example:projects/project/zones/zone/diskTypes/pd-standard or
    /// pd-ssd
    #[prost(string, optional, tag = "93009052")]
    pub disk_type: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of features to enable on the guest operating system. Applicable only
    /// for bootable images. Read
    /// Enabling guest operating system features to see a list of available
    /// options.
    #[prost(message, repeated, tag = "79294545")]
    pub guest_os_features: ::prost::alloc::vec::Vec<GuestOsFeature>,
    /// Output only. Specifies zero-based index of the disk that is attached to the source
    /// instance.
    #[prost(int32, optional, tag = "100346066")]
    pub index: ::core::option::Option<i32>,
    /// Specifies the disk interface to use for attaching this disk, which is
    /// either SCSI or NVME.
    /// Check the Interface enum for the list of possible values.
    #[prost(string, optional, tag = "502623545")]
    pub interface: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#attachedDisk for attached disks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Any valid publicly visible licenses.
    #[prost(string, repeated, tag = "337642578")]
    pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY.
    /// Check the Mode enum for the list of possible values.
    #[prost(string, optional, tag = "3357091")]
    pub mode: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a URL of the disk attached to the source instance.
    #[prost(string, optional, tag = "177235995")]
    pub source: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A size of the storage used by the disk's snapshot by this
    /// machine image.
    #[prost(int64, optional, tag = "424631719")]
    pub storage_bytes: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] An indicator whether storageBytes is in a
    /// stable state or it is being adjusted as a result of shared storage
    /// reallocation. This status can either be UPDATING, meaning
    /// the size of the snapshot is being updated, or UP_TO_DATE,
    /// meaning the size of the snapshot is up-to-date.
    /// Check the StorageBytesStatus enum for the list of possible values.
    #[prost(string, optional, tag = "490739082")]
    pub storage_bytes_status: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of the attached disk, either SCRATCH orPERSISTENT.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SavedAttachedDisk`.
pub mod saved_attached_disk {
    /// Specifies the disk interface to use for attaching this disk, which is
    /// either SCSI or NVME.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Interface {
        /// A value indicating that the enum field is not set.
        UndefinedInterface = 0,
        Nvme = 2408800,
        Scsi = 2539686,
    }
    impl Interface {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInterface => "UNDEFINED_INTERFACE",
                Self::Nvme => "NVME",
                Self::Scsi => "SCSI",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INTERFACE" => Some(Self::UndefinedInterface),
                "NVME" => Some(Self::Nvme),
                "SCSI" => Some(Self::Scsi),
                _ => None,
            }
        }
    }
    /// The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Mode {
        /// A value indicating that the enum field is not set.
        UndefinedMode = 0,
        /// Attaches this disk in read-only mode. Multiple virtual machines can use
        /// a disk in read-only mode at a time.
        ReadOnly = 91950261,
        /// *\[Default\]* Attaches this disk in read-write mode. Only one
        /// virtual machine at a time can be attached to a disk in read-write mode.
        ReadWrite = 173607894,
    }
    impl Mode {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMode => "UNDEFINED_MODE",
                Self::ReadOnly => "READ_ONLY",
                Self::ReadWrite => "READ_WRITE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MODE" => Some(Self::UndefinedMode),
                "READ_ONLY" => Some(Self::ReadOnly),
                "READ_WRITE" => Some(Self::ReadWrite),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] An indicator whether storageBytes is in a
    /// stable state or it is being adjusted as a result of shared storage
    /// reallocation. This status can either be UPDATING, meaning
    /// the size of the snapshot is being updated, or UP_TO_DATE,
    /// meaning the size of the snapshot is up-to-date.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StorageBytesStatus {
        /// A value indicating that the enum field is not set.
        UndefinedStorageBytesStatus = 0,
        Updating = 494614342,
        UpToDate = 101306702,
    }
    impl StorageBytesStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStorageBytesStatus => "UNDEFINED_STORAGE_BYTES_STATUS",
                Self::Updating => "UPDATING",
                Self::UpToDate => "UP_TO_DATE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STORAGE_BYTES_STATUS" => {
                    Some(Self::UndefinedStorageBytesStatus)
                }
                "UPDATING" => Some(Self::Updating),
                "UP_TO_DATE" => Some(Self::UpToDate),
                _ => None,
            }
        }
    }
    /// Specifies the type of the attached disk, either SCRATCH orPERSISTENT.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        Persistent = 460683927,
        Scratch = 496778970,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Persistent => "PERSISTENT",
                Self::Scratch => "SCRATCH",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "PERSISTENT" => Some(Self::Persistent),
                "SCRATCH" => Some(Self::Scratch),
                _ => None,
            }
        }
    }
}
/// An instance-attached disk resource.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SavedDisk {
    /// Output only. \[Output Only\] The architecture of the attached disk.
    /// Check the Architecture enum for the list of possible values.
    #[prost(string, optional, tag = "302803283")]
    pub architecture: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#savedDisk
    /// for attached disks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Specifies a URL of the disk attached to the source instance.
    #[prost(string, optional, tag = "451753793")]
    pub source_disk: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Size of the individual disk snapshot used by this machine
    /// image.
    #[prost(int64, optional, tag = "424631719")]
    pub storage_bytes: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] An indicator whether storageBytes is in a
    /// stable state or it is being adjusted as a result of shared storage
    /// reallocation. This status can either be UPDATING, meaning
    /// the size of the snapshot is being updated, or UP_TO_DATE,
    /// meaning the size of the snapshot is up-to-date.
    /// Check the StorageBytesStatus enum for the list of possible values.
    #[prost(string, optional, tag = "490739082")]
    pub storage_bytes_status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SavedDisk`.
pub mod saved_disk {
    /// Output only. \[Output Only\] The architecture of the attached disk.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Architecture {
        /// A value indicating that the enum field is not set.
        UndefinedArchitecture = 0,
        /// Default value indicating Architecture is not set.
        Unspecified = 394750507,
        /// Machines with architecture ARM64
        Arm64 = 62547450,
        /// Machines with architecture X86_64
        X8664 = 425300551,
    }
    impl Architecture {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedArchitecture => "UNDEFINED_ARCHITECTURE",
                Self::Unspecified => "ARCHITECTURE_UNSPECIFIED",
                Self::Arm64 => "ARM64",
                Self::X8664 => "X86_64",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ARCHITECTURE" => Some(Self::UndefinedArchitecture),
                "ARCHITECTURE_UNSPECIFIED" => Some(Self::Unspecified),
                "ARM64" => Some(Self::Arm64),
                "X86_64" => Some(Self::X8664),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] An indicator whether storageBytes is in a
    /// stable state or it is being adjusted as a result of shared storage
    /// reallocation. This status can either be UPDATING, meaning
    /// the size of the snapshot is being updated, or UP_TO_DATE,
    /// meaning the size of the snapshot is up-to-date.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StorageBytesStatus {
        /// A value indicating that the enum field is not set.
        UndefinedStorageBytesStatus = 0,
        Updating = 494614342,
        UpToDate = 101306702,
    }
    impl StorageBytesStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStorageBytesStatus => "UNDEFINED_STORAGE_BYTES_STATUS",
                Self::Updating => "UPDATING",
                Self::UpToDate => "UP_TO_DATE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STORAGE_BYTES_STATUS" => {
                    Some(Self::UndefinedStorageBytesStatus)
                }
                "UPDATING" => Some(Self::Updating),
                "UP_TO_DATE" => Some(Self::UpToDate),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScalingScheduleStatus {
    /// \[Output Only\] The last time the scaling schedule became active.
    /// Note: this is a timestamp when a schedule actually became active, not when
    /// it was planned to do so.
    /// The timestamp is in RFC3339
    /// text format.
    #[prost(string, optional, tag = "34545107")]
    pub last_start_time: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The next time the scaling schedule is to become active.
    /// Note: this is a timestamp when a schedule is planned to run, but the actual
    /// time might be slightly different.
    /// The timestamp is in RFC3339
    /// text format.
    #[prost(string, optional, tag = "97270102")]
    pub next_start_time: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The current state of a scaling schedule.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ScalingScheduleStatus`.
pub mod scaling_schedule_status {
    /// \[Output Only\] The current state of a scaling schedule.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// The current autoscaling recommendation is influenced by this scaling
        /// schedule.
        Active = 314733318,
        /// This scaling schedule has been disabled by the user.
        Disabled = 516696700,
        /// This scaling schedule will never become active again.
        Obsolete = 66532761,
        /// The current autoscaling recommendation is not influenced by this scaling
        /// schedule.
        Ready = 77848963,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Active => "ACTIVE",
                Self::Disabled => "DISABLED",
                Self::Obsolete => "OBSOLETE",
                Self::Ready => "READY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVE" => Some(Self::Active),
                "DISABLED" => Some(Self::Disabled),
                "OBSOLETE" => Some(Self::Obsolete),
                "READY" => Some(Self::Ready),
                _ => None,
            }
        }
    }
}
/// Sets the scheduling options for an Instance.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Scheduling {
    /// Specifies whether the instance should be automatically restarted if it is
    /// terminated by Compute Engine (not terminated by a user). You can only set
    /// the automatic restart option for standard instances.Preemptible instances
    /// cannot be automatically restarted.
    ///
    /// By default, this is set to true so an instance is
    /// automatically restarted if it is terminated by Compute Engine.
    #[prost(bool, optional, tag = "350821371")]
    pub automatic_restart: ::core::option::Option<bool>,
    /// Specifies the availability domain to place the instance in. The value
    /// must be a number between 1 and the number of availability domains
    /// specified in the spread placement policy attached to the instance.
    #[prost(int32, optional, tag = "252514344")]
    pub availability_domain: ::core::option::Option<i32>,
    /// Specify the time in seconds for host error detection, the value must be
    /// within the range of \[90, 330\] with the increment of 30, if unset, the
    /// default behavior of host error recovery will be used.
    #[prost(int32, optional, tag = "408317459")]
    pub host_error_timeout_seconds: ::core::option::Option<i32>,
    /// Specifies the termination action for the instance.
    /// Check the InstanceTerminationAction enum for the list of possible values.
    #[prost(string, optional, tag = "107380667")]
    pub instance_termination_action: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies the maximum amount of time a Local Ssd Vm should wait while
    /// recovery of the Local Ssd state is attempted. Its value should be in
    /// between 0 and 168 hours with hour granularity and the default value being 1
    /// hour.
    #[prost(message, optional, tag = "268015590")]
    pub local_ssd_recovery_timeout: ::core::option::Option<Duration>,
    /// An opaque location hint used to place the instance close to other
    /// resources.
    /// This field is for use by internal tools that use the public API.
    #[prost(string, optional, tag = "350519505")]
    pub location_hint: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the max run duration for the given instance. If specified,
    /// the instance termination action will be performed at the end of the run
    /// duration.
    #[prost(message, optional, tag = "430839747")]
    pub max_run_duration: ::core::option::Option<Duration>,
    /// The minimum number of virtual CPUs this instance will consume when running
    /// on a sole-tenant node.
    #[prost(int32, optional, tag = "317231675")]
    pub min_node_cpus: ::core::option::Option<i32>,
    /// A set of node affinity and anti-affinity configurations. Refer toConfiguring node
    /// affinity for more information.
    /// Overrides reservationAffinity.
    #[prost(message, repeated, tag = "461799971")]
    pub node_affinities: ::prost::alloc::vec::Vec<SchedulingNodeAffinity>,
    /// Defines the maintenance behavior for this instance. For standard instances,
    /// the default behavior is MIGRATE. Forpreemptible instances,
    /// the default and only possible behavior is TERMINATE. For more
    /// information, see
    /// Set
    /// VM host maintenance policy.
    /// Check the OnHostMaintenance enum for the list of possible values.
    #[prost(string, optional, tag = "64616796")]
    pub on_host_maintenance: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "529876681")]
    pub on_instance_stop_action: ::core::option::Option<SchedulingOnInstanceStopAction>,
    /// Defines whether the instance is preemptible. This can only be set during
    /// instance creation or while the instance isstopped and
    /// therefore, in a `TERMINATED` state. SeeInstance Life
    /// Cycle for more information on the possible instance states.
    #[prost(bool, optional, tag = "324203169")]
    pub preemptible: ::core::option::Option<bool>,
    /// Specifies the provisioning model of the instance.
    /// Check the ProvisioningModel enum for the list of possible values.
    #[prost(string, optional, tag = "494423")]
    pub provisioning_model: ::core::option::Option<::prost::alloc::string::String>,
    /// Default is false and there will be 120 seconds between GCE ACPI G2 Soft
    /// Off and ACPI G3 Mechanical
    /// Off for Standard VMs and 30 seconds for Spot VMs.
    #[prost(bool, optional, tag = "201662378")]
    pub skip_guest_os_shutdown: ::core::option::Option<bool>,
    /// Specifies the timestamp, when the instance will be terminated, inRFC3339 text format. If specified, the instance
    /// termination action will be performed at the termination time.
    #[prost(string, optional, tag = "428082984")]
    pub termination_time: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Scheduling`.
pub mod scheduling {
    /// Specifies the termination action for the instance.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum InstanceTerminationAction {
        /// A value indicating that the enum field is not set.
        UndefinedInstanceTerminationAction = 0,
        /// Delete the VM.
        Delete = 402225579,
        /// Default value. This value is unused.
        Unspecified = 92954803,
        /// Stop the VM without storing in-memory content. default action.
        Stop = 2555906,
    }
    impl InstanceTerminationAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedInstanceTerminationAction => {
                    "UNDEFINED_INSTANCE_TERMINATION_ACTION"
                }
                Self::Delete => "DELETE",
                Self::Unspecified => "INSTANCE_TERMINATION_ACTION_UNSPECIFIED",
                Self::Stop => "STOP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_INSTANCE_TERMINATION_ACTION" => {
                    Some(Self::UndefinedInstanceTerminationAction)
                }
                "DELETE" => Some(Self::Delete),
                "INSTANCE_TERMINATION_ACTION_UNSPECIFIED" => Some(Self::Unspecified),
                "STOP" => Some(Self::Stop),
                _ => None,
            }
        }
    }
    /// Defines the maintenance behavior for this instance. For standard instances,
    /// the default behavior is MIGRATE. Forpreemptible instances,
    /// the default and only possible behavior is TERMINATE. For more
    /// information, see
    /// Set
    /// VM host maintenance policy.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum OnHostMaintenance {
        /// A value indicating that the enum field is not set.
        UndefinedOnHostMaintenance = 0,
        /// *\[Default\]* Allows Compute Engine to automatically migrate instances
        /// out of the way of maintenance events.
        Migrate = 165699979,
        /// Tells Compute Engine to terminate and (optionally) restart the instance
        /// away from the maintenance activity. If you would like your instance to be
        /// restarted, set the automaticRestart flag to true. Your
        /// instance may be restarted more than once, and it may be restarted outside
        /// the window of maintenance events.
        Terminate = 527617601,
    }
    impl OnHostMaintenance {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOnHostMaintenance => "UNDEFINED_ON_HOST_MAINTENANCE",
                Self::Migrate => "MIGRATE",
                Self::Terminate => "TERMINATE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ON_HOST_MAINTENANCE" => Some(Self::UndefinedOnHostMaintenance),
                "MIGRATE" => Some(Self::Migrate),
                "TERMINATE" => Some(Self::Terminate),
                _ => None,
            }
        }
    }
    /// Specifies the provisioning model of the instance.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProvisioningModel {
        /// A value indicating that the enum field is not set.
        UndefinedProvisioningModel = 0,
        /// Instance is provisioned using the Flex Start provisioning model and
        /// has a limited runtime.
        FlexStart = 101746812,
        /// Bound to the lifecycle of the reservation in which it is provisioned.
        ReservationBound = 293538571,
        /// Heavily discounted, no guaranteed runtime.
        Spot = 2552066,
        /// Standard provisioning with user controlled runtime, no discounts.
        Standard = 484642493,
    }
    impl ProvisioningModel {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProvisioningModel => "UNDEFINED_PROVISIONING_MODEL",
                Self::FlexStart => "FLEX_START",
                Self::ReservationBound => "RESERVATION_BOUND",
                Self::Spot => "SPOT",
                Self::Standard => "STANDARD",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROVISIONING_MODEL" => Some(Self::UndefinedProvisioningModel),
                "FLEX_START" => Some(Self::FlexStart),
                "RESERVATION_BOUND" => Some(Self::ReservationBound),
                "SPOT" => Some(Self::Spot),
                "STANDARD" => Some(Self::Standard),
                _ => None,
            }
        }
    }
}
/// Node Affinity: the configuration of desired nodes onto which this Instance
/// could be scheduled.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SchedulingNodeAffinity {
    /// Corresponds to the label key of Node resource.
    #[prost(string, optional, tag = "106079")]
    pub key: ::core::option::Option<::prost::alloc::string::String>,
    /// Defines the operation of node selection. Valid operators areIN for affinity and NOT_IN for anti-affinity.
    /// Check the Operator enum for the list of possible values.
    #[prost(string, optional, tag = "36317348")]
    pub operator: ::core::option::Option<::prost::alloc::string::String>,
    /// Corresponds to the label values of Node resource.
    #[prost(string, repeated, tag = "249928994")]
    pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SchedulingNodeAffinity`.
pub mod scheduling_node_affinity {
    /// Defines the operation of node selection. Valid operators areIN for affinity and NOT_IN for anti-affinity.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Operator {
        /// A value indicating that the enum field is not set.
        UndefinedOperator = 0,
        /// Requires Compute Engine to seek for matched nodes.
        In = 2341,
        /// Requires Compute Engine to avoid certain nodes.
        NotIn = 161144369,
        Unspecified = 128892924,
    }
    impl Operator {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOperator => "UNDEFINED_OPERATOR",
                Self::In => "IN",
                Self::NotIn => "NOT_IN",
                Self::Unspecified => "OPERATOR_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_OPERATOR" => Some(Self::UndefinedOperator),
                "IN" => Some(Self::In),
                "NOT_IN" => Some(Self::NotIn),
                "OPERATOR_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Defines the behaviour for instances with the instance_termination_actionSTOP.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SchedulingOnInstanceStopAction {
    /// If true, the contents of any attached Local SSD disks will be discarded
    /// else, the Local SSD data will be preserved when the instance is stopped
    /// at the end of the run duration/termination time.
    #[prost(bool, optional, tag = "319517903")]
    pub discard_local_ssd: ::core::option::Option<bool>,
}
/// An instance's screenshot.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Screenshot {
    /// \[Output Only\] The Base64-encoded screenshot data.
    #[prost(string, optional, tag = "506419994")]
    pub contents: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#screenshot
    /// for the screenshots.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPoliciesAggregatedList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of SecurityPoliciesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        SecurityPoliciesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#securityPolicyAggregatedList for lists of Security
    /// Policies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPoliciesListPreconfiguredExpressionSetsResponse {
    #[prost(message, optional, tag = "536200826")]
    pub preconfigured_expression_sets: ::core::option::Option<SecurityPoliciesWafConfig>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPoliciesScopedList {
    /// A list of SecurityPolicies contained in this scope.
    #[prost(message, repeated, tag = "127783791")]
    pub security_policies: ::prost::alloc::vec::Vec<SecurityPolicy>,
    /// Informational warning which replaces the list of
    /// security policies when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPoliciesWafConfig {
    #[prost(message, optional, tag = "74899924")]
    pub waf_rules: ::core::option::Option<PreconfiguredWafSet>,
}
/// Represents a Google Cloud Armor security policy resource.
///
/// Only external backend services that use load balancers can
/// reference a security policy. For more information, see
/// Google Cloud Armor security policy overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicy {
    #[prost(message, optional, tag = "150240735")]
    pub adaptive_protection_config: ::core::option::Option<
        SecurityPolicyAdaptiveProtectionConfig,
    >,
    #[prost(message, optional, tag = "449276352")]
    pub advanced_options_config: ::core::option::Option<
        SecurityPolicyAdvancedOptionsConfig,
    >,
    /// A list of associations that belong to this policy.
    #[prost(message, repeated, tag = "508736530")]
    pub associations: ::prost::alloc::vec::Vec<SecurityPolicyAssociation>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "50315853")]
    pub ddos_protection_config: ::core::option::Option<
        SecurityPolicyDdosProtectionConfig,
    >,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies a fingerprint for this resource, which is essentially a hash of
    /// the metadata's contents and used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update metadata. You must always provide an
    /// up-to-date fingerprint hash in order to update or change metadata,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make get() request to the
    /// security policy.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output only\] Type of the resource. Alwayscompute#securityPolicyfor security policies
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this security policy, which
    /// is essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels.
    ///
    /// To see the latest fingerprint, make get() request to the
    /// security policy.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The parent of the security policy.
    #[prost(string, optional, tag = "78317738")]
    pub parent: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "519006811")]
    pub recaptcha_options_config: ::core::option::Option<
        SecurityPolicyRecaptchaOptionsConfig,
    >,
    /// Output only. \[Output Only\] URL of the region where the regional security policy
    /// resides. This field is not applicable to global security policies.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of rules that belong to this policy.
    /// There must always be a default rule which is a rule with priority
    /// 2147483647 and match all condition (for the match condition this means
    /// match  "*" for srcIpRanges and for the networkMatch condition every field
    /// must be either match "*" or not set). If no rules are provided when
    /// creating a security policy, a default rule with action "allow" will be
    /// added.
    #[prost(message, repeated, tag = "108873975")]
    pub rules: ::prost::alloc::vec::Vec<SecurityPolicyRule>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// User-provided name of the organization security policy. The name should be
    /// unique in the organization in which the security policy is created. This
    /// should only be used when SecurityPolicyType is CLOUD_ARMOR.
    /// The name must be 1-63 characters long, and comply with
    /// <https://www.ietf.org/rfc/rfc1035.txt.> Specifically, the name must be 1-63
    /// characters long and match the regular expression
    /// `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first character must be a
    /// lowercase letter, and all following characters must be a dash, lowercase
    /// letter, or digit, except the last character, which cannot be a dash.
    #[prost(string, optional, tag = "492051566")]
    pub short_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The type indicates the intended use of the security policy.
    ///
    /// ```text
    /// - CLOUD_ARMOR: Cloud Armor backend security policies can
    /// be configured to filter incoming HTTP requests targeting backend services.
    /// They filter requests before they hit the origin servers.
    /// - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can
    /// be configured to filter incoming HTTP requests targeting backend services
    /// (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage).
    /// They filter requests before the request is served from Google's cache.
    /// - CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor
    /// internal service policies can be configured to filter HTTP requests
    /// targeting services managed by Traffic Director in a service mesh. They
    /// filter requests before the request is served from the application.
    /// ```
    ///
    /// * CLOUD_ARMOR_NETWORK: Cloud Armor network policies
    ///   can be configured to filter packets targeting network load balancing
    ///   resources such as backend services, target pools, target instances, and
    ///   instances with external IPs. They filter requests before the request is
    ///   served from the application.
    ///
    /// This field can be set only at resource creation time.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
    /// Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A
    /// user-defined field consists of up to 4 bytes extracted from a fixed offset
    /// in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an
    /// optional mask to select certain bits. Rules may then specify matching
    /// values for these fields.
    ///
    /// Example:
    ///
    /// userDefinedFields:
    ///
    /// * name: "ipv4_fragment_offset"
    ///   base: IPV4
    ///   offset: 6
    ///   size: 2
    ///   mask: "0x1fff"
    #[prost(message, repeated, tag = "28312739")]
    pub user_defined_fields: ::prost::alloc::vec::Vec<SecurityPolicyUserDefinedField>,
}
/// Nested message and enum types in `SecurityPolicy`.
pub mod security_policy {
    /// The type indicates the intended use of the security policy.
    ///
    /// ```text
    /// - CLOUD_ARMOR: Cloud Armor backend security policies can
    /// be configured to filter incoming HTTP requests targeting backend services.
    /// They filter requests before they hit the origin servers.
    /// - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can
    /// be configured to filter incoming HTTP requests targeting backend services
    /// (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage).
    /// They filter requests before the request is served from Google's cache.
    /// - CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor
    /// internal service policies can be configured to filter HTTP requests
    /// targeting services managed by Traffic Director in a service mesh. They
    /// filter requests before the request is served from the application.
    /// ```
    ///
    /// * CLOUD_ARMOR_NETWORK: Cloud Armor network policies
    ///   can be configured to filter packets targeting network load balancing
    ///   resources such as backend services, target pools, target instances, and
    ///   instances with external IPs. They filter requests before the request is
    ///   served from the application.
    ///
    /// This field can be set only at resource creation time.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        CloudArmor = 260640373,
        CloudArmorEdge = 250728775,
        CloudArmorNetwork = 488527428,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::CloudArmor => "CLOUD_ARMOR",
                Self::CloudArmorEdge => "CLOUD_ARMOR_EDGE",
                Self::CloudArmorNetwork => "CLOUD_ARMOR_NETWORK",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "CLOUD_ARMOR" => Some(Self::CloudArmor),
                "CLOUD_ARMOR_EDGE" => Some(Self::CloudArmorEdge),
                "CLOUD_ARMOR_NETWORK" => Some(Self::CloudArmorNetwork),
                _ => None,
            }
        }
    }
}
/// Configuration options for Cloud Armor Adaptive Protection (CAAP).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyAdaptiveProtectionConfig {
    /// If set to true, enables Cloud Armor Machine Learning.
    #[prost(message, optional, tag = "437316771")]
    pub layer7_ddos_defense_config: ::core::option::Option<
        SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig,
    >,
}
/// Configuration options for L7 DDoS detection.
/// This field is only supported in Global Security Policies of type
/// CLOUD_ARMOR.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig {
    /// If set to true, enables CAAP for L7 DDoS detection.
    /// This field is only supported in Global Security Policies of type
    /// CLOUD_ARMOR.
    #[prost(bool, optional, tag = "311764355")]
    pub enable: ::core::option::Option<bool>,
    /// Rule visibility can be one of the following:
    /// STANDARD - opaque rules. (default)
    /// PREMIUM - transparent rules.
    /// This field is only supported in Global Security Policies of type
    /// CLOUD_ARMOR.
    /// Check the RuleVisibility enum for the list of possible values.
    #[prost(string, optional, tag = "453258293")]
    pub rule_visibility: ::core::option::Option<::prost::alloc::string::String>,
    /// Configuration options for layer7 adaptive protection for various
    /// customizable thresholds.
    #[prost(message, repeated, tag = "60347805")]
    pub threshold_configs: ::prost::alloc::vec::Vec<
        SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig,
    >,
}
/// Nested message and enum types in `SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig`.
pub mod security_policy_adaptive_protection_config_layer7_ddos_defense_config {
    /// Rule visibility can be one of the following:
    /// STANDARD - opaque rules. (default)
    /// PREMIUM - transparent rules.
    /// This field is only supported in Global Security Policies of type
    /// CLOUD_ARMOR.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum RuleVisibility {
        /// A value indicating that the enum field is not set.
        UndefinedRuleVisibility = 0,
        Premium = 399530551,
        Standard = 484642493,
    }
    impl RuleVisibility {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRuleVisibility => "UNDEFINED_RULE_VISIBILITY",
                Self::Premium => "PREMIUM",
                Self::Standard => "STANDARD",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_RULE_VISIBILITY" => Some(Self::UndefinedRuleVisibility),
                "PREMIUM" => Some(Self::Premium),
                "STANDARD" => Some(Self::Standard),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig {
    #[prost(float, optional, tag = "84309694")]
    pub auto_deploy_confidence_threshold: ::core::option::Option<f32>,
    #[prost(int32, optional, tag = "69638793")]
    pub auto_deploy_expiration_sec: ::core::option::Option<i32>,
    #[prost(float, optional, tag = "292441667")]
    pub auto_deploy_impacted_baseline_threshold: ::core::option::Option<f32>,
    #[prost(float, optional, tag = "522227738")]
    pub auto_deploy_load_threshold: ::core::option::Option<f32>,
    #[prost(float, optional, tag = "383123174")]
    pub detection_absolute_qps: ::core::option::Option<f32>,
    #[prost(float, optional, tag = "430499148")]
    pub detection_load_threshold: ::core::option::Option<f32>,
    #[prost(float, optional, tag = "291343749")]
    pub detection_relative_to_baseline_qps: ::core::option::Option<f32>,
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// The name must be unique within the security policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Configuration options for enabling Adaptive Protection to operate
    /// on specified granular traffic units.
    #[prost(message, repeated, tag = "85367358")]
    pub traffic_granularity_configs: ::prost::alloc::vec::Vec<
        SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig,
    >,
}
/// Configurations to specifc granular traffic units processed by
/// Adaptive Protection.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig {
    /// If enabled, traffic matching each unique value for the specified
    /// type constitutes a separate traffic unit.
    /// It can only be set to true if `value` is empty.
    #[prost(bool, optional, tag = "469206341")]
    pub enable_each_unique_value: ::core::option::Option<bool>,
    /// Type of this configuration.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
    /// Requests that match this value constitute a granular traffic unit.
    #[prost(string, optional, tag = "111972721")]
    pub value: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig`.
pub mod security_policy_adaptive_protection_config_layer7_ddos_defense_config_threshold_config_traffic_granularity_config {
    /// Type of this configuration.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        HttpHeaderHost = 374321891,
        HttpPath = 311503228,
        UnspecifiedType = 53933922,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::HttpHeaderHost => "HTTP_HEADER_HOST",
                Self::HttpPath => "HTTP_PATH",
                Self::UnspecifiedType => "UNSPECIFIED_TYPE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "HTTP_HEADER_HOST" => Some(Self::HttpHeaderHost),
                "HTTP_PATH" => Some(Self::HttpPath),
                "UNSPECIFIED_TYPE" => Some(Self::UnspecifiedType),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyAdvancedOptionsConfig {
    /// Custom configuration to apply the JSON parsing. Only applicable when
    /// json_parsing is set to STANDARD.
    #[prost(message, optional, tag = "111570105")]
    pub json_custom_config: ::core::option::Option<
        SecurityPolicyAdvancedOptionsConfigJsonCustomConfig,
    >,
    /// Check the JsonParsing enum for the list of possible values.
    #[prost(string, optional, tag = "282493529")]
    pub json_parsing: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the LogLevel enum for the list of possible values.
    #[prost(string, optional, tag = "140582601")]
    pub log_level: ::core::option::Option<::prost::alloc::string::String>,
    /// The maximum request size chosen by the customer with Waf enabled.
    /// Values supported are "8KB", "16KB, "32KB", "48KB" and "64KB".
    /// Values are case insensitive.
    #[prost(string, optional, tag = "191268607")]
    pub request_body_inspection_size: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// An optional list of case-insensitive request header names to use for
    /// resolving the callers client IP address.
    #[prost(string, repeated, tag = "421050290")]
    pub user_ip_request_headers: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
}
/// Nested message and enum types in `SecurityPolicyAdvancedOptionsConfig`.
pub mod security_policy_advanced_options_config {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum JsonParsing {
        /// A value indicating that the enum field is not set.
        UndefinedJsonParsing = 0,
        Disabled = 516696700,
        Standard = 484642493,
        StandardWithGraphql = 106979218,
    }
    impl JsonParsing {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedJsonParsing => "UNDEFINED_JSON_PARSING",
                Self::Disabled => "DISABLED",
                Self::Standard => "STANDARD",
                Self::StandardWithGraphql => "STANDARD_WITH_GRAPHQL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_JSON_PARSING" => Some(Self::UndefinedJsonParsing),
                "DISABLED" => Some(Self::Disabled),
                "STANDARD" => Some(Self::Standard),
                "STANDARD_WITH_GRAPHQL" => Some(Self::StandardWithGraphql),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LogLevel {
        /// A value indicating that the enum field is not set.
        UndefinedLogLevel = 0,
        Normal = 161067239,
        Verbose = 532219234,
    }
    impl LogLevel {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLogLevel => "UNDEFINED_LOG_LEVEL",
                Self::Normal => "NORMAL",
                Self::Verbose => "VERBOSE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LOG_LEVEL" => Some(Self::UndefinedLogLevel),
                "NORMAL" => Some(Self::Normal),
                "VERBOSE" => Some(Self::Verbose),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyAdvancedOptionsConfigJsonCustomConfig {
    /// A list of custom Content-Type header values to apply the JSON parsing.
    ///
    /// As per RFC 1341, a Content-Type header value has the following format:
    ///
    /// Content-Type := type "/" subtype \*\[";" parameter\]
    ///
    /// When configuring a custom Content-Type header value, only the
    /// type/subtype needs to be specified, and the parameters should be
    /// excluded.
    #[prost(string, repeated, tag = "17428787")]
    pub content_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyAssociation {
    /// The resource that the security policy is attached to.
    #[prost(string, optional, tag = "103768503")]
    pub attachment_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The display name of the security policy of the association.
    #[prost(string, optional, tag = "4473832")]
    pub display_name: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of folders to exclude from the security policy.
    #[prost(string, repeated, tag = "310611024")]
    pub excluded_folders: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A list of projects to exclude from the security policy.
    #[prost(string, repeated, tag = "283070287")]
    pub excluded_projects: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The name for an association.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The security policy ID of the association.
    #[prost(string, optional, tag = "203671817")]
    pub security_policy_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The short name of the security policy of the association.
    #[prost(string, optional, tag = "492051566")]
    pub short_name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyDdosProtectionConfig {
    /// Check the DdosProtection enum for the list of possible values.
    #[prost(string, optional, tag = "275173268")]
    pub ddos_protection: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SecurityPolicyDdosProtectionConfig`.
pub mod security_policy_ddos_protection_config {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum DdosProtection {
        /// A value indicating that the enum field is not set.
        UndefinedDdosProtection = 0,
        Advanced = 63789090,
        AdvancedPreview = 40905867,
        Standard = 484642493,
    }
    impl DdosProtection {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedDdosProtection => "UNDEFINED_DDOS_PROTECTION",
                Self::Advanced => "ADVANCED",
                Self::AdvancedPreview => "ADVANCED_PREVIEW",
                Self::Standard => "STANDARD",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_DDOS_PROTECTION" => Some(Self::UndefinedDdosProtection),
                "ADVANCED" => Some(Self::Advanced),
                "ADVANCED_PREVIEW" => Some(Self::AdvancedPreview),
                "STANDARD" => Some(Self::Standard),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of SecurityPolicy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<SecurityPolicy>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#securityPolicyList for listsof securityPolicies
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRecaptchaOptionsConfig {
    /// An optional field to supply a reCAPTCHA site key to be used for all the
    /// rules using the redirect action with the type of GOOGLE_RECAPTCHA under
    /// the security policy. The specified site key needs to be created from the
    /// reCAPTCHA API. The user is responsible for the validity of the specified
    /// site key. If not specified, a Google-managed site key is used.
    /// This field is only supported in Global Security Policies of type
    /// CLOUD_ARMOR.
    #[prost(string, optional, tag = "447677034")]
    pub redirect_site_key: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyReference {
    #[prost(string, optional, tag = "171082513")]
    pub security_policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a rule that describes one or more match conditions along with
/// the action to be taken when traffic matches this condition (allow or deny).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyRule {
    /// The Action to perform when the rule is matched.
    /// The following are the valid actions:
    ///
    /// ```text
    /// - allow: allow access to target.
    /// - deny(STATUS): deny access to target, returns the
    /// HTTP response code specified. Valid values for `STATUS`
    /// are 403, 404, and 502.
    /// - rate_based_ban: limit client traffic to the configured
    /// threshold and ban the client if the traffic exceeds the threshold.
    /// Configure parameters for this action in RateLimitOptions. Requires
    /// rate_limit_options to be set.
    /// - redirect: redirect to a different target. This can
    /// either be an internal reCAPTCHA redirect, or an external URL-based
    /// redirect via a 302 response. Parameters for this action can be configured
    /// via redirectOptions. This action is only supported in Global Security
    /// Policies of type CLOUD_ARMOR.
    /// - throttle: limit
    /// client traffic to the configured threshold. Configure parameters for this
    /// action in rateLimitOptions. Requires rate_limit_options to be set for
    /// this.
    /// - fairshare (preview only): when traffic reaches the
    /// threshold limit, requests from the clients matching this rule begin to be
    /// rate-limited using the Fair Share algorithm. This action is only allowed
    /// in security policies of type `CLOUD_ARMOR_INTERNAL_SERVICE`.
    /// ```
    #[prost(string, optional, tag = "187661878")]
    pub action: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional, additional actions that are performed on headers.
    /// This field is only supported in Global Security Policies of type
    /// CLOUD_ARMOR.
    #[prost(message, optional, tag = "328077352")]
    pub header_action: ::core::option::Option<SecurityPolicyRuleHttpHeaderAction>,
    /// Output only. \[Output only\] Type of the resource. Alwayscompute#securityPolicyRule for security policy rules
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A match condition that incoming traffic is evaluated against.
    /// If it evaluates to true, the corresponding 'action' is enforced.
    #[prost(message, optional, tag = "103668165")]
    pub r#match: ::core::option::Option<SecurityPolicyRuleMatcher>,
    /// A match condition that incoming packets are evaluated against for
    /// CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding
    /// 'action' is enforced.
    ///
    /// The match criteria for a rule consists of built-in match fields (like
    /// 'srcIpRanges') and potentially multiple user-defined match fields
    /// ('userDefinedFields').
    ///
    /// Field values may be extracted directly from the packet or derived from it
    /// (e.g. 'srcRegionCodes'). Some fields may not be present in every packet
    /// (e.g. 'srcPorts'). A user-defined field is only present if the base
    /// header is found in the packet and the entire field is in bounds.
    ///
    /// Each match field may specify which values can match it, listing one or
    /// more ranges, prefixes, or exact values that are considered a match for
    /// the field. A field value must be present in order to match a specified
    /// match field. If no match values are specified for a match field, then any
    /// field value is considered to match it, and it's not required to be
    /// present. For strings specifying '\*' is also equivalent to match all.
    ///
    /// For a packet to match a rule, all specified match fields must match the
    /// corresponding field values derived from the packet.
    ///
    /// Example:
    ///
    /// networkMatch:
    /// srcIpRanges:
    ///
    /// * "192.0.2.0/24"
    /// * "198.51.100.0/24"
    ///   userDefinedFields:
    /// * name: "ipv4_fragment_offset"
    ///   values:
    ///   * "1-0x1fff"
    ///
    /// The above match condition matches packets with a source IP in
    /// 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named
    /// "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive.
    #[prost(message, optional, tag = "463387764")]
    pub network_match: ::core::option::Option<SecurityPolicyRuleNetworkMatcher>,
    /// Preconfigured WAF configuration to be applied for the rule. If the rule
    /// does not evaluate preconfigured WAF rules, i.e., if
    /// evaluatePreconfiguredWaf() is not used, this field will have no effect.
    #[prost(message, optional, tag = "117805027")]
    pub preconfigured_waf_config: ::core::option::Option<
        SecurityPolicyRulePreconfiguredWafConfig,
    >,
    /// If set to true, the specified action is not enforced.
    #[prost(bool, optional, tag = "218686408")]
    pub preview: ::core::option::Option<bool>,
    /// An integer indicating the priority of a rule in the list. The priority
    /// must be a positive value between 0 and 2147483647.
    /// Rules are evaluated from highest to lowest priority where 0 is the
    /// highest priority and 2147483647 is the lowest priority.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Must be specified if the action is "rate_based_ban" or "throttle" or
    /// "fairshare". Cannot be specified for any other actions.
    #[prost(message, optional, tag = "67544315")]
    pub rate_limit_options: ::core::option::Option<SecurityPolicyRuleRateLimitOptions>,
    /// Parameters defining the redirect action. Cannot be specified for any
    /// other actions.
    /// This field is only supported in Global Security Policies of type
    /// CLOUD_ARMOR.
    #[prost(message, optional, tag = "163285307")]
    pub redirect_options: ::core::option::Option<SecurityPolicyRuleRedirectOptions>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyRuleHttpHeaderAction {
    /// The list of request headers to add or overwrite if they're already
    /// present.
    #[prost(message, repeated, tag = "87987661")]
    pub request_headers_to_adds: ::prost::alloc::vec::Vec<
        SecurityPolicyRuleHttpHeaderActionHttpHeaderOption,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRuleHttpHeaderActionHttpHeaderOption {
    /// The name of the header to set.
    #[prost(string, optional, tag = "110223613")]
    pub header_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The value to set the named header to.
    #[prost(string, optional, tag = "203094335")]
    pub header_value: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a match condition that incoming traffic is evaluated against.
/// Exactly one field must be specified.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRuleMatcher {
    /// The configuration options available when specifying versioned_expr.
    /// This field must be specified if versioned_expr is specified and cannot
    /// be specified if versioned_expr is not specified.
    #[prost(message, optional, tag = "255820610")]
    pub config: ::core::option::Option<SecurityPolicyRuleMatcherConfig>,
    /// User defined CEVAL expression.
    /// A CEVAL expression is used to specify match criteria such as origin.ip,
    /// source.region_code and contents in the request header.
    /// Expressions containing `evaluateThreatIntelligence` require a Cloud
    /// Armor Enterprise subscription and are not supported in Edge Policies
    /// nor in Regional Policies. Expressions containing
    /// `evaluatePreconfiguredExpr('sourceiplist-*')` require a Cloud Armor
    /// Enterprise subscription and are only supported in Global Security
    /// Policies.
    #[prost(message, optional, tag = "3127797")]
    pub expr: ::core::option::Option<Expr>,
    /// The configuration options available when specifying a user defined
    /// CEVAL expression (i.e., 'expr').
    #[prost(message, optional, tag = "486220372")]
    pub expr_options: ::core::option::Option<SecurityPolicyRuleMatcherExprOptions>,
    /// Preconfigured versioned expression.
    /// If this field is specified, config must also be specified.
    /// Available preconfigured expressions along with their requirements are:
    /// SRC_IPS_V1 - must specify the corresponding src_ip_range field in
    /// config.
    /// Check the VersionedExpr enum for the list of possible values.
    #[prost(string, optional, tag = "322286013")]
    pub versioned_expr: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SecurityPolicyRuleMatcher`.
pub mod security_policy_rule_matcher {
    /// Preconfigured versioned expression.
    /// If this field is specified, config must also be specified.
    /// Available preconfigured expressions along with their requirements are:
    /// SRC_IPS_V1 - must specify the corresponding src_ip_range field in
    /// config.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum VersionedExpr {
        /// A value indicating that the enum field is not set.
        UndefinedVersionedExpr = 0,
        /// Matches the source IP address of a request to the IP ranges supplied
        /// in config.
        SrcIpsV1 = 70925961,
    }
    impl VersionedExpr {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedVersionedExpr => "UNDEFINED_VERSIONED_EXPR",
                Self::SrcIpsV1 => "SRC_IPS_V1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_VERSIONED_EXPR" => Some(Self::UndefinedVersionedExpr),
                "SRC_IPS_V1" => Some(Self::SrcIpsV1),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRuleMatcherConfig {
    /// CIDR IP address range.
    /// Maximum number of src_ip_ranges allowed is 10.
    #[prost(string, repeated, tag = "432128083")]
    pub src_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRuleMatcherExprOptions {
    /// reCAPTCHA configuration options to be applied for the rule. If the
    /// rule does not evaluate reCAPTCHA tokens, this field has no effect.
    #[prost(message, optional, tag = "389151558")]
    pub recaptcha_options: ::core::option::Option<
        SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions {
    /// A list of site keys to be used during the validation of reCAPTCHA
    /// action-tokens. The provided site keys need to be created from
    /// reCAPTCHA API under the same project where the security policy is
    /// created.
    #[prost(string, repeated, tag = "59929885")]
    pub action_token_site_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A list of site keys to be used during the validation of reCAPTCHA
    /// session-tokens. The provided site keys need to be created from
    /// reCAPTCHA API under the same project where the security policy is
    /// created.
    #[prost(string, repeated, tag = "333363581")]
    pub session_token_site_keys: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
}
/// Represents a match condition that incoming network traffic is evaluated
/// against.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyRuleNetworkMatcher {
    /// Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text
    /// format.
    #[prost(string, repeated, tag = "337357713")]
    pub dest_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit
    /// unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
    #[prost(string, repeated, tag = "379902005")]
    pub dest_ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// IPv4 protocol / IPv6 next header (after extension headers). Each
    /// element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g.
    /// "253-254"), or one of the following protocol names: "tcp", "udp",
    /// "icmp", "esp", "ah", "ipip", or "sctp".
    #[prost(string, repeated, tag = "259213251")]
    pub ip_protocols: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// BGP Autonomous System Number associated with the source IP address.
    #[prost(uint32, repeated, tag = "117825266")]
    pub src_asns: ::prost::alloc::vec::Vec<u32>,
    /// Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
    #[prost(string, repeated, tag = "432128083")]
    pub src_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit
    /// unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
    #[prost(string, repeated, tag = "445095415")]
    pub src_ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Two-letter ISO 3166-1 alpha-2 country code associated with the source
    /// IP address.
    #[prost(string, repeated, tag = "99086742")]
    pub src_region_codes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// User-defined fields. Each element names a defined field and lists the
    /// matching values for that field.
    #[prost(message, repeated, tag = "28312739")]
    pub user_defined_fields: ::prost::alloc::vec::Vec<
        SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch {
    /// Name of the user-defined field, as given in the definition.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Matching values of the field. Each element can be a 32-bit unsigned
    /// decimal or hexadecimal (starting with "0x") number (e.g. "64") or
    /// range (e.g.  "0x400-0x7ff").
    #[prost(string, repeated, tag = "249928994")]
    pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyRulePreconfiguredWafConfig {
    /// A list of exclusions to apply during preconfigured WAF evaluation.
    #[prost(message, repeated, tag = "208665701")]
    pub exclusions: ::prost::alloc::vec::Vec<
        SecurityPolicyRulePreconfiguredWafConfigExclusion,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyRulePreconfiguredWafConfigExclusion {
    /// A list of request cookie names whose value will be excluded from
    /// inspection during preconfigured WAF evaluation.
    #[prost(message, repeated, tag = "156757878")]
    pub request_cookies_to_exclude: ::prost::alloc::vec::Vec<
        SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams,
    >,
    /// A list of request header names whose value will be excluded from
    /// inspection during preconfigured WAF evaluation.
    #[prost(message, repeated, tag = "63230495")]
    pub request_headers_to_exclude: ::prost::alloc::vec::Vec<
        SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams,
    >,
    /// A list of request query parameter names whose value will be excluded
    /// from inspection during preconfigured WAF evaluation. Note that the
    /// parameter can be in the query string or in the POST body.
    #[prost(message, repeated, tag = "340692744")]
    pub request_query_params_to_exclude: ::prost::alloc::vec::Vec<
        SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams,
    >,
    /// A list of request URIs from the request line to be excluded from
    /// inspection during preconfigured WAF evaluation. When specifying this
    /// field, the query or fragment part should be excluded.
    #[prost(message, repeated, tag = "90690846")]
    pub request_uris_to_exclude: ::prost::alloc::vec::Vec<
        SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams,
    >,
    /// A list of target rule IDs under the WAF rule set to apply the
    /// preconfigured WAF exclusion. If omitted, it refers to all the rule
    /// IDs under the WAF rule set.
    #[prost(string, repeated, tag = "498430435")]
    pub target_rule_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Target WAF rule set to apply the preconfigured WAF exclusion.
    #[prost(string, optional, tag = "498440077")]
    pub target_rule_set: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams {
    /// The match operator for the field.
    /// Check the Op enum for the list of possible values.
    #[prost(string, optional, tag = "3553")]
    pub op: ::core::option::Option<::prost::alloc::string::String>,
    /// The value of the field.
    #[prost(string, optional, tag = "116513")]
    pub val: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams`.
pub mod security_policy_rule_preconfigured_waf_config_exclusion_field_params {
    /// The match operator for the field.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Op {
        /// A value indicating that the enum field is not set.
        UndefinedOp = 0,
        /// The operator matches if the field value contains the specified
        /// value.
        Contains = 215180831,
        /// The operator matches if the field value ends with the specified
        /// value.
        EndsWith = 490402221,
        /// The operator matches if the field value equals the specified
        /// value.
        Equals = 442201023,
        /// The operator matches if the field value is any value.
        EqualsAny = 337226060,
        /// The operator matches if the field value starts with the specified
        /// value.
        StartsWith = 139505652,
    }
    impl Op {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedOp => "UNDEFINED_OP",
                Self::Contains => "CONTAINS",
                Self::EndsWith => "ENDS_WITH",
                Self::Equals => "EQUALS",
                Self::EqualsAny => "EQUALS_ANY",
                Self::StartsWith => "STARTS_WITH",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_OP" => Some(Self::UndefinedOp),
                "CONTAINS" => Some(Self::Contains),
                "ENDS_WITH" => Some(Self::EndsWith),
                "EQUALS" => Some(Self::Equals),
                "EQUALS_ANY" => Some(Self::EqualsAny),
                "STARTS_WITH" => Some(Self::StartsWith),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyRuleRateLimitOptions {
    /// Can only be specified if the action for the rule is
    /// "rate_based_ban". If specified, determines the time (in seconds)
    /// the traffic will continue to be banned by the rate limit after the
    /// rate falls below the threshold.
    #[prost(int32, optional, tag = "42896726")]
    pub ban_duration_sec: ::core::option::Option<i32>,
    /// Can only be specified if the action for the rule is
    /// "rate_based_ban". If specified, the key will be banned for the
    /// configured 'ban_duration_sec' when the number of requests that exceed
    /// the 'rate_limit_threshold' also exceed this 'ban_threshold'.
    #[prost(message, optional, tag = "501208123")]
    pub ban_threshold: ::core::option::Option<
        SecurityPolicyRuleRateLimitOptionsThreshold,
    >,
    /// Action to take for requests that are under the configured rate limit
    /// threshold. Valid option is "allow" only.
    #[prost(string, optional, tag = "517612367")]
    pub conform_action: ::core::option::Option<::prost::alloc::string::String>,
    /// Determines the key to enforce the rate_limit_threshold on. Possible
    /// values are:
    ///
    /// ```text
    /// - ALL: A single rate limit threshold is applied to all
    /// the requests matching this rule. This is the default value if
    /// "enforceOnKey" is not configured.
    /// - IP: The source IP address of
    /// the request is the key. Each IP has this limit enforced
    /// separately.
    /// - HTTP_HEADER: The value of the HTTP
    /// header whose name is configured under "enforceOnKeyName". The key
    /// value is truncated to the first 128 bytes of the header value. If no
    /// such header is present in the request, the key type defaults toALL.
    /// - XFF_IP: The first IP address (i.e. the
    /// originating client IP address) specified in the list of IPs under
    /// X-Forwarded-For HTTP header. If no such header is present or the value
    /// is not a valid IP, the key defaults to the source IP address of
    /// the request i.e. key type IP.
    /// - HTTP_COOKIE: The value of the HTTP
    /// cookie whose name is configured under "enforceOnKeyName". The key
    /// value is truncated to the first 128 bytes of the cookie value. If no
    /// such cookie is present in the request, the key type defaults toALL.
    /// - HTTP_PATH: The URL path of the HTTP request. The key
    /// value is truncated to the first 128 bytes.
    /// - SNI: Server name indication in the TLS session of the
    /// HTTPS request. The key value is truncated to the first 128 bytes. The
    /// key type defaults to ALL on a HTTP session.
    /// - REGION_CODE: The country/region from which the request
    /// originates.
    /// - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the
    /// client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
    /// key type defaults to ALL.
    /// - USER_IP: The IP address of the originating client,
    /// which is resolved based on "userIpRequestHeaders" configured with the
    /// security policy. If there is no "userIpRequestHeaders" configuration or
    /// an IP address cannot be resolved from it, the key type defaults toIP.
    /// ```
    ///
    /// * TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the
    ///   client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
    ///   key type defaults to ALL.
    ///   For "fairshare" action, this value is limited to ALL i.e. a single rate
    ///   limit threshold is enforced for all the requests matching the rule.
    ///   Check the EnforceOnKey enum for the list of possible values.
    #[prost(string, optional, tag = "416648956")]
    pub enforce_on_key: ::core::option::Option<::prost::alloc::string::String>,
    /// If specified, any combination of values of
    /// enforce_on_key_type/enforce_on_key_name is treated as the key on which
    /// ratelimit threshold/action is enforced. You can specify up to 3
    /// enforce_on_key_configs. If enforce_on_key_configs is specified,
    /// enforce_on_key must not be specified.
    #[prost(message, repeated, tag = "33906478")]
    pub enforce_on_key_configs: ::prost::alloc::vec::Vec<
        SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig,
    >,
    /// Rate limit key name applicable only for the following key types:
    /// HTTP_HEADER -- Name of the HTTP header whose value is taken as the key
    /// value.
    /// HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key
    /// value.
    #[prost(string, optional, tag = "132555246")]
    pub enforce_on_key_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Action to take for requests that are above the configured rate limit
    /// threshold, to either deny with a specified HTTP response code, or
    /// redirect to a different endpoint.
    /// Valid options are `deny(STATUS)`, where valid values for
    /// `STATUS` are 403, 404, 429, and 502, and
    /// `redirect`, where the redirect parameters come from
    /// `exceedRedirectOptions` below.
    /// The `redirect` action is only supported in Global Security Policies of
    /// type CLOUD_ARMOR.
    #[prost(string, optional, tag = "167159073")]
    pub exceed_action: ::core::option::Option<::prost::alloc::string::String>,
    /// Parameters defining the redirect action that is used as the exceed
    /// action. Cannot be specified if the exceed action is not redirect.
    /// This field is only supported in Global Security Policies of type
    /// CLOUD_ARMOR.
    #[prost(message, optional, tag = "473646694")]
    pub exceed_redirect_options: ::core::option::Option<
        SecurityPolicyRuleRedirectOptions,
    >,
    /// Threshold at which to begin ratelimiting.
    #[prost(message, optional, tag = "315875208")]
    pub rate_limit_threshold: ::core::option::Option<
        SecurityPolicyRuleRateLimitOptionsThreshold,
    >,
}
/// Nested message and enum types in `SecurityPolicyRuleRateLimitOptions`.
pub mod security_policy_rule_rate_limit_options {
    /// Determines the key to enforce the rate_limit_threshold on. Possible
    /// values are:
    ///
    /// ```text
    /// - ALL: A single rate limit threshold is applied to all
    /// the requests matching this rule. This is the default value if
    /// "enforceOnKey" is not configured.
    /// - IP: The source IP address of
    /// the request is the key. Each IP has this limit enforced
    /// separately.
    /// - HTTP_HEADER: The value of the HTTP
    /// header whose name is configured under "enforceOnKeyName". The key
    /// value is truncated to the first 128 bytes of the header value. If no
    /// such header is present in the request, the key type defaults toALL.
    /// - XFF_IP: The first IP address (i.e. the
    /// originating client IP address) specified in the list of IPs under
    /// X-Forwarded-For HTTP header. If no such header is present or the value
    /// is not a valid IP, the key defaults to the source IP address of
    /// the request i.e. key type IP.
    /// - HTTP_COOKIE: The value of the HTTP
    /// cookie whose name is configured under "enforceOnKeyName". The key
    /// value is truncated to the first 128 bytes of the cookie value. If no
    /// such cookie is present in the request, the key type defaults toALL.
    /// - HTTP_PATH: The URL path of the HTTP request. The key
    /// value is truncated to the first 128 bytes.
    /// - SNI: Server name indication in the TLS session of the
    /// HTTPS request. The key value is truncated to the first 128 bytes. The
    /// key type defaults to ALL on a HTTP session.
    /// - REGION_CODE: The country/region from which the request
    /// originates.
    /// - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the
    /// client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
    /// key type defaults to ALL.
    /// - USER_IP: The IP address of the originating client,
    /// which is resolved based on "userIpRequestHeaders" configured with the
    /// security policy. If there is no "userIpRequestHeaders" configuration or
    /// an IP address cannot be resolved from it, the key type defaults toIP.
    /// ```
    ///
    /// * TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the
    ///   client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
    ///   key type defaults to ALL.
    ///   For "fairshare" action, this value is limited to ALL i.e. a single rate
    ///   limit threshold is enforced for all the requests matching the rule.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum EnforceOnKey {
        /// A value indicating that the enum field is not set.
        UndefinedEnforceOnKey = 0,
        All = 64897,
        HttpCookie = 494981627,
        HttpHeader = 91597348,
        HttpPath = 311503228,
        Ip = 2343,
        RegionCode = 79559768,
        Sni = 82254,
        TlsJa3Fingerprint = 327127933,
        TlsJa4Fingerprint = 33724926,
        UserIp = 34009627,
        XffIp = 438707118,
    }
    impl EnforceOnKey {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedEnforceOnKey => "UNDEFINED_ENFORCE_ON_KEY",
                Self::All => "ALL",
                Self::HttpCookie => "HTTP_COOKIE",
                Self::HttpHeader => "HTTP_HEADER",
                Self::HttpPath => "HTTP_PATH",
                Self::Ip => "IP",
                Self::RegionCode => "REGION_CODE",
                Self::Sni => "SNI",
                Self::TlsJa3Fingerprint => "TLS_JA3_FINGERPRINT",
                Self::TlsJa4Fingerprint => "TLS_JA4_FINGERPRINT",
                Self::UserIp => "USER_IP",
                Self::XffIp => "XFF_IP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ENFORCE_ON_KEY" => Some(Self::UndefinedEnforceOnKey),
                "ALL" => Some(Self::All),
                "HTTP_COOKIE" => Some(Self::HttpCookie),
                "HTTP_HEADER" => Some(Self::HttpHeader),
                "HTTP_PATH" => Some(Self::HttpPath),
                "IP" => Some(Self::Ip),
                "REGION_CODE" => Some(Self::RegionCode),
                "SNI" => Some(Self::Sni),
                "TLS_JA3_FINGERPRINT" => Some(Self::TlsJa3Fingerprint),
                "TLS_JA4_FINGERPRINT" => Some(Self::TlsJa4Fingerprint),
                "USER_IP" => Some(Self::UserIp),
                "XFF_IP" => Some(Self::XffIp),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig {
    /// Rate limit key name applicable only for the following key types:
    /// HTTP_HEADER -- Name of the HTTP header whose value is taken as the
    /// key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is
    /// taken as the key value.
    #[prost(string, optional, tag = "132555246")]
    pub enforce_on_key_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Determines the key to enforce the rate_limit_threshold on. Possible
    /// values are:
    ///
    /// ```text
    /// - ALL: A single rate limit threshold is applied to all
    /// the requests matching this rule. This is the default value if
    /// "enforceOnKeyConfigs" is not configured.
    /// - IP: The source IP address of
    /// the request is the key. Each IP has this limit enforced
    /// separately.
    /// - HTTP_HEADER: The value of the HTTP
    /// header whose name is configured under "enforceOnKeyName". The key
    /// value is truncated to the first 128 bytes of the header value. If no
    /// such header is present in the request, the key type defaults toALL.
    /// - XFF_IP: The first IP address (i.e. the
    /// originating client IP address) specified in the list of IPs under
    /// X-Forwarded-For HTTP header. If no such header is present or the
    /// value is not a valid IP, the key defaults to the source IP address of
    /// the request i.e. key type IP.
    /// - HTTP_COOKIE: The value of the HTTP
    /// cookie whose name is configured under "enforceOnKeyName". The key
    /// value is truncated to the first 128 bytes of the cookie value. If no
    /// such cookie is present in the request, the key type defaults toALL.
    /// - HTTP_PATH: The URL path of the HTTP request. The key
    /// value is truncated to the first 128 bytes.
    /// - SNI: Server name indication in the TLS session of
    /// the HTTPS request. The key value is truncated to the first 128 bytes.
    /// The key type defaults to ALL on a HTTP session.
    /// - REGION_CODE: The country/region from which the
    /// request originates.
    /// - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the
    /// client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
    /// key type defaults to ALL.
    /// - USER_IP: The IP address of the originating client,
    /// which is resolved based on "userIpRequestHeaders" configured with the
    /// security policy. If there is no "userIpRequestHeaders" configuration
    /// or an IP address cannot be resolved from it, the key type defaults toIP.
    /// ```
    ///
    /// * TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the
    ///   client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
    ///   key type defaults to ALL.
    ///   Check the EnforceOnKeyType enum for the list of possible values.
    #[prost(string, optional, tag = "132757149")]
    pub enforce_on_key_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig`.
pub mod security_policy_rule_rate_limit_options_enforce_on_key_config {
    /// Determines the key to enforce the rate_limit_threshold on. Possible
    /// values are:
    ///
    /// ```text
    /// - ALL: A single rate limit threshold is applied to all
    /// the requests matching this rule. This is the default value if
    /// "enforceOnKeyConfigs" is not configured.
    /// - IP: The source IP address of
    /// the request is the key. Each IP has this limit enforced
    /// separately.
    /// - HTTP_HEADER: The value of the HTTP
    /// header whose name is configured under "enforceOnKeyName". The key
    /// value is truncated to the first 128 bytes of the header value. If no
    /// such header is present in the request, the key type defaults toALL.
    /// - XFF_IP: The first IP address (i.e. the
    /// originating client IP address) specified in the list of IPs under
    /// X-Forwarded-For HTTP header. If no such header is present or the
    /// value is not a valid IP, the key defaults to the source IP address of
    /// the request i.e. key type IP.
    /// - HTTP_COOKIE: The value of the HTTP
    /// cookie whose name is configured under "enforceOnKeyName". The key
    /// value is truncated to the first 128 bytes of the cookie value. If no
    /// such cookie is present in the request, the key type defaults toALL.
    /// - HTTP_PATH: The URL path of the HTTP request. The key
    /// value is truncated to the first 128 bytes.
    /// - SNI: Server name indication in the TLS session of
    /// the HTTPS request. The key value is truncated to the first 128 bytes.
    /// The key type defaults to ALL on a HTTP session.
    /// - REGION_CODE: The country/region from which the
    /// request originates.
    /// - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the
    /// client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
    /// key type defaults to ALL.
    /// - USER_IP: The IP address of the originating client,
    /// which is resolved based on "userIpRequestHeaders" configured with the
    /// security policy. If there is no "userIpRequestHeaders" configuration
    /// or an IP address cannot be resolved from it, the key type defaults toIP.
    /// ```
    ///
    /// * TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the
    ///   client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
    ///   key type defaults to ALL.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum EnforceOnKeyType {
        /// A value indicating that the enum field is not set.
        UndefinedEnforceOnKeyType = 0,
        All = 64897,
        HttpCookie = 494981627,
        HttpHeader = 91597348,
        HttpPath = 311503228,
        Ip = 2343,
        RegionCode = 79559768,
        Sni = 82254,
        TlsJa3Fingerprint = 327127933,
        TlsJa4Fingerprint = 33724926,
        UserIp = 34009627,
        XffIp = 438707118,
    }
    impl EnforceOnKeyType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedEnforceOnKeyType => "UNDEFINED_ENFORCE_ON_KEY_TYPE",
                Self::All => "ALL",
                Self::HttpCookie => "HTTP_COOKIE",
                Self::HttpHeader => "HTTP_HEADER",
                Self::HttpPath => "HTTP_PATH",
                Self::Ip => "IP",
                Self::RegionCode => "REGION_CODE",
                Self::Sni => "SNI",
                Self::TlsJa3Fingerprint => "TLS_JA3_FINGERPRINT",
                Self::TlsJa4Fingerprint => "TLS_JA4_FINGERPRINT",
                Self::UserIp => "USER_IP",
                Self::XffIp => "XFF_IP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ENFORCE_ON_KEY_TYPE" => Some(Self::UndefinedEnforceOnKeyType),
                "ALL" => Some(Self::All),
                "HTTP_COOKIE" => Some(Self::HttpCookie),
                "HTTP_HEADER" => Some(Self::HttpHeader),
                "HTTP_PATH" => Some(Self::HttpPath),
                "IP" => Some(Self::Ip),
                "REGION_CODE" => Some(Self::RegionCode),
                "SNI" => Some(Self::Sni),
                "TLS_JA3_FINGERPRINT" => Some(Self::TlsJa3Fingerprint),
                "TLS_JA4_FINGERPRINT" => Some(Self::TlsJa4Fingerprint),
                "USER_IP" => Some(Self::UserIp),
                "XFF_IP" => Some(Self::XffIp),
                _ => None,
            }
        }
    }
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRuleRateLimitOptionsThreshold {
    /// Number of HTTP(S) requests for calculating the threshold.
    #[prost(int32, optional, tag = "94851343")]
    pub count: ::core::option::Option<i32>,
    /// Interval over which the threshold is computed.
    #[prost(int32, optional, tag = "41084375")]
    pub interval_sec: ::core::option::Option<i32>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyRuleRedirectOptions {
    /// Target for the redirect action. This is required if the type is
    /// EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
    #[prost(string, optional, tag = "192835985")]
    pub target: ::core::option::Option<::prost::alloc::string::String>,
    /// Type of the redirect action. Possible values are:
    ///
    /// ```text
    /// - GOOGLE_RECAPTCHA: redirect to reCAPTCHA for manual
    /// challenge assessment.
    /// - EXTERNAL_302: redirect to a different URL via a 302
    /// response.
    /// ```
    ///
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SecurityPolicyRuleRedirectOptions`.
pub mod security_policy_rule_redirect_options {
    /// Type of the redirect action. Possible values are:
    ///
    /// ```text
    /// - GOOGLE_RECAPTCHA: redirect to reCAPTCHA for manual
    /// challenge assessment.
    /// - EXTERNAL_302: redirect to a different URL via a 302
    /// response.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        External302 = 395733761,
        GoogleRecaptcha = 518803009,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::External302 => "EXTERNAL_302",
                Self::GoogleRecaptcha => "GOOGLE_RECAPTCHA",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "EXTERNAL_302" => Some(Self::External302),
                "GOOGLE_RECAPTCHA" => Some(Self::GoogleRecaptcha),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecurityPolicyUserDefinedField {
    /// The base relative to which 'offset' is measured. Possible values are:
    ///
    /// ```text
    /// - IPV4: Points to the beginning of the IPv4 header.
    /// - IPV6: Points to the beginning of the IPv6 header.
    /// - TCP: Points to the beginning of the TCP header, skipping
    /// over any IPv4 options or IPv6 extension headers. Not present for
    /// non-first fragments.
    /// - UDP: Points to the beginning of the UDP header, skipping
    /// over any IPv4 options or IPv6 extension headers. Not present for
    /// non-first fragments.
    /// ```
    ///
    /// required
    /// Check the Base enum for the list of possible values.
    #[prost(string, optional, tag = "3016401")]
    pub base: ::core::option::Option<::prost::alloc::string::String>,
    /// If specified, apply this mask (bitwise AND) to the field to ignore bits
    /// before matching. Encoded as a hexadecimal number (starting with "0x").
    /// The last byte of the field (in network byte order) corresponds to the
    /// least significant byte of the mask.
    #[prost(string, optional, tag = "3344108")]
    pub mask: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of this field. Must be unique within the policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Offset of the first byte of the field (in network byte order) relative to
    /// 'base'.
    #[prost(int32, optional, tag = "53961875")]
    pub offset: ::core::option::Option<i32>,
    /// Size of the field in bytes. Valid values: 1-4.
    #[prost(int32, optional, tag = "3530753")]
    pub size: ::core::option::Option<i32>,
}
/// Nested message and enum types in `SecurityPolicyUserDefinedField`.
pub mod security_policy_user_defined_field {
    /// The base relative to which 'offset' is measured. Possible values are:
    ///
    /// ```text
    /// - IPV4: Points to the beginning of the IPv4 header.
    /// - IPV6: Points to the beginning of the IPv6 header.
    /// - TCP: Points to the beginning of the TCP header, skipping
    /// over any IPv4 options or IPv6 extension headers. Not present for
    /// non-first fragments.
    /// - UDP: Points to the beginning of the UDP header, skipping
    /// over any IPv4 options or IPv6 extension headers. Not present for
    /// non-first fragments.
    /// ```
    ///
    /// required
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Base {
        /// A value indicating that the enum field is not set.
        UndefinedBase = 0,
        Ipv4 = 2254341,
        Ipv6 = 2254343,
        Tcp = 82881,
        Udp = 83873,
    }
    impl Base {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBase => "UNDEFINED_BASE",
                Self::Ipv4 => "IPV4",
                Self::Ipv6 => "IPV6",
                Self::Tcp => "TCP",
                Self::Udp => "UDP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BASE" => Some(Self::UndefinedBase),
                "IPV4" => Some(Self::Ipv4),
                "IPV6" => Some(Self::Ipv6),
                "TCP" => Some(Self::Tcp),
                "UDP" => Some(Self::Udp),
                _ => None,
            }
        }
    }
}
/// The authentication and authorization settings for a BackendService.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SecuritySettings {
    /// The configuration needed to generate a signature for access to private
    /// storage buckets that support AWS's Signature Version 4 for authentication.
    /// Allowed only for INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG backends.
    #[prost(message, optional, tag = "433993111")]
    pub aws_v4_authentication: ::core::option::Option<Awsv4Signature>,
    /// Optional. A URL referring to a networksecurity.ClientTlsPolicy resource
    /// that describes how clients should authenticate with this service's
    /// backends.
    ///
    /// clientTlsPolicy only applies to a globalBackendService with the loadBalancingScheme set
    /// to INTERNAL_SELF_MANAGED.
    ///
    /// If left blank, communications are not encrypted.
    #[prost(string, optional, tag = "462325226")]
    pub client_tls_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. A list of Subject Alternative Names (SANs) that the client
    /// verifies during a mutual TLS handshake with an server/endpoint for thisBackendService. When the server presents its X.509 certificate
    /// to the client, the client inspects the certificate'ssubjectAltName field. If the field contains one of the
    /// specified values, the communication continues. Otherwise, it fails. This
    /// additional check enables the client to verify that the server is authorized
    /// to run the requested service.
    ///
    /// Note that the contents of the server
    /// certificate's subjectAltName field are configured by the
    /// Public Key Infrastructure which provisions server identities.
    ///
    /// Only applies to a global BackendService withloadBalancingScheme set to INTERNAL_SELF_MANAGED.
    /// Only applies when BackendService has an attachedclientTlsPolicy with clientCertificate (mTLS
    /// mode).
    #[prost(string, repeated, tag = "330029535")]
    pub subject_alt_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// A request message for Instances.SendDiagnosticInterrupt. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SendDiagnosticInterruptInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A response message for Instances.SendDiagnosticInterrupt. See the method description for details.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SendDiagnosticInterruptInstanceResponse {}
/// An instance serial console output.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SerialPortOutput {
    /// \[Output Only\] The contents of the console output.
    #[prost(string, optional, tag = "506419994")]
    pub contents: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#serialPortOutput for serial port output.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The position of the next byte of content, regardless of
    /// whether the content exists, following the output returned in the `contents`
    /// property. Use this value in the next request as the start
    /// parameter.
    #[prost(int64, optional, tag = "3377907")]
    pub next: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// The starting byte position of the output that was returned.
    /// This should match the start parameter sent with the request.
    /// If the serial console output exceeds the size of the buffer (1 MB), older
    /// output is overwritten by newer content. The output start value will
    /// indicate the byte position of the output that was returned, which might be
    /// different than the `start` value that was specified in the request.
    #[prost(int64, optional, tag = "109757538")]
    pub start: ::core::option::Option<i64>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ServerBinding {
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ServerBinding`.
pub mod server_binding {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// Node may associate with any physical server over its lifetime.
        RestartNodeOnAnyServer = 502950985,
        /// Node may associate with minimal physical servers over its lifetime.
        RestartNodeOnMinimalServers = 204166495,
        ServerBindingTypeUnspecified = 180825512,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::RestartNodeOnAnyServer => "RESTART_NODE_ON_ANY_SERVER",
                Self::RestartNodeOnMinimalServers => "RESTART_NODE_ON_MINIMAL_SERVERS",
                Self::ServerBindingTypeUnspecified => "SERVER_BINDING_TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "RESTART_NODE_ON_ANY_SERVER" => Some(Self::RestartNodeOnAnyServer),
                "RESTART_NODE_ON_MINIMAL_SERVERS" => {
                    Some(Self::RestartNodeOnMinimalServers)
                }
                "SERVER_BINDING_TYPE_UNSPECIFIED" => {
                    Some(Self::ServerBindingTypeUnspecified)
                }
                _ => None,
            }
        }
    }
}
/// A service account.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ServiceAccount {
    /// Email address of the service account.
    #[prost(string, optional, tag = "96619420")]
    pub email: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of scopes to be made available for this service account.
    #[prost(string, repeated, tag = "165973151")]
    pub scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Represents a ServiceAttachment resource.
///
/// A service attachment represents a service that a producer has exposed.
/// It encapsulates the load balancer which fronts the service runs and
/// a list of NAT IP ranges that the producers uses to represent
/// the consumers connecting to the service.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceAttachment {
    /// Output only. \[Output Only\] An array of connections for all the consumers connected to
    /// this service attachment.
    #[prost(message, repeated, tag = "72223688")]
    pub connected_endpoints: ::prost::alloc::vec::Vec<
        ServiceAttachmentConnectedEndpoint,
    >,
    /// The connection preference of service attachment. The value can be set
    /// to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC
    /// service attachment is one that always accepts the connection from consumer
    /// forwarding rules.
    /// Check the ConnectionPreference enum for the list of possible values.
    #[prost(string, optional, tag = "285818076")]
    pub connection_preference: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies which consumer projects or networks are allowed to connect to the
    /// service attachment. Each project or network has a connection limit. A given
    /// service attachment can manage connections at either the project or network
    /// level. Therefore, both the accept and reject lists for a given service
    /// attachment must contain either only projects or only networks or only
    /// endpoints.
    #[prost(message, repeated, tag = "402725703")]
    pub consumer_accept_lists: ::prost::alloc::vec::Vec<
        ServiceAttachmentConsumerProjectLimit,
    >,
    /// Specifies a list of projects or networks that are not allowed to connect to
    /// this service attachment. The project can be specified using its project ID
    /// or project number and the network can be specified using its URL. A given
    /// service attachment can manage connections at either the project or network
    /// level. Therefore, both the reject and accept lists for a given service
    /// attachment must contain either only projects or only networks.
    #[prost(string, repeated, tag = "204033182")]
    pub consumer_reject_lists: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// If specified, the domain name will be used during the integration between
    /// the PSC connected endpoints and the Cloud DNS. For example, this is a valid
    /// domain name: "p.mycompany.com.". Current max number of domain names
    /// supported is 1.
    #[prost(string, repeated, tag = "6450189")]
    pub domain_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// If true, enable the proxy protocol which is for supplying client TCP/IP
    /// address data in TCP connections that traverse proxies on their way to
    /// destination servers.
    #[prost(bool, optional, tag = "363791237")]
    pub enable_proxy_protocol: ::core::option::Option<bool>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a ServiceAttachment. An up-to-date fingerprint must
    /// be provided in order to patch/update the ServiceAttachment; otherwise, the
    /// request will fail with error 412 conditionNotMet. To see the
    /// latest fingerprint, make a get() request to retrieve the
    /// ServiceAttachment.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Metadata of the service attachment.
    #[prost(map = "string, string", tag = "86866735")]
    pub metadata: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// An array of URLs where each entry is the URL of a subnet provided
    /// by the service producer to use for NAT in this service attachment.
    #[prost(string, repeated, tag = "374785944")]
    pub nat_subnets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The URL of a forwarding rule with loadBalancingScheme INTERNAL\* that is
    /// serving the endpoint identified by this service attachment.
    #[prost(string, optional, tag = "247927889")]
    pub producer_forwarding_rule: ::core::option::Option<::prost::alloc::string::String>,
    /// The number of consumer spokes that connected Private Service Connect
    /// endpoints can be propagated to through Network Connectivity Center. This
    /// limit lets the service producer limit how many propagated Private Service
    /// Connect connections can be established to this service attachment from a
    /// single consumer.
    ///
    /// If the connection preference of the service attachment is ACCEPT_MANUAL,
    /// the limit applies to each project or network that is listed in the consumer
    /// accept list. If the connection preference of the service attachment is
    /// ACCEPT_AUTOMATIC, the limit applies to each project that contains a
    /// connected endpoint.
    ///
    /// If unspecified, the default propagated connection limit is 250.
    #[prost(uint32, optional, tag = "332719230")]
    pub propagated_connection_limit: ::core::option::Option<u32>,
    /// Output only. \[Output Only\] An 128-bit global unique ID of the PSC service attachment.
    #[prost(message, optional, tag = "527695214")]
    pub psc_service_attachment_id: ::core::option::Option<Uint128>,
    /// This flag determines whether a consumer accept/reject list change can
    /// reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints.
    ///
    /// ```text
    /// -  If false, connection policy update will only affect existing PENDING
    /// PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched
    /// regardless how the connection policy is modified .
    /// -  If true,
    /// update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For
    /// example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project
    /// is added to the reject list.
    /// ```
    ///
    /// For newly created service attachment, this boolean defaults to false.
    #[prost(bool, optional, tag = "125493732")]
    pub reconcile_connections: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] URL of the region where the service attachment resides.
    /// This field applies only to the region resource. You must specify this
    /// field as part of the HTTP request URL. It is not settable as a field in
    /// the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of a service serving the endpoint identified by this service
    /// attachment.
    #[prost(string, optional, tag = "1293831")]
    pub target_service: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ServiceAttachment`.
pub mod service_attachment {
    /// The connection preference of service attachment. The value can be set
    /// to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC
    /// service attachment is one that always accepts the connection from consumer
    /// forwarding rules.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ConnectionPreference {
        /// A value indicating that the enum field is not set.
        UndefinedConnectionPreference = 0,
        AcceptAutomatic = 75250580,
        AcceptManual = 373061341,
        Unspecified = 34590772,
    }
    impl ConnectionPreference {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedConnectionPreference => "UNDEFINED_CONNECTION_PREFERENCE",
                Self::AcceptAutomatic => "ACCEPT_AUTOMATIC",
                Self::AcceptManual => "ACCEPT_MANUAL",
                Self::Unspecified => "CONNECTION_PREFERENCE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CONNECTION_PREFERENCE" => {
                    Some(Self::UndefinedConnectionPreference)
                }
                "ACCEPT_AUTOMATIC" => Some(Self::AcceptAutomatic),
                "ACCEPT_MANUAL" => Some(Self::AcceptManual),
                "CONNECTION_PREFERENCE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Contains a list of ServiceAttachmentsScopedList.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceAttachmentAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of ServiceAttachmentsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ServiceAttachmentsScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// \[Output Only\] A connection connected to this service attachment.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ServiceAttachmentConnectedEndpoint {
    /// The url of the consumer network.
    #[prost(string, optional, tag = "254357221")]
    pub consumer_network: ::core::option::Option<::prost::alloc::string::String>,
    /// The url of a connected endpoint.
    #[prost(string, optional, tag = "130489749")]
    pub endpoint: ::core::option::Option<::prost::alloc::string::String>,
    /// The url of a connected endpoint with resource id.
    #[prost(string, optional, tag = "444867210")]
    pub endpoint_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// NAT IPs of the connected PSC endpoint and those of other endpoints
    /// propagated from it.
    #[prost(string, repeated, tag = "117635086")]
    pub nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The number of consumer Network Connectivity Center spokes that the
    /// connected Private Service Connect endpoint has propagated to.
    #[prost(uint32, optional, tag = "324594130")]
    pub propagated_connection_count: ::core::option::Option<u32>,
    /// The PSC connection id of the connected endpoint.
    #[prost(uint64, optional, tag = "292082397")]
    pub psc_connection_id: ::core::option::Option<u64>,
    /// The status of a connected endpoint to this service attachment.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ServiceAttachmentConnectedEndpoint`.
pub mod service_attachment_connected_endpoint {
    /// The status of a connected endpoint to this service attachment.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The connection has been accepted by the producer.
        Accepted = 246714279,
        /// The connection has been closed by the producer.
        Closed = 380163436,
        /// The connection has been accepted by the producer, but the producer
        /// needs to take further action before the forwarding rule can serve
        /// traffic.
        NeedsAttention = 344491452,
        /// The connection is pending acceptance by the producer.
        Pending = 35394935,
        /// The consumer is still connected but not using the connection.
        Rejected = 174130302,
        Unspecified = 42133066,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Accepted => "ACCEPTED",
                Self::Closed => "CLOSED",
                Self::NeedsAttention => "NEEDS_ATTENTION",
                Self::Pending => "PENDING",
                Self::Rejected => "REJECTED",
                Self::Unspecified => "STATUS_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "ACCEPTED" => Some(Self::Accepted),
                "CLOSED" => Some(Self::Closed),
                "NEEDS_ATTENTION" => Some(Self::NeedsAttention),
                "PENDING" => Some(Self::Pending),
                "REJECTED" => Some(Self::Rejected),
                "STATUS_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ServiceAttachmentConsumerProjectLimit {
    /// The value of the limit to set. For endpoint_url, the limit should be no
    /// more than 1.
    #[prost(uint32, optional, tag = "131403546")]
    pub connection_limit: ::core::option::Option<u32>,
    /// The URL for the PSC endpoint to accept
    #[prost(string, optional, tag = "223428549")]
    pub endpoint_url: ::core::option::Option<::prost::alloc::string::String>,
    /// The network URL for the network to set the limit for.
    #[prost(string, optional, tag = "207194078")]
    pub network_url: ::core::option::Option<::prost::alloc::string::String>,
    /// The project id or number for the project to set the limit for.
    #[prost(string, optional, tag = "349783336")]
    pub project_id_or_num: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceAttachmentList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of ServiceAttachment resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<ServiceAttachment>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#serviceAttachment for service attachments.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceAttachmentsScopedList {
    /// A list of ServiceAttachments contained in this scope.
    #[prost(message, repeated, tag = "307136806")]
    pub service_attachments: ::prost::alloc::vec::Vec<ServiceAttachment>,
    /// Informational warning which replaces the list of
    /// service attachments when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// A request message for TargetSslProxies.SetBackendService. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetBackendServiceTargetSslProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "139080868")]
    pub target_ssl_proxies_set_backend_service_request_resource: ::core::option::Option<
        TargetSslProxiesSetBackendServiceRequest,
    >,
    /// Name of the TargetSslProxy resource whose BackendService resource
    /// is to be set.
    #[prost(string, tag = "338795853")]
    pub target_ssl_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetTcpProxies.SetBackendService. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetBackendServiceTargetTcpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "273721583")]
    pub target_tcp_proxies_set_backend_service_request_resource: ::core::option::Option<
        TargetTcpProxiesSetBackendServiceRequest,
    >,
    /// Name of the TargetTcpProxy resource whose BackendService resource
    /// is to be set.
    #[prost(string, tag = "503065442")]
    pub target_tcp_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetPools.SetBackup. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetBackupTargetPoolRequest {
    /// New failoverRatio value for the target pool.
    #[prost(float, optional, tag = "212667006")]
    pub failover_ratio: ::core::option::Option<f32>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetPool resource to set a backup pool for.
    #[prost(string, tag = "62796298")]
    pub target_pool: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "523721712")]
    pub target_reference_resource: ::core::option::Option<TargetReference>,
}
/// A request message for TargetHttpsProxies.SetCertificateMap. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetCertificateMapTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "467639099")]
    pub target_https_proxies_set_certificate_map_request_resource: ::core::option::Option<
        TargetHttpsProxiesSetCertificateMapRequest,
    >,
    /// Name of the TargetHttpsProxy resource whose CertificateMap is
    /// to be set. The name must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetSslProxies.SetCertificateMap. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetCertificateMapTargetSslProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "343984954")]
    pub target_ssl_proxies_set_certificate_map_request_resource: ::core::option::Option<
        TargetSslProxiesSetCertificateMapRequest,
    >,
    /// Name of the TargetSslProxy resource whose CertificateMap is
    /// to be set. The name must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, tag = "338795853")]
    pub target_ssl_proxy: ::prost::alloc::string::String,
}
/// A request message for Projects.SetCloudArmorTier. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetCloudArmorTierProjectRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "77053391")]
    pub projects_set_cloud_armor_tier_request_resource: ::core::option::Option<
        ProjectsSetCloudArmorTierRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetCommonInstanceMetadataOperationMetadata {
    /// \[Output Only\] The client operation id.
    #[prost(string, optional, tag = "297240295")]
    pub client_operation_id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Status information per location (location name is key).
    /// Example key: zones/us-central1-a
    #[prost(map = "string, message", tag = "408987796")]
    pub per_location_operations: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo {
    /// \[Output Only\] If state is `ABANDONED` or `FAILED`, this field is
    /// populated.
    #[prost(message, optional, tag = "96784904")]
    pub error: ::core::option::Option<Status>,
    /// \[Output Only\] Status of the action, which can be one of the following:
    /// `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo`.
pub mod set_common_instance_metadata_operation_metadata_per_location_operation_info {
    /// \[Output Only\] Status of the action, which can be one of the following:
    /// `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// Operation not tracked in this location e.g. zone is marked as DOWN.
        Abandoned = 81797556,
        /// Operation has completed successfully.
        Done = 2104194,
        /// Operation is in an error state.
        Failed = 455706685,
        /// Operation is confirmed to be in the location.
        Propagated = 507550299,
        /// Operation is not yet confirmed to have been created in the location.
        Propagating = 164807046,
        Unspecified = 526786327,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Abandoned => "ABANDONED",
                Self::Done => "DONE",
                Self::Failed => "FAILED",
                Self::Propagated => "PROPAGATED",
                Self::Propagating => "PROPAGATING",
                Self::Unspecified => "UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ABANDONED" => Some(Self::Abandoned),
                "DONE" => Some(Self::Done),
                "FAILED" => Some(Self::Failed),
                "PROPAGATED" => Some(Self::Propagated),
                "PROPAGATING" => Some(Self::Propagating),
                "UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// A request message for Projects.SetCommonInstanceMetadata. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetCommonInstanceMetadataProjectRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "291086110")]
    pub metadata_resource: ::core::option::Option<Metadata>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Projects.SetDefaultNetworkTier. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetDefaultNetworkTierProjectRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "126410762")]
    pub projects_set_default_network_tier_request_resource: ::core::option::Option<
        ProjectsSetDefaultNetworkTierRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Instances.SetDeletionProtection. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetDeletionProtectionInstanceRequest {
    /// Whether the resource should be protected against deletion.
    #[prost(bool, optional, tag = "458014698")]
    pub deletion_protection: ::core::option::Option<bool>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.SetDiskAutoDelete. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetDiskAutoDeleteInstanceRequest {
    /// Whether to auto-delete the disk when the instance is deleted.
    #[prost(bool, tag = "464761403")]
    pub auto_delete: bool,
    /// The device name of the disk to modify. Make a get() request
    /// on the instance to view currently attached disks and device names.
    #[prost(string, tag = "67541716")]
    pub device_name: ::prost::alloc::string::String,
    /// The instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for BackendBuckets.SetEdgeSecurityPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetEdgeSecurityPolicyBackendBucketRequest {
    /// Name of the BackendBucket resource to which the security policy should be
    /// set. The name should conform to RFC1035.
    #[prost(string, tag = "91714037")]
    pub backend_bucket: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "204135024")]
    pub security_policy_reference_resource: ::core::option::Option<
        SecurityPolicyReference,
    >,
}
/// A request message for BackendServices.SetEdgeSecurityPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetEdgeSecurityPolicyBackendServiceRequest {
    /// Name of the BackendService resource to which the edge security policy
    /// should be set. The name should conform to RFC1035.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "204135024")]
    pub security_policy_reference_resource: ::core::option::Option<
        SecurityPolicyReference,
    >,
}
/// A request message for BackendBuckets.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyBackendBucketRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "337048498")]
    pub global_set_policy_request_resource: ::core::option::Option<
        GlobalSetPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for BackendServices.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyBackendServiceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "337048498")]
    pub global_set_policy_request_resource: ::core::option::Option<
        GlobalSetPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Disks.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyDiskRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "382082107")]
    pub zone_set_policy_request_resource: ::core::option::Option<ZoneSetPolicyRequest>,
}
/// A request message for FirewallPolicies.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyFirewallPolicyRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "177408606")]
    pub global_organization_set_policy_request_resource: ::core::option::Option<
        GlobalOrganizationSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Images.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyImageRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "337048498")]
    pub global_set_policy_request_resource: ::core::option::Option<
        GlobalSetPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Instances.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyInstanceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "382082107")]
    pub zone_set_policy_request_resource: ::core::option::Option<ZoneSetPolicyRequest>,
}
/// A request message for InstanceTemplates.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyInstanceTemplateRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "337048498")]
    pub global_set_policy_request_resource: ::core::option::Option<
        GlobalSetPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for InstantSnapshotGroups.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyInstantSnapshotGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "382082107")]
    pub zone_set_policy_request_resource: ::core::option::Option<ZoneSetPolicyRequest>,
}
/// A request message for InstantSnapshots.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyInstantSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "382082107")]
    pub zone_set_policy_request_resource: ::core::option::Option<ZoneSetPolicyRequest>,
}
/// A request message for InterconnectAttachmentGroups.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyInterconnectAttachmentGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "337048498")]
    pub global_set_policy_request_resource: ::core::option::Option<
        GlobalSetPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for InterconnectGroups.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyInterconnectGroupRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "337048498")]
    pub global_set_policy_request_resource: ::core::option::Option<
        GlobalSetPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Licenses.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyLicenseRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "337048498")]
    pub global_set_policy_request_resource: ::core::option::Option<
        GlobalSetPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for MachineImages.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyMachineImageRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "337048498")]
    pub global_set_policy_request_resource: ::core::option::Option<
        GlobalSetPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for NetworkAttachments.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyNetworkAttachmentRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for NetworkFirewallPolicies.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyNetworkFirewallPolicyRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "337048498")]
    pub global_set_policy_request_resource: ::core::option::Option<
        GlobalSetPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for NodeGroups.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyNodeGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "382082107")]
    pub zone_set_policy_request_resource: ::core::option::Option<ZoneSetPolicyRequest>,
}
/// A request message for NodeTemplates.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyNodeTemplateRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionBackendBuckets.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyRegionBackendBucketRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionBackendServices.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyRegionBackendServiceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyRegionDiskRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionInstantSnapshotGroups.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyRegionInstantSnapshotGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionInstantSnapshots.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyRegionInstantSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionNetworkFirewallPolicies.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyRegionNetworkFirewallPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionSnapshots.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyRegionSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for ReservationBlocks.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyReservationBlockRequest {
    /// Name or id of parent resource of the resource for this request.
    #[prost(string, tag = "18091011")]
    pub parent_resource: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "266352851")]
    pub zone_set_nested_policy_request_resource: ::core::option::Option<
        ZoneSetNestedPolicyRequest,
    >,
}
/// A request message for Reservations.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyReservationRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "382082107")]
    pub zone_set_policy_request_resource: ::core::option::Option<ZoneSetPolicyRequest>,
}
/// A request message for ReservationSubBlocks.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyReservationSubBlockRequest {
    /// Name or id of parent resource of the resource for this request.
    #[prost(string, tag = "18091011")]
    pub parent_resource: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "266352851")]
    pub zone_set_nested_policy_request_resource: ::core::option::Option<
        ZoneSetNestedPolicyRequest,
    >,
}
/// A request message for ResourcePolicies.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyResourcePolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for ServiceAttachments.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyServiceAttachmentRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Snapshots.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicySnapshotRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "337048498")]
    pub global_set_policy_request_resource: ::core::option::Option<
        GlobalSetPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for StoragePools.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicyStoragePoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "382082107")]
    pub zone_set_policy_request_resource: ::core::option::Option<ZoneSetPolicyRequest>,
}
/// A request message for Subnetworks.SetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIamPolicySubnetworkRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "276489091")]
    pub region_set_policy_request_resource: ::core::option::Option<
        RegionSetPolicyRequest,
    >,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagers.SetInstanceTemplate. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetInstanceTemplateInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "9809093")]
    pub instance_group_managers_set_instance_template_request_resource: ::core::option::Option<
        InstanceGroupManagersSetInstanceTemplateRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.SetInstanceTemplate. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetInstanceTemplateRegionInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "187310412")]
    pub region_instance_group_managers_set_template_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersSetTemplateRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Addresses.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsAddressRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259357782")]
    pub region_set_labels_request_resource: ::core::option::Option<
        RegionSetLabelsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Disks.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsDiskRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "364950798")]
    pub zone_set_labels_request_resource: ::core::option::Option<ZoneSetLabelsRequest>,
}
/// A request message for ExternalVpnGateways.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsExternalVpnGatewayRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "319917189")]
    pub global_set_labels_request_resource: ::core::option::Option<
        GlobalSetLabelsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for ForwardingRules.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsForwardingRuleRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259357782")]
    pub region_set_labels_request_resource: ::core::option::Option<
        RegionSetLabelsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for GlobalAddresses.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsGlobalAddressRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "319917189")]
    pub global_set_labels_request_resource: ::core::option::Option<
        GlobalSetLabelsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for GlobalForwardingRules.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsGlobalForwardingRuleRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "319917189")]
    pub global_set_labels_request_resource: ::core::option::Option<
        GlobalSetLabelsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Images.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsImageRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "319917189")]
    pub global_set_labels_request_resource: ::core::option::Option<
        GlobalSetLabelsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Instances.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "207749344")]
    pub instances_set_labels_request_resource: ::core::option::Option<
        InstancesSetLabelsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstantSnapshots.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsInstantSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "364950798")]
    pub zone_set_labels_request_resource: ::core::option::Option<ZoneSetLabelsRequest>,
}
/// A request message for InterconnectAttachments.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsInterconnectAttachmentRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259357782")]
    pub region_set_labels_request_resource: ::core::option::Option<
        RegionSetLabelsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Interconnects.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsInterconnectRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "319917189")]
    pub global_set_labels_request_resource: ::core::option::Option<
        GlobalSetLabelsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for MachineImages.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsMachineImageRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "319917189")]
    pub global_set_labels_request_resource: ::core::option::Option<
        GlobalSetLabelsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsRegionDiskRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259357782")]
    pub region_set_labels_request_resource: ::core::option::Option<
        RegionSetLabelsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionInstantSnapshots.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsRegionInstantSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259357782")]
    pub region_set_labels_request_resource: ::core::option::Option<
        RegionSetLabelsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionSecurityPolicies.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsRegionSecurityPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259357782")]
    pub region_set_labels_request_resource: ::core::option::Option<
        RegionSetLabelsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for RegionSnapshots.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsRegionSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259357782")]
    pub region_set_labels_request_resource: ::core::option::Option<
        RegionSetLabelsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for SecurityPolicies.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsSecurityPolicyRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "319917189")]
    pub global_set_labels_request_resource: ::core::option::Option<
        GlobalSetLabelsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Snapshots.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsSnapshotRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "319917189")]
    pub global_set_labels_request_resource: ::core::option::Option<
        GlobalSetLabelsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for TargetVpnGateways.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsTargetVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259357782")]
    pub region_set_labels_request_resource: ::core::option::Option<
        RegionSetLabelsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for VpnGateways.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259357782")]
    pub region_set_labels_request_resource: ::core::option::Option<
        RegionSetLabelsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for VpnTunnels.SetLabels. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetLabelsVpnTunnelRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "259357782")]
    pub region_set_labels_request_resource: ::core::option::Option<
        RegionSetLabelsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
}
/// A request message for Instances.SetMachineResources. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetMachineResourcesInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "196286318")]
    pub instances_set_machine_resources_request_resource: ::core::option::Option<
        InstancesSetMachineResourcesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.SetMachineType. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetMachineTypeInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "254157709")]
    pub instances_set_machine_type_request_resource: ::core::option::Option<
        InstancesSetMachineTypeRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.SetMetadata. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetMetadataInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "291086110")]
    pub metadata_resource: ::core::option::Option<Metadata>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.SetMinCpuPlatform. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetMinCpuPlatformInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "148459368")]
    pub instances_set_min_cpu_platform_request_resource: ::core::option::Option<
        InstancesSetMinCpuPlatformRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.SetName. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetNameInstanceRequest {
    /// The instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "272080980")]
    pub instances_set_name_request_resource: ::core::option::Option<
        InstancesSetNameRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroups.SetNamedPorts. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetNamedPortsInstanceGroupRequest {
    /// The name of the instance group where the named ports are updated.
    #[prost(string, tag = "81095253")]
    pub instance_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "385151535")]
    pub instance_groups_set_named_ports_request_resource: ::core::option::Option<
        InstanceGroupsSetNamedPortsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone
    /// where the instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroups.SetNamedPorts. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetNamedPortsRegionInstanceGroupRequest {
    /// The name of the regional instance group where the named ports are updated.
    #[prost(string, tag = "81095253")]
    pub instance_group: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "1574938")]
    pub region_instance_groups_set_named_ports_request_resource: ::core::option::Option<
        RegionInstanceGroupsSetNamedPortsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for NodeGroups.SetNodeTemplate. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetNodeTemplateNodeGroupRequest {
    /// Name of the NodeGroup resource to update.
    #[prost(string, tag = "469958146")]
    pub node_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "117382321")]
    pub node_groups_set_node_template_request_resource: ::core::option::Option<
        NodeGroupsSetNodeTemplateRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Subnetworks.SetPrivateIpGoogleAccess. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetPrivateIpGoogleAccessSubnetworkRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Subnetwork resource.
    #[prost(string, tag = "307827694")]
    pub subnetwork: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "268920696")]
    pub subnetworks_set_private_ip_google_access_request_resource: ::core::option::Option<
        SubnetworksSetPrivateIpGoogleAccessRequest,
    >,
}
/// A request message for TargetSslProxies.SetProxyHeader. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetProxyHeaderTargetSslProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "205284526")]
    pub target_ssl_proxies_set_proxy_header_request_resource: ::core::option::Option<
        TargetSslProxiesSetProxyHeaderRequest,
    >,
    /// Name of the TargetSslProxy resource whose ProxyHeader is to be set.
    #[prost(string, tag = "338795853")]
    pub target_ssl_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetTcpProxies.SetProxyHeader. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetProxyHeaderTargetTcpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "219958339")]
    pub target_tcp_proxies_set_proxy_header_request_resource: ::core::option::Option<
        TargetTcpProxiesSetProxyHeaderRequest,
    >,
    /// Name of the TargetTcpProxy resource whose ProxyHeader is to be set.
    #[prost(string, tag = "503065442")]
    pub target_tcp_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetHttpsProxies.SetQuicOverride. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetQuicOverrideTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "72940258")]
    pub target_https_proxies_set_quic_override_request_resource: ::core::option::Option<
        TargetHttpsProxiesSetQuicOverrideRequest,
    >,
    /// Name of the TargetHttpsProxy resource to set the QUIC override policy for.
    /// The name should conform to RFC1035.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
}
/// A request message for Instances.SetScheduling. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetSchedulingInstanceRequest {
    /// Instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "463181401")]
    pub scheduling_resource: ::core::option::Option<Scheduling>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for BackendServices.SetSecurityPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetSecurityPolicyBackendServiceRequest {
    /// Name of the BackendService resource to which the security policy should be
    /// set. The name should conform to RFC1035.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "204135024")]
    pub security_policy_reference_resource: ::core::option::Option<
        SecurityPolicyReference,
    >,
}
/// A request message for Instances.SetSecurityPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetSecurityPolicyInstanceRequest {
    /// Name of the Instance resource to which the security policy should be
    /// set. The name should conform to RFC1035.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "248424586")]
    pub instances_set_security_policy_request_resource: ::core::option::Option<
        InstancesSetSecurityPolicyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone scoping this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionBackendServices.SetSecurityPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetSecurityPolicyRegionBackendServiceRequest {
    /// Name of the BackendService resource to which the security policy should be
    /// set. The name should conform to RFC1035.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "204135024")]
    pub security_policy_reference_resource: ::core::option::Option<
        SecurityPolicyReference,
    >,
}
/// A request message for TargetInstances.SetSecurityPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetSecurityPolicyTargetInstanceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "204135024")]
    pub security_policy_reference_resource: ::core::option::Option<
        SecurityPolicyReference,
    >,
    /// Name of the TargetInstance resource to which the security policy should be
    /// set. The name should conform to RFC1035.
    #[prost(string, tag = "289769347")]
    pub target_instance: ::prost::alloc::string::String,
    /// Name of the zone scoping this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for TargetPools.SetSecurityPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetSecurityPolicyTargetPoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "204135024")]
    pub security_policy_reference_resource: ::core::option::Option<
        SecurityPolicyReference,
    >,
    /// Name of the TargetPool resource to which the security policy should be
    /// set. The name should conform to RFC1035.
    #[prost(string, tag = "62796298")]
    pub target_pool: ::prost::alloc::string::String,
}
/// A request message for Instances.SetServiceAccount. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetServiceAccountInstanceRequest {
    /// Name of the instance resource to start.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "275550008")]
    pub instances_set_service_account_request_resource: ::core::option::Option<
        InstancesSetServiceAccountRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.SetShieldedInstanceIntegrityPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetShieldedInstanceIntegrityPolicyInstanceRequest {
    /// Name or id of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "409169462")]
    pub shielded_instance_integrity_policy_resource: ::core::option::Option<
        ShieldedInstanceIntegrityPolicy,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionTargetHttpsProxies.SetSslCertificates. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetSslCertificatesRegionTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "390693383")]
    pub region_target_https_proxies_set_ssl_certificates_request_resource: ::core::option::Option<
        RegionTargetHttpsProxiesSetSslCertificatesRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpsProxy resource to set an
    /// SslCertificates resource for.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetHttpsProxies.SetSslCertificates. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetSslCertificatesTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "223122908")]
    pub target_https_proxies_set_ssl_certificates_request_resource: ::core::option::Option<
        TargetHttpsProxiesSetSslCertificatesRequest,
    >,
    /// Name of the TargetHttpsProxy resource to set an
    /// SslCertificates resource for.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetSslProxies.SetSslCertificates. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetSslCertificatesTargetSslProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "147940797")]
    pub target_ssl_proxies_set_ssl_certificates_request_resource: ::core::option::Option<
        TargetSslProxiesSetSslCertificatesRequest,
    >,
    /// Name of the TargetSslProxy resource whose SslCertificate resource
    /// is to be set.
    #[prost(string, tag = "338795853")]
    pub target_ssl_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetHttpsProxies.SetSslPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetSslPolicyTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "235403836")]
    pub ssl_policy_reference_resource: ::core::option::Option<SslPolicyReference>,
    /// Name of the TargetHttpsProxy resource whose SSL policy is
    /// to be set. The name must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
}
/// A request message for TargetSslProxies.SetSslPolicy. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetSslPolicyTargetSslProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "235403836")]
    pub ssl_policy_reference_resource: ::core::option::Option<SslPolicyReference>,
    /// Name of the TargetSslProxy resource whose SSL policy is
    /// to be set. The name must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, tag = "338795853")]
    pub target_ssl_proxy: ::prost::alloc::string::String,
}
/// A request message for Instances.SetTags. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetTagsInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "331435380")]
    pub tags_resource: ::core::option::Option<Tags>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ForwardingRules.SetTarget. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetTargetForwardingRuleRequest {
    /// Name of the ForwardingRule resource in which target is to be set.
    #[prost(string, tag = "269964030")]
    pub forwarding_rule: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "523721712")]
    pub target_reference_resource: ::core::option::Option<TargetReference>,
}
/// A request message for GlobalForwardingRules.SetTarget. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetTargetGlobalForwardingRuleRequest {
    /// Name of the ForwardingRule resource in which target is to be set.
    #[prost(string, tag = "269964030")]
    pub forwarding_rule: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "523721712")]
    pub target_reference_resource: ::core::option::Option<TargetReference>,
}
/// A request message for InstanceGroupManagers.SetTargetPools. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetTargetPoolsInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "281150216")]
    pub instance_group_managers_set_target_pools_request_resource: ::core::option::Option<
        InstanceGroupManagersSetTargetPoolsRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.SetTargetPools. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetTargetPoolsRegionInstanceGroupManagerRequest {
    /// Name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "78734717")]
    pub region_instance_group_managers_set_target_pools_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersSetTargetPoolsRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionTargetHttpProxies.SetUrlMap. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetUrlMapRegionTargetHttpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpProxy to set a URL map for.
    #[prost(string, tag = "206872421")]
    pub target_http_proxy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "398701333")]
    pub url_map_reference_resource: ::core::option::Option<UrlMapReference>,
}
/// A request message for RegionTargetHttpsProxies.SetUrlMap. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetUrlMapRegionTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpsProxy to set a URL map for.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "398701333")]
    pub url_map_reference_resource: ::core::option::Option<UrlMapReference>,
}
/// A request message for TargetHttpProxies.SetUrlMap. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetUrlMapTargetHttpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpProxy to set a URL map for.
    #[prost(string, tag = "206872421")]
    pub target_http_proxy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "398701333")]
    pub url_map_reference_resource: ::core::option::Option<UrlMapReference>,
}
/// A request message for TargetHttpsProxies.SetUrlMap. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetUrlMapTargetHttpsProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the TargetHttpsProxy resource whose URL map is
    /// to be set.
    #[prost(string, tag = "52336748")]
    pub target_https_proxy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "398701333")]
    pub url_map_reference_resource: ::core::option::Option<UrlMapReference>,
}
/// A request message for Projects.SetUsageExportBucket. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SetUsageExportBucketProjectRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "20260459")]
    pub usage_export_location_resource: ::core::option::Option<UsageExportLocation>,
}
/// The share setting for reservations and sole tenancy node groups.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShareSettings {
    /// A map of project id and project config. This is only valid when
    /// share_type's value is SPECIFIC_PROJECTS.
    #[prost(map = "string, message", tag = "134212406")]
    pub project_map: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ShareSettingsProjectConfig,
    >,
    /// Type of sharing for this shared-reservation
    /// Check the ShareType enum for the list of possible values.
    #[prost(string, optional, tag = "359533466")]
    pub share_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `ShareSettings`.
pub mod share_settings {
    /// Type of sharing for this shared-reservation
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ShareType {
        /// A value indicating that the enum field is not set.
        UndefinedShareType = 0,
        /// Default value.
        Local = 72607563,
        /// Shared-reservation is open to entire Organization
        Organization = 274978099,
        /// Default value. This value is unused.
        Unspecified = 494771730,
        /// Shared-reservation is open to specific projects
        SpecificProjects = 347838695,
    }
    impl ShareType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedShareType => "UNDEFINED_SHARE_TYPE",
                Self::Local => "LOCAL",
                Self::Organization => "ORGANIZATION",
                Self::Unspecified => "SHARE_TYPE_UNSPECIFIED",
                Self::SpecificProjects => "SPECIFIC_PROJECTS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SHARE_TYPE" => Some(Self::UndefinedShareType),
                "LOCAL" => Some(Self::Local),
                "ORGANIZATION" => Some(Self::Organization),
                "SHARE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                "SPECIFIC_PROJECTS" => Some(Self::SpecificProjects),
                _ => None,
            }
        }
    }
}
/// Config for each project in the share settings.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ShareSettingsProjectConfig {
    /// The project ID, should be same as the key of this project config in the
    /// parent map.
    #[prost(string, optional, tag = "177513473")]
    pub project_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A set of Shielded Instance options.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ShieldedInstanceConfig {
    /// Defines whether the instance has integrity monitoring enabled.Enabled by
    /// default.
    #[prost(bool, optional, tag = "409071030")]
    pub enable_integrity_monitoring: ::core::option::Option<bool>,
    /// Defines whether the instance has Secure Boot enabled.Disabled by
    /// default.
    #[prost(bool, optional, tag = "123568638")]
    pub enable_secure_boot: ::core::option::Option<bool>,
    /// Defines whether the instance has the vTPM enabled.Enabled by
    /// default.
    #[prost(bool, optional, tag = "181858935")]
    pub enable_vtpm: ::core::option::Option<bool>,
}
/// A Shielded Instance Identity.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ShieldedInstanceIdentity {
    /// An Endorsement Key (EK) made by the ECC P256 algorithm
    /// issued to the Shielded Instance's vTPM.
    #[prost(message, optional, tag = "469607365")]
    pub ecc_p256_encryption_key: ::core::option::Option<ShieldedInstanceIdentityEntry>,
    /// An Attestation Key (AK) made by the ECC P256 algorithm
    /// issued to the Shielded Instance's vTPM.
    #[prost(message, optional, tag = "477678403")]
    pub ecc_p256_signing_key: ::core::option::Option<ShieldedInstanceIdentityEntry>,
    /// An Endorsement Key (EK) made by the RSA 2048 algorithm
    /// issued to the Shielded Instance's vTPM.
    #[prost(message, optional, tag = "488268707")]
    pub encryption_key: ::core::option::Option<ShieldedInstanceIdentityEntry>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#shieldedInstanceIdentity for shielded Instance
    /// identity entry.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// An Attestation Key (AK) made by the RSA 2048 algorithm
    /// issued to the Shielded Instance's vTPM.
    #[prost(message, optional, tag = "320948261")]
    pub signing_key: ::core::option::Option<ShieldedInstanceIdentityEntry>,
}
/// A Shielded Instance Identity Entry.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ShieldedInstanceIdentityEntry {
    /// A PEM-encoded X.509 certificate. This field can be empty.
    #[prost(string, optional, tag = "450178589")]
    pub ek_cert: ::core::option::Option<::prost::alloc::string::String>,
    /// A PEM-encoded public key.
    #[prost(string, optional, tag = "308947940")]
    pub ek_pub: ::core::option::Option<::prost::alloc::string::String>,
}
/// The policy describes the baseline against which
/// Instance boot integrity is measured.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ShieldedInstanceIntegrityPolicy {
    /// Updates the integrity policy baseline using the
    /// measurements from the VM instance's most recent boot.
    #[prost(bool, optional, tag = "245490215")]
    pub update_auto_learn_policy: ::core::option::Option<bool>,
}
/// Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SignedUrlKey {
    /// Name of the key. The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "500938859")]
    pub key_name: ::core::option::Option<::prost::alloc::string::String>,
    /// 128-bit key value used for signing the URL. The key value must be a validRFC
    /// 4648 Section 5 base64url encoded string.
    #[prost(string, optional, tag = "504106897")]
    pub key_value: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Instances.SimulateMaintenanceEvent. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SimulateMaintenanceEventInstanceRequest {
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Determines whether the customers receive notifications before migration.
    /// Only applicable to SF vms.
    #[prost(bool, optional, tag = "405957627")]
    pub with_extended_notifications: ::core::option::Option<bool>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NodeGroups.SimulateMaintenanceEvent. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SimulateMaintenanceEventNodeGroupRequest {
    /// Name of the NodeGroup resource whose nodes will go under maintenance
    /// simulation.
    #[prost(string, tag = "469958146")]
    pub node_group: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "351468764")]
    pub node_groups_simulate_maintenance_event_request_resource: ::core::option::Option<
        NodeGroupsSimulateMaintenanceEventRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// Represents a Persistent Disk Snapshot resource.
///
/// You can use snapshots to back up data on a regular interval. For more
/// information, read  Creating
/// persistent disk snapshots.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Snapshot {
    /// Output only. \[Output Only\] The architecture of the snapshot. Valid values are
    /// ARM64 or X86_64.
    /// Check the Architecture enum for the list of possible values.
    #[prost(string, optional, tag = "302803283")]
    pub architecture: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Set to true if snapshots are automatically created by
    /// applying resource policy on the target disk.
    #[prost(bool, optional, tag = "463922264")]
    pub auto_created: ::core::option::Option<bool>,
    /// Creates the new snapshot in the snapshot chain labeled with the
    /// specified name. The chain name must be 1-63 characters long and comply
    /// with RFC1035. This is an uncommon option only for advanced service
    /// owners who needs to create separate snapshot chains, for example,
    /// for chargeback tracking. When you describe your snapshot resource, this
    /// field is visible only if it has a non-empty value.
    #[prost(string, optional, tag = "68644169")]
    pub chain_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Size in bytes of the snapshot at creation time.
    #[prost(int64, optional, tag = "125400077")]
    pub creation_size_bytes: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Size of the source disk, specified in GB.
    #[prost(int64, optional, tag = "316263735")]
    pub disk_size_gb: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Number of bytes downloaded to restore a snapshot to a disk.
    #[prost(int64, optional, tag = "435054068")]
    pub download_bytes: ::core::option::Option<i64>,
    /// Output only. Whether this snapshot is created from a confidential compute mode disk.
    /// \[Output Only\]: This field is not set by user, but from source disk.
    #[prost(bool, optional, tag = "102135228")]
    pub enable_confidential_compute: ::core::option::Option<bool>,
    /// \[Input Only\] Whether to attempt an application consistent snapshot by
    /// informing the OS to prepare for the snapshot process.
    #[prost(bool, optional, tag = "385550813")]
    pub guest_flush: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] A list of features to enable on the guest operating system.
    /// Applicable only for bootable images. Read
    /// Enabling guest operating system features to see a list of available
    /// options.
    #[prost(message, repeated, tag = "79294545")]
    pub guest_os_features: ::prost::alloc::vec::Vec<GuestOsFeature>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#snapshot
    /// for Snapshot resources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this snapshot, which is
    /// essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a snapshot.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels to apply to this snapshot. These can be later modified by
    /// the setLabels method.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Integer license codes indicating which licenses are attached
    /// to this snapshot.
    #[prost(int64, repeated, tag = "45482664")]
    pub license_codes: ::prost::alloc::vec::Vec<i64>,
    /// Output only. \[Output Only\] A list of public visible licenses that apply to this
    /// snapshot. This can be because the original image had licenses attached
    /// (such as a Windows image).
    #[prost(string, repeated, tag = "337642578")]
    pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// An opaque location hint used to place the snapshot close to other
    /// resources.
    /// This field is for use by internal tools that use the public API.
    #[prost(string, optional, tag = "350519505")]
    pub location_hint: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource; provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must be
    /// a dash, lowercase letter, or digit, except the last character, which cannot
    /// be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<SnapshotParams>,
    /// Output only. \[Output Only\] URL of the region where the snapshot resides. Only applicable
    /// for regional snapshots.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Reserved for future use.
    #[prost(bool, optional, tag = "480964257")]
    pub satisfies_pzi: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Encrypts the snapshot using acustomer-supplied
    /// encryption key.
    ///
    /// After you encrypt a snapshot using a customer-supplied key, you must
    /// provide the same key if you use the snapshot later. For example, you must
    /// provide the encryption key when you create a disk from the encrypted
    /// snapshot in a future request.
    ///
    /// Customer-supplied encryption keys do not protect access to metadata
    /// of the snapshot.
    ///
    /// If you do not provide an encryption key when creating the snapshot, then
    /// the snapshot will be encrypted using an automatically generated key and you
    /// do not need to provide a key to use the snapshot later.
    #[prost(message, optional, tag = "43334526")]
    pub snapshot_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// Output only. \[Output Only\] The unique ID of the snapshot group that this snapshot
    /// belongs to. The usage of snapshot group feature is restricted.
    #[prost(string, optional, tag = "255004406")]
    pub snapshot_group_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output only\] The snapshot group that this snapshot belongs to. The usage
    /// of snapshot group feature is restricted.
    #[prost(string, optional, tag = "246247846")]
    pub snapshot_group_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates the type of the snapshot.
    /// Check the SnapshotType enum for the list of possible values.
    #[prost(string, optional, tag = "124349653")]
    pub snapshot_type: ::core::option::Option<::prost::alloc::string::String>,
    /// The source disk used to create this snapshot.
    #[prost(string, optional, tag = "451753793")]
    pub source_disk: ::core::option::Option<::prost::alloc::string::String>,
    /// The customer-supplied
    /// encryption key of the source disk. Required if the source disk is
    /// protected by a customer-supplied encryption key.
    #[prost(message, optional, tag = "531501153")]
    pub source_disk_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// The source disk whose recovery checkpoint will be used to create this
    /// snapshot.
    #[prost(string, optional, tag = "359837950")]
    pub source_disk_for_recovery_checkpoint: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] The ID value of the disk used to create this snapshot. This
    /// value may be used to determine whether the snapshot was taken from the
    /// current or a previous instance of a given disk name.
    #[prost(string, optional, tag = "454190809")]
    pub source_disk_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The source instant snapshot used to create this snapshot. You can provide
    /// this as a partial or full URL to the resource. For example, the following
    /// are valid values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot>
    ///   - projects/project/zones/zone/instantSnapshots/instantSnapshot
    /// - zones/zone/instantSnapshots/instantSnapshot
    /// ```
    #[prost(string, optional, tag = "219202054")]
    pub source_instant_snapshot: ::core::option::Option<::prost::alloc::string::String>,
    /// Customer provided encryption key when creating Snapshot from Instant
    /// Snapshot.
    #[prost(message, optional, tag = "436536060")]
    pub source_instant_snapshot_encryption_key: ::core::option::Option<
        CustomerEncryptionKey,
    >,
    /// Output only. \[Output Only\] The unique ID of the instant snapshot used to create this
    /// snapshot. This value identifies the exact instant snapshot that was used to
    /// create this snapshot. For example, if you created the snapshot from an
    /// instant snapshot that was later deleted and recreated under the same name,
    /// the source instant snapshot ID would identify the exact instant snapshot
    /// that was used.
    #[prost(string, optional, tag = "287582708")]
    pub source_instant_snapshot_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] URL of the resource policy which created this
    /// scheduled snapshot.
    #[prost(string, optional, tag = "235756291")]
    pub source_snapshot_schedule_policy: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] ID of the resource policy which created this
    /// scheduled snapshot.
    #[prost(string, optional, tag = "70489047")]
    pub source_snapshot_schedule_policy_id: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] The status of the snapshot. This can beCREATING, DELETING, FAILED,READY, or UPLOADING.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A size of the storage used by the snapshot. As snapshots
    /// share storage, this number is expected to change with snapshot
    /// creation/deletion.
    #[prost(int64, optional, tag = "424631719")]
    pub storage_bytes: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] An indicator whether storageBytes is in a
    /// stable state or it is being adjusted as a result of shared storage
    /// reallocation. This status can either be UPDATING, meaning
    /// the size of the snapshot is being updated, or UP_TO_DATE,
    /// meaning the size of the snapshot is up-to-date.
    /// Check the StorageBytesStatus enum for the list of possible values.
    #[prost(string, optional, tag = "490739082")]
    pub storage_bytes_status: ::core::option::Option<::prost::alloc::string::String>,
    /// Cloud Storage bucket storage location of the snapshot (regional or
    /// multi-regional).
    #[prost(string, repeated, tag = "328005274")]
    pub storage_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Snapshot`.
pub mod snapshot {
    /// Output only. \[Output Only\] The architecture of the snapshot. Valid values are
    /// ARM64 or X86_64.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Architecture {
        /// A value indicating that the enum field is not set.
        UndefinedArchitecture = 0,
        /// Default value indicating Architecture is not set.
        Unspecified = 394750507,
        /// Machines with architecture ARM64
        Arm64 = 62547450,
        /// Machines with architecture X86_64
        X8664 = 425300551,
    }
    impl Architecture {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedArchitecture => "UNDEFINED_ARCHITECTURE",
                Self::Unspecified => "ARCHITECTURE_UNSPECIFIED",
                Self::Arm64 => "ARM64",
                Self::X8664 => "X86_64",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ARCHITECTURE" => Some(Self::UndefinedArchitecture),
                "ARCHITECTURE_UNSPECIFIED" => Some(Self::Unspecified),
                "ARM64" => Some(Self::Arm64),
                "X86_64" => Some(Self::X8664),
                _ => None,
            }
        }
    }
    /// Indicates the type of the snapshot.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SnapshotType {
        /// A value indicating that the enum field is not set.
        UndefinedSnapshotType = 0,
        Archive = 506752162,
        Standard = 484642493,
    }
    impl SnapshotType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSnapshotType => "UNDEFINED_SNAPSHOT_TYPE",
                Self::Archive => "ARCHIVE",
                Self::Standard => "STANDARD",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SNAPSHOT_TYPE" => Some(Self::UndefinedSnapshotType),
                "ARCHIVE" => Some(Self::Archive),
                "STANDARD" => Some(Self::Standard),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of the snapshot. This can beCREATING, DELETING, FAILED,READY, or UPLOADING.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Snapshot creation is in progress.
        Creating = 455564985,
        /// Snapshot is currently being deleted.
        Deleting = 528602024,
        /// Snapshot creation failed.
        Failed = 455706685,
        /// Snapshot has been created successfully.
        Ready = 77848963,
        /// Snapshot is being uploaded.
        Uploading = 267603489,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Failed => "FAILED",
                Self::Ready => "READY",
                Self::Uploading => "UPLOADING",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "FAILED" => Some(Self::Failed),
                "READY" => Some(Self::Ready),
                "UPLOADING" => Some(Self::Uploading),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] An indicator whether storageBytes is in a
    /// stable state or it is being adjusted as a result of shared storage
    /// reallocation. This status can either be UPDATING, meaning
    /// the size of the snapshot is being updated, or UP_TO_DATE,
    /// meaning the size of the snapshot is up-to-date.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StorageBytesStatus {
        /// A value indicating that the enum field is not set.
        UndefinedStorageBytesStatus = 0,
        Updating = 494614342,
        UpToDate = 101306702,
    }
    impl StorageBytesStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStorageBytesStatus => "UNDEFINED_STORAGE_BYTES_STATUS",
                Self::Updating => "UPDATING",
                Self::UpToDate => "UP_TO_DATE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STORAGE_BYTES_STATUS" => {
                    Some(Self::UndefinedStorageBytesStatus)
                }
                "UPDATING" => Some(Self::Updating),
                "UP_TO_DATE" => Some(Self::UpToDate),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SnapshotGroupParameters {
    /// URLs of the zones where disks should be replicated to. Only applicable
    /// for regional resources.
    #[prost(string, repeated, tag = "48438272")]
    pub replica_zones: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The source snapshot group used to create disks. You can provide this as a
    /// partial or full URL to the resource. For example, the following are valid
    /// values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/global/snapshotGroups/snapshotGroup>
    /// - projects/project/global/snapshotGroups/snapshotGroup
    ///   - global/snapshotGroups/snapshotGroup
    /// ```
    #[prost(string, optional, tag = "225130728")]
    pub source_snapshot_group: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the disk type resource describing which disk type to use to create
    /// disks. Provide this when creating the disk. For example:projects/project/zones/zone/diskTypes/pd-ssd. See Persistent disk
    /// types.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains a list of Snapshot resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SnapshotList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Snapshot resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Snapshot>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Additional snapshot params.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SnapshotParams {
    /// Input only. Resource manager tags to be bound to the snapshot. Tag keys and values have
    /// the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
    /// format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SnapshotSettings {
    /// (Regional snapshots use only)Policy of which location is allowed to access
    /// snapshot.
    #[prost(message, optional, tag = "18410544")]
    pub access_location: ::core::option::Option<SnapshotSettingsAccessLocation>,
    /// Policy of which storage location is going to be resolved, and additional
    /// data that particularizes how the policy is going to be carried out.
    #[prost(message, optional, tag = "460859641")]
    pub storage_location: ::core::option::Option<
        SnapshotSettingsStorageLocationSettings,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SnapshotSettingsAccessLocation {
    /// List of regions that can restore a regional
    /// snapshot from the current region
    #[prost(map = "string, message", tag = "413423454")]
    pub locations: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        SnapshotSettingsAccessLocationAccessLocationPreference,
    >,
    /// Policy of which location is allowed to access snapshot.
    /// Check the Policy enum for the list of possible values.
    #[prost(string, optional, tag = "91071794")]
    pub policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SnapshotSettingsAccessLocation`.
pub mod snapshot_settings_access_location {
    /// Policy of which location is allowed to access snapshot.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Policy {
        /// A value indicating that the enum field is not set.
        UndefinedPolicy = 0,
        /// Any regions will be able to access the source location.
        AllRegions = 273143585,
        Unspecified = 197974922,
        /// Only allowlisted regions will be able to restore region scoped
        /// snapshots
        SpecificRegions = 454128082,
    }
    impl Policy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPolicy => "UNDEFINED_POLICY",
                Self::AllRegions => "ALL_REGIONS",
                Self::Unspecified => "POLICY_UNSPECIFIED",
                Self::SpecificRegions => "SPECIFIC_REGIONS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_POLICY" => Some(Self::UndefinedPolicy),
                "ALL_REGIONS" => Some(Self::AllRegions),
                "POLICY_UNSPECIFIED" => Some(Self::Unspecified),
                "SPECIFIC_REGIONS" => Some(Self::SpecificRegions),
                _ => None,
            }
        }
    }
}
/// A structure for specifying an allowed target region.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SnapshotSettingsAccessLocationAccessLocationPreference {
    /// Accessible region name
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SnapshotSettingsStorageLocationSettings {
    /// When the policy is SPECIFIC_LOCATIONS, snapshots will be stored
    /// in the locations listed in this field. Keys are Cloud Storage bucket
    /// locations. Only one location can be specified.
    #[prost(map = "string, message", tag = "413423454")]
    pub locations: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        SnapshotSettingsStorageLocationSettingsStorageLocationPreference,
    >,
    /// The chosen location policy.
    /// Check the Policy enum for the list of possible values.
    #[prost(string, optional, tag = "91071794")]
    pub policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SnapshotSettingsStorageLocationSettings`.
pub mod snapshot_settings_storage_location_settings {
    /// The chosen location policy.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Policy {
        /// A value indicating that the enum field is not set.
        UndefinedPolicy = 0,
        /// Store snapshot in the same region as with the originating disk.
        /// No additional parameters are needed.
        LocalRegion = 403535464,
        /// Store snapshot in the nearest multi region Cloud Storage bucket,
        /// relative to the originating disk. No additional parameters are needed.
        NearestMultiRegion = 212467515,
        /// Store snapshot in the specific locations, as specified by the user.
        /// The list of regions to store must be defined under the `locations`
        /// field.
        SpecificLocations = 280093809,
        StorageLocationPolicyUnspecified = 250644592,
    }
    impl Policy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPolicy => "UNDEFINED_POLICY",
                Self::LocalRegion => "LOCAL_REGION",
                Self::NearestMultiRegion => "NEAREST_MULTI_REGION",
                Self::SpecificLocations => "SPECIFIC_LOCATIONS",
                Self::StorageLocationPolicyUnspecified => {
                    "STORAGE_LOCATION_POLICY_UNSPECIFIED"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_POLICY" => Some(Self::UndefinedPolicy),
                "LOCAL_REGION" => Some(Self::LocalRegion),
                "NEAREST_MULTI_REGION" => Some(Self::NearestMultiRegion),
                "SPECIFIC_LOCATIONS" => Some(Self::SpecificLocations),
                "STORAGE_LOCATION_POLICY_UNSPECIFIED" => {
                    Some(Self::StorageLocationPolicyUnspecified)
                }
                _ => None,
            }
        }
    }
}
/// A structure for specifying storage locations.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SnapshotSettingsStorageLocationSettingsStorageLocationPreference {
    /// Name of the location. It should be one of the Cloud Storage buckets.
    /// Only one location can be specified.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SnapshotUpdateKmsKeyRequest {
    /// Optional. The new KMS key to replace the current one on the snapshot. If empty, the
    /// snapshot will be re-encrypted using the primary version of the snapshot's
    /// current KMS key.
    ///
    /// The KMS key can be provided in the following formats:
    ///
    /// ```text
    ///   - projects/project_id/locations/region/keyRings/key_ring/cryptoKeys/key
    /// ```
    #[prost(string, optional, tag = "484373913")]
    pub kms_key_name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SourceDiskEncryptionKey {
    /// Thecustomer-supplied
    /// encryption key of the source disk. Required if the source disk is
    /// protected by a customer-supplied encryption key.
    #[prost(message, optional, tag = "271660677")]
    pub disk_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
    /// URL of the disk attached to the source instance. This can be a full or
    /// valid partial URL. For example, the following are valid values:
    ///
    /// ```text
    ///   - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk>
    /// - projects/project/zones/zone/disks/disk
    /// - zones/zone/disks/disk
    /// ```
    #[prost(string, optional, tag = "451753793")]
    pub source_disk: ::core::option::Option<::prost::alloc::string::String>,
}
/// A specification of the parameters to use when creating the instance template
/// from a source instance.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SourceInstanceParams {
    /// Attached disks configuration. If not provided, defaults are applied:
    /// For boot disk and any other R/W disks, the source images for each disk
    /// will be used. For read-only disks, they will be attached in read-only
    /// mode. Local SSD disks will be created as blank volumes.
    #[prost(message, repeated, tag = "235580623")]
    pub disk_configs: ::prost::alloc::vec::Vec<DiskInstantiationConfig>,
}
/// DEPRECATED: Please use compute#instanceProperties instead.
/// New properties will not be added to this field.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SourceInstanceProperties {
    /// Enables instances created based on this machine image to send packets with
    /// source IP addresses other than their own and receive packets with
    /// destination IP addresses other than their own. If these instances will be
    /// used as an IP gateway or it will be set as the next-hop in a Route
    /// resource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding
    /// documentation for more information.
    #[prost(bool, optional, tag = "467731324")]
    pub can_ip_forward: ::core::option::Option<bool>,
    /// Whether the instance created from this machine image should be protected
    /// against deletion.
    #[prost(bool, optional, tag = "458014698")]
    pub deletion_protection: ::core::option::Option<bool>,
    /// An optional text description for the instances that are created from this
    /// machine image.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// An array of disks that are associated with the instances that are created
    /// from this machine image.
    #[prost(message, repeated, tag = "95594102")]
    pub disks: ::prost::alloc::vec::Vec<SavedAttachedDisk>,
    /// A list of guest accelerator cards' type and count to use for instances
    /// created from this machine image.
    #[prost(message, repeated, tag = "463595119")]
    pub guest_accelerators: ::prost::alloc::vec::Vec<AcceleratorConfig>,
    /// KeyRevocationActionType of the instance. Supported options are "STOP" and
    /// "NONE". The default value is "NONE" if it is not specified.
    /// Check the KeyRevocationActionType enum for the list of possible values.
    #[prost(string, optional, tag = "235941474")]
    pub key_revocation_action_type: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Labels to apply to instances that are created from this machine image.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// The machine type to use for instances that are created from this machine
    /// image.
    #[prost(string, optional, tag = "227711026")]
    pub machine_type: ::core::option::Option<::prost::alloc::string::String>,
    /// The metadata key/value pairs to assign to instances that are created from
    /// this machine image. These pairs can consist of custom metadata or
    /// predefined keys. SeeProject and
    /// instance metadata for more information.
    #[prost(message, optional, tag = "86866735")]
    pub metadata: ::core::option::Option<Metadata>,
    /// Minimum cpu/platform to be used by instances created from this machine
    /// image. The instance may be scheduled on the specified or newer
    /// cpu/platform. Applicable values are the friendly names of CPU platforms,
    /// such as minCpuPlatform: "Intel Haswell" orminCpuPlatform: "Intel Sandy Bridge". For more
    /// information, read Specifying a
    /// Minimum CPU Platform.
    #[prost(string, optional, tag = "242912759")]
    pub min_cpu_platform: ::core::option::Option<::prost::alloc::string::String>,
    /// An array of network access configurations for this interface.
    #[prost(message, repeated, tag = "52735243")]
    pub network_interfaces: ::prost::alloc::vec::Vec<NetworkInterface>,
    /// PostKeyRevocationActionType of the instance.
    /// Check the PostKeyRevocationActionType enum for the list of possible values.
    #[prost(string, optional, tag = "292972897")]
    pub post_key_revocation_action_type: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Specifies the scheduling options for the instances that are created from
    /// this machine image.
    #[prost(message, optional, tag = "386688404")]
    pub scheduling: ::core::option::Option<Scheduling>,
    /// A list of service accounts with specified scopes. Access tokens for these
    /// service accounts are available to the instances that are created from this
    /// machine image. Use metadata queries to obtain the access tokens for these
    /// instances.
    #[prost(message, repeated, tag = "277537328")]
    pub service_accounts: ::prost::alloc::vec::Vec<ServiceAccount>,
    /// A list of tags to apply to the instances that are created from this machine
    /// image. The tags identify valid sources or targets for network firewalls.
    /// The setTags method can modify this list of tags. Each tag within the list
    /// must comply withRFC1035.
    #[prost(message, optional, tag = "3552281")]
    pub tags: ::core::option::Option<Tags>,
}
/// Nested message and enum types in `SourceInstanceProperties`.
pub mod source_instance_properties {
    /// KeyRevocationActionType of the instance. Supported options are "STOP" and
    /// "NONE". The default value is "NONE" if it is not specified.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum KeyRevocationActionType {
        /// A value indicating that the enum field is not set.
        UndefinedKeyRevocationActionType = 0,
        /// Default value. This value is unused.
        Unspecified = 467110106,
        /// Indicates user chose no operation.
        None = 2402104,
        /// Indicates user chose to opt for VM shutdown on key revocation.
        Stop = 2555906,
    }
    impl KeyRevocationActionType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedKeyRevocationActionType => {
                    "UNDEFINED_KEY_REVOCATION_ACTION_TYPE"
                }
                Self::Unspecified => "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED",
                Self::None => "NONE",
                Self::Stop => "STOP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_KEY_REVOCATION_ACTION_TYPE" => {
                    Some(Self::UndefinedKeyRevocationActionType)
                }
                "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                "NONE" => Some(Self::None),
                "STOP" => Some(Self::Stop),
                _ => None,
            }
        }
    }
    /// PostKeyRevocationActionType of the instance.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PostKeyRevocationActionType {
        /// A value indicating that the enum field is not set.
        UndefinedPostKeyRevocationActionType = 0,
        /// Indicates user chose no operation.
        Noop = 2402146,
        /// Default value. This value is unused.
        Unspecified = 228738393,
        /// Indicates user chose to opt for VM shutdown on key revocation.
        Shutdown = 76412502,
    }
    impl PostKeyRevocationActionType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPostKeyRevocationActionType => {
                    "UNDEFINED_POST_KEY_REVOCATION_ACTION_TYPE"
                }
                Self::Noop => "NOOP",
                Self::Unspecified => "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED",
                Self::Shutdown => "SHUTDOWN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_POST_KEY_REVOCATION_ACTION_TYPE" => {
                    Some(Self::UndefinedPostKeyRevocationActionType)
                }
                "NOOP" => Some(Self::Noop),
                "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                "SHUTDOWN" => Some(Self::Shutdown),
                _ => None,
            }
        }
    }
}
/// Represents an SSL certificate resource.
///
/// Google Compute Engine has two SSL certificate resources:
///
/// * [Global](/compute/docs/reference/rest/v1/sslCertificates)
/// * [Regional](/compute/docs/reference/rest/v1/regionSslCertificates)
///
/// The global SSL certificates (sslCertificates) are used by:
///
/// ```text
/// - Global external Application Load Balancers
/// - Classic Application Load Balancers
/// - Proxy Network Load Balancers (with target SSL proxies)
/// ```
///
/// The regional SSL certificates (regionSslCertificates) are used
/// by:
///
/// ```text
/// - Regional external Application Load Balancers
/// - Regional internal Application Load Balancers
/// ```
///
/// Optionally, certificate file contents that you upload can contain a set of up
/// to five PEM-encoded certificates.
/// The API call creates an object (sslCertificate) that holds this data.
/// You can use SSL keys and certificates to secure connections to a load
/// balancer.
/// For more information, read
/// Creating and using SSL certificates,SSL certificates
/// quotas and limits, and
/// Troubleshooting SSL certificates.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslCertificate {
    /// A value read into memory from a certificate file. The certificate file must
    /// be in PEM format. The certificate chain must be no greater than 5 certs
    /// long. The chain must include at least one intermediate cert.
    #[prost(string, optional, tag = "341787031")]
    pub certificate: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Expire time of the certificate. RFC3339
    #[prost(string, optional, tag = "440691181")]
    pub expire_time: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Configuration and status of a managed SSL certificate.
    #[prost(message, optional, tag = "298389407")]
    pub managed: ::core::option::Option<SslCertificateManagedSslCertificate>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// A value read into memory from a write-only private key file. The private
    /// key file must be in PEM format. For security, only insert
    /// requests include this field.
    #[prost(string, optional, tag = "361331107")]
    pub private_key: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the regional SSL Certificate
    /// resides. This field is not applicable to global SSL Certificate.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Configuration and status of a self-managed SSL certificate.
    #[prost(message, optional, tag = "329284012")]
    pub self_managed: ::core::option::Option<SslCertificateSelfManagedSslCertificate>,
    /// Output only. \[Output Only\] Domains associated with the certificate via Subject
    /// Alternative Name.
    #[prost(string, repeated, tag = "528807907")]
    pub subject_alternative_names: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or
    /// "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SslCertificate`.
pub mod ssl_certificate {
    /// (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or
    /// "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// Google-managed SSLCertificate.
        Managed = 479501183,
        /// Certificate uploaded by user.
        SelfManaged = 434437516,
        Unspecified = 437714322,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Managed => "MANAGED",
                Self::SelfManaged => "SELF_MANAGED",
                Self::Unspecified => "TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "MANAGED" => Some(Self::Managed),
                "SELF_MANAGED" => Some(Self::SelfManaged),
                "TYPE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslCertificateAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of SslCertificatesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        SslCertificatesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#sslCertificateAggregatedList for lists of SSL
    /// Certificates.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of SslCertificate resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslCertificateList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of SslCertificate resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<SslCertificate>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Configuration and status of a managed SSL certificate.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslCertificateManagedSslCertificate {
    /// Output only. \[Output only\] Detailed statuses of the domains specified for managed
    /// certificate resource.
    #[prost(map = "string, string", tag = "360305613")]
    pub domain_status: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// The domains for which a managed SSL certificate will be generated. Each
    /// Google-managed SSL certificate supports up to the [maximum number of
    /// domains per Google-managed SSL
    /// certificate](/load-balancing/docs/quotas#ssl_certificates).
    #[prost(string, repeated, tag = "226935855")]
    pub domains: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output only\] Status of the managed certificate resource.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SslCertificateManagedSslCertificate`.
pub mod ssl_certificate_managed_ssl_certificate {
    /// Output only. \[Output only\] Status of the managed certificate resource.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// The certificate management is working, and a certificate has been
        /// provisioned.
        Active = 314733318,
        ManagedCertificateStatusUnspecified = 474800850,
        /// The certificate management is working. GCP will attempt to provision
        /// the first certificate.
        Provisioning = 290896621,
        /// Certificate provisioning failed due to an issue with the DNS
        /// or load balancing configuration.
        /// For details of which domain failed, consult domain_status field.
        ProvisioningFailed = 76813775,
        /// Certificate provisioning failed due to an issue with the DNS
        /// or load balancing configuration. It won't be retried. To try again
        /// delete and create a new managed SslCertificate resource.
        /// For details of which domain failed, consult domain_status field.
        ProvisioningFailedPermanently = 275036203,
        /// Renewal of the certificate has failed due to an issue with the DNS
        /// or load balancing configuration. The existing cert is still serving;
        /// however, it will expire shortly. To provision a renewed certificate,
        /// delete and create a new managed SslCertificate resource.
        /// For details on which domain failed, consult domain_status field.
        RenewalFailed = 434659076,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Active => "ACTIVE",
                Self::ManagedCertificateStatusUnspecified => {
                    "MANAGED_CERTIFICATE_STATUS_UNSPECIFIED"
                }
                Self::Provisioning => "PROVISIONING",
                Self::ProvisioningFailed => "PROVISIONING_FAILED",
                Self::ProvisioningFailedPermanently => "PROVISIONING_FAILED_PERMANENTLY",
                Self::RenewalFailed => "RENEWAL_FAILED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "ACTIVE" => Some(Self::Active),
                "MANAGED_CERTIFICATE_STATUS_UNSPECIFIED" => {
                    Some(Self::ManagedCertificateStatusUnspecified)
                }
                "PROVISIONING" => Some(Self::Provisioning),
                "PROVISIONING_FAILED" => Some(Self::ProvisioningFailed),
                "PROVISIONING_FAILED_PERMANENTLY" => {
                    Some(Self::ProvisioningFailedPermanently)
                }
                "RENEWAL_FAILED" => Some(Self::RenewalFailed),
                _ => None,
            }
        }
    }
}
/// Configuration and status of a self-managed SSL certificate.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SslCertificateSelfManagedSslCertificate {
    /// A local certificate file. The certificate must be in
    /// PEM format. The certificate chain must be no greater than 5 certs
    /// long. The chain must include at least one intermediate cert.
    #[prost(string, optional, tag = "341787031")]
    pub certificate: ::core::option::Option<::prost::alloc::string::String>,
    /// A write-only private key in PEM format. Only insert
    /// requests will include this field.
    #[prost(string, optional, tag = "361331107")]
    pub private_key: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslCertificatesScopedList {
    /// List of SslCertificates contained in this scope.
    #[prost(message, repeated, tag = "366006543")]
    pub ssl_certificates: ::prost::alloc::vec::Vec<SslCertificate>,
    /// Informational warning which replaces the list of
    /// backend services when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslPoliciesAggregatedList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of SslPoliciesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        SslPoliciesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#sslPolicyAggregatedList for lists of SSL Policies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslPoliciesList {
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. A list of SslPolicy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<SslPolicy>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#sslPoliciesList for lists of sslPolicies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SslPoliciesListAvailableFeaturesResponse {
    #[prost(string, repeated, tag = "246211645")]
    pub features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslPoliciesScopedList {
    /// A list of SslPolicies contained in this scope.
    #[prost(message, repeated, tag = "209941027")]
    pub ssl_policies: ::prost::alloc::vec::Vec<SslPolicy>,
    /// Informational warning which replaces the list of
    /// SSL policies when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents an SSL Policy resource.
///
/// Use SSL policies to control SSL features, such as versions and cipher
/// suites, that are offered by Application Load Balancers and proxy Network Load
/// Balancers. For more information, read
/// SSL policies overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslPolicy {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of features enabled when the selected profile is CUSTOM. The
    /// method returns the set of features that can be
    /// specified in this list. This field must be empty if the profile is notCUSTOM.
    #[prost(string, repeated, tag = "34789707")]
    pub custom_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The list of features enabled in the SSL policy.
    #[prost(string, repeated, tag = "469017467")]
    pub enabled_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a SslPolicy. An up-to-date fingerprint must be
    /// provided in order to update the SslPolicy, otherwise the
    /// request will fail with error 412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve an SslPolicy.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output only\] Type of the resource. Alwayscompute#sslPolicyfor SSL policies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The minimum version of SSL protocol that can be used by the clients to
    /// establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field
    /// must be set to RESTRICTED.
    /// Check the MinTlsVersion enum for the list of possible values.
    #[prost(string, optional, tag = "8155943")]
    pub min_tls_version: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. The name must be 1-63 characters long, and comply
    /// with RFC1035. Specifically, the name must be 1-63 characters
    /// long and match the regular expression
    /// `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first character
    /// must be a lowercase letter, and all following characters must be a dash,
    /// lowercase letter, or digit, except the last character, which cannot be a
    /// dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Profile specifies the set of SSL features that can be used by the load
    /// balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in
    /// the customFeatures field. If using FIPS_202205,
    /// the min_tls_version field must be set to TLS_1_2.
    /// Check the Profile enum for the list of possible values.
    #[prost(string, optional, tag = "227445161")]
    pub profile: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the regional SSL policy
    /// resides. This field is not applicable to global SSL policies.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] If potential misconfigurations are detected for this
    /// SSL policy, this field will be populated with warning messages.
    #[prost(message, repeated, tag = "498091095")]
    pub warnings: ::prost::alloc::vec::Vec<Warnings>,
}
/// Nested message and enum types in `SslPolicy`.
pub mod ssl_policy {
    /// The minimum version of SSL protocol that can be used by the clients to
    /// establish a connection with the load balancer. This can be one ofTLS_1_0, TLS_1_1, TLS_1_2,TLS_1_3. When set to TLS_1_3, the profile field
    /// must be set to RESTRICTED.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MinTlsVersion {
        /// A value indicating that the enum field is not set.
        UndefinedMinTlsVersion = 0,
        /// TLS 1.0
        Tls10 = 33116734,
        /// TLS 1.1
        Tls11 = 33116735,
        /// TLS 1.2
        Tls12 = 33116736,
        /// TLS 1.3
        Tls13 = 33116737,
    }
    impl MinTlsVersion {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMinTlsVersion => "UNDEFINED_MIN_TLS_VERSION",
                Self::Tls10 => "TLS_1_0",
                Self::Tls11 => "TLS_1_1",
                Self::Tls12 => "TLS_1_2",
                Self::Tls13 => "TLS_1_3",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MIN_TLS_VERSION" => Some(Self::UndefinedMinTlsVersion),
                "TLS_1_0" => Some(Self::Tls10),
                "TLS_1_1" => Some(Self::Tls11),
                "TLS_1_2" => Some(Self::Tls12),
                "TLS_1_3" => Some(Self::Tls13),
                _ => None,
            }
        }
    }
    /// Profile specifies the set of SSL features that can be used by the load
    /// balancer when negotiating SSL with clients. This can be one ofCOMPATIBLE, MODERN, RESTRICTED,FIPS_202205, or CUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in
    /// the customFeatures field. If using FIPS_202205,
    /// the min_tls_version field must be set to TLS_1_2.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Profile {
        /// A value indicating that the enum field is not set.
        UndefinedProfile = 0,
        /// Compatible profile. Allows the broadset set of clients, even those which
        /// support only out-of-date SSL features to negotiate with the load
        /// balancer.
        Compatible = 179357396,
        /// Custom profile. Allow only the set of allowed SSL features specified in
        /// the customFeatures field.
        Custom = 388595569,
        /// FIPS compatible profile. Supports a reduced set of SSL features,
        /// intended to meet FIPS 140-3 compliance requirements.
        Fips202205 = 475828188,
        /// Modern profile. Supports a wide set of SSL features, allowing modern
        /// clients to negotiate SSL with the load balancer.
        Modern = 132013855,
        /// Restricted profile. Supports a reduced set of SSL features, intended to
        /// meet stricter compliance requirements.
        Restricted = 261551195,
    }
    impl Profile {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProfile => "UNDEFINED_PROFILE",
                Self::Compatible => "COMPATIBLE",
                Self::Custom => "CUSTOM",
                Self::Fips202205 => "FIPS_202205",
                Self::Modern => "MODERN",
                Self::Restricted => "RESTRICTED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROFILE" => Some(Self::UndefinedProfile),
                "COMPATIBLE" => Some(Self::Compatible),
                "CUSTOM" => Some(Self::Custom),
                "FIPS_202205" => Some(Self::Fips202205),
                "MODERN" => Some(Self::Modern),
                "RESTRICTED" => Some(Self::Restricted),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SslPolicyReference {
    /// URL of the SSL policy resource. Set this to empty string to clear any
    /// existing SSL policy associated with the target proxy resource.
    #[prost(string, optional, tag = "295190213")]
    pub ssl_policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Disks.StartAsyncReplication. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StartAsyncReplicationDiskRequest {
    /// The name of the persistent disk.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "470814554")]
    pub disks_start_async_replication_request_resource: ::core::option::Option<
        DisksStartAsyncReplicationRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.StartAsyncReplication. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StartAsyncReplicationRegionDiskRequest {
    /// The name of the persistent disk.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "474326021")]
    pub region_disks_start_async_replication_request_resource: ::core::option::Option<
        RegionDisksStartAsyncReplicationRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Instances.Start. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StartInstanceRequest {
    /// Name of the instance resource to start.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagers.StartInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StartInstancesInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "261083819")]
    pub instance_group_managers_start_instances_request_resource: ::core::option::Option<
        InstanceGroupManagersStartInstancesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.StartInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StartInstancesRegionInstanceGroupManagerRequest {
    /// Name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "497012118")]
    pub region_instance_group_managers_start_instances_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersStartInstancesRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Instances.StartWithEncryptionKey. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StartWithEncryptionKeyInstanceRequest {
    /// Name of the instance resource to start.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "441712511")]
    pub instances_start_with_encryption_key_request_resource: ::core::option::Option<
        InstancesStartWithEncryptionKeyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StatefulPolicy {
    #[prost(message, optional, tag = "2634026")]
    pub preserved_state: ::core::option::Option<StatefulPolicyPreservedState>,
}
/// Configuration of preserved resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StatefulPolicyPreservedState {
    /// Disks created on the instances that will be preserved on instance
    /// delete, update, etc. This map is keyed with the device names of
    /// the disks.
    #[prost(map = "string, message", tag = "95594102")]
    pub disks: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        StatefulPolicyPreservedStateDiskDevice,
    >,
    /// External network IPs assigned to the instances that will be preserved on
    /// instance delete, update, etc. This map is keyed with the network
    /// interface name.
    #[prost(map = "string, message", tag = "532687245")]
    pub external_i_ps: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        StatefulPolicyPreservedStateNetworkIp,
    >,
    /// Internal network IPs assigned to the instances that will be preserved on
    /// instance delete, update, etc. This map is keyed with the network
    /// interface name.
    #[prost(map = "string, message", tag = "215731675")]
    pub internal_i_ps: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        StatefulPolicyPreservedStateNetworkIp,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StatefulPolicyPreservedStateDiskDevice {
    /// These stateful disks will never be deleted during autohealing,
    /// update or VM instance recreate operations.
    /// This flag is used to configure if the disk should be deleted after it
    /// is no longer used by the group, e.g. when the given instance or
    /// the whole group is deleted. Note: disks attached inREAD_ONLY mode cannot be auto-deleted.
    /// Check the AutoDelete enum for the list of possible values.
    #[prost(string, optional, tag = "464761403")]
    pub auto_delete: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `StatefulPolicyPreservedStateDiskDevice`.
pub mod stateful_policy_preserved_state_disk_device {
    /// These stateful disks will never be deleted during autohealing,
    /// update or VM instance recreate operations.
    /// This flag is used to configure if the disk should be deleted after it
    /// is no longer used by the group, e.g. when the given instance or
    /// the whole group is deleted. Note: disks attached inREAD_ONLY mode cannot be auto-deleted.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AutoDelete {
        /// A value indicating that the enum field is not set.
        UndefinedAutoDelete = 0,
        Never = 74175084,
        OnPermanentInstanceDeletion = 95727719,
    }
    impl AutoDelete {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAutoDelete => "UNDEFINED_AUTO_DELETE",
                Self::Never => "NEVER",
                Self::OnPermanentInstanceDeletion => "ON_PERMANENT_INSTANCE_DELETION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AUTO_DELETE" => Some(Self::UndefinedAutoDelete),
                "NEVER" => Some(Self::Never),
                "ON_PERMANENT_INSTANCE_DELETION" => {
                    Some(Self::OnPermanentInstanceDeletion)
                }
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StatefulPolicyPreservedStateNetworkIp {
    /// These stateful IPs will never be released during autohealing,
    /// update or VM instance recreate operations.
    /// This flag is used to configure if the IP reservation should be deleted
    /// after it is no longer used by the group, e.g. when the given instance
    /// or the whole group is deleted.
    /// Check the AutoDelete enum for the list of possible values.
    #[prost(string, optional, tag = "464761403")]
    pub auto_delete: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `StatefulPolicyPreservedStateNetworkIp`.
pub mod stateful_policy_preserved_state_network_ip {
    /// These stateful IPs will never be released during autohealing,
    /// update or VM instance recreate operations.
    /// This flag is used to configure if the IP reservation should be deleted
    /// after it is no longer used by the group, e.g. when the given instance
    /// or the whole group is deleted.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AutoDelete {
        /// A value indicating that the enum field is not set.
        UndefinedAutoDelete = 0,
        Never = 74175084,
        OnPermanentInstanceDeletion = 95727719,
    }
    impl AutoDelete {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAutoDelete => "UNDEFINED_AUTO_DELETE",
                Self::Never => "NEVER",
                Self::OnPermanentInstanceDeletion => "ON_PERMANENT_INSTANCE_DELETION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AUTO_DELETE" => Some(Self::UndefinedAutoDelete),
                "NEVER" => Some(Self::Never),
                "ON_PERMANENT_INSTANCE_DELETION" => {
                    Some(Self::OnPermanentInstanceDeletion)
                }
                _ => None,
            }
        }
    }
}
/// The `Status` type defines a logical error model that is suitable for
/// different programming environments, including REST APIs and RPC APIs. It is
/// used by [gRPC](<https://github.com/grpc>). Each `Status` message contains
/// three pieces of data: error code, error message, and error details.
///
/// You can find out more about this error model and how to work with it in the
/// [API Design Guide](<https://cloud.google.com/apis/design/errors>).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Status {
    /// The status code, which should be an enum value of google.rpc.Code.
    #[prost(int32, optional, tag = "3059181")]
    pub code: ::core::option::Option<i32>,
    /// A list of messages that carry the error details.  There is a common set of
    /// message types for APIs to use.
    #[prost(message, repeated, tag = "483979842")]
    pub details: ::prost::alloc::vec::Vec<::prost_types::Any>,
    /// A developer-facing error message, which should be in English. Any
    /// user-facing error message should be localized and sent in the
    /// google.rpc.Status.details field, or localized by the client.
    #[prost(string, optional, tag = "418054151")]
    pub message: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Disks.StopAsyncReplication. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StopAsyncReplicationDiskRequest {
    /// The name of the persistent disk.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.StopAsyncReplication. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StopAsyncReplicationRegionDiskRequest {
    /// The name of the persistent disk.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Disks.StopGroupAsyncReplication. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StopGroupAsyncReplicationDiskRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "346815509")]
    pub disks_stop_group_async_replication_resource_resource: ::core::option::Option<
        DisksStopGroupAsyncReplicationResource,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request. This must be the zone of the primary
    /// or secondary disks in the consistency group.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.StopGroupAsyncReplication. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StopGroupAsyncReplicationRegionDiskRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "346815509")]
    pub disks_stop_group_async_replication_resource_resource: ::core::option::Option<
        DisksStopGroupAsyncReplicationResource,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request. This must be the region of the
    /// primary or secondary disks in the consistency group.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Instances.Stop. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StopInstanceRequest {
    /// This property is required if the instance has any attached Local SSD disks.
    /// If false, Local SSD data will be preserved when the instance is suspended.
    /// If true, the contents of any attached Local SSD disks will be discarded.
    #[prost(bool, optional, tag = "319517903")]
    pub discard_local_ssd: ::core::option::Option<bool>,
    /// Name of the instance resource to stop.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagers.StopInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StopInstancesInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "37556877")]
    pub instance_group_managers_stop_instances_request_resource: ::core::option::Option<
        InstanceGroupManagersStopInstancesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.StopInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StopInstancesRegionInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "270306882")]
    pub region_instance_group_managers_stop_instances_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersStopInstancesRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a zonal storage pool resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePool {
    /// Provisioning type of the byte capacity of the pool.
    /// Check the CapacityProvisioningType enum for the list of possible values.
    #[prost(string, optional, tag = "251610375")]
    pub capacity_provisioning_type: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Provisioned capacities for each SKU for this Exapool in GiB
    #[prost(message, optional, tag = "345174240")]
    pub exapool_provisioned_capacity_gb: ::core::option::Option<
        StoragePoolExapoolProvisionedCapacityGb,
    >,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#storagePool
    /// for storage pools.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this storage pool, which is
    /// essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a storage pool.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels to apply to this storage pool. These can be later modified by
    /// the setLabels method.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?`
    /// which means the first character must be a lowercase letter, and all
    /// following characters must be a dash, lowercase letter, or digit, except
    /// the last character, which cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<StoragePoolParams>,
    /// Provisioning type of the performance-related parameters of the pool,
    /// such as throughput and IOPS.
    /// Check the PerformanceProvisioningType enum for the list of possible values.
    #[prost(string, optional, tag = "468553469")]
    pub performance_provisioning_type: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Size of the storage pool in GiB. For more information about the size
    /// limits, see <https://cloud.google.com/compute/docs/disks/storage-pools.>
    #[prost(int64, optional, tag = "478537682")]
    pub pool_provisioned_capacity_gb: ::core::option::Option<i64>,
    /// Provisioned IOPS of the storage pool. Only relevant if the storage pool
    /// type is hyperdisk-balanced.
    #[prost(int64, optional, tag = "112092311")]
    pub pool_provisioned_iops: ::core::option::Option<i64>,
    /// Provisioned throughput of the storage pool in MiB/s. Only relevant if the
    /// storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    #[prost(int64, optional, tag = "169215640")]
    pub pool_provisioned_throughput: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Status information for the storage pool resource.
    #[prost(message, optional, tag = "249429315")]
    pub resource_status: ::core::option::Option<StoragePoolResourceStatus>,
    /// Output only. \[Output Only\] Server-defined fully-qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource's resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The status of storage pool creation.
    ///
    /// ```text
    ///   - CREATING: Storage pool is provisioning.
    ///   storagePool.
    ///   - FAILED: Storage pool creation failed.
    ///   - READY: Storage pool is ready for use.
    ///   - DELETING: Storage pool is deleting.
    /// ```
    ///
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Status information for the storage pool resource.
    #[prost(message, optional, tag = "181260274")]
    pub status: ::core::option::Option<StoragePoolResourceStatus>,
    /// Type of the storage pool.
    #[prost(string, optional, tag = "285999289")]
    pub storage_pool_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the zone where the storage pool resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `StoragePool`.
pub mod storage_pool {
    /// Provisioning type of the byte capacity of the pool.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// ADVANCED
    /// STANDARD
    /// UNSPECIFIED
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum CapacityProvisioningType {
        /// A value indicating that the enum field is not set.
        UndefinedCapacityProvisioningType = 0,
    }
    impl CapacityProvisioningType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCapacityProvisioningType => {
                    "UNDEFINED_CAPACITY_PROVISIONING_TYPE"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CAPACITY_PROVISIONING_TYPE" => {
                    Some(Self::UndefinedCapacityProvisioningType)
                }
                _ => None,
            }
        }
    }
    /// Provisioning type of the performance-related parameters of the pool,
    /// such as throughput and IOPS.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// ADVANCED
    /// STANDARD
    /// UNSPECIFIED
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PerformanceProvisioningType {
        /// A value indicating that the enum field is not set.
        UndefinedPerformanceProvisioningType = 0,
    }
    impl PerformanceProvisioningType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPerformanceProvisioningType => {
                    "UNDEFINED_PERFORMANCE_PROVISIONING_TYPE"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PERFORMANCE_PROVISIONING_TYPE" => {
                    Some(Self::UndefinedPerformanceProvisioningType)
                }
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The status of storage pool creation.
    ///
    /// ```text
    ///   - CREATING: Storage pool is provisioning.
    ///   storagePool.
    ///   - FAILED: Storage pool creation failed.
    ///   - READY: Storage pool is ready for use.
    ///   - DELETING: Storage pool is deleting.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// StoragePool is provisioning
        Creating = 455564985,
        /// StoragePool is deleting.
        Deleting = 528602024,
        /// StoragePool creation failed.
        Failed = 455706685,
        /// StoragePool is ready for use.
        Ready = 77848963,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Failed => "FAILED",
                Self::Ready => "READY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "FAILED" => Some(Self::Failed),
                "READY" => Some(Self::Ready),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePoolAggregatedList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of StoragePoolsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        StoragePoolsScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#storagePoolAggregatedList for aggregated lists of
    /// storage pools.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StoragePoolDisk {
    /// Output only. \[Output Only\] Instances this disk is attached to.
    #[prost(string, repeated, tag = "65255843")]
    pub attached_instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The URL of the disk.
    #[prost(string, optional, tag = "3083677")]
    pub disk: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The name of the disk.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The number of IOPS provisioned for the disk.
    #[prost(int64, optional, tag = "186769108")]
    pub provisioned_iops: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] The throughput provisioned for the disk.
    #[prost(int64, optional, tag = "526524181")]
    pub provisioned_throughput: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Resource policies applied to disk for automatic snapshot
    /// creations.
    #[prost(string, repeated, tag = "22220385")]
    pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The disk size, in GB.
    #[prost(int64, optional, tag = "494929369")]
    pub size_gb: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] The disk status.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The disk type.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Amount of disk space used.
    #[prost(int64, optional, tag = "231640425")]
    pub used_bytes: ::core::option::Option<i64>,
}
/// Nested message and enum types in `StoragePoolDisk`.
pub mod storage_pool_disk {
    /// Output only. \[Output Only\] The disk status.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Disk is provisioning
        Creating = 455564985,
        /// Disk is deleting.
        Deleting = 528602024,
        /// Disk creation failed.
        Failed = 455706685,
        /// Disk is ready for use.
        Ready = 77848963,
        /// Source data is being copied into the disk.
        Restoring = 404263851,
        /// Disk is currently unavailable and cannot be accessed, attached or
        /// detached.
        Unavailable = 413756464,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Failed => "FAILED",
                Self::Ready => "READY",
                Self::Restoring => "RESTORING",
                Self::Unavailable => "UNAVAILABLE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "FAILED" => Some(Self::Failed),
                "READY" => Some(Self::Ready),
                "RESTORING" => Some(Self::Restoring),
                "UNAVAILABLE" => Some(Self::Unavailable),
                _ => None,
            }
        }
    }
}
/// Exapool provisioned capacities for each SKU type
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StoragePoolExapoolProvisionedCapacityGb {
    /// Size, in GiB, of provisioned capacity-optimized capacity for this Exapool
    #[prost(int64, optional, tag = "251131874")]
    pub capacity_optimized: ::core::option::Option<i64>,
    /// Size, in GiB, of provisioned read-optimized capacity for this Exapool
    #[prost(int64, optional, tag = "389863870")]
    pub read_optimized: ::core::option::Option<i64>,
    /// Size, in GiB, of provisioned write-optimized capacity for this Exapool
    #[prost(int64, optional, tag = "492523719")]
    pub write_optimized: ::core::option::Option<i64>,
}
/// A list of StoragePool resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePoolList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of StoragePool resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<StoragePool>,
    /// Output only. \[Output Only\] Type of resource. Always compute#storagePoolList
    /// for lists of storagePools.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface: MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePoolListDisks {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of StoragePoolDisk resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<StoragePoolDisk>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#storagePoolListDisks for lists of disks in a
    /// storagePool.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface: MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Additional storage pool params.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePoolParams {
    /// Input only. Resource manager tags to be bound to the storage pool. Tag keys and values
    /// have the same definition as resource
    /// manager tags. Keys and values can be either in numeric format,
    /// such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced
    /// format such as `{org_id|project_id}/{tag_key_short_name}` and
    /// `{tag_value_short_name}`. The field is ignored (both PUT &
    /// PATCH) when empty.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// \[Output Only\] Contains output only fields.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StoragePoolResourceStatus {
    /// \[Output Only\] Number of disks used.
    #[prost(int64, optional, tag = "182933485")]
    pub disk_count: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Maximum allowed read IOPS for this Exapool.
    #[prost(int64, optional, tag = "59241794")]
    pub exapool_max_read_iops: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Maximum allowed read throughput in MiB/s for
    /// this Exapool.
    #[prost(int64, optional, tag = "390933251")]
    pub exapool_max_read_throughput: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Maximum allowed write IOPS for this Exapool.
    #[prost(int64, optional, tag = "293212537")]
    pub exapool_max_write_iops: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Maximum allowed write throughput in MiB/s
    /// for this Exapool.
    #[prost(int64, optional, tag = "330367482")]
    pub exapool_max_write_throughput: ::core::option::Option<i64>,
    /// Output only. \[Output Only\] Timestamp of the last successful resize inRFC3339 text format.
    #[prost(string, optional, tag = "500825556")]
    pub last_resize_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Maximum allowed aggregate disk size in GiB.
    #[prost(int64, optional, tag = "165818207")]
    pub max_total_provisioned_disk_capacity_gb: ::core::option::Option<i64>,
    /// \[Output Only\] Space used by data stored in disks within the storage pool
    /// (in bytes). This will reflect the total number of bytes written to the
    /// disks in the pool, in contrast to the capacity of those disks.
    #[prost(int64, optional, tag = "510407877")]
    pub pool_used_capacity_bytes: ::core::option::Option<i64>,
    /// \[Output Only\] Sum of all the disks' provisioned IOPS, minus some amount
    /// that is allowed per disk that is not counted towards pool's IOPS
    /// capacity. For more information, see
    /// <https://cloud.google.com/compute/docs/disks/storage-pools.>
    #[prost(int64, optional, tag = "99558536")]
    pub pool_used_iops: ::core::option::Option<i64>,
    /// \[Output Only\] Sum of all the disks' provisioned throughput in MiB/s.
    #[prost(int64, optional, tag = "206130633")]
    pub pool_used_throughput: ::core::option::Option<i64>,
    /// \[Output Only\] Amount of data written into the pool, before it is
    /// compacted.
    #[prost(int64, optional, tag = "228964050")]
    pub pool_user_written_bytes: ::core::option::Option<i64>,
    /// \[Output Only\] Sum of all the disks' provisioned capacity (in GiB) in
    /// this storage pool. A disk's provisioned capacity is the same as its total
    /// capacity.
    #[prost(int64, optional, tag = "520930980")]
    pub total_provisioned_disk_capacity_gb: ::core::option::Option<i64>,
    /// \[Output Only\] Sum of all the disks' provisioned IOPS.
    #[prost(int64, optional, tag = "32812549")]
    pub total_provisioned_disk_iops: ::core::option::Option<i64>,
    /// \[Output Only\] Sum of all the disks' provisioned throughput in MiB/s,
    /// minus some amount that is allowed per disk that is not counted towards
    /// pool's throughput capacity.
    #[prost(int64, optional, tag = "447677830")]
    pub total_provisioned_disk_throughput: ::core::option::Option<i64>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StoragePoolType {
    /// \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The deprecation status associated with this storage pool
    /// type.
    #[prost(message, optional, tag = "515138995")]
    pub deprecated: ::core::option::Option<DeprecationStatus>,
    /// \[Output Only\] An optional description of this resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#storagePoolType for storage pool types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Maximum storage pool size in GB.
    #[prost(int64, optional, tag = "182139085")]
    pub max_pool_provisioned_capacity_gb: ::core::option::Option<i64>,
    /// \[Output Only\] Maximum provisioned IOPS.
    #[prost(int64, optional, tag = "515270652")]
    pub max_pool_provisioned_iops: ::core::option::Option<i64>,
    /// \[Output Only\] Maximum provisioned throughput.
    #[prost(int64, optional, tag = "228928061")]
    pub max_pool_provisioned_throughput: ::core::option::Option<i64>,
    /// \[Output Only\] Minimum storage pool size in GB.
    #[prost(int64, optional, tag = "191022751")]
    pub min_pool_provisioned_capacity_gb: ::core::option::Option<i64>,
    /// \[Output Only\] Minimum provisioned IOPS.
    #[prost(int64, optional, tag = "416473706")]
    pub min_pool_provisioned_iops: ::core::option::Option<i64>,
    /// \[Output Only\] Minimum provisioned throughput.
    #[prost(int64, optional, tag = "367761963")]
    pub min_pool_provisioned_throughput: ::core::option::Option<i64>,
    /// \[Deprecated\] This field is deprecated. Use minPoolProvisionedCapacityGb
    /// instead.
    #[prost(int64, optional, tag = "385278188")]
    pub min_size_gb: ::core::option::Option<i64>,
    /// \[Output Only\] Name of the resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource with the resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The list of disk types supported in this storage pool type.
    #[prost(string, repeated, tag = "150587272")]
    pub supported_disk_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] URL of the zone where the storage pool type resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePoolTypeAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of StoragePoolTypesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        StoragePoolTypesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#storagePoolTypeAggregatedList.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of storage pool types.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePoolTypeList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of StoragePoolType resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<StoragePoolType>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#storagePoolTypeList for storage pool types.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePoolTypesScopedList {
    /// \[Output Only\] A list of storage pool types contained in this scope.
    #[prost(message, repeated, tag = "276043482")]
    pub storage_pool_types: ::prost::alloc::vec::Vec<StoragePoolType>,
    /// \[Output Only\] Informational warning which replaces the list of storage pool
    /// types when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePoolsScopedList {
    /// \[Output Only\] A list of storage pool contained in this scope.
    #[prost(message, repeated, tag = "437258515")]
    pub storage_pools: ::prost::alloc::vec::Vec<StoragePool>,
    /// \[Output Only\] Informational warning which replaces the list of storage pool
    /// when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a Subnetwork resource.
///
/// A subnetwork (also known as a subnet) is a logical partition of a Virtual
/// Private Cloud network with one primary IP range and zero or more secondary
/// IP ranges. For more information, read
/// Virtual Private Cloud (VPC) Network.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Subnetwork {
    /// Whether this subnetwork's ranges can conflict with existing custom routes.
    /// Setting this to true allows this subnetwork's primary and secondary ranges
    /// to overlap with (and contain) custom routes that have already been
    /// configured on the corresponding network.
    ///
    /// For example if a static route has range 10.1.0.0/16, a subnet
    /// range 10.0.0.0/8 could only be created if allow_conflicting_routes=true.
    ///
    /// Overlapping is only allowed on subnetwork operations; routes
    /// whose ranges conflict with this subnetwork's ranges won't be allowed unless
    /// route.allow_conflicting_subnetworks is set to true.
    ///
    /// Typically packets destined to IPs within the subnetwork (which may contain
    /// private/sensitive data) are prevented from leaving the virtual network.
    /// Setting this field to true will disable this feature.
    ///
    /// The default value is false and applies to all existing subnetworks and
    /// automatically created subnetworks.
    #[prost(bool, optional, tag = "67856209")]
    pub allow_subnet_cidr_routes_overlap: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource. This field can be set only at resource creation time.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Whether to enable flow logging for this subnetwork. If this field is not
    /// explicitly set, it will not appear in get listings. If not set
    /// the default behavior is determined by the org policy, if there is no org
    /// policy specified, then it will default to disabled. This field isn't
    /// supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY. It is recommended to uselogConfig.enable field instead.
    #[prost(bool, optional, tag = "151544420")]
    pub enable_flow_logs: ::core::option::Option<bool>,
    /// The external IPv6 address range that is owned by this
    /// subnetwork.
    #[prost(string, optional, tag = "139299190")]
    pub external_ipv6_prefix: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a Subnetwork. An up-to-date fingerprint must be
    /// provided in order to update the Subnetwork, otherwise the
    /// request will fail with error 412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a Subnetwork.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The gateway address for default routes to reach destination
    /// addresses outside this subnetwork.
    #[prost(string, optional, tag = "459867385")]
    pub gateway_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// The internal IPv6 address range that is owned by this
    /// subnetwork.
    #[prost(string, optional, tag = "506270056")]
    pub internal_ipv6_prefix: ::core::option::Option<::prost::alloc::string::String>,
    /// The range of internal addresses that are owned by this subnetwork.
    /// Provide this property when you create the subnetwork. For example,10.0.0.0/8 or 100.64.0.0/10. Ranges must
    /// be unique and non-overlapping within a network. Only IPv4 is supported.
    /// This field is set at resource creation time. The range can be any range
    /// listed in theValid
    /// ranges list. The range can be expanded after creation usingexpandIpCidrRange.
    #[prost(string, optional, tag = "98117322")]
    pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
    /// Reference to the source of IP, like a PublicDelegatedPrefix
    /// (PDP) for BYOIP. The PDP must be a sub-PDP in
    /// EXTERNAL_IPV6_SUBNETWORK_CREATION or INTERNAL_IPV6_SUBNETWORK_CREATION
    /// mode.
    ///
    /// Use one of the following formats to specify a sub-PDP when creating a dual
    /// stack or IPv6-only subnetwork with external access using BYOIP:
    ///
    /// ```text
    /// -
    /// Full resource URL, as in<https://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name>
    /// -
    /// Partial URL, as in
    ///
    ///
    ///        - projects/projectId/regions/region/publicDelegatedPrefixes/sub-pdp-name
    ///        - regions/region/publicDelegatedPrefixes/sub-pdp-name
    /// ```
    #[prost(string, optional, tag = "176818358")]
    pub ip_collection: ::core::option::Option<::prost::alloc::string::String>,
    /// The access type of IPv6 address this subnet holds. It's immutable and can
    /// only be specified during creation or the first time the subnet is updated
    /// into IPV4_IPV6 dual stack.
    /// Check the Ipv6AccessType enum for the list of possible values.
    #[prost(string, optional, tag = "504658653")]
    pub ipv6_access_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This field is for internal use.
    #[prost(string, optional, tag = "273141258")]
    pub ipv6_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Possible endpoints of this subnetwork. It can be one of the
    /// following:
    ///
    /// ```text
    /// - VM_ONLY: The subnetwork can be used for creating instances and
    /// IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6
    /// ranges from a public delegated prefix and cannot be used to create NetLb.
    /// - VM_AND_FR: The subnetwork can be used for creating both VM
    /// instances and Forwarding Rules. It can also be used to reserve IPv6
    /// addresses with both VM and FR endpoint types. Such a subnetwork gets its
    /// IPv6 range from Google IP Pool directly.
    /// ```
    ///
    /// Check the Ipv6GceEndpoint enum for the list of possible values.
    #[prost(string, optional, tag = "320382307")]
    pub ipv6_gce_endpoint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#subnetwork
    /// for Subnetwork resources.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// This field denotes the VPC flow logging options for this subnetwork.
    /// If logging is enabled, logs are exported to Cloud Logging.
    #[prost(message, optional, tag = "351299741")]
    pub log_config: ::core::option::Option<SubnetworkLogConfig>,
    /// The name of the resource, provided by the client when initially creating
    /// the resource. The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the network to which this subnetwork belongs, provided by the
    /// client when initially creating the subnetwork. This field can be set only
    /// at resource creation time.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<SubnetworkParams>,
    /// Whether the VMs in this subnet can access Google services without assigned
    /// external IP addresses. This field can be both set at resource creation
    /// time and updated using setPrivateIpGoogleAccess.
    #[prost(bool, optional, tag = "421491790")]
    pub private_ip_google_access: ::core::option::Option<bool>,
    /// This field is for internal use.
    ///
    /// This field can be both set at resource creation time and updated usingpatch.
    /// Check the PrivateIpv6GoogleAccess enum for the list of possible values.
    #[prost(string, optional, tag = "48277006")]
    pub private_ipv6_google_access: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Check the Purpose enum for the list of possible values.
    #[prost(string, optional, tag = "316407070")]
    pub purpose: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the region where the Subnetwork resides. This
    /// field can be set only at resource creation time.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the reserved internal range.
    #[prost(string, optional, tag = "286248754")]
    pub reserved_internal_range: ::core::option::Option<::prost::alloc::string::String>,
    /// Configures subnet mask resolution for this subnetwork.
    /// Check the ResolveSubnetMask enum for the list of possible values.
    #[prost(string, optional, tag = "517696699")]
    pub resolve_subnet_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// The role of subnetwork. Currently, this field is only used when
    /// purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE or BACKUP. An ACTIVE
    /// subnetwork is one that is currently being used for Envoy-based load
    /// balancers in a region. A BACKUP subnetwork is one that is
    /// ready to be promoted to ACTIVE or is currently draining.
    /// This field can be updated with a patch request.
    /// Check the Role enum for the list of possible values.
    #[prost(string, optional, tag = "3506294")]
    pub role: ::core::option::Option<::prost::alloc::string::String>,
    /// An array of configurations for secondary IP ranges for VM instances
    /// contained in this subnetwork. The primary IP of such VM must belong to the
    /// primary ipCidrRange of the subnetwork. The alias IPs may belong to either
    /// primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges.
    #[prost(message, repeated, tag = "136658915")]
    pub secondary_ip_ranges: ::prost::alloc::vec::Vec<SubnetworkSecondaryRange>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// The stack type for the subnet. If set to IPV4_ONLY, new VMs
    /// in the subnet are assigned IPv4 addresses only. If set toIPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and
    /// IPv6 addresses. If not specified, IPV4_ONLY is used.
    ///
    /// This field can be both set at resource creation time and updated usingpatch.
    /// Check the StackType enum for the list of possible values.
    #[prost(string, optional, tag = "425908881")]
    pub stack_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The state of the subnetwork, which can be one of the
    /// following values:READY: Subnetwork is created and ready to useDRAINING: only applicable to subnetworks that have the
    /// purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that
    /// connections to the load balancer are being drained. A subnetwork that is
    /// draining cannot be used or modified until it reaches a status ofREADY
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The array of external IPv6 network ranges reserved from
    /// the subnetwork's external IPv6 range for system use.
    #[prost(string, repeated, tag = "65324129")]
    pub system_reserved_external_ipv6_ranges: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] The array of internal IPv6 network ranges reserved from
    /// the subnetwork's internal IPv6 range for system use.
    #[prost(string, repeated, tag = "432294995")]
    pub system_reserved_internal_ipv6_ranges: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Output only. \[Output Only\] The current IP utilization of all subnetwork ranges. Contains
    /// the total number of allocated and free IPs in each range.
    #[prost(message, optional, tag = "125404453")]
    pub utilization_details: ::core::option::Option<SubnetworkUtilizationDetails>,
}
/// Nested message and enum types in `Subnetwork`.
pub mod subnetwork {
    /// The access type of IPv6 address this subnet holds. It's immutable and can
    /// only be specified during creation or the first time the subnet is updated
    /// into IPV4_IPV6 dual stack.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Ipv6AccessType {
        /// A value indicating that the enum field is not set.
        UndefinedIpv6AccessType = 0,
        /// VMs on this subnet will be assigned IPv6 addresses that are accessible
        /// via the Internet, as well as the VPC network.
        External = 35607499,
        /// VMs on this subnet will be assigned IPv6 addresses that are only
        /// accessible over the VPC network.
        Internal = 279295677,
        UnspecifiedIpv6AccessType = 313080613,
    }
    impl Ipv6AccessType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpv6AccessType => "UNDEFINED_IPV6_ACCESS_TYPE",
                Self::External => "EXTERNAL",
                Self::Internal => "INTERNAL",
                Self::UnspecifiedIpv6AccessType => "UNSPECIFIED_IPV6_ACCESS_TYPE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IPV6_ACCESS_TYPE" => Some(Self::UndefinedIpv6AccessType),
                "EXTERNAL" => Some(Self::External),
                "INTERNAL" => Some(Self::Internal),
                "UNSPECIFIED_IPV6_ACCESS_TYPE" => Some(Self::UnspecifiedIpv6AccessType),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] Possible endpoints of this subnetwork. It can be one of the
    /// following:
    ///
    /// ```text
    /// - VM_ONLY: The subnetwork can be used for creating instances and
    /// IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6
    /// ranges from a public delegated prefix and cannot be used to create NetLb.
    /// - VM_AND_FR: The subnetwork can be used for creating both VM
    /// instances and Forwarding Rules. It can also be used to reserve IPv6
    /// addresses with both VM and FR endpoint types. Such a subnetwork gets its
    /// IPv6 range from Google IP Pool directly.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Ipv6GceEndpoint {
        /// A value indicating that the enum field is not set.
        UndefinedIpv6GceEndpoint = 0,
        VmAndFr = 41830108,
        VmOnly = 236773428,
    }
    impl Ipv6GceEndpoint {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpv6GceEndpoint => "UNDEFINED_IPV6_GCE_ENDPOINT",
                Self::VmAndFr => "VM_AND_FR",
                Self::VmOnly => "VM_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IPV6_GCE_ENDPOINT" => Some(Self::UndefinedIpv6GceEndpoint),
                "VM_AND_FR" => Some(Self::VmAndFr),
                "VM_ONLY" => Some(Self::VmOnly),
                _ => None,
            }
        }
    }
    /// This field is for internal use.
    ///
    /// This field can be both set at resource creation time and updated usingpatch.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PrivateIpv6GoogleAccess {
        /// A value indicating that the enum field is not set.
        UndefinedPrivateIpv6GoogleAccess = 0,
        /// Disable private IPv6 access to/from Google services.
        DisableGoogleAccess = 450958579,
        /// Bidirectional private IPv6 access to/from Google services.
        EnableBidirectionalAccessToGoogle = 427975994,
        /// Outbound private IPv6 access from VMs in this subnet to Google services.
        EnableOutboundVmAccessToGoogle = 288210263,
    }
    impl PrivateIpv6GoogleAccess {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPrivateIpv6GoogleAccess => {
                    "UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS"
                }
                Self::DisableGoogleAccess => "DISABLE_GOOGLE_ACCESS",
                Self::EnableBidirectionalAccessToGoogle => {
                    "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE"
                }
                Self::EnableOutboundVmAccessToGoogle => {
                    "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS" => {
                    Some(Self::UndefinedPrivateIpv6GoogleAccess)
                }
                "DISABLE_GOOGLE_ACCESS" => Some(Self::DisableGoogleAccess),
                "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE" => {
                    Some(Self::EnableBidirectionalAccessToGoogle)
                }
                "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE" => {
                    Some(Self::EnableOutboundVmAccessToGoogle)
                }
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Purpose {
        /// A value indicating that the enum field is not set.
        UndefinedPurpose = 0,
        /// Subnet reserved for Global Envoy-based Load Balancing.
        GlobalManagedProxy = 236463602,
        /// Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
        /// purpose, please use REGIONAL_MANAGED_PROXY instead.
        InternalHttpsLoadBalancer = 248748889,
        /// Subnetwork will be used for Migration from one peered VPC to another.
        /// (a transient state of subnetwork
        /// while migrating resources from one project to another).
        PeerMigration = 491902225,
        /// Regular user created or automatically created subnet.
        Private = 403485027,
        /// Subnetwork used as source range for Private NAT Gateways.
        PrivateNat = 367764517,
        /// Regular user created or automatically created subnet.
        PrivateRfc1918 = 254902107,
        /// Subnetworks created for Private Service Connect in the producer network.
        PrivateServiceConnect = 48134724,
        /// Subnetwork used for Regional Envoy-based Load Balancing.
        RegionalManagedProxy = 153049966,
    }
    impl Purpose {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPurpose => "UNDEFINED_PURPOSE",
                Self::GlobalManagedProxy => "GLOBAL_MANAGED_PROXY",
                Self::InternalHttpsLoadBalancer => "INTERNAL_HTTPS_LOAD_BALANCER",
                Self::PeerMigration => "PEER_MIGRATION",
                Self::Private => "PRIVATE",
                Self::PrivateNat => "PRIVATE_NAT",
                Self::PrivateRfc1918 => "PRIVATE_RFC_1918",
                Self::PrivateServiceConnect => "PRIVATE_SERVICE_CONNECT",
                Self::RegionalManagedProxy => "REGIONAL_MANAGED_PROXY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PURPOSE" => Some(Self::UndefinedPurpose),
                "GLOBAL_MANAGED_PROXY" => Some(Self::GlobalManagedProxy),
                "INTERNAL_HTTPS_LOAD_BALANCER" => Some(Self::InternalHttpsLoadBalancer),
                "PEER_MIGRATION" => Some(Self::PeerMigration),
                "PRIVATE" => Some(Self::Private),
                "PRIVATE_NAT" => Some(Self::PrivateNat),
                "PRIVATE_RFC_1918" => Some(Self::PrivateRfc1918),
                "PRIVATE_SERVICE_CONNECT" => Some(Self::PrivateServiceConnect),
                "REGIONAL_MANAGED_PROXY" => Some(Self::RegionalManagedProxy),
                _ => None,
            }
        }
    }
    /// Configures subnet mask resolution for this subnetwork.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ResolveSubnetMask {
        /// A value indicating that the enum field is not set.
        UndefinedResolveSubnetMask = 0,
        /// All ranges assigned to the VM NIC will respond to ARP.
        ArpAllRanges = 445655380,
        /// Only the primary range of the VM NIC will respond to ARP.
        ArpPrimaryRange = 120210048,
    }
    impl ResolveSubnetMask {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedResolveSubnetMask => "UNDEFINED_RESOLVE_SUBNET_MASK",
                Self::ArpAllRanges => "ARP_ALL_RANGES",
                Self::ArpPrimaryRange => "ARP_PRIMARY_RANGE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_RESOLVE_SUBNET_MASK" => Some(Self::UndefinedResolveSubnetMask),
                "ARP_ALL_RANGES" => Some(Self::ArpAllRanges),
                "ARP_PRIMARY_RANGE" => Some(Self::ArpPrimaryRange),
                _ => None,
            }
        }
    }
    /// The role of subnetwork. Currently, this field is only used when
    /// purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE or BACKUP. An ACTIVE
    /// subnetwork is one that is currently being used for Envoy-based load
    /// balancers in a region. A BACKUP subnetwork is one that is
    /// ready to be promoted to ACTIVE or is currently draining.
    /// This field can be updated with a patch request.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Role {
        /// A value indicating that the enum field is not set.
        UndefinedRole = 0,
        /// The ACTIVE subnet that is currently used.
        Active = 314733318,
        /// The BACKUP subnet that could be promoted to ACTIVE.
        Backup = 341010882,
    }
    impl Role {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRole => "UNDEFINED_ROLE",
                Self::Active => "ACTIVE",
                Self::Backup => "BACKUP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ROLE" => Some(Self::UndefinedRole),
                "ACTIVE" => Some(Self::Active),
                "BACKUP" => Some(Self::Backup),
                _ => None,
            }
        }
    }
    /// The stack type for the subnet. If set to IPV4_ONLY, new VMs
    /// in the subnet are assigned IPv4 addresses only. If set toIPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and
    /// IPv6 addresses. If not specified, IPV4_ONLY is used.
    ///
    /// This field can be both set at resource creation time and updated usingpatch.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StackType {
        /// A value indicating that the enum field is not set.
        UndefinedStackType = 0,
        /// New VMs in this subnet can have both IPv4 and IPv6 addresses.
        Ipv4Ipv6 = 22197249,
        /// New VMs in this subnet will only be assigned IPv4 addresses.
        Ipv4Only = 22373798,
        /// New VMs in this subnet will only  be assigned IPv6 addresses.
        Ipv6Only = 79632100,
        UnspecifiedStackType = 298084569,
    }
    impl StackType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStackType => "UNDEFINED_STACK_TYPE",
                Self::Ipv4Ipv6 => "IPV4_IPV6",
                Self::Ipv4Only => "IPV4_ONLY",
                Self::Ipv6Only => "IPV6_ONLY",
                Self::UnspecifiedStackType => "UNSPECIFIED_STACK_TYPE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STACK_TYPE" => Some(Self::UndefinedStackType),
                "IPV4_IPV6" => Some(Self::Ipv4Ipv6),
                "IPV4_ONLY" => Some(Self::Ipv4Only),
                "IPV6_ONLY" => Some(Self::Ipv6Only),
                "UNSPECIFIED_STACK_TYPE" => Some(Self::UnspecifiedStackType),
                _ => None,
            }
        }
    }
    /// Output only. \[Output Only\] The state of the subnetwork, which can be one of the
    /// following values:READY: Subnetwork is created and ready to useDRAINING: only applicable to subnetworks that have the
    /// purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that
    /// connections to the load balancer are being drained. A subnetwork that is
    /// draining cannot be used or modified until it reaches a status ofREADY
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// Subnetwork is being drained.
        Draining = 480455402,
        /// Subnetwork is ready for use.
        Ready = 77848963,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Draining => "DRAINING",
                Self::Ready => "READY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "DRAINING" => Some(Self::Draining),
                "READY" => Some(Self::Ready),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubnetworkAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of SubnetworksScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        SubnetworksScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#subnetworkAggregatedList for aggregated lists of
    /// subnetworks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of Subnetwork resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubnetworkList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Subnetwork resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Subnetwork>,
    /// Output only. \[Output Only\] Type of resource. Always compute#subnetworkList
    /// for lists of subnetworks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// The available logging options for this subnetwork.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubnetworkLogConfig {
    /// Can only be specified if VPC flow logging for this subnetwork is enabled.
    /// Toggles the aggregation interval for collecting flow logs. Increasing the
    /// interval time will reduce the amount of generated flow logs for long
    /// lasting connections. Default is an interval of 5 seconds per connection.
    /// Check the AggregationInterval enum for the list of possible values.
    #[prost(string, optional, tag = "174919042")]
    pub aggregation_interval: ::core::option::Option<::prost::alloc::string::String>,
    /// Whether to enable flow logging for this subnetwork. If this field is not
    /// explicitly set, it will not appear in get listings. If not
    /// set the default behavior is determined by the org policy, if there is no
    /// org policy specified, then it will default to disabled.
    /// Flow logging isn't supported if the subnet purpose field is
    /// set to REGIONAL_MANAGED_PROXY.
    #[prost(bool, optional, tag = "311764355")]
    pub enable: ::core::option::Option<bool>,
    /// Can only be specified if VPC flow logs for this subnetwork is enabled.
    /// The filter expression is used to define which VPC flow logs should be
    /// exported to Cloud Logging.
    #[prost(string, optional, tag = "183374428")]
    pub filter_expr: ::core::option::Option<::prost::alloc::string::String>,
    /// Can only be specified if VPC flow logging for this subnetwork is enabled.
    /// The value of the field must be in \[0, 1\]. Set the sampling rate of VPC
    /// flow logs within the subnetwork where 1.0 means all collected logs are
    /// reported and 0.0 means no logs are reported. Default is 0.5 unless
    /// otherwise specified by the org policy, which means half of all collected
    /// logs are reported.
    #[prost(float, optional, tag = "530150360")]
    pub flow_sampling: ::core::option::Option<f32>,
    /// Can only be specified if VPC flow logs for this subnetwork is enabled.
    /// Configures whether all, none or a subset of metadata fields should be
    /// added to the reported VPC flow logs. Default isEXCLUDE_ALL_METADATA.
    /// Check the Metadata enum for the list of possible values.
    #[prost(string, optional, tag = "86866735")]
    pub metadata: ::core::option::Option<::prost::alloc::string::String>,
    /// Can only be specified if VPC flow logs for this subnetwork is enabled and
    /// "metadata" was set to CUSTOM_METADATA.
    #[prost(string, repeated, tag = "378461641")]
    pub metadata_fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `SubnetworkLogConfig`.
pub mod subnetwork_log_config {
    /// Can only be specified if VPC flow logging for this subnetwork is enabled.
    /// Toggles the aggregation interval for collecting flow logs. Increasing the
    /// interval time will reduce the amount of generated flow logs for long
    /// lasting connections. Default is an interval of 5 seconds per connection.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum AggregationInterval {
        /// A value indicating that the enum field is not set.
        UndefinedAggregationInterval = 0,
        Interval10Min = 487155916,
        Interval15Min = 491773521,
        Interval1Min = 69052714,
        Interval30Sec = 7548937,
        Interval5Min = 72746798,
        Interval5Sec = 72752429,
    }
    impl AggregationInterval {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedAggregationInterval => "UNDEFINED_AGGREGATION_INTERVAL",
                Self::Interval10Min => "INTERVAL_10_MIN",
                Self::Interval15Min => "INTERVAL_15_MIN",
                Self::Interval1Min => "INTERVAL_1_MIN",
                Self::Interval30Sec => "INTERVAL_30_SEC",
                Self::Interval5Min => "INTERVAL_5_MIN",
                Self::Interval5Sec => "INTERVAL_5_SEC",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_AGGREGATION_INTERVAL" => {
                    Some(Self::UndefinedAggregationInterval)
                }
                "INTERVAL_10_MIN" => Some(Self::Interval10Min),
                "INTERVAL_15_MIN" => Some(Self::Interval15Min),
                "INTERVAL_1_MIN" => Some(Self::Interval1Min),
                "INTERVAL_30_SEC" => Some(Self::Interval30Sec),
                "INTERVAL_5_MIN" => Some(Self::Interval5Min),
                "INTERVAL_5_SEC" => Some(Self::Interval5Sec),
                _ => None,
            }
        }
    }
    /// Can only be specified if VPC flow logs for this subnetwork is enabled.
    /// Configures whether all, none or a subset of metadata fields should be
    /// added to the reported VPC flow logs. Default isEXCLUDE_ALL_METADATA.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Metadata {
        /// A value indicating that the enum field is not set.
        UndefinedMetadata = 0,
        CustomMetadata = 62450749,
        ExcludeAllMetadata = 334519954,
        IncludeAllMetadata = 164619908,
    }
    impl Metadata {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMetadata => "UNDEFINED_METADATA",
                Self::CustomMetadata => "CUSTOM_METADATA",
                Self::ExcludeAllMetadata => "EXCLUDE_ALL_METADATA",
                Self::IncludeAllMetadata => "INCLUDE_ALL_METADATA",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_METADATA" => Some(Self::UndefinedMetadata),
                "CUSTOM_METADATA" => Some(Self::CustomMetadata),
                "EXCLUDE_ALL_METADATA" => Some(Self::ExcludeAllMetadata),
                "INCLUDE_ALL_METADATA" => Some(Self::IncludeAllMetadata),
                _ => None,
            }
        }
    }
}
/// Additional subnetwork parameters.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubnetworkParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
/// Represents a secondary IP range of a subnetwork.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SubnetworkSecondaryRange {
    /// The range of IP addresses belonging to this subnetwork secondary range.
    /// Provide this property when you create the subnetwork. Ranges must be
    /// unique and non-overlapping with all primary and secondary IP ranges
    /// within a network. Both IPv4 and IPv6 ranges are supported. For IPv4,
    /// the range can be any range listed in theValid
    /// ranges list.
    ///
    /// For IPv6:
    /// The range must have a /64 prefix length.
    /// The range must be omitted, for auto-allocation from Google-defined ULA
    /// IPv6 range.
    /// For BYOGUA internal IPv6 secondary range, the range may be specified
    /// along with the `ipCollection` field.
    /// If an `ipCollection` is specified, the requested ip_cidr_range must lie
    /// within the range of the PDP referenced by the `ipCollection` field for
    /// allocation.
    /// If `ipCollection` field is specified, but ip_cidr_range is not,
    /// the range is auto-allocated from the PDP referenced by the `ipCollection`
    /// field.
    #[prost(string, optional, tag = "98117322")]
    pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
    /// The name associated with this subnetwork secondary range, used when adding
    /// an alias IP/IPv6 range to a VM instance.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// The name must be unique within the subnetwork.
    #[prost(string, optional, tag = "332216397")]
    pub range_name: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the reserved internal range. Only IPv4 is supported.
    #[prost(string, optional, tag = "286248754")]
    pub reserved_internal_range: ::core::option::Option<::prost::alloc::string::String>,
}
/// The current IP utilization of all subnetwork ranges. Contains the total
/// number of allocated and free IPs in each range.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubnetworkUtilizationDetails {
    /// Utilizations of external IPV6 IP range.
    #[prost(message, optional, tag = "419750236")]
    pub external_ipv6_instance_utilization: ::core::option::Option<
        SubnetworkUtilizationDetailsIpv6Utilization,
    >,
    /// Utilizations of external IPV6 IP range for NetLB.
    #[prost(message, optional, tag = "136563645")]
    pub external_ipv6_lb_utilization: ::core::option::Option<
        SubnetworkUtilizationDetailsIpv6Utilization,
    >,
    /// Utilizations of internal IPV6 IP range.
    #[prost(message, optional, tag = "69707020")]
    pub internal_ipv6_utilization: ::core::option::Option<
        SubnetworkUtilizationDetailsIpv6Utilization,
    >,
    /// Utilizations of all IPV4 IP ranges. For primary ranges, the range name
    /// will be empty.
    #[prost(message, repeated, tag = "206180011")]
    pub ipv4_utilizations: ::prost::alloc::vec::Vec<
        SubnetworkUtilizationDetailsIpv4Utilization,
    >,
}
/// The IPV4 utilization of a single IP range.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SubnetworkUtilizationDetailsIpv4Utilization {
    /// Will be set for secondary range. Empty for primary IPv4 range.
    #[prost(string, optional, tag = "332216397")]
    pub range_name: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(int64, optional, tag = "279055546")]
    pub total_allocated_ip: ::core::option::Option<i64>,
    #[prost(int64, optional, tag = "105624031")]
    pub total_free_ip: ::core::option::Option<i64>,
}
/// The IPV6 utilization of a single IP range.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SubnetworkUtilizationDetailsIpv6Utilization {
    #[prost(message, optional, tag = "279055546")]
    pub total_allocated_ip: ::core::option::Option<Uint128>,
    #[prost(message, optional, tag = "105624031")]
    pub total_free_ip: ::core::option::Option<Uint128>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SubnetworksExpandIpCidrRangeRequest {
    /// The IP (in CIDR format or netmask) of internal addresses that are legal on
    /// this Subnetwork. This range should be disjoint from other subnetworks
    /// within this network. This range can only be larger than (i.e. a superset
    /// of) the range previously defined before the update.
    #[prost(string, optional, tag = "98117322")]
    pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubnetworksScopedList {
    /// A list of subnetworks contained in this scope.
    #[prost(message, repeated, tag = "415853125")]
    pub subnetworks: ::prost::alloc::vec::Vec<Subnetwork>,
    /// An informational warning that appears when the list of addresses
    /// is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubnetworksScopedWarning {
    /// Name of the scope containing this set of Subnetworks.
    #[prost(string, optional, tag = "345557398")]
    pub scope_name: ::core::option::Option<::prost::alloc::string::String>,
    /// An informational warning about unreachable scope
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SubnetworksSetPrivateIpGoogleAccessRequest {
    #[prost(bool, optional, tag = "421491790")]
    pub private_ip_google_access: ::core::option::Option<bool>,
}
/// Subsetting configuration for this BackendService.
/// Currently this is applicable only for Internal TCP/UDP load balancing,
/// Internal HTTP(S) load balancing and Traffic Director.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Subsetting {
    /// Check the Policy enum for the list of possible values.
    #[prost(string, optional, tag = "91071794")]
    pub policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Subsetting`.
pub mod subsetting {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Policy {
        /// A value indicating that the enum field is not set.
        UndefinedPolicy = 0,
        /// Subsetting based on consistent hashing.
        ///
        /// For Traffic Director, the number of backends per backend group
        /// (the subset size) is based on the `subset_size` parameter.
        ///
        /// For Internal HTTP(S) load balancing, the number of backends per backend
        /// group (the subset size) is dynamically adjusted in two cases:
        ///
        /// * As the number of proxy instances participating in Internal HTTP(S) load
        ///   balancing increases, the subset size decreases.
        /// * When the total number of backends in a network exceeds the capacity of
        ///   a single proxy instance, subset sizes are reduced automatically for
        ///   each service that has backend subsetting enabled.
        ConsistentHashSubsetting = 108989492,
        /// No Subsetting.
        ///
        /// Clients may open connections and send traffic to all backends of this
        /// backend service. This can lead to performance issues if there is
        /// substantial imbalance in the count of clients and backends.
        None = 2402104,
    }
    impl Policy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPolicy => "UNDEFINED_POLICY",
                Self::ConsistentHashSubsetting => "CONSISTENT_HASH_SUBSETTING",
                Self::None => "NONE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_POLICY" => Some(Self::UndefinedPolicy),
                "CONSISTENT_HASH_SUBSETTING" => Some(Self::ConsistentHashSubsetting),
                "NONE" => Some(Self::None),
                _ => None,
            }
        }
    }
}
/// A request message for Instances.Suspend. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SuspendInstanceRequest {
    /// This property is required if the instance has any attached Local SSD disks.
    /// If false, Local SSD data will be preserved when the instance is suspended.
    /// If true, the contents of any attached Local SSD disks will be discarded.
    #[prost(bool, optional, tag = "319517903")]
    pub discard_local_ssd: ::core::option::Option<bool>,
    /// Name of the instance resource to suspend.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceGroupManagers.SuspendInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SuspendInstancesInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "46679761")]
    pub instance_group_managers_suspend_instances_request_resource: ::core::option::Option<
        InstanceGroupManagersSuspendInstancesRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone where the managed
    /// instance group is located.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.SuspendInstances. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SuspendInstancesRegionInstanceGroupManagerRequest {
    /// Name of the managed instance group.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "214250236")]
    pub region_instance_group_managers_suspend_instances_request_resource: ::core::option::Option<
        RegionInstanceGroupManagersSuspendInstancesRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Networks.SwitchToCustomMode. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SwitchToCustomModeNetworkRequest {
    /// Name of the network to be updated.
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TcpHealthCheck {
    /// The TCP port number to which the health check prober sends packets. The
    /// default value is 80. Valid values are 1 through65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Not supported.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    /// Check the PortSpecification enum for the list of possible values.
    #[prost(string, optional, tag = "51590597")]
    pub port_specification: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    /// Check the ProxyHeader enum for the list of possible values.
    #[prost(string, optional, tag = "160374142")]
    pub proxy_header: ::core::option::Option<::prost::alloc::string::String>,
    /// Instructs the health check prober to send this exact ASCII string, up to
    /// 1024 bytes in length, after establishing the TCP connection.
    #[prost(string, optional, tag = "21951119")]
    pub request: ::core::option::Option<::prost::alloc::string::String>,
    /// Creates a content-based TCP health check. In addition to establishing a
    /// TCP connection, you can configure the health check to pass only when the
    /// backend sends this exact response ASCII string, up to 1024 bytes in length.
    /// For details, see:
    /// <https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp>
    #[prost(string, optional, tag = "196547649")]
    pub response: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `TCPHealthCheck`.
pub mod tcp_health_check {
    /// Specifies how a port is selected for health checking. Can be one of the
    /// following values:
    /// USE_FIXED_PORT: Specifies a port number explicitly using theport field  in the health check. Supported by backend services
    /// for passthrough load balancers and backend services for proxy load
    /// balancers. Not supported by target pools. The health check supports all
    /// backends supported by the backend service provided the backend can be
    /// health checked. For example, GCE_VM_IP network endpoint
    /// groups, GCE_VM_IP_PORT network endpoint groups, and instance
    /// group backends.
    /// USE_NAMED_PORT: Not supported.
    /// USE_SERVING_PORT: Provides an indirect method of specifying
    /// the health check port by referring to the backend service. Only supported
    /// by backend services for proxy load balancers. Not supported by target
    /// pools.  Not supported by backend services for passthrough load balancers.
    /// Supports all backends that can be health checked; for example,GCE_VM_IP_PORT network endpoint groups and instance group
    /// backends.
    ///
    /// For GCE_VM_IP_PORT network endpoint group backends, the health
    /// check uses the port number specified for each endpoint in the network
    /// endpoint group.  For instance group backends, the health check uses the
    /// port number determined by looking up the backend service's named port in
    /// the instance group's list of named ports.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum PortSpecification {
        /// A value indicating that the enum field is not set.
        UndefinedPortSpecification = 0,
        /// The port number in the health check's port is used for health
        /// checking. Applies to network endpoint group and instance group backends.
        UseFixedPort = 190235748,
        /// Not supported.
        UseNamedPort = 349300671,
        /// For network endpoint group backends, the health check uses the port number
        /// specified on each endpoint in the network endpoint group. For instance
        /// group backends, the health check uses the port number specified for the
        /// backend service's named port defined in the instance group's named ports.
        UseServingPort = 362637516,
    }
    impl PortSpecification {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPortSpecification => "UNDEFINED_PORT_SPECIFICATION",
                Self::UseFixedPort => "USE_FIXED_PORT",
                Self::UseNamedPort => "USE_NAMED_PORT",
                Self::UseServingPort => "USE_SERVING_PORT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PORT_SPECIFICATION" => Some(Self::UndefinedPortSpecification),
                "USE_FIXED_PORT" => Some(Self::UseFixedPort),
                "USE_NAMED_PORT" => Some(Self::UseNamedPort),
                "USE_SERVING_PORT" => Some(Self::UseServingPort),
                _ => None,
            }
        }
    }
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProxyHeader {
        /// A value indicating that the enum field is not set.
        UndefinedProxyHeader = 0,
        None = 2402104,
        ProxyV1 = 334352940,
    }
    impl ProxyHeader {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProxyHeader => "UNDEFINED_PROXY_HEADER",
                Self::None => "NONE",
                Self::ProxyV1 => "PROXY_V1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROXY_HEADER" => Some(Self::UndefinedProxyHeader),
                "NONE" => Some(Self::None),
                "PROXY_V1" => Some(Self::ProxyV1),
                _ => None,
            }
        }
    }
}
/// A set of instance tags.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Tags {
    /// Specifies a fingerprint for this request, which is essentially a hash of
    /// the tags' contents and used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update tags. You must always provide an
    /// up-to-date fingerprint hash in order to update or change tags.
    ///
    /// To see the latest fingerprint, make get() request to the
    /// instance.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// An array of tags. Each tag must be 1-63 characters long, and comply
    /// with RFC1035.
    #[prost(string, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Represents a Target gRPC Proxy resource.
///
/// A target gRPC proxy is a component of load balancers intended for
/// load balancing gRPC traffic. Only global forwarding rules with load balancing
/// scheme INTERNAL_SELF_MANAGED can reference a target gRPC proxy. The target
/// gRPC Proxy references a URL map that specifies how traffic is routed to
/// gRPC backend services.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetGrpcProxy {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a TargetGrpcProxy. An up-to-date fingerprint must
    /// be provided in order to patch/update the TargetGrpcProxy; otherwise, the
    /// request will fail with error 412 conditionNotMet. To see the
    /// latest fingerprint, make a get() request to retrieve the
    /// TargetGrpcProxy.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#targetGrpcProxy for target grpc proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL with id for the resource.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// URL to the UrlMap resource that defines the mapping from URL to the
    /// BackendService. The protocol field in the BackendService must be set to
    /// GRPC.
    #[prost(string, optional, tag = "367020684")]
    pub url_map: ::core::option::Option<::prost::alloc::string::String>,
    /// If true, indicates that the BackendServices referenced by the urlMap may be
    /// accessed by gRPC applications without using a sidecar proxy. This will
    /// enable configuration checks on urlMap and its referenced BackendServices to
    /// not allow unsupported features. A gRPC application must use
    /// "xds:///" scheme in the target URI of the service it is
    /// connecting to.
    /// If false, indicates that the BackendServices referenced by the urlMap will
    /// be accessed by gRPC applications via a sidecar proxy. In this case, a gRPC
    /// application must not use "xds:///" scheme in the target URI of
    /// the service it is connecting to
    #[prost(bool, optional, tag = "101822888")]
    pub validate_for_proxyless: ::core::option::Option<bool>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetGrpcProxyList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetGrpcProxy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<TargetGrpcProxy>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#targetGrpcProxy for target grpc proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetHttpProxiesScopedList {
    /// A list of TargetHttpProxies contained in this scope.
    #[prost(message, repeated, tag = "162147011")]
    pub target_http_proxies: ::prost::alloc::vec::Vec<TargetHttpProxy>,
    /// Informational warning which replaces the list of
    /// backend services when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a Target HTTP Proxy resource.
///
/// Google Compute Engine has two Target HTTP Proxy resources:
///
/// * [Global](/compute/docs/reference/rest/v1/targetHttpProxies)
/// * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpProxies)
///
/// A target HTTP proxy is a component of Google Cloud HTTP load balancers.
///
/// * targetHttpProxies are used by global external Application Load Balancers,
///   classic Application Load Balancers, cross-region internal Application Load
///   Balancers, and Traffic Director.
/// * regionTargetHttpProxies are used by regional internal Application Load
///   Balancers and regional external Application Load Balancers.
///
/// Forwarding rules reference a target HTTP proxy, and the target proxy
/// then references a URL map. For more information, readUsing Target Proxies
/// and
/// Forwarding rule concepts.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetHttpProxy {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a TargetHttpProxy. An up-to-date fingerprint must
    /// be provided in order to patch/update the TargetHttpProxy; otherwise, the
    /// request will fail with error 412 conditionNotMet. To see the
    /// latest fingerprint, make a get() request to retrieve the
    /// TargetHttpProxy.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how long to keep a connection open, after completing a response,
    /// while there is no matching traffic (in seconds). If an HTTP keep-alive is
    /// not specified, a default value (610 seconds) will be used.
    ///
    /// For global external Application Load Balancers, the minimum allowed value
    /// is 5 seconds and the maximum allowed value is 1200 seconds.
    ///
    /// For classic Application Load Balancers, this option is not supported.
    #[prost(int32, optional, tag = "447326046")]
    pub http_keep_alive_timeout_sec: ::core::option::Option<i32>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of resource. Always compute#targetHttpProxy
    /// for target HTTP proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// This field only applies when the forwarding rule that references this
    /// target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
    ///
    /// When this field is set to true, Envoy proxies set up inbound
    /// traffic interception and bind to the IP address and port specified in the
    /// forwarding rule. This is generally useful when using Traffic Director to
    /// configure Envoy as a gateway or middle proxy (in other words, not a
    /// sidecar proxy). The Envoy proxy listens for inbound requests and handles
    /// requests when it receives them.
    ///
    /// The default is false.
    #[prost(bool, optional, tag = "286025582")]
    pub proxy_bind: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] URL of the region where the regional Target HTTP Proxy
    /// resides. This field is not applicable to global Target HTTP Proxies.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// URL to the UrlMap resource that defines the mapping from URL to
    /// the BackendService.
    #[prost(string, optional, tag = "367020684")]
    pub url_map: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetHttpProxyAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetHttpProxiesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        TargetHttpProxiesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#targetHttpProxyAggregatedList for lists of Target HTTP
    /// Proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// A list of TargetHttpProxy resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetHttpProxyList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetHttpProxy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<TargetHttpProxy>,
    /// Output only. Type of resource. Always compute#targetHttpProxyList for lists
    /// of target HTTP proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetHttpsProxiesScopedList {
    /// A list of TargetHttpsProxies contained in this scope.
    #[prost(message, repeated, tag = "366607882")]
    pub target_https_proxies: ::prost::alloc::vec::Vec<TargetHttpsProxy>,
    /// Informational warning which replaces the list of
    /// backend services when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetHttpsProxiesSetCertificateMapRequest {
    /// URL of the Certificate Map to associate with this TargetHttpsProxy.
    ///
    /// Accepted format is//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}.
    #[prost(string, optional, tag = "156463796")]
    pub certificate_map: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetHttpsProxiesSetQuicOverrideRequest {
    /// QUIC policy for the TargetHttpsProxy resource.
    /// Check the QuicOverride enum for the list of possible values.
    #[prost(string, optional, tag = "456577197")]
    pub quic_override: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `TargetHttpsProxiesSetQuicOverrideRequest`.
pub mod target_https_proxies_set_quic_override_request {
    /// QUIC policy for the TargetHttpsProxy resource.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum QuicOverride {
        /// A value indicating that the enum field is not set.
        UndefinedQuicOverride = 0,
        /// The load balancer will not attempt to negotiate QUIC with clients.
        Disable = 241807048,
        /// The load balancer will attempt to negotiate QUIC with clients.
        Enable = 438835587,
        /// No overrides to the default QUIC policy. This option is implicit if
        /// no QUIC override has been specified in the request.
        None = 2402104,
    }
    impl QuicOverride {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedQuicOverride => "UNDEFINED_QUIC_OVERRIDE",
                Self::Disable => "DISABLE",
                Self::Enable => "ENABLE",
                Self::None => "NONE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_QUIC_OVERRIDE" => Some(Self::UndefinedQuicOverride),
                "DISABLE" => Some(Self::Disable),
                "ENABLE" => Some(Self::Enable),
                "NONE" => Some(Self::None),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetHttpsProxiesSetSslCertificatesRequest {
    /// New set of SslCertificate resources to associate
    /// with this TargetHttpsProxy resource. At least one SSL
    /// certificate must be specified. Currently, you may specify up to 15 SSL
    /// certificates.
    #[prost(string, repeated, tag = "366006543")]
    pub ssl_certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Represents a Target HTTPS Proxy resource.
///
/// Google Compute Engine has two Target HTTPS Proxy resources:
///
/// * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies)
/// * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies)
///
/// A target HTTPS proxy is a component of Google Cloud HTTPS load balancers.
///
/// * targetHttpsProxies are used by global external Application Load Balancers,
///   classic Application Load Balancers, cross-region internal Application Load
///   Balancers, and Traffic Director.
/// * regionTargetHttpsProxies are used by regional internal Application Load
///   Balancers and regional external Application Load Balancers.
///
/// Forwarding rules reference a target HTTPS proxy, and the target proxy
/// then references a URL map. For more information, readUsing Target Proxies
/// and
/// Forwarding rule concepts.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetHttpsProxy {
    /// Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
    /// that describes how the proxy should authorize inbound traffic. If left
    /// blank, access will not be restricted by an authorization policy.
    ///
    /// Refer to the AuthorizationPolicy resource for additional
    /// details.
    ///
    /// authorizationPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED.
    ///
    /// Note: This field currently has no impact.
    #[prost(string, optional, tag = "33945528")]
    pub authorization_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of a certificate map that identifies a certificate map associated with
    /// the given target proxy.
    /// This field can only be set for Global external Application Load Balancer or
    /// Classic Application Load Balancer. For other products use Certificate
    /// Manager Certificates instead.
    ///
    /// If set, sslCertificates will be ignored.
    ///
    /// Accepted format is//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}.
    #[prost(string, optional, tag = "156463796")]
    pub certificate_map: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field will be ignored when
    /// inserting a TargetHttpsProxy. An up-to-date fingerprint must
    /// be provided in order to patch the TargetHttpsProxy; otherwise, the request
    /// will fail with error 412 conditionNotMet. To see the latest
    /// fingerprint, make a get() request to retrieve the
    /// TargetHttpsProxy.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how long to keep a connection open, after completing a response,
    /// while there is no matching traffic (in seconds). If an HTTP keep-alive is
    /// not specified, a default value (610 seconds) will be used.
    ///
    /// For global external Application Load Balancers, the minimum allowed value
    /// is 5 seconds and the maximum allowed value is 1200 seconds.
    ///
    /// For classic Application Load Balancers, this option is not supported.
    #[prost(int32, optional, tag = "447326046")]
    pub http_keep_alive_timeout_sec: ::core::option::Option<i32>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#targetHttpsProxy for target HTTPS proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// This field only applies when the forwarding rule that references this
    /// target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
    ///
    /// When this field is set to true, Envoy proxies set up inbound
    /// traffic interception and bind to the IP address and port specified in the
    /// forwarding rule. This is generally useful when using Traffic Director to
    /// configure Envoy as a gateway or middle proxy (in other words, not a
    /// sidecar proxy). The Envoy proxy listens for inbound requests and handles
    /// requests when it receives them.
    ///
    /// The default is false.
    #[prost(bool, optional, tag = "286025582")]
    pub proxy_bind: ::core::option::Option<bool>,
    /// Specifies the QUIC override policy for this TargetHttpsProxy resource. This
    /// setting determines whether the load balancer attempts to negotiate QUIC
    /// with clients.
    /// You can specify NONE, ENABLE, orDISABLE.
    ///
    /// ```text
    /// - When quic-override is set to NONE,
    /// Google manages whether QUIC is used.
    /// - When quic-override is set to ENABLE, the
    /// load balancer uses QUIC when possible.
    /// - When quic-override is set to DISABLE, the
    /// load balancer doesn't use QUIC.
    /// - If the quic-override flag is not specified,NONE is implied.
    /// ```
    ///
    /// Check the QuicOverride enum for the list of possible values.
    #[prost(string, optional, tag = "456577197")]
    pub quic_override: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the regional TargetHttpsProxy
    /// resides. This field is not applicable to global TargetHttpsProxies.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. A URL referring to a networksecurity.ServerTlsPolicy resource
    /// that describes how the proxy should authenticate inbound traffic.
    ///
    /// serverTlsPolicy only applies to a globalTargetHttpsProxy attached toglobalForwardingRules with theloadBalancingScheme set to INTERNAL_SELF_MANAGED
    /// or EXTERNAL orEXTERNAL_MANAGED or INTERNAL_MANAGED.
    /// It also applies to a regional TargetHttpsProxy attached to
    /// regional forwardingRules with theloadBalancingScheme set to EXTERNAL_MANAGED orINTERNAL_MANAGED. For details whichServerTlsPolicy resources are accepted withINTERNAL_SELF_MANAGED and which with EXTERNAL,INTERNAL_MANAGED, EXTERNAL_MANAGEDloadBalancingScheme consult ServerTlsPolicy
    /// documentation.
    ///
    /// If left blank, communications are not encrypted.
    #[prost(string, optional, tag = "295825266")]
    pub server_tls_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// URLs to SslCertificate resources that are used to authenticate
    /// connections between users and the load balancer. At least one SSL
    /// certificate must be specified. SslCertificates do not apply when the load
    /// balancing scheme is set to INTERNAL_SELF_MANAGED.
    ///
    /// The URLs should refer to a SSL Certificate resource or Certificate Manager
    /// Certificate resource. Mixing Classic Certificates and Certificate Manager
    /// Certificates is not allowed. Certificate Manager Certificates must include
    /// the certificatemanager API namespace. Using Certificate Manager
    /// Certificates in this field is not supported by Global external Application
    /// Load Balancer or Classic Application Load Balancer, use certificate_map
    /// instead.
    ///
    /// Currently, you may specify up to 15 Classic SSL Certificates or up to 100
    /// Certificate Manager Certificates.
    ///
    /// Certificate Manager Certificates accepted formats are:
    ///
    /// ```text
    /// - //certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}.
    /// - <https://certificatemanager.googleapis.com/v1alpha1/projects/{project}/locations/{location}/certificates/{resourceName}.>
    /// ```
    #[prost(string, repeated, tag = "366006543")]
    pub ssl_certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// URL of SslPolicy resource that will be associated with the TargetHttpsProxy
    /// resource. If not set, the TargetHttpsProxy resource has no
    /// SSL policy configured.
    #[prost(string, optional, tag = "295190213")]
    pub ssl_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted
    /// for this service. Early Data allows a TLS resumption handshake to include
    /// the initial application payload (a HTTP request) alongside the handshake,
    /// reducing the effective round trips to "zero". This applies to TLS 1.3
    /// connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
    ///
    /// This can improve application performance, especially on networks where
    /// interruptions may be common, such as on mobile.
    ///
    /// Requests with Early Data will have the "Early-Data" HTTP header set on
    /// the request, with a value of "1", to allow the backend to determine whether
    /// Early Data was included.
    ///
    /// Note: TLS Early Data may allow requests to be replayed, as the data is
    /// sent to the backend before the handshake has fully completed. Applications
    /// that allow idempotent HTTP methods to make non-idempotent changes, such as
    /// a GET request updating a database, should not accept Early Data on those
    /// requests, and reject requests with the "Early-Data: 1" HTTP header by
    /// returning a HTTP 425 (Too Early) status code, in order to remain RFC
    /// compliant.
    ///
    /// The default value is DISABLED.
    /// Check the TlsEarlyData enum for the list of possible values.
    #[prost(string, optional, tag = "61108426")]
    pub tls_early_data: ::core::option::Option<::prost::alloc::string::String>,
    /// A fully-qualified or valid partial URL to the UrlMap resource that defines
    /// the mapping from URL to the BackendService. For example, the following are
    /// all valid URLs for specifying a URL map:
    ///
    /// ```text
    /// - <https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map>
    /// - projects/project/global/urlMaps/url-map
    /// - global/urlMaps/url-map
    /// ```
    #[prost(string, optional, tag = "367020684")]
    pub url_map: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `TargetHttpsProxy`.
pub mod target_https_proxy {
    /// Specifies the QUIC override policy for this TargetHttpsProxy resource. This
    /// setting determines whether the load balancer attempts to negotiate QUIC
    /// with clients.
    /// You can specify NONE, ENABLE, orDISABLE.
    ///
    /// ```text
    /// - When quic-override is set to NONE,
    /// Google manages whether QUIC is used.
    /// - When quic-override is set to ENABLE, the
    /// load balancer uses QUIC when possible.
    /// - When quic-override is set to DISABLE, the
    /// load balancer doesn't use QUIC.
    /// - If the quic-override flag is not specified,NONE is implied.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum QuicOverride {
        /// A value indicating that the enum field is not set.
        UndefinedQuicOverride = 0,
        /// The load balancer will not attempt to negotiate QUIC with clients.
        Disable = 241807048,
        /// The load balancer will attempt to negotiate QUIC with clients.
        Enable = 438835587,
        /// No overrides to the default QUIC policy. This option is implicit if
        /// no QUIC override has been specified in the request.
        None = 2402104,
    }
    impl QuicOverride {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedQuicOverride => "UNDEFINED_QUIC_OVERRIDE",
                Self::Disable => "DISABLE",
                Self::Enable => "ENABLE",
                Self::None => "NONE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_QUIC_OVERRIDE" => Some(Self::UndefinedQuicOverride),
                "DISABLE" => Some(Self::Disable),
                "ENABLE" => Some(Self::Enable),
                "NONE" => Some(Self::None),
                _ => None,
            }
        }
    }
    /// Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted
    /// for this service. Early Data allows a TLS resumption handshake to include
    /// the initial application payload (a HTTP request) alongside the handshake,
    /// reducing the effective round trips to "zero". This applies to TLS 1.3
    /// connections over TCP (HTTP/2) as well as over UDP (QUIC/h3).
    ///
    /// This can improve application performance, especially on networks where
    /// interruptions may be common, such as on mobile.
    ///
    /// Requests with Early Data will have the "Early-Data" HTTP header set on
    /// the request, with a value of "1", to allow the backend to determine whether
    /// Early Data was included.
    ///
    /// Note: TLS Early Data may allow requests to be replayed, as the data is
    /// sent to the backend before the handshake has fully completed. Applications
    /// that allow idempotent HTTP methods to make non-idempotent changes, such as
    /// a GET request updating a database, should not accept Early Data on those
    /// requests, and reject requests with the "Early-Data: 1" HTTP header by
    /// returning a HTTP 425 (Too Early) status code, in order to remain RFC
    /// compliant.
    ///
    /// The default value is DISABLED.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum TlsEarlyData {
        /// A value indicating that the enum field is not set.
        UndefinedTlsEarlyData = 0,
        /// TLS 1.3 Early Data is not advertised, and any (invalid) attempts to send
        /// Early Data will be rejected by closing the connection.
        Disabled = 516696700,
        /// This enables TLS 1.3 0-RTT, and only allows Early Data to be included on
        /// requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE). This mode
        /// does not enforce any other limitations for requests with Early Data. The
        /// application owner should validate that Early Data is acceptable for a
        /// given request path.
        Permissive = 504345247,
        /// This enables TLS 1.3 0-RTT, and only allows Early Data to be included on
        /// requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE) without query
        /// parameters. Requests that send Early Data with non-idempotent HTTP
        /// methods or with query parameters will be rejected with a HTTP 425.
        Strict = 308826825,
        /// This enables TLS 1.3 Early Data for requests with any HTTP method
        /// including non-idempotent methods list POST. This mode does not enforce
        /// any other limitations. This may be valuable for gRPC use cases. However,
        /// we do not recommend this method unless you have evaluated your security
        /// stance and mitigated the risk of replay attacks using other mechanisms.
        Unrestricted = 457266100,
    }
    impl TlsEarlyData {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedTlsEarlyData => "UNDEFINED_TLS_EARLY_DATA",
                Self::Disabled => "DISABLED",
                Self::Permissive => "PERMISSIVE",
                Self::Strict => "STRICT",
                Self::Unrestricted => "UNRESTRICTED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TLS_EARLY_DATA" => Some(Self::UndefinedTlsEarlyData),
                "DISABLED" => Some(Self::Disabled),
                "PERMISSIVE" => Some(Self::Permissive),
                "STRICT" => Some(Self::Strict),
                "UNRESTRICTED" => Some(Self::Unrestricted),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetHttpsProxyAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetHttpsProxiesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        TargetHttpsProxiesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#targetHttpsProxyAggregatedList for lists of Target
    /// HTTP Proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of TargetHttpsProxy resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetHttpsProxyList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetHttpsProxy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<TargetHttpsProxy>,
    /// Output only. Type of resource. Always compute#targetHttpsProxyList for
    /// lists of target HTTPS proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a Target Instance resource.
///
/// You can use a target instance to handle traffic for one or more forwarding
/// rules, which is ideal for forwarding protocol traffic that is managed by a
/// single source. For example, ESP, AH, TCP, or UDP.
/// For more information, readTarget
/// instances.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetInstance {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// A URL to the virtual machine instance that handles traffic for this target
    /// instance. When creating a target instance, you can provide the
    /// fully-qualified URL or a valid partial URL to the desired virtual machine.
    /// For example, the following are all valid URLs:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance>
    /// - projects/project/zones/zone/instances/instance
    /// - zones/zone/instances/instance
    /// ```
    #[prost(string, optional, tag = "18257045")]
    pub instance: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The type of the resource. Alwayscompute#targetInstance for target instances.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Must have a value of NO_NAT.
    /// Protocol forwarding delivers packets while preserving the destination IP
    /// address of the forwarding rule referencing the target instance.
    /// Check the NatPolicy enum for the list of possible values.
    #[prost(string, optional, tag = "509780496")]
    pub nat_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// The URL of the network this target instance uses to forward traffic.
    /// If not specified, the traffic will be forwarded to the network that
    /// the default network interface belongs to.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The resource URL for the security policy associated with this
    /// target instance.
    #[prost(string, optional, tag = "171082513")]
    pub security_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the zone where the target instance resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "3744684")]
    pub zone: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `TargetInstance`.
pub mod target_instance {
    /// Must have a value of NO_NAT.
    /// Protocol forwarding delivers packets while preserving the destination IP
    /// address of the forwarding rule referencing the target instance.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum NatPolicy {
        /// A value indicating that the enum field is not set.
        UndefinedNatPolicy = 0,
        /// No NAT performed.
        NoNat = 161455491,
    }
    impl NatPolicy {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedNatPolicy => "UNDEFINED_NAT_POLICY",
                Self::NoNat => "NO_NAT",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_NAT_POLICY" => Some(Self::UndefinedNatPolicy),
                "NO_NAT" => Some(Self::NoNat),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetInstanceAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetInstance resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        TargetInstancesScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of TargetInstance resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetInstanceList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetInstance resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<TargetInstance>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetInstancesScopedList {
    /// A list of target instances contained in this scope.
    #[prost(message, repeated, tag = "392915280")]
    pub target_instances: ::prost::alloc::vec::Vec<TargetInstance>,
    /// Informational warning which replaces the list of addresses when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a Target Pool resource.
///
/// Target pools are used with external passthrough Network Load Balancers.
/// A target pool references member instances, an associated legacy
/// HttpHealthCheck resource, and, optionally, a backup target pool.
/// For more information, readUsing target pools.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetPool {
    /// The server-defined URL for the resource. This field is applicable only when
    /// the containing target pool is serving a forwarding rule as the primary
    /// pool, and its failoverRatio field is properly set to a value
    /// between \[0, 1\].backupPool and failoverRatio together define
    /// the fallback behavior of the primary target pool: if the ratio of the
    /// healthy instances in the primary pool is at or belowfailoverRatio, traffic arriving at the load-balanced
    /// IP will be directed to the backup pool.
    ///
    /// In case where failoverRatio and backupPool
    /// are not set, or all the instances in the backup pool are unhealthy,
    /// the traffic will be directed back to the primary pool in the "force"
    /// mode, where traffic will be spread to the healthy instances with the
    /// best effort, or to all instances when no instance is healthy.
    #[prost(string, optional, tag = "45884537")]
    pub backup_pool: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// This field is applicable only when the containing target pool is serving a
    /// forwarding rule as the primary pool (i.e., not as a backup pool to some
    /// other target pool). The value of the field must be in \[0, 1\].
    ///
    /// If set, backupPool must also be set. They together define
    /// the fallback behavior of the primary target pool: if the ratio of the
    /// healthy instances in the primary pool is at or below this number,
    /// traffic arriving at the load-balanced IP will be directed to the
    /// backup pool.
    ///
    /// In case where failoverRatio is not set or all the
    /// instances in the backup pool are unhealthy, the traffic will be
    /// directed back to the primary pool in the "force" mode, where traffic
    /// will be spread to the healthy instances with the
    /// best effort, or to all instances when no instance is healthy.
    #[prost(float, optional, tag = "212667006")]
    pub failover_ratio: ::core::option::Option<f32>,
    /// The URL of the HttpHealthCheck resource. A member instance in this
    /// pool is considered healthy if and only if the health checks pass.
    /// Only legacy HttpHealthChecks are supported. Only one health check may be
    /// specified.
    #[prost(string, repeated, tag = "448370606")]
    pub health_checks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// A list of resource URLs to the virtual machine instances serving this pool.
    /// They must live in zones contained in the same region as this pool.
    #[prost(string, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#targetPool
    /// for target pools.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the target pool resides.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The resource URL for the security policy associated with this
    /// target pool.
    #[prost(string, optional, tag = "171082513")]
    pub security_policy: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Session affinity option, must be one of the following values:
    /// NONE: Connections from the same client IP may go to any
    /// instance in the pool.
    /// CLIENT_IP: Connections from the same client IP will go
    /// to the same instance in
    /// the pool while that instance remains healthy.
    /// CLIENT_IP_PROTO: Connections from the same client IP
    /// with the same IP protocol will go to the same instance in the
    /// pool while that instance remains healthy.
    /// Check the SessionAffinity enum for the list of possible values.
    #[prost(string, optional, tag = "463888561")]
    pub session_affinity: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `TargetPool`.
pub mod target_pool {
    /// Session affinity option, must be one of the following values:
    /// NONE: Connections from the same client IP may go to any
    /// instance in the pool.
    /// CLIENT_IP: Connections from the same client IP will go
    /// to the same instance in
    /// the pool while that instance remains healthy.
    /// CLIENT_IP_PROTO: Connections from the same client IP
    /// with the same IP protocol will go to the same instance in the
    /// pool while that instance remains healthy.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum SessionAffinity {
        /// A value indicating that the enum field is not set.
        UndefinedSessionAffinity = 0,
        /// 2-tuple hash on packet's source and destination IP addresses. Connections
        /// from the same source IP address to the same destination IP address will be
        /// served by the same backend VM while that VM remains healthy.
        ClientIp = 345665051,
        /// 1-tuple hash only on packet's source IP address. Connections from the
        /// same source IP address will be served by the same backend VM while that VM
        /// remains healthy. This option can only be used for Internal TCP/UDP
        /// Load Balancing.
        ClientIpNoDestination = 106122516,
        /// 5-tuple hash on packet's source and destination IP addresses, IP protocol,
        /// and source and destination ports. Connections for the same IP protocol
        /// from the same source IP address and port to the same destination IP address
        /// and port will be served by the same backend VM while that VM remains
        /// healthy. This option cannot be used for HTTP(S) load balancing.
        ClientIpPortProto = 221722926,
        /// 3-tuple hash on packet's source and destination IP addresses, and IP
        /// protocol. Connections for the same IP protocol from the same source IP
        /// address to the same destination IP address will be served by the same
        /// backend VM while that VM remains healthy. This option cannot be used for
        /// HTTP(S) load balancing.
        ClientIpProto = 25322148,
        /// Hash based on a cookie generated by the L7 loadbalancer.
        /// Only valid for HTTP(S) load balancing.
        GeneratedCookie = 370321204,
        /// The hash is based on a user specified header field.
        HeaderField = 200737960,
        /// The hash is based on a user provided cookie.
        HttpCookie = 494981627,
        /// No session affinity. Connections from the same client IP may go
        /// to any instance in the pool.
        None = 2402104,
        /// Strong cookie-based affinity. Connections bearing the same cookie will be
        /// served by the same backend VM while that VM remains healthy, as long as the
        /// cookie has not expired.
        StrongCookieAffinity = 438628091,
    }
    impl SessionAffinity {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedSessionAffinity => "UNDEFINED_SESSION_AFFINITY",
                Self::ClientIp => "CLIENT_IP",
                Self::ClientIpNoDestination => "CLIENT_IP_NO_DESTINATION",
                Self::ClientIpPortProto => "CLIENT_IP_PORT_PROTO",
                Self::ClientIpProto => "CLIENT_IP_PROTO",
                Self::GeneratedCookie => "GENERATED_COOKIE",
                Self::HeaderField => "HEADER_FIELD",
                Self::HttpCookie => "HTTP_COOKIE",
                Self::None => "NONE",
                Self::StrongCookieAffinity => "STRONG_COOKIE_AFFINITY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_SESSION_AFFINITY" => Some(Self::UndefinedSessionAffinity),
                "CLIENT_IP" => Some(Self::ClientIp),
                "CLIENT_IP_NO_DESTINATION" => Some(Self::ClientIpNoDestination),
                "CLIENT_IP_PORT_PROTO" => Some(Self::ClientIpPortProto),
                "CLIENT_IP_PROTO" => Some(Self::ClientIpProto),
                "GENERATED_COOKIE" => Some(Self::GeneratedCookie),
                "HEADER_FIELD" => Some(Self::HeaderField),
                "HTTP_COOKIE" => Some(Self::HttpCookie),
                "NONE" => Some(Self::None),
                "STRONG_COOKIE_AFFINITY" => Some(Self::StrongCookieAffinity),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetPoolAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetPool resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        TargetPoolsScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#targetPoolAggregatedList for aggregated lists of
    /// target pools.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetPoolInstanceHealth {
    #[prost(message, repeated, tag = "380545845")]
    pub health_status: ::prost::alloc::vec::Vec<HealthStatus>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#targetPoolInstanceHealth when checking the health of
    /// an instance.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains a list of TargetPool resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetPoolList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetPool resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<TargetPool>,
    /// Output only. \[Output Only\] Type of resource. Always compute#targetPoolList
    /// for lists of target pools.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetPoolsAddHealthCheckRequest {
    /// The HttpHealthCheck to add to the target pool.
    #[prost(message, repeated, tag = "448370606")]
    pub health_checks: ::prost::alloc::vec::Vec<HealthCheckReference>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetPoolsAddInstanceRequest {
    /// A full or partial URL to an instance to add to this target pool. This can
    /// be a full or partial URL. For example, the following are valid URLs:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name>
    /// - projects/project-id/zones/zone/instances/instance-name
    /// - zones/zone/instances/instance-name
    /// ```
    #[prost(message, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<InstanceReference>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetPoolsRemoveHealthCheckRequest {
    /// Health check URL to be removed. This can be a full or valid partial URL.
    /// For example, the following are valid URLs:
    ///
    /// ```text
    /// - <https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check>
    /// - projects/project/global/httpHealthChecks/health-check
    /// - global/httpHealthChecks/health-check
    /// ```
    #[prost(message, repeated, tag = "448370606")]
    pub health_checks: ::prost::alloc::vec::Vec<HealthCheckReference>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetPoolsRemoveInstanceRequest {
    /// URLs of the instances to be removed from target pool.
    #[prost(message, repeated, tag = "29097598")]
    pub instances: ::prost::alloc::vec::Vec<InstanceReference>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetPoolsScopedList {
    /// A list of target pools contained in this scope.
    #[prost(message, repeated, tag = "336072617")]
    pub target_pools: ::prost::alloc::vec::Vec<TargetPool>,
    /// Informational warning which replaces the list of addresses when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetReference {
    #[prost(string, optional, tag = "192835985")]
    pub target: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetSslProxiesSetBackendServiceRequest {
    /// The URL of the new BackendService resource for the targetSslProxy.
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetSslProxiesSetCertificateMapRequest {
    /// URL of the Certificate Map to associate with this TargetSslProxy.
    ///
    /// Accepted format is//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}.
    #[prost(string, optional, tag = "156463796")]
    pub certificate_map: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetSslProxiesSetProxyHeaderRequest {
    /// The new type of proxy header to append before sending data to the
    /// backend.  NONE or PROXY_V1 are allowed.
    /// Check the ProxyHeader enum for the list of possible values.
    #[prost(string, optional, tag = "160374142")]
    pub proxy_header: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `TargetSslProxiesSetProxyHeaderRequest`.
pub mod target_ssl_proxies_set_proxy_header_request {
    /// The new type of proxy header to append before sending data to the
    /// backend.  NONE or PROXY_V1 are allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProxyHeader {
        /// A value indicating that the enum field is not set.
        UndefinedProxyHeader = 0,
        None = 2402104,
        ProxyV1 = 334352940,
    }
    impl ProxyHeader {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProxyHeader => "UNDEFINED_PROXY_HEADER",
                Self::None => "NONE",
                Self::ProxyV1 => "PROXY_V1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROXY_HEADER" => Some(Self::UndefinedProxyHeader),
                "NONE" => Some(Self::None),
                "PROXY_V1" => Some(Self::ProxyV1),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetSslProxiesSetSslCertificatesRequest {
    /// New set of URLs to SslCertificate resources to associate with this
    /// TargetSslProxy. At least one SSL certificate must be specified.
    /// Currently, you may specify up to 15 SSL certificates.
    #[prost(string, repeated, tag = "366006543")]
    pub ssl_certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Represents a Target SSL Proxy resource.
///
/// A target SSL proxy is a component of a Proxy Network Load Balancer.
/// The forwarding rule references the target SSL proxy, and the target proxy
/// then references a backend service. For more information, readProxy Network
/// Load Balancer overview.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetSslProxy {
    /// URL of a certificate map that identifies a certificate map associated with
    /// the given target proxy.
    /// This field can only be set for global target proxies.
    /// If set, sslCertificates will be ignored.
    ///
    /// Accepted format is//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}.
    #[prost(string, optional, tag = "156463796")]
    pub certificate_map: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#targetSslProxy for target SSL proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    /// Check the ProxyHeader enum for the list of possible values.
    #[prost(string, optional, tag = "160374142")]
    pub proxy_header: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// URL to the BackendService resource.
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
    /// URLs to SslCertificate resources that are used to
    /// authenticate connections to Backends. At least one SSL certificate
    /// must be specified. Currently, you may specify up to 15 SSL certificates.
    /// sslCertificates do not apply when the load balancing scheme is set to
    /// INTERNAL_SELF_MANAGED.
    #[prost(string, repeated, tag = "366006543")]
    pub ssl_certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// URL of SslPolicy resource that will be associated with the TargetSslProxy
    /// resource. If not set, the TargetSslProxy resource will not have any
    /// SSL policy configured.
    #[prost(string, optional, tag = "295190213")]
    pub ssl_policy: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `TargetSslProxy`.
pub mod target_ssl_proxy {
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProxyHeader {
        /// A value indicating that the enum field is not set.
        UndefinedProxyHeader = 0,
        None = 2402104,
        ProxyV1 = 334352940,
    }
    impl ProxyHeader {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProxyHeader => "UNDEFINED_PROXY_HEADER",
                Self::None => "NONE",
                Self::ProxyV1 => "PROXY_V1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROXY_HEADER" => Some(Self::UndefinedProxyHeader),
                "NONE" => Some(Self::None),
                "PROXY_V1" => Some(Self::ProxyV1),
                _ => None,
            }
        }
    }
}
/// Contains a list of TargetSslProxy resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetSslProxyList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetSslProxy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<TargetSslProxy>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetTcpProxiesScopedList {
    /// A list of TargetTcpProxies contained in this scope.
    #[prost(message, repeated, tag = "262056832")]
    pub target_tcp_proxies: ::prost::alloc::vec::Vec<TargetTcpProxy>,
    /// Informational warning which replaces the list of
    /// backend services when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetTcpProxiesSetBackendServiceRequest {
    /// The URL of the new BackendService resource for the targetTcpProxy.
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetTcpProxiesSetProxyHeaderRequest {
    /// The new type of proxy header to append before sending data to the
    /// backend.  NONE or PROXY_V1 are allowed.
    /// Check the ProxyHeader enum for the list of possible values.
    #[prost(string, optional, tag = "160374142")]
    pub proxy_header: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `TargetTcpProxiesSetProxyHeaderRequest`.
pub mod target_tcp_proxies_set_proxy_header_request {
    /// The new type of proxy header to append before sending data to the
    /// backend.  NONE or PROXY_V1 are allowed.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProxyHeader {
        /// A value indicating that the enum field is not set.
        UndefinedProxyHeader = 0,
        None = 2402104,
        ProxyV1 = 334352940,
    }
    impl ProxyHeader {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProxyHeader => "UNDEFINED_PROXY_HEADER",
                Self::None => "NONE",
                Self::ProxyV1 => "PROXY_V1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROXY_HEADER" => Some(Self::UndefinedProxyHeader),
                "NONE" => Some(Self::None),
                "PROXY_V1" => Some(Self::ProxyV1),
                _ => None,
            }
        }
    }
}
/// Represents a Target TCP Proxy resource.
///
/// A target TCP proxy is a component of a Proxy Network Load Balancer.
/// The forwarding rule references the target TCP proxy, and the target proxy
/// then references a backend service. For more information, readProxy Network
/// Load Balancer overview.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TargetTcpProxy {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#targetTcpProxy for target TCP proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// This field only applies when the forwarding rule that references this
    /// target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
    ///
    /// When this field is set to true, Envoy proxies set up inbound
    /// traffic interception and bind to the IP address and port specified in the
    /// forwarding rule. This is generally useful when using Traffic Director to
    /// configure Envoy as a gateway or middle proxy (in other words, not a
    /// sidecar proxy). The Envoy proxy listens for inbound requests and handles
    /// requests when it receives them.
    ///
    /// The default is false.
    #[prost(bool, optional, tag = "286025582")]
    pub proxy_bind: ::core::option::Option<bool>,
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    /// Check the ProxyHeader enum for the list of possible values.
    #[prost(string, optional, tag = "160374142")]
    pub proxy_header: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] URL of the region where the regional TCP proxy resides.
    /// This field is not applicable to global TCP proxy.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// URL to the BackendService resource.
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `TargetTcpProxy`.
pub mod target_tcp_proxy {
    /// Specifies the type of proxy header to append before sending data to the
    /// backend, either NONE or PROXY_V1. The default
    /// is NONE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum ProxyHeader {
        /// A value indicating that the enum field is not set.
        UndefinedProxyHeader = 0,
        None = 2402104,
        ProxyV1 = 334352940,
    }
    impl ProxyHeader {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedProxyHeader => "UNDEFINED_PROXY_HEADER",
                Self::None => "NONE",
                Self::ProxyV1 => "PROXY_V1",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PROXY_HEADER" => Some(Self::UndefinedProxyHeader),
                "NONE" => Some(Self::None),
                "PROXY_V1" => Some(Self::ProxyV1),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetTcpProxyAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetTcpProxiesScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        TargetTcpProxiesScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#targetTcpProxyAggregatedList for lists of Target
    /// TCP Proxies.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of TargetTcpProxy resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetTcpProxyList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetTcpProxy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<TargetTcpProxy>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a Target VPN Gateway resource.
///
/// The target VPN gateway resource represents a Classic Cloud VPN gateway.
/// For more information, read thethe
/// Cloud VPN Overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetVpnGateway {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of URLs to the ForwardingRule resources.
    /// ForwardingRules are created usingcompute.forwardingRules.insert and associated with a VPN
    /// gateway.
    #[prost(string, repeated, tag = "315821365")]
    pub forwarding_rules: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#targetVpnGateway for target VPN gateways.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this TargetVpnGateway, which
    /// is essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a TargetVpnGateway.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the network to which this VPN gateway is attached. Provided by the
    /// client when the VPN gateway is created.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<TargetVpnGatewayParams>,
    /// \[Output Only\] URL of the region where the target VPN gateway resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The status of the VPN gateway,
    /// which can be one of the following: CREATING, READY, FAILED, or DELETING.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of URLs to VpnTunnel resources. VpnTunnels are
    /// created using the compute.vpntunnels.insert method and
    /// associated with a VPN gateway.
    #[prost(string, repeated, tag = "104561931")]
    pub tunnels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `TargetVpnGateway`.
pub mod target_vpn_gateway {
    /// \[Output Only\] The status of the VPN gateway,
    /// which can be one of the following: CREATING, READY, FAILED, or DELETING.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Creating = 455564985,
        Deleting = 528602024,
        Failed = 455706685,
        Ready = 77848963,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Creating => "CREATING",
                Self::Deleting => "DELETING",
                Self::Failed => "FAILED",
                Self::Ready => "READY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "CREATING" => Some(Self::Creating),
                "DELETING" => Some(Self::Deleting),
                "FAILED" => Some(Self::Failed),
                "READY" => Some(Self::Ready),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetVpnGatewayAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetVpnGateway resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        TargetVpnGatewaysScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#targetVpnGateway for target VPN gateways.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of TargetVpnGateway resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetVpnGatewayList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of TargetVpnGateway resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<TargetVpnGateway>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#targetVpnGateway for target VPN gateways.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetVpnGatewayParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    /// * Inconsistent format is not supported. For instance:
    ///   {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetVpnGatewaysScopedList {
    /// \[Output Only\] A list of target VPN gateways contained in this scope.
    #[prost(message, repeated, tag = "401770888")]
    pub target_vpn_gateways: ::prost::alloc::vec::Vec<TargetVpnGateway>,
    /// \[Output Only\] Informational warning which replaces the list of addresses
    /// when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TestFailure {
    /// The actual output URL evaluated by a load balancer containing the scheme,
    /// host, path and query parameters.
    #[prost(string, optional, tag = "287075458")]
    pub actual_output_url: ::core::option::Option<::prost::alloc::string::String>,
    /// Actual HTTP status code for rule with `urlRedirect`
    /// calculated by load balancer
    #[prost(int32, optional, tag = "42926553")]
    pub actual_redirect_response_code: ::core::option::Option<i32>,
    /// BackendService or BackendBucket returned by load
    /// balancer.
    #[prost(string, optional, tag = "440379652")]
    pub actual_service: ::core::option::Option<::prost::alloc::string::String>,
    /// The expected output URL evaluated by a load balancer containing the scheme,
    /// host, path and query parameters.
    #[prost(string, optional, tag = "433967384")]
    pub expected_output_url: ::core::option::Option<::prost::alloc::string::String>,
    /// Expected HTTP status code for rule with `urlRedirect`
    /// calculated by load balancer
    #[prost(int32, optional, tag = "18888047")]
    pub expected_redirect_response_code: ::core::option::Option<i32>,
    /// Expected BackendService or BackendBucket resource
    /// the given URL should be mapped to.
    #[prost(string, optional, tag = "133987374")]
    pub expected_service: ::core::option::Option<::prost::alloc::string::String>,
    /// HTTP headers of the request.
    #[prost(message, repeated, tag = "258436998")]
    pub headers: ::prost::alloc::vec::Vec<UrlMapTestHeader>,
    /// Host portion of the URL.
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// Path portion including query parameters in the URL.
    #[prost(string, optional, tag = "3433509")]
    pub path: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Addresses.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsAddressRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for Autoscalers.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsAutoscalerRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for BackendBuckets.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsBackendBucketRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for BackendServices.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsBackendServiceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for Disks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsDiskRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ExternalVpnGateways.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsExternalVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for FirewallPolicies.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsFirewallPolicyRequest {
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for Firewalls.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsFirewallRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for GlobalAddresses.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsGlobalAddressRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for HealthChecks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsHealthCheckRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for Images.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsImageRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for InstanceGroups.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsInstanceGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsInstanceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstanceTemplates.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsInstanceTemplateRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for InstantSnapshotGroups.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsInstantSnapshotGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InstantSnapshots.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsInstantSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for InterconnectAttachmentGroups.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsInterconnectAttachmentGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for InterconnectGroups.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsInterconnectGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for LicenseCodes.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsLicenseCodeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for Licenses.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsLicenseRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for MachineImages.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsMachineImageRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for NetworkAttachments.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsNetworkAttachmentRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for NetworkEndpointGroups.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsNetworkEndpointGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NetworkFirewallPolicies.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsNetworkFirewallPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for NodeGroups.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsNodeGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for NodeTemplates.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsNodeTemplateRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for PacketMirrorings.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsPacketMirroringRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionAutoscalers.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionAutoscalerRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionBackendBuckets.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionBackendBucketRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionBackendServices.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionBackendServiceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionCompositeHealthChecks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionCompositeHealthCheckRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionDisks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionDiskRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionHealthAggregationPolicies.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionHealthAggregationPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionHealthChecks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionHealthCheckRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionHealthCheckServices.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionHealthCheckServiceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionHealthSources.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionHealthSourceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionInstanceGroups.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionInstanceGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionInstantSnapshotGroups.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionInstantSnapshotGroupRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionInstantSnapshots.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionInstantSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionNetworkFirewallPolicies.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionNetworkFirewallPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionNotificationEndpoints.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionNotificationEndpointRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for RegionSnapshots.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRegionSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for ReservationBlocks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsReservationBlockRequest {
    /// Name or id of parent resource of the resource for this request.
    #[prost(string, tag = "18091011")]
    pub parent_resource: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Reservations.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsReservationRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ReservationSubBlocks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsReservationSubBlockRequest {
    /// Name or id of parent resource of the resource for this request.
    #[prost(string, tag = "18091011")]
    pub parent_resource: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ResourcePolicies.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsResourcePolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for Routes.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsRouteRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for ServiceAttachments.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsServiceAttachmentRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for Snapshots.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for StoragePools.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsStoragePoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Subnetworks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsSubnetworkRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for TargetInstances.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsTargetInstanceRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for TargetPools.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsTargetPoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for TargetSslProxies.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsTargetSslProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for TargetTcpProxies.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsTargetTcpProxyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for UrlMaps.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
/// A request message for VpnGateways.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestIamPermissionsVpnGatewayRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// Name or id of the resource for this request.
    #[prost(string, tag = "195806222")]
    pub resource: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "439214758")]
    pub test_permissions_request_resource: ::core::option::Option<
        TestPermissionsRequest,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestPermissionsRequest {
    /// The set of permissions to check for the 'resource'. Permissions with
    /// wildcards (such as '*' or 'storage.*') are not allowed.
    #[prost(string, repeated, tag = "59962500")]
    pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TestPermissionsResponse {
    /// A subset of `TestPermissionsRequest.permissions` that the caller is
    /// allowed.
    #[prost(string, repeated, tag = "59962500")]
    pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Uint128 {
    #[prost(uint64, optional, tag = "3202466")]
    pub high: ::core::option::Option<u64>,
    #[prost(uint64, optional, tag = "107348")]
    pub low: ::core::option::Option<u64>,
}
/// Upcoming Maintenance notification information.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpcomingMaintenance {
    /// Indicates if the maintenance can be customer triggered.
    #[prost(bool, optional, tag = "95981977")]
    pub can_reschedule: ::core::option::Option<bool>,
    /// The latest time for the planned maintenance window to start.
    /// This timestamp value is in RFC3339 text format.
    #[prost(string, optional, tag = "128032129")]
    pub latest_window_start_time: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
    #[prost(bool, optional, tag = "231055754")]
    pub maintenance_on_shutdown: ::core::option::Option<bool>,
    /// The reasons for the maintenance. Only valid for vms.
    /// Check the MaintenanceReasons enum for the list of possible values.
    #[prost(string, repeated, tag = "140283267")]
    pub maintenance_reasons: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Check the MaintenanceStatus enum for the list of possible values.
    #[prost(string, optional, tag = "81645214")]
    pub maintenance_status: ::core::option::Option<::prost::alloc::string::String>,
    /// Defines the type of maintenance.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
    /// The time by which the maintenance disruption will be completed.
    /// This timestamp value is in RFC3339 text format.
    #[prost(string, optional, tag = "271816480")]
    pub window_end_time: ::core::option::Option<::prost::alloc::string::String>,
    /// The current start time of the maintenance window.
    /// This timestamp value is in RFC3339 text format.
    #[prost(string, optional, tag = "473061433")]
    pub window_start_time: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `UpcomingMaintenance`.
pub mod upcoming_maintenance {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MaintenanceReasons {
        /// A value indicating that the enum field is not set.
        UndefinedMaintenanceReasons = 0,
        /// Maintenance due to disk errors.
        FailureDisk = 8573778,
        /// Maintenance due to GPU errors.
        FailureGpu = 467876919,
        /// Maintenance due to customer reported multiple faulty hosts via R&R
        /// Subblock API.
        FailureGpuMultipleFaultyHostsCustomerReported = 223284959,
        /// Maintenance due to customer reported NVLink switch failure via R&R
        /// Subblock API.
        FailureGpuNvlinkSwitchCustomerReported = 88487838,
        /// Maintenance due to high GPU temperature.
        FailureGpuTemperature = 24926540,
        /// Maintenance due to GPU xid failure.
        FailureGpuXid = 51956587,
        /// Maintenance due to infrastructure errors.
        FailureInfra = 270541467,
        /// Maintenance due to interface errors.
        FailureInterface = 390068356,
        /// Maintenance due to memory errors.
        FailureMemory = 440132982,
        /// Maintenance due to network errors.
        FailureNetwork = 42811449,
        /// Maintenance due to NVLink failure.
        FailureNvlink = 484426295,
        /// Maintenance due to redundant hardware fault.
        FailureRedundantHardwareFault = 31000530,
        /// Maintenance due to TPU errors.
        FailureTpu = 467889412,
        /// Maintenance due to infrastructure relocation.
        InfrastructureRelocation = 359845636,
        /// Unknown maintenance reason. Do not use this value.
        MaintenanceReasonUnknown = 50570235,
        /// Maintenance due to planned network update.
        PlannedNetworkUpdate = 135494677,
        /// Maintenance due to planned update to the instance.
        PlannedUpdate = 161733572,
    }
    impl MaintenanceReasons {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMaintenanceReasons => "UNDEFINED_MAINTENANCE_REASONS",
                Self::FailureDisk => "FAILURE_DISK",
                Self::FailureGpu => "FAILURE_GPU",
                Self::FailureGpuMultipleFaultyHostsCustomerReported => {
                    "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED"
                }
                Self::FailureGpuNvlinkSwitchCustomerReported => {
                    "FAILURE_GPU_NVLINK_SWITCH_CUSTOMER_REPORTED"
                }
                Self::FailureGpuTemperature => "FAILURE_GPU_TEMPERATURE",
                Self::FailureGpuXid => "FAILURE_GPU_XID",
                Self::FailureInfra => "FAILURE_INFRA",
                Self::FailureInterface => "FAILURE_INTERFACE",
                Self::FailureMemory => "FAILURE_MEMORY",
                Self::FailureNetwork => "FAILURE_NETWORK",
                Self::FailureNvlink => "FAILURE_NVLINK",
                Self::FailureRedundantHardwareFault => "FAILURE_REDUNDANT_HARDWARE_FAULT",
                Self::FailureTpu => "FAILURE_TPU",
                Self::InfrastructureRelocation => "INFRASTRUCTURE_RELOCATION",
                Self::MaintenanceReasonUnknown => "MAINTENANCE_REASON_UNKNOWN",
                Self::PlannedNetworkUpdate => "PLANNED_NETWORK_UPDATE",
                Self::PlannedUpdate => "PLANNED_UPDATE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MAINTENANCE_REASONS" => {
                    Some(Self::UndefinedMaintenanceReasons)
                }
                "FAILURE_DISK" => Some(Self::FailureDisk),
                "FAILURE_GPU" => Some(Self::FailureGpu),
                "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED" => {
                    Some(Self::FailureGpuMultipleFaultyHostsCustomerReported)
                }
                "FAILURE_GPU_NVLINK_SWITCH_CUSTOMER_REPORTED" => {
                    Some(Self::FailureGpuNvlinkSwitchCustomerReported)
                }
                "FAILURE_GPU_TEMPERATURE" => Some(Self::FailureGpuTemperature),
                "FAILURE_GPU_XID" => Some(Self::FailureGpuXid),
                "FAILURE_INFRA" => Some(Self::FailureInfra),
                "FAILURE_INTERFACE" => Some(Self::FailureInterface),
                "FAILURE_MEMORY" => Some(Self::FailureMemory),
                "FAILURE_NETWORK" => Some(Self::FailureNetwork),
                "FAILURE_NVLINK" => Some(Self::FailureNvlink),
                "FAILURE_REDUNDANT_HARDWARE_FAULT" => {
                    Some(Self::FailureRedundantHardwareFault)
                }
                "FAILURE_TPU" => Some(Self::FailureTpu),
                "INFRASTRUCTURE_RELOCATION" => Some(Self::InfrastructureRelocation),
                "MAINTENANCE_REASON_UNKNOWN" => Some(Self::MaintenanceReasonUnknown),
                "PLANNED_NETWORK_UPDATE" => Some(Self::PlannedNetworkUpdate),
                "PLANNED_UPDATE" => Some(Self::PlannedUpdate),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MaintenanceStatus {
        /// A value indicating that the enum field is not set.
        UndefinedMaintenanceStatus = 0,
        /// There is ongoing maintenance on this VM.
        Ongoing = 473158491,
        /// There is pending maintenance.
        Pending = 35394935,
        /// Unknown maintenance status. Do not use this value.
        Unknown = 433141802,
    }
    impl MaintenanceStatus {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMaintenanceStatus => "UNDEFINED_MAINTENANCE_STATUS",
                Self::Ongoing => "ONGOING",
                Self::Pending => "PENDING",
                Self::Unknown => "UNKNOWN",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MAINTENANCE_STATUS" => Some(Self::UndefinedMaintenanceStatus),
                "ONGOING" => Some(Self::Ongoing),
                "PENDING" => Some(Self::Pending),
                "UNKNOWN" => Some(Self::Unknown),
                _ => None,
            }
        }
    }
    /// Defines the type of maintenance.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        /// Multiple maintenance types in one window.
        /// This is only intended to be used for groups.
        Multiple = 362714640,
        /// Scheduled maintenance (e.g. maintenance after uptime guarantee is
        /// complete).
        Scheduled = 478400653,
        /// No type specified. Do not use this value.
        UnknownType = 490705455,
        /// Unscheduled maintenance (e.g. emergency maintenance during
        /// uptime guarantee).
        Unscheduled = 450077204,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Multiple => "MULTIPLE",
                Self::Scheduled => "SCHEDULED",
                Self::UnknownType => "UNKNOWN_TYPE",
                Self::Unscheduled => "UNSCHEDULED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "MULTIPLE" => Some(Self::Multiple),
                "SCHEDULED" => Some(Self::Scheduled),
                "UNKNOWN_TYPE" => Some(Self::UnknownType),
                "UNSCHEDULED" => Some(Self::Unscheduled),
                _ => None,
            }
        }
    }
}
/// A request message for Instances.UpdateAccessConfig. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateAccessConfigInstanceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "387825552")]
    pub access_config_resource: ::core::option::Option<AccessConfig>,
    /// The instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The name of the network interface where the access config is attached.
    #[prost(string, tag = "365387880")]
    pub network_interface: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Autoscalers.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateAutoscalerRequest {
    /// Name of the autoscaler to update.
    #[prost(string, optional, tag = "517258967")]
    pub autoscaler: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "207616118")]
    pub autoscaler_resource: ::core::option::Option<Autoscaler>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for BackendBuckets.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateBackendBucketRequest {
    /// Name of the BackendBucket resource to update.
    #[prost(string, tag = "91714037")]
    pub backend_bucket: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "380757784")]
    pub backend_bucket_resource: ::core::option::Option<BackendBucket>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for BackendServices.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateBackendServiceRequest {
    /// Name of the BackendService resource to update.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "347586723")]
    pub backend_service_resource: ::core::option::Option<BackendService>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Disks.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateDiskRequest {
    /// The disk name for this request.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "25880688")]
    pub disk_resource: ::core::option::Option<Disk>,
    #[prost(string, optional, tag = "106438894")]
    pub paths: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Instances.UpdateDisplayDevice. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateDisplayDeviceInstanceRequest {
    /// The body resource for this request
    #[prost(message, optional, tag = "289686106")]
    pub display_device_resource: ::core::option::Option<DisplayDevice>,
    /// Name of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Firewalls.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateFirewallRequest {
    /// Name of the firewall rule to update.
    #[prost(string, tag = "511016192")]
    pub firewall: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "41425005")]
    pub firewall_resource: ::core::option::Option<Firewall>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for FutureReservations.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateFutureReservationRequest {
    /// Name of the reservation to update. Name should conform to RFC1035.
    #[prost(string, tag = "56206160")]
    pub future_reservation: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "466750493")]
    pub future_reservation_resource: ::core::option::Option<FutureReservation>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request. Name should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for HealthChecks.Update. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateHealthCheckRequest {
    /// Name of the HealthCheck resource to update.
    #[prost(string, tag = "308876645")]
    pub health_check: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "201925032")]
    pub health_check_resource: ::core::option::Option<HealthCheck>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Instances.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateInstanceRequest {
    /// Whether to discard local SSDs from the instance during restart
    /// default value is false.
    #[prost(bool, optional, tag = "319517903")]
    pub discard_local_ssd: ::core::option::Option<bool>,
    /// Name of the instance resource to update.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "215988344")]
    pub instance_resource: ::core::option::Option<Instance>,
    /// Specifies the action to take when updating an instance even if the
    /// updated properties do not require it. If not specified, then
    /// Compute Engine acts based on the minimum action that the updated
    /// properties require.
    /// Check the MinimalAction enum for the list of possible values.
    #[prost(string, optional, tag = "270567060")]
    pub minimal_action: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the most disruptive action that can be taken on the instance
    /// as part of the update. Compute Engine returns an error if the
    /// instance properties require a more disruptive action as part of the
    /// instance update. Valid options from lowest to highest are
    /// NO_EFFECT, REFRESH, and RESTART.
    /// Check the MostDisruptiveAllowedAction enum for the list of possible values.
    #[prost(string, optional, tag = "66103053")]
    pub most_disruptive_allowed_action: ::core::option::Option<
        ::prost::alloc::string::String,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// Nested message and enum types in `UpdateInstanceRequest`.
pub mod update_instance_request {
    /// Specifies the action to take when updating an instance even if the
    /// updated properties do not require it. If not specified, then
    /// Compute Engine acts based on the minimum action that the updated
    /// properties require.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// INVALID
    /// NO_EFFECT
    /// REFRESH
    /// RESTART
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MinimalAction {
        /// A value indicating that the enum field is not set.
        UndefinedMinimalAction = 0,
    }
    impl MinimalAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMinimalAction => "UNDEFINED_MINIMAL_ACTION",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MINIMAL_ACTION" => Some(Self::UndefinedMinimalAction),
                _ => None,
            }
        }
    }
    /// Specifies the most disruptive action that can be taken on the instance
    /// as part of the update. Compute Engine returns an error if the
    /// instance properties require a more disruptive action as part of the
    /// instance update. Valid options from lowest to highest are
    /// NO_EFFECT, REFRESH, and RESTART.
    /// Additional supported values which may be not listed in the enum directly due to technical reasons:
    /// INVALID
    /// NO_EFFECT
    /// REFRESH
    /// RESTART
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum MostDisruptiveAllowedAction {
        /// A value indicating that the enum field is not set.
        UndefinedMostDisruptiveAllowedAction = 0,
    }
    impl MostDisruptiveAllowedAction {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedMostDisruptiveAllowedAction => {
                    "UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION" => {
                    Some(Self::UndefinedMostDisruptiveAllowedAction)
                }
                _ => None,
            }
        }
    }
}
/// A request message for Disks.UpdateKmsKey. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateKmsKeyDiskRequest {
    /// Name of the Disk resource, should conform to RFC1035.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "178025952")]
    pub disk_update_kms_key_request_resource: ::core::option::Option<
        DiskUpdateKmsKeyRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionDisks.UpdateKmsKey. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateKmsKeyRegionDiskRequest {
    /// Name of the Disk resource, should conform to RFC1035.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "10015819")]
    pub region_disk_update_kms_key_request_resource: ::core::option::Option<
        RegionDiskUpdateKmsKeyRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionSnapshots.UpdateKmsKey. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateKmsKeyRegionSnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "279384818")]
    pub region_snapshot_update_kms_key_request_resource: ::core::option::Option<
        RegionSnapshotUpdateKmsKeyRequest,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the snapshot resource to update. Should conform to RFC1035.
    #[prost(string, tag = "284874180")]
    pub snapshot: ::prost::alloc::string::String,
}
/// A request message for Snapshots.UpdateKmsKey. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateKmsKeySnapshotRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the snapshot resource to update. Should conform to RFC1035.
    #[prost(string, tag = "284874180")]
    pub snapshot: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "103145991")]
    pub snapshot_update_kms_key_request_resource: ::core::option::Option<
        SnapshotUpdateKmsKeyRequest,
    >,
}
/// A request message for Licenses.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateLicenseRequest {
    /// The license name for this request.
    #[prost(string, tag = "166757441")]
    pub license: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "437955148")]
    pub license_resource: ::core::option::Option<License>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for Instances.UpdateNetworkInterface. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateNetworkInterfaceInstanceRequest {
    /// The instance name for this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// The name of the network interface to update.
    #[prost(string, tag = "365387880")]
    pub network_interface: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "325814789")]
    pub network_interface_resource: ::core::option::Option<NetworkInterface>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Networks.UpdatePeering. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdatePeeringNetworkRequest {
    /// Name of the network resource which the updated peering is belonging to.
    #[prost(string, tag = "232872494")]
    pub network: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "224433497")]
    pub networks_update_peering_request_resource: ::core::option::Option<
        NetworksUpdatePeeringRequest,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for InstanceGroupManagers.UpdatePerInstanceConfigs. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdatePerInstanceConfigsInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    /// It should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "141402302")]
    pub instance_group_managers_update_per_instance_configs_req_resource: ::core::option::Option<
        InstanceGroupManagersUpdatePerInstanceConfigsReq,
    >,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of thezone
    /// where the managed instance group is located.
    /// It should conform to RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for RegionInstanceGroupManagers.UpdatePerInstanceConfigs. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest {
    /// The name of the managed instance group.
    /// It should conform to RFC1035.
    #[prost(string, tag = "249363395")]
    pub instance_group_manager: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request, should conform to RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "89036583")]
    pub region_instance_group_manager_update_instance_config_req_resource: ::core::option::Option<
        RegionInstanceGroupManagerUpdateInstanceConfigReq,
    >,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for PreviewFeatures.Update. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdatePreviewFeatureRequest {
    /// Name of the PreviewFeature for this request.
    #[prost(string, tag = "454999423")]
    pub preview_feature: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "10876622")]
    pub preview_feature_resource: ::core::option::Option<PreviewFeature>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionAutoscalers.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateRegionAutoscalerRequest {
    /// Name of the autoscaler to update.
    #[prost(string, optional, tag = "517258967")]
    pub autoscaler: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "207616118")]
    pub autoscaler_resource: ::core::option::Option<Autoscaler>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionBackendServices.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateRegionBackendServiceRequest {
    /// Name of the BackendService resource to update.
    #[prost(string, tag = "306946058")]
    pub backend_service: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "347586723")]
    pub backend_service_resource: ::core::option::Option<BackendService>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionCommitments.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateRegionCommitmentRequest {
    /// Name of the commitment that you want to update.
    #[prost(string, tag = "482134805")]
    pub commitment: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "244240888")]
    pub commitment_resource: ::core::option::Option<Commitment>,
    #[prost(string, optional, tag = "106438894")]
    pub paths: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionDisks.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateRegionDiskRequest {
    /// The disk name for this request.
    #[prost(string, tag = "3083677")]
    pub disk: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "25880688")]
    pub disk_resource: ::core::option::Option<Disk>,
    #[prost(string, optional, tag = "106438894")]
    pub paths: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionHealthChecks.Update. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateRegionHealthCheckRequest {
    /// Name of the HealthCheck resource to update.
    #[prost(string, tag = "308876645")]
    pub health_check: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "201925032")]
    pub health_check_resource: ::core::option::Option<HealthCheck>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionUrlMaps.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateRegionUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// begin_interface: MixerMutationRequestBuilder
    /// Request ID to support idempotency.
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the UrlMap resource to update.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "168675425")]
    pub url_map_resource: ::core::option::Option<UrlMap>,
}
/// A request message for Reservations.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateReservationRequest {
    #[prost(string, optional, tag = "106438894")]
    pub paths: ::core::option::Option<::prost::alloc::string::String>,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the reservation to update.
    #[prost(string, tag = "47530956")]
    pub reservation: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "285030177")]
    pub reservation_resource: ::core::option::Option<Reservation>,
    /// Update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for ReservationSlots.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateReservationSlotRequest {
    /// The name of the sub-block resource.
    #[prost(string, tag = "478151936")]
    pub parent_name: ::prost::alloc::string::String,
    /// The project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the slot resource.
    #[prost(string, tag = "277470865")]
    pub reservation_slot: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "408545788")]
    pub reservation_slot_resource: ::core::option::Option<ReservationSlot>,
    /// The fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request, formatted as RFC1035.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for Routers.UpdateRoutePolicy. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateRoutePolicyRouterRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "116219525")]
    pub route_policy_resource: ::core::option::Option<RoutePolicy>,
    /// Name of the Router resource where Route Policy is defined.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
}
/// A request message for Routers.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateRouterRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the Router resource to update.
    #[prost(string, tag = "148608841")]
    pub router: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "155222084")]
    pub router_resource: ::core::option::Option<Router>,
}
/// A request message for Instances.UpdateShieldedInstanceConfig. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateShieldedInstanceConfigInstanceRequest {
    /// Name or id of the instance scoping this request.
    #[prost(string, tag = "18257045")]
    pub instance: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The body resource for this request
    #[prost(message, optional, tag = "272059224")]
    pub shielded_instance_config_resource: ::core::option::Option<
        ShieldedInstanceConfig,
    >,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for StoragePools.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateStoragePoolRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// The storagePool name for this request.
    #[prost(string, tag = "360473440")]
    pub storage_pool: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "157179405")]
    pub storage_pool_resource: ::core::option::Option<StoragePool>,
    /// update_mask indicates fields to be updated as part of this request.
    #[prost(string, optional, tag = "500079778")]
    pub update_mask: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// A request message for UrlMaps.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the UrlMap resource to update.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "168675425")]
    pub url_map_resource: ::core::option::Option<UrlMap>,
}
/// A request message for ZoneVmExtensionPolicies.Update. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateZoneVmExtensionPolicyRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the zone VM extension policy to update.
    #[prost(string, tag = "331532730")]
    pub vm_extension_policy: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "515669235")]
    pub vm_extension_policy_resource: ::core::option::Option<VmExtensionPolicy>,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// Represents a URL Map resource.
///
/// Compute Engine has two URL Map resources:
///
/// * [Global](/compute/docs/reference/rest/v1/urlMaps)
/// * [Regional](/compute/docs/reference/rest/v1/regionUrlMaps)
///
/// A URL map resource is a component of certain types of cloud load balancers
/// and Traffic Director:
///
/// * urlMaps are used by global external Application Load
///   Balancers, classic Application Load Balancers, and cross-region internal
///   Application Load Balancers.
/// * regionUrlMaps are used by internal Application Load Balancers,
///   regional external Application Load Balancers and regional internal
///   Application Load Balancers.
///
/// For a list of supported URL map features by the load balancer type, see the
/// Load balancing features: Routing and traffic management table.
///
/// For a list of supported URL map features for Traffic Director, see the
/// Traffic Director features: Routing and traffic management table.
///
/// This resource defines mappings from hostnames and URL paths to either a
/// backend service or a backend bucket.
///
/// To use the global urlMaps resource, the backend service must
/// have a loadBalancingScheme of either EXTERNAL,EXTERNAL_MANAGED, or INTERNAL_SELF_MANAGED. To use
/// the regionUrlMaps resource, the backend service must have aloadBalancingScheme of INTERNAL_MANAGED. For more
/// information, read URL
/// Map Concepts.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UrlMap {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// defaultCustomErrorResponsePolicy specifies how the Load
    /// Balancer returns error responses when BackendServiceorBackendBucket responds with an error.
    ///
    /// This policy takes
    /// effect at the load balancer level and applies only when no policy has been
    /// defined for the error code at lower levels like PathMatcher, RouteRule and
    /// PathRule within this UrlMap.
    ///
    /// For example, consider a UrlMap with the
    /// following configuration:
    ///
    /// ```text
    ///   - defaultCustomErrorResponsePolicy containing policies for
    ///   responding to 5xx and 4xx errors
    ///   - A PathMatcher configured for *.example.com has
    ///   defaultCustomErrorResponsePolicy for 4xx.
    /// ```
    ///
    /// If a request for <http://www.example.com/> encounters a404, the policy inpathMatcher.defaultCustomErrorResponsePolicy will be enforced.
    /// When the request for <http://www.example.com/> encounters a502, the policy inUrlMap.defaultCustomErrorResponsePolicy will be enforced. When
    /// a request that does not match any host in \*.example.com such
    /// as <http://www.myotherexample.com/,> encounters a404, UrlMap.defaultCustomErrorResponsePolicy
    /// takes effect.
    ///
    /// When used in conjunction withdefaultRouteAction.retryPolicy, retries take precedence. Only
    /// once all retries are exhausted, thedefaultCustomErrorResponsePolicy is applied. While attempting
    /// a retry, if load balancer is successful in reaching the
    /// service, the defaultCustomErrorResponsePolicy is ignored and
    /// the response from the service is returned to the client.
    ///
    /// defaultCustomErrorResponsePolicy is supported only for
    /// global external Application Load Balancers.
    #[prost(message, optional, tag = "81266089")]
    pub default_custom_error_response_policy: ::core::option::Option<
        CustomErrorResponsePolicy,
    >,
    /// defaultRouteAction takes effect when none of the
    /// hostRules match. The load balancer performs advanced routing
    /// actions, such as URL rewrites and header transformations, before forwarding
    /// the request to the selected backend.
    ///
    /// Only one of defaultUrlRedirect, defaultService
    /// or defaultRouteAction.weightedBackendService can be set.
    ///
    /// URL maps for classic Application Load Balancers only support
    /// the urlRewrite action within defaultRouteAction.
    ///
    /// defaultRouteAction has no effect when the URL map is bound
    /// to a target gRPC proxy that has the validateForProxyless field
    /// set to true.
    #[prost(message, optional, tag = "378919466")]
    pub default_route_action: ::core::option::Option<HttpRouteAction>,
    /// The full or partial URL of the defaultService resource to
    /// which traffic is directed if none of the hostRules match.
    /// If defaultRouteAction is also specified, advanced
    /// routing actions, such as URL rewrites, take effect before sending the
    /// request to the backend.
    ///
    /// Only one of defaultUrlRedirect, defaultService
    /// or defaultRouteAction.weightedBackendService can be set.
    ///
    /// defaultService has no effect when the URL map is bound
    /// to a target gRPC proxy that has the validateForProxyless field
    /// set to true.
    #[prost(string, optional, tag = "370242231")]
    pub default_service: ::core::option::Option<::prost::alloc::string::String>,
    /// When none of the specified hostRules match, the request
    /// is redirected to a URL specified by defaultUrlRedirect.
    ///
    /// Only one of defaultUrlRedirect, defaultService
    /// or defaultRouteAction.weightedBackendService can be set.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy.
    #[prost(message, optional, tag = "359503338")]
    pub default_url_redirect: ::core::option::Option<HttpRedirectAction>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Fingerprint of this resource. A hash of the contents stored in this object.
    /// This field is used in optimistic locking. This field is ignored when
    /// inserting a UrlMap. An up-to-date fingerprint must be provided
    /// in order to update the UrlMap, otherwise the request will
    /// fail with error 412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a UrlMap.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies changes to request and response headers that need to take effect
    /// for the selected backendService.
    ///
    /// The headerAction specified here take effect afterheaderAction specified under pathMatcher.
    ///
    /// headerAction is not supported for load balancers
    /// that have
    /// their loadBalancingScheme set to EXTERNAL.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy that
    /// has validateForProxyless field set to true.
    #[prost(message, optional, tag = "328077352")]
    pub header_action: ::core::option::Option<HttpHeaderAction>,
    /// The list of host rules to use against the URL.
    #[prost(message, repeated, tag = "311804832")]
    pub host_rules: ::prost::alloc::vec::Vec<HostRule>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#urlMaps for
    /// url maps.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of named PathMatchers to use against the URL.
    #[prost(message, repeated, tag = "271664219")]
    pub path_matchers: ::prost::alloc::vec::Vec<PathMatcher>,
    /// Output only. \[Output Only\] URL of the region where the regional URL map resides.
    /// This field is not applicable to global URL maps.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of expected URL mapping tests. Request to update theUrlMap succeeds only if all test cases pass. You can specify a
    /// maximum of 100 tests per UrlMap.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy that
    /// has validateForProxyless field set to true.
    #[prost(message, repeated, tag = "110251553")]
    pub tests: ::prost::alloc::vec::Vec<UrlMapTest>,
}
/// Contains a list of UrlMap resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UrlMapList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of UrlMap resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<UrlMap>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UrlMapReference {
    #[prost(string, optional, tag = "367020684")]
    pub url_map: ::core::option::Option<::prost::alloc::string::String>,
}
/// Message for the expected URL mappings.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UrlMapTest {
    /// Description of this test case.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// The expected output URL evaluated by the load balancer
    /// containing the scheme, host, path and query parameters.
    ///
    /// For rules that forward requests to backends, the test passes only whenexpectedOutputUrl matches the request forwarded by
    /// the load balancer to backends. For rules with urlRewrite,
    /// the test verifies that the forwarded request matcheshostRewrite and pathPrefixRewrite in theurlRewrite action. When service is specified,expectedOutputUrl\`s scheme is ignored.
    ///
    /// For rules with urlRedirect, the test passes only ifexpectedOutputUrl matches the URL in the load balancer's
    /// redirect response. If urlRedirect specifieshttps_redirect, the test passes only if the scheme inexpectedOutputUrl is also set to HTTPS.
    /// If urlRedirect specifies strip_query, the test
    /// passes only if expectedOutputUrl does not contain any query
    /// parameters.
    ///
    /// expectedOutputUrl is optional whenservice is specified.
    #[prost(string, optional, tag = "433967384")]
    pub expected_output_url: ::core::option::Option<::prost::alloc::string::String>,
    /// For rules with urlRedirect, the test passes only ifexpectedRedirectResponseCode matches the HTTP status code in
    /// load balancer's redirect response.
    ///
    /// expectedRedirectResponseCode cannot be set whenservice is set.
    #[prost(int32, optional, tag = "18888047")]
    pub expected_redirect_response_code: ::core::option::Option<i32>,
    /// HTTP headers for this request. If headers contains
    /// a host header, then host must also match the header value.
    #[prost(message, repeated, tag = "258436998")]
    pub headers: ::prost::alloc::vec::Vec<UrlMapTestHeader>,
    /// Host portion of the URL. If headers contains a host header,
    /// then host must also match the header value.
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// Path portion of the URL.
    #[prost(string, optional, tag = "3433509")]
    pub path: ::core::option::Option<::prost::alloc::string::String>,
    /// Expected BackendService or BackendBucket resource
    /// the given URL should be mapped to.
    ///
    /// The service field cannot
    /// be set if expectedRedirectResponseCode is set.
    #[prost(string, optional, tag = "373540533")]
    pub service: ::core::option::Option<::prost::alloc::string::String>,
}
/// HTTP headers used in UrlMapTests.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UrlMapTestHeader {
    /// Header name.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Header value.
    #[prost(string, optional, tag = "111972721")]
    pub value: ::core::option::Option<::prost::alloc::string::String>,
}
/// Message representing the validation result for a UrlMap.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UrlMapValidationResult {
    #[prost(string, repeated, tag = "310147300")]
    pub load_errors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Whether the given UrlMap can be successfully loaded.
    /// If false, 'loadErrors' indicates the reasons.
    #[prost(bool, optional, tag = "128326216")]
    pub load_succeeded: ::core::option::Option<bool>,
    #[prost(message, repeated, tag = "505934134")]
    pub test_failures: ::prost::alloc::vec::Vec<TestFailure>,
    /// If successfully loaded, this field indicates whether the test passed.
    /// If false, 'testFailures's indicate the reason of failure.
    #[prost(bool, optional, tag = "192708797")]
    pub test_passed: ::core::option::Option<bool>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UrlMapsAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of UrlMapsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        UrlMapsScopedList,
    >,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UrlMapsScopedList {
    /// A list of UrlMaps contained in this scope.
    #[prost(message, repeated, tag = "103352167")]
    pub url_maps: ::prost::alloc::vec::Vec<UrlMap>,
    /// Informational warning which replaces the list of
    /// backend services when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UrlMapsValidateRequest {
    /// Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load
    /// Balancers and regional external Application Load Balancers.
    /// Use EXTERNAL for classic Application Load Balancers.
    ///
    /// Use INTERNAL_MANAGED for internal Application Load Balancers. For more
    /// information, refer to Choosing
    /// a load balancer.
    ///
    /// If unspecified, the load balancing scheme will be inferred from the backend
    /// service resources this URL map references. If that can not be inferred (for
    /// example, this URL map only references backend buckets, or this Url map is
    /// for rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.
    ///
    /// If specified, the scheme(s) must not conflict with the load balancing
    /// scheme of the backend service resources this Url map references.
    /// Check the LoadBalancingSchemes enum for the list of possible values.
    #[prost(string, repeated, tag = "6308527")]
    pub load_balancing_schemes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Content of the UrlMap to be validated.
    #[prost(message, optional, tag = "195806222")]
    pub resource: ::core::option::Option<UrlMap>,
}
/// Nested message and enum types in `UrlMapsValidateRequest`.
pub mod url_maps_validate_request {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum LoadBalancingSchemes {
        /// A value indicating that the enum field is not set.
        UndefinedLoadBalancingSchemes = 0,
        /// Signifies that this will be used for classic Application Load Balancers.
        External = 35607499,
        /// Signifies that this will be used for Envoy-based global external
        /// Application Load Balancers.
        ExternalManaged = 512006923,
        /// If unspecified, the validation will try to infer the scheme from the
        /// backend service resources this Url map references. If the inference is not
        /// possible, EXTERNAL will be used as the default type.
        LoadBalancingSchemeUnspecified = 526507452,
    }
    impl LoadBalancingSchemes {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedLoadBalancingSchemes => "UNDEFINED_LOAD_BALANCING_SCHEMES",
                Self::External => "EXTERNAL",
                Self::ExternalManaged => "EXTERNAL_MANAGED",
                Self::LoadBalancingSchemeUnspecified => {
                    "LOAD_BALANCING_SCHEME_UNSPECIFIED"
                }
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_LOAD_BALANCING_SCHEMES" => {
                    Some(Self::UndefinedLoadBalancingSchemes)
                }
                "EXTERNAL" => Some(Self::External),
                "EXTERNAL_MANAGED" => Some(Self::ExternalManaged),
                "LOAD_BALANCING_SCHEME_UNSPECIFIED" => {
                    Some(Self::LoadBalancingSchemeUnspecified)
                }
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UrlMapsValidateResponse {
    #[prost(message, optional, tag = "139315229")]
    pub result: ::core::option::Option<UrlMapValidationResult>,
}
/// The spec for modifying the path before sending the request to the matched
/// backend service.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UrlRewrite {
    /// Before forwarding the request to the selected service, the request's
    /// host header is replaced with contents of hostRewrite.
    ///
    /// The value must be from 1 to 255 characters.
    #[prost(string, optional, tag = "159819253")]
    pub host_rewrite: ::core::option::Option<::prost::alloc::string::String>,
    /// Before forwarding the request to the selected backend service, the
    /// matching portion of the request's path is replaced bypathPrefixRewrite.
    ///
    /// The value must be from 1 to 1024 characters.
    #[prost(string, optional, tag = "41186361")]
    pub path_prefix_rewrite: ::core::option::Option<::prost::alloc::string::String>,
    /// If specified, the pattern rewrites the URL path (based on the :path
    /// header) using the HTTP template syntax.
    ///
    /// A corresponding
    /// path_template_match must be specified. Any template variables must exist in
    /// the path_template_match field.
    ///
    /// ```text
    ///    - -At least one variable must be specified in the path_template_match
    ///    field
    /// - You can omit variables from the rewritten URL
    ///    - The * and ** operators cannot be matched
    ///    unless they have a corresponding variable name - e.g.
    ///    {format=*} or {var=**}.
    /// ```
    ///
    /// For example, a path_template_match of /static/{format=**}
    /// could be rewritten as /static/content/{format} to prefix/content to the URL. Variables can also be re-ordered in a
    /// rewrite, so that /{country}/{format}/{suffix=**} can be
    /// rewritten as /content/{format}/{country}/{suffix}.
    ///
    /// At least
    /// one non-empty routeRules\[\].matchRules\[\].path_template_match is
    /// required.
    ///
    /// Only one of path_prefix_rewrite orpath_template_rewrite may be specified.
    #[prost(string, optional, tag = "423409569")]
    pub path_template_rewrite: ::core::option::Option<::prost::alloc::string::String>,
}
/// Subnetwork which the current user has compute.subnetworks.use permission on.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UsableSubnetwork {
    /// Output only. \[Output Only\] The external IPv6 address range that is assigned to this
    /// subnetwork.
    #[prost(string, optional, tag = "139299190")]
    pub external_ipv6_prefix: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The internal IPv6 address range that is assigned to this
    /// subnetwork.
    #[prost(string, optional, tag = "506270056")]
    pub internal_ipv6_prefix: ::core::option::Option<::prost::alloc::string::String>,
    /// The range of internal addresses that are owned by this subnetwork.
    #[prost(string, optional, tag = "98117322")]
    pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
    /// The access type of IPv6 address this subnet holds. It's immutable and can
    /// only be specified during creation or the first time the subnet is updated
    /// into IPV4_IPV6 dual stack.
    /// Check the Ipv6AccessType enum for the list of possible values.
    #[prost(string, optional, tag = "504658653")]
    pub ipv6_access_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Network URL.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Check the Purpose enum for the list of possible values.
    #[prost(string, optional, tag = "316407070")]
    pub purpose: ::core::option::Option<::prost::alloc::string::String>,
    /// The role of subnetwork. Currently, this field is only used when
    /// purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE or BACKUP. An ACTIVE
    /// subnetwork is one that is currently being used for Envoy-based load
    /// balancers in a region. A BACKUP subnetwork is one that is
    /// ready to be promoted to ACTIVE or is currently draining.
    /// This field can be updated with a patch request.
    /// Check the Role enum for the list of possible values.
    #[prost(string, optional, tag = "3506294")]
    pub role: ::core::option::Option<::prost::alloc::string::String>,
    /// Secondary IP ranges.
    #[prost(message, repeated, tag = "136658915")]
    pub secondary_ip_ranges: ::prost::alloc::vec::Vec<UsableSubnetworkSecondaryRange>,
    /// The stack type for the subnet. If set to IPV4_ONLY, new VMs
    /// in the subnet are assigned IPv4 addresses only. If set toIPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and
    /// IPv6 addresses. If not specified, IPV4_ONLY is used.
    ///
    /// This field can be both set at resource creation time and updated usingpatch.
    /// Check the StackType enum for the list of possible values.
    #[prost(string, optional, tag = "425908881")]
    pub stack_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Subnetwork URL.
    #[prost(string, optional, tag = "307827694")]
    pub subnetwork: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `UsableSubnetwork`.
pub mod usable_subnetwork {
    /// The access type of IPv6 address this subnet holds. It's immutable and can
    /// only be specified during creation or the first time the subnet is updated
    /// into IPV4_IPV6 dual stack.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Ipv6AccessType {
        /// A value indicating that the enum field is not set.
        UndefinedIpv6AccessType = 0,
        /// VMs on this subnet will be assigned IPv6 addresses that are accessible
        /// via the Internet, as well as the VPC network.
        External = 35607499,
        /// VMs on this subnet will be assigned IPv6 addresses that are only
        /// accessible over the VPC network.
        Internal = 279295677,
    }
    impl Ipv6AccessType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedIpv6AccessType => "UNDEFINED_IPV6_ACCESS_TYPE",
                Self::External => "EXTERNAL",
                Self::Internal => "INTERNAL",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_IPV6_ACCESS_TYPE" => Some(Self::UndefinedIpv6AccessType),
                "EXTERNAL" => Some(Self::External),
                "INTERNAL" => Some(Self::Internal),
                _ => None,
            }
        }
    }
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Purpose {
        /// A value indicating that the enum field is not set.
        UndefinedPurpose = 0,
        /// Subnet reserved for Global Envoy-based Load Balancing.
        GlobalManagedProxy = 236463602,
        /// Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy
        /// purpose, please use REGIONAL_MANAGED_PROXY instead.
        InternalHttpsLoadBalancer = 248748889,
        /// Subnetwork will be used for Migration from one peered VPC to another.
        /// (a transient state of subnetwork
        /// while migrating resources from one project to another).
        PeerMigration = 491902225,
        /// Regular user created or automatically created subnet.
        Private = 403485027,
        /// Subnetwork used as source range for Private NAT Gateways.
        PrivateNat = 367764517,
        /// Regular user created or automatically created subnet.
        PrivateRfc1918 = 254902107,
        /// Subnetworks created for Private Service Connect in the producer network.
        PrivateServiceConnect = 48134724,
        /// Subnetwork used for Regional Envoy-based Load Balancing.
        RegionalManagedProxy = 153049966,
    }
    impl Purpose {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedPurpose => "UNDEFINED_PURPOSE",
                Self::GlobalManagedProxy => "GLOBAL_MANAGED_PROXY",
                Self::InternalHttpsLoadBalancer => "INTERNAL_HTTPS_LOAD_BALANCER",
                Self::PeerMigration => "PEER_MIGRATION",
                Self::Private => "PRIVATE",
                Self::PrivateNat => "PRIVATE_NAT",
                Self::PrivateRfc1918 => "PRIVATE_RFC_1918",
                Self::PrivateServiceConnect => "PRIVATE_SERVICE_CONNECT",
                Self::RegionalManagedProxy => "REGIONAL_MANAGED_PROXY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_PURPOSE" => Some(Self::UndefinedPurpose),
                "GLOBAL_MANAGED_PROXY" => Some(Self::GlobalManagedProxy),
                "INTERNAL_HTTPS_LOAD_BALANCER" => Some(Self::InternalHttpsLoadBalancer),
                "PEER_MIGRATION" => Some(Self::PeerMigration),
                "PRIVATE" => Some(Self::Private),
                "PRIVATE_NAT" => Some(Self::PrivateNat),
                "PRIVATE_RFC_1918" => Some(Self::PrivateRfc1918),
                "PRIVATE_SERVICE_CONNECT" => Some(Self::PrivateServiceConnect),
                "REGIONAL_MANAGED_PROXY" => Some(Self::RegionalManagedProxy),
                _ => None,
            }
        }
    }
    /// The role of subnetwork. Currently, this field is only used when
    /// purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE or BACKUP. An ACTIVE
    /// subnetwork is one that is currently being used for Envoy-based load
    /// balancers in a region. A BACKUP subnetwork is one that is
    /// ready to be promoted to ACTIVE or is currently draining.
    /// This field can be updated with a patch request.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Role {
        /// A value indicating that the enum field is not set.
        UndefinedRole = 0,
        /// The ACTIVE subnet that is currently used.
        Active = 314733318,
        /// The BACKUP subnet that could be promoted to ACTIVE.
        Backup = 341010882,
    }
    impl Role {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedRole => "UNDEFINED_ROLE",
                Self::Active => "ACTIVE",
                Self::Backup => "BACKUP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_ROLE" => Some(Self::UndefinedRole),
                "ACTIVE" => Some(Self::Active),
                "BACKUP" => Some(Self::Backup),
                _ => None,
            }
        }
    }
    /// The stack type for the subnet. If set to IPV4_ONLY, new VMs
    /// in the subnet are assigned IPv4 addresses only. If set toIPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and
    /// IPv6 addresses. If not specified, IPV4_ONLY is used.
    ///
    /// This field can be both set at resource creation time and updated usingpatch.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StackType {
        /// A value indicating that the enum field is not set.
        UndefinedStackType = 0,
        /// New VMs in this subnet can have both IPv4 and IPv6 addresses.
        Ipv4Ipv6 = 22197249,
        /// New VMs in this subnet will only be assigned IPv4 addresses.
        Ipv4Only = 22373798,
        /// New VMs in this subnet will only be assigned IPv6 addresses.
        Ipv6Only = 79632100,
    }
    impl StackType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStackType => "UNDEFINED_STACK_TYPE",
                Self::Ipv4Ipv6 => "IPV4_IPV6",
                Self::Ipv4Only => "IPV4_ONLY",
                Self::Ipv6Only => "IPV6_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STACK_TYPE" => Some(Self::UndefinedStackType),
                "IPV4_IPV6" => Some(Self::Ipv4Ipv6),
                "IPV4_ONLY" => Some(Self::Ipv4Only),
                "IPV6_ONLY" => Some(Self::Ipv6Only),
                _ => None,
            }
        }
    }
}
/// Secondary IP range of a usable subnetwork.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UsableSubnetworkSecondaryRange {
    /// The range of IP addresses belonging to this subnetwork secondary range.
    /// Can be Ipv4 or Ipv6 range.
    #[prost(string, optional, tag = "98117322")]
    pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
    /// The name associated with this subnetwork secondary range, used when adding
    /// an alias IP range to a VM instance.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// The name must be unique within the subnetwork.
    #[prost(string, optional, tag = "332216397")]
    pub range_name: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UsableSubnetworksAggregatedList {
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output\] A list of usable subnetwork URLs.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<UsableSubnetwork>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#usableSubnetworksAggregatedList for aggregated lists
    /// of usable subnetworks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    /// In special cases listUsable may return 0 subnetworks andnextPageToken which still should be used to get the
    /// next page of results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning messages for failures encountered from
    /// scopes.
    #[prost(message, repeated, tag = "215878438")]
    pub scoped_warnings: ::prost::alloc::vec::Vec<SubnetworksScopedWarning>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// The location in Cloud Storage and naming method of the daily usage
/// report. Contains bucket_name and report_name prefix.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UsageExportLocation {
    /// The name of an existing bucket in Cloud Storage where the usage report
    /// object is stored. The Google Service Account is granted write access to
    /// this bucket. This can either be the bucket name by itself, such asexample-bucket, or the bucket name with gs://
    /// or <https://storage.googleapis.com/> in front of it, such
    /// as gs://example-bucket.
    #[prost(string, optional, tag = "283610048")]
    pub bucket_name: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional prefix for the name of the usage report object stored inbucketName. If not supplied, defaults tousage_gce. The report is stored as a CSV file namedreport_name_prefix_gce_YYYYMMDD.csv whereYYYYMMDD is the day of the usage according to Pacific Time.
    /// If you supply a prefix, it should conform to Cloud Storageobject naming
    /// conventions.
    #[prost(string, optional, tag = "320198715")]
    pub report_name_prefix: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for RegionUrlMaps.Validate. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ValidateRegionUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region scoping this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "56632858")]
    pub region_url_maps_validate_request_resource: ::core::option::Option<
        RegionUrlMapsValidateRequest,
    >,
    /// Name of the UrlMap resource to be validated as.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
}
/// A request message for UrlMaps.Validate. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ValidateUrlMapRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the UrlMap resource to be validated as.
    #[prost(string, tag = "367020684")]
    pub url_map: ::prost::alloc::string::String,
    /// The body resource for this request
    #[prost(message, optional, tag = "395913455")]
    pub url_maps_validate_request_resource: ::core::option::Option<
        UrlMapsValidateRequest,
    >,
}
/// Contain information of Nat mapping for a VM endpoint (i.e., NIC).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VmEndpointNatMappings {
    /// Output only. Name of the VM instance which the endpoint belongs to
    #[prost(string, optional, tag = "227947509")]
    pub instance_name: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "256196617")]
    pub interface_nat_mappings: ::prost::alloc::vec::Vec<
        VmEndpointNatMappingsInterfaceNatMappings,
    >,
}
/// Contain information of Nat mapping for an interface of this endpoint.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VmEndpointNatMappingsInterfaceNatMappings {
    /// Output only. List of all drain IP:port-range mappings assigned to this interface.
    /// These ranges are inclusive, that is, both the first and the last
    /// ports can be used for NAT. Example: \["2.2.2.2:12345-12355",
    /// "1.1.1.1:2234-2234"\].
    #[prost(string, repeated, tag = "395440577")]
    pub drain_nat_ip_port_ranges: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Output only. A list of all IP:port-range mappings assigned to this interface.
    /// These ranges are inclusive, that is, both the first and the last
    /// ports can be used for NAT. Example: \["2.2.2.2:12345-12355",
    /// "1.1.1.1:2234-2234"\].
    #[prost(string, repeated, tag = "531830810")]
    pub nat_ip_port_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. Total number of drain ports across all NAT IPs allocated to this
    /// interface. It equals to the aggregated port number in the field
    /// drain_nat_ip_port_ranges.
    #[prost(int32, optional, tag = "335532793")]
    pub num_total_drain_nat_ports: ::core::option::Option<i32>,
    /// Output only. Total number of ports across all NAT IPs allocated to this interface.
    /// It equals to the aggregated port number in the field nat_ip_port_ranges.
    #[prost(int32, optional, tag = "299904384")]
    pub num_total_nat_ports: ::core::option::Option<i32>,
    /// Output only. Information about mappings provided by rules in this NAT.
    #[prost(message, repeated, tag = "486192968")]
    pub rule_mappings: ::prost::alloc::vec::Vec<
        VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings,
    >,
    /// Output only. Alias IP range for this interface endpoint.
    /// It will be a private (RFC 1918) IP range.
    /// Examples: "10.33.4.55/32", or "192.168.5.0/24".
    #[prost(string, optional, tag = "440340952")]
    pub source_alias_ip_range: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Primary IP of the VM for this NIC.
    #[prost(string, optional, tag = "149836159")]
    pub source_virtual_ip: ::core::option::Option<::prost::alloc::string::String>,
}
/// Contains information of NAT Mappings provided by a NAT Rule.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings {
    /// Output only. List of all drain IP:port-range mappings assigned to this interface
    /// by this rule.
    /// These ranges are inclusive, that is, both the first and the last
    /// ports can be used for NAT. Example: \["2.2.2.2:12345-12355",
    /// "1.1.1.1:2234-2234"\].
    #[prost(string, repeated, tag = "395440577")]
    pub drain_nat_ip_port_ranges: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// Output only. A list of all IP:port-range mappings assigned to this interface by this
    /// rule.
    /// These ranges are inclusive, that is, both the first and the last
    /// ports can be used for NAT. Example: \["2.2.2.2:12345-12355",
    /// "1.1.1.1:2234-2234"\].
    #[prost(string, repeated, tag = "531830810")]
    pub nat_ip_port_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. Total number of drain ports across all NAT IPs allocated to this
    /// interface by this rule.
    /// It equals the aggregated port number in the field
    /// drain_nat_ip_port_ranges.
    #[prost(int32, optional, tag = "335532793")]
    pub num_total_drain_nat_ports: ::core::option::Option<i32>,
    /// Output only. Total number of ports across all NAT IPs allocated to this interface
    /// by this rule.
    /// It equals the aggregated port number in the field nat_ip_port_ranges.
    #[prost(int32, optional, tag = "299904384")]
    pub num_total_nat_ports: ::core::option::Option<i32>,
    /// Output only. Rule number of the NAT Rule.
    #[prost(int32, optional, tag = "535211500")]
    pub rule_number: ::core::option::Option<i32>,
}
/// Contains a list of VmEndpointNatMappings.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VmEndpointNatMappingsList {
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Type of resource. Alwayscompute#vmEndpointNatMappingsList for lists of Nat mappings of
    /// VM endpoints.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of Nat mapping information of VM endpoints.
    #[prost(message, repeated, tag = "139315229")]
    pub result: ::prost::alloc::vec::Vec<VmEndpointNatMappings>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a VM extension policy.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VmExtensionPolicy {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// Required. A map of extension names (for example, "ops-agent") to their corresponding
    /// policy configurations.
    #[prost(map = "string, message", tag = "227761488")]
    pub extension_policies: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        VmExtensionPolicyExtensionPolicy,
    >,
    /// Optional. Output only. \[Output Only\] Link to the global policy that manages this zone policy, if
    /// applicable.
    #[prost(string, optional, tag = "516569583")]
    pub global_resource_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Optional. Selectors to target VMs for this policy. VMs are selected if they match
    /// *any* of the provided selectors (logical OR). If this list is empty, the
    /// policy applies to all VMs.
    #[prost(message, repeated, tag = "520298826")]
    pub instance_selectors: ::prost::alloc::vec::Vec<VmExtensionPolicyInstanceSelector>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#vmExtensionPolicy.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. Output only. \[Output Only\] Indicates if this policy is managed by a global policy.
    #[prost(bool, optional, tag = "88605675")]
    pub managed_by_global: ::core::option::Option<bool>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?`
    /// which means the first character must be a lowercase letter, and all
    /// following characters must be a dash, lowercase letter, or digit, except
    /// the last character, which cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. Priority of this policy. Used to resolve conflicts when multiple policies
    /// apply to the same extension.
    /// The policy priority is an integer from 0 to 65535, inclusive. Lower
    /// integers indicate higher priorities. If you do not specify a priority when
    /// creating a rule, it is assigned a priority of 1000. If priorities are
    /// equal, the policy with the most recent creation timestamp takes precedence.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Server-defined fully-qualified URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource's resource id.
    #[prost(string, optional, tag = "44520962")]
    pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. Output only. \[Output Only\] Current state of the policy: ACTIVE or DELETING.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Update timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "120894752")]
    pub update_timestamp: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `VmExtensionPolicy`.
pub mod vm_extension_policy {
    /// Optional. Output only. \[Output Only\] Current state of the policy: ACTIVE or DELETING.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// The policy is active and applied to matching VMs.
        /// Newly created VMs that match the policy will also receive the
        /// extension policy.
        Active = 314733318,
        /// The policy is in the process of being deleted. After the extension is
        /// removed from all matching VMs, the policy will be deleted.
        Deleting = 528602024,
        /// Default value. Do not use.
        Unspecified = 470755401,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::Active => "ACTIVE",
                Self::Deleting => "DELETING",
                Self::Unspecified => "STATE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "ACTIVE" => Some(Self::Active),
                "DELETING" => Some(Self::Deleting),
                "STATE_UNSPECIFIED" => Some(Self::Unspecified),
                _ => None,
            }
        }
    }
}
/// Configuration for a specific VM extension.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VmExtensionPolicyExtensionPolicy {
    /// Optional. The specific version of the extension to install. If not set, the latest
    /// version is used.
    #[prost(string, optional, tag = "446267249")]
    pub pinned_version: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional. String-based configuration data for the extension.
    #[prost(string, optional, tag = "318905136")]
    pub string_config: ::core::option::Option<::prost::alloc::string::String>,
}
/// Defines how to select VMs to apply a zone VM extension policy.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VmExtensionPolicyInstanceSelector {
    /// Optional. LabelSelector selects VMs based on their labels.
    #[prost(message, optional, tag = "349780170")]
    pub label_selector: ::core::option::Option<VmExtensionPolicyLabelSelector>,
}
/// A LabelSelector is applied to a VM only if it matches all the specified
/// labels.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VmExtensionPolicyLabelSelector {
    /// Optional. A map of key-value pairs representing VM labels.
    /// VMs must have all of the labels specified in this map to be selected
    /// (logical AND).
    ///
    /// e.g. If the `inclusion_labels` are {("key1", "value1"), ("key2",
    /// "value2")}, the VM labels must contain both ("key1", "value1") and
    /// ("key2", "value2") to be selected. If the VM labels are ("key1",
    /// "value1") and ("something", "else"), it will not be selected.
    ///
    /// If the map is empty, it's considered a match.
    #[prost(map = "string, string", tag = "501312642")]
    pub inclusion_labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VmExtensionPolicyList {
    /// Output only. \[Output Only\] Fingerprint of this resource. A hash of the contents stored
    /// in this object. This field is used in optimistic locking. This field will
    /// be ignored when inserting a VmExtensionPolicy. An up-to-date
    /// fingerprint must be provided in order to update the VmExtensionPolicy.
    ///
    /// To see the latest value of the fingerprint, make a get() request to
    /// retrieve a VmExtensionPolicy.
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] A list of VM extension policy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<VmExtensionPolicy>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a HA VPN gateway.
///
/// HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely
/// connect your on-premises network to your Google Cloud Virtual Private Cloud
/// network through an IPsec VPN connection in a single region.
/// For more information about Cloud HA VPN solutions, see
/// Cloud VPN topologies .
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnGateway {
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not
    /// specified, IPV4 will be used.
    /// Check the GatewayIpVersion enum for the list of possible values.
    #[prost(string, optional, tag = "65074843")]
    pub gateway_ip_version: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of resource. Always compute#vpnGateway for
    /// VPN gateways.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this VpnGateway, which
    /// is essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a VpnGateway.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the network to which this VPN gateway is attached. Provided by the
    /// client when the VPN gateway is created.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<VpnGatewayParams>,
    /// Output only. \[Output Only\] URL of the region where the VPN gateway resides.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// The stack type for this VPN gateway to identify the IP protocols that are
    /// enabled. Possible values are: IPV4_ONLY,IPV4_IPV6, IPV6_ONLY. If not specified,IPV4_ONLY is used if the gateway IP version isIPV4, or IPV4_IPV6 if the gateway IP version isIPV6.
    /// Check the StackType enum for the list of possible values.
    #[prost(string, optional, tag = "425908881")]
    pub stack_type: ::core::option::Option<::prost::alloc::string::String>,
    /// The list of VPN interfaces associated with this VPN gateway.
    #[prost(message, repeated, tag = "91842181")]
    pub vpn_interfaces: ::prost::alloc::vec::Vec<VpnGatewayVpnGatewayInterface>,
}
/// Nested message and enum types in `VpnGateway`.
pub mod vpn_gateway {
    /// The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not
    /// specified, IPV4 will be used.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum GatewayIpVersion {
        /// A value indicating that the enum field is not set.
        UndefinedGatewayIpVersion = 0,
        /// Every HA-VPN gateway interface is configured with an IPv4 address.
        Ipv4 = 2254341,
        /// Every HA-VPN gateway interface is configured with an IPv6 address.
        Ipv6 = 2254343,
    }
    impl GatewayIpVersion {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedGatewayIpVersion => "UNDEFINED_GATEWAY_IP_VERSION",
                Self::Ipv4 => "IPV4",
                Self::Ipv6 => "IPV6",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_GATEWAY_IP_VERSION" => Some(Self::UndefinedGatewayIpVersion),
                "IPV4" => Some(Self::Ipv4),
                "IPV6" => Some(Self::Ipv6),
                _ => None,
            }
        }
    }
    /// The stack type for this VPN gateway to identify the IP protocols that are
    /// enabled. Possible values are: IPV4_ONLY,IPV4_IPV6, IPV6_ONLY. If not specified,IPV4_ONLY is used if the gateway IP version isIPV4, or IPV4_IPV6 if the gateway IP version isIPV6.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum StackType {
        /// A value indicating that the enum field is not set.
        UndefinedStackType = 0,
        /// Enable VPN gateway with both IPv4 and IPv6 protocols.
        Ipv4Ipv6 = 22197249,
        /// Enable VPN gateway with only IPv4 protocol.
        Ipv4Only = 22373798,
        /// Enable VPN gateway with only IPv6 protocol.
        Ipv6Only = 79632100,
    }
    impl StackType {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStackType => "UNDEFINED_STACK_TYPE",
                Self::Ipv4Ipv6 => "IPV4_IPV6",
                Self::Ipv4Only => "IPV4_ONLY",
                Self::Ipv6Only => "IPV6_ONLY",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STACK_TYPE" => Some(Self::UndefinedStackType),
                "IPV4_IPV6" => Some(Self::Ipv4Ipv6),
                "IPV4_ONLY" => Some(Self::Ipv4Only),
                "IPV6_ONLY" => Some(Self::Ipv6Only),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnGatewayAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of VpnGateway resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        VpnGatewaysScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Always compute#vpnGateway for
    /// VPN gateways.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Contains a list of VpnGateway resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnGatewayList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of VpnGateway resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<VpnGateway>,
    /// Output only. \[Output Only\] Type of resource. Always compute#vpnGateway for
    /// VPN gateways.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnGatewayParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    /// * Inconsistent format is not supported. For instance:
    ///   {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnGatewayStatus {
    /// Output only. List of VPN connection for this VpnGateway.
    #[prost(message, repeated, tag = "439334538")]
    pub vpn_connections: ::prost::alloc::vec::Vec<VpnGatewayStatusVpnConnection>,
}
/// Describes the high availability requirement state for the VPN connection
/// between this Cloud VPN gateway and a peer gateway.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VpnGatewayStatusHighAvailabilityRequirementState {
    /// Indicates the high availability requirement state for the VPN connection.
    /// Valid values are CONNECTION_REDUNDANCY_MET,CONNECTION_REDUNDANCY_NOT_MET.
    /// Check the State enum for the list of possible values.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// Indicates the reason why the VPN connection does not meet the high
    /// availability redundancy criteria/requirement.
    /// Valid values is INCOMPLETE_TUNNELS_COVERAGE.
    /// Check the UnsatisfiedReason enum for the list of possible values.
    #[prost(string, optional, tag = "55016330")]
    pub unsatisfied_reason: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `VpnGatewayStatusHighAvailabilityRequirementState`.
pub mod vpn_gateway_status_high_availability_requirement_state {
    /// Indicates the high availability requirement state for the VPN connection.
    /// Valid values are CONNECTION_REDUNDANCY_MET,CONNECTION_REDUNDANCY_NOT_MET.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum State {
        /// A value indicating that the enum field is not set.
        UndefinedState = 0,
        /// VPN tunnels are configured with adequate redundancy from Cloud VPN
        /// gateway to the peer VPN gateway. For both GCP-to-non-GCP and GCP-to-GCP
        /// connections, the adequate redundancy is a pre-requirement for users to
        /// get 99.99% availability on GCP side; please note that for any
        /// connection, end-to-end 99.99% availability is subject to proper
        /// configuration on the peer VPN gateway.
        ConnectionRedundancyMet = 505242907,
        /// VPN tunnels are not configured with adequate redundancy from the Cloud
        /// VPN gateway to the peer gateway
        ConnectionRedundancyNotMet = 511863311,
    }
    impl State {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedState => "UNDEFINED_STATE",
                Self::ConnectionRedundancyMet => "CONNECTION_REDUNDANCY_MET",
                Self::ConnectionRedundancyNotMet => "CONNECTION_REDUNDANCY_NOT_MET",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATE" => Some(Self::UndefinedState),
                "CONNECTION_REDUNDANCY_MET" => Some(Self::ConnectionRedundancyMet),
                "CONNECTION_REDUNDANCY_NOT_MET" => Some(Self::ConnectionRedundancyNotMet),
                _ => None,
            }
        }
    }
    /// Indicates the reason why the VPN connection does not meet the high
    /// availability redundancy criteria/requirement.
    /// Valid values is INCOMPLETE_TUNNELS_COVERAGE.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum UnsatisfiedReason {
        /// A value indicating that the enum field is not set.
        UndefinedUnsatisfiedReason = 0,
        IncompleteTunnelsCoverage = 55917437,
    }
    impl UnsatisfiedReason {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedUnsatisfiedReason => "UNDEFINED_UNSATISFIED_REASON",
                Self::IncompleteTunnelsCoverage => "INCOMPLETE_TUNNELS_COVERAGE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_UNSATISFIED_REASON" => Some(Self::UndefinedUnsatisfiedReason),
                "INCOMPLETE_TUNNELS_COVERAGE" => Some(Self::IncompleteTunnelsCoverage),
                _ => None,
            }
        }
    }
}
/// Contains some information about a VPN tunnel.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VpnGatewayStatusTunnel {
    /// Output only. The VPN gateway interface this VPN tunnel is associated with.
    #[prost(uint32, optional, tag = "158764330")]
    pub local_gateway_interface: ::core::option::Option<u32>,
    /// Output only. The peer gateway interface this VPN tunnel is connected to, the peer
    /// gateway could either be an external VPN gateway or a Google Cloud
    /// VPN gateway.
    #[prost(uint32, optional, tag = "214380385")]
    pub peer_gateway_interface: ::core::option::Option<u32>,
    /// Output only. URL reference to the VPN tunnel.
    #[prost(string, optional, tag = "78975256")]
    pub tunnel_url: ::core::option::Option<::prost::alloc::string::String>,
}
/// A VPN connection contains all VPN tunnels connected from this VpnGateway
/// to the same peer gateway. The peer gateway could either be an external VPN
/// gateway or a Google Cloud VPN gateway.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnGatewayStatusVpnConnection {
    /// Output only. URL reference to the peer external VPN gateways to which the VPN tunnels
    /// in this VPN connection are connected.
    /// This field is mutually exclusive with peer_gcp_gateway.
    #[prost(string, optional, tag = "384956173")]
    pub peer_external_gateway: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. URL reference to the peer side VPN gateways to which the VPN tunnels in
    /// this VPN connection are connected.
    /// This field is mutually exclusive with peer_gcp_gateway.
    #[prost(string, optional, tag = "281867452")]
    pub peer_gcp_gateway: ::core::option::Option<::prost::alloc::string::String>,
    /// HighAvailabilityRequirementState for the VPN connection.
    #[prost(message, optional, tag = "109757585")]
    pub state: ::core::option::Option<VpnGatewayStatusHighAvailabilityRequirementState>,
    /// List of VPN tunnels that are in this VPN connection.
    #[prost(message, repeated, tag = "104561931")]
    pub tunnels: ::prost::alloc::vec::Vec<VpnGatewayStatusTunnel>,
}
/// A VPN gateway interface.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VpnGatewayVpnGatewayInterface {
    /// Output only. \[Output Only\] Numeric identifier for this VPN interface associated with
    /// the VPN gateway.
    #[prost(uint32, optional, tag = "3355")]
    pub id: ::core::option::Option<u32>,
    /// URL of the VLAN attachment (interconnectAttachment) resource for this
    /// VPN gateway interface. When the value of this field is present, the VPN
    /// gateway is used for HA VPN over Cloud Interconnect; all egress
    /// or ingress traffic for this VPN gateway interface goes through the
    /// specified VLAN attachment resource.
    #[prost(string, optional, tag = "308135284")]
    pub interconnect_attachment: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] IP address for this VPN interface associated with the VPN
    /// gateway.
    /// The IP address could be either a regional external IP address or
    /// a regional internal IP address. The two IP addresses for a VPN gateway
    /// must be all regional external or regional internal IP addresses. There
    /// cannot be a mix of regional external IP addresses and regional internal
    /// IP addresses. For HA VPN over Cloud Interconnect, the IP addresses
    /// for both interfaces could either be regional internal IP addresses or
    /// regional external IP addresses. For regular (non HA VPN over Cloud
    /// Interconnect) HA VPN tunnels, the IP address must be a regional external
    /// IP address.
    #[prost(string, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] IPv6 address for this VPN interface associated with the VPN
    /// gateway.
    /// The IPv6 address must be a regional external IPv6 address. The format is
    /// RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
    #[prost(string, optional, tag = "341563804")]
    pub ipv6_address: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnGatewaysGetStatusResponse {
    #[prost(message, optional, tag = "139315229")]
    pub result: ::core::option::Option<VpnGatewayStatus>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnGatewaysScopedList {
    /// \[Output Only\] A list of VPN gateways contained in this scope.
    #[prost(message, repeated, tag = "259177882")]
    pub vpn_gateways: ::prost::alloc::vec::Vec<VpnGateway>,
    /// \[Output Only\] Informational warning which replaces the list of addresses
    /// when the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Represents a Cloud VPN Tunnel resource.
///
/// For more information about VPN, read the
/// the Cloud VPN Overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnTunnel {
    /// User specified list of ciphers to use for the phase 1 and phase 2 of the
    /// IKE protocol.
    #[prost(message, optional, tag = "443788228")]
    pub cipher_suite: ::core::option::Option<VpnTunnelCipherSuite>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of this resource. Provide this property when you
    /// create the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Detailed status message for the VPN tunnel.
    #[prost(string, optional, tag = "333501025")]
    pub detailed_status: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// IKE protocol version to use when establishing the VPN tunnel with the peer
    /// VPN gateway. Acceptable IKE versions are 1 or 2.
    /// The default version is 2.
    #[prost(int32, optional, tag = "218376220")]
    pub ike_version: ::core::option::Option<i32>,
    /// Output only. \[Output Only\] Type of resource. Always compute#vpnTunnel for
    /// VPN tunnels.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// A fingerprint for the labels being applied to this VpnTunnel, which is
    /// essentially a hash of the labels set used for optimistic locking. The
    /// fingerprint is initially generated by Compute Engine and changes after
    /// every request to modify or update labels. You must always provide an
    /// up-to-date fingerprint hash in order to update or change labels,
    /// otherwise the request will fail with error412 conditionNotMet.
    ///
    /// To see the latest fingerprint, make a get() request to
    /// retrieve a VpnTunnel.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
    /// Label values may be empty.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    /// Local traffic selector to use when establishing the VPN tunnel with the
    /// peer VPN gateway. The value should be a CIDR formatted string, for
    /// example: 192.168.0.0/16. The ranges must be disjoint.
    /// Only IPv4 is supported for Classic VPN tunnels. This field is output only
    /// for HA VPN tunnels.
    #[prost(string, repeated, tag = "317314613")]
    pub local_traffic_selector: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Input only. \[Input Only\] Additional params passed with the request, but not persisted
    /// as part of resource payload.
    #[prost(message, optional, tag = "78313862")]
    pub params: ::core::option::Option<VpnTunnelParams>,
    /// URL of the peer side external VPN gateway to which this VPN tunnel is
    /// connected.
    /// Provided by the client when the VPN tunnel is created.
    /// This field is exclusive with the field peerGcpGateway.
    #[prost(string, optional, tag = "384956173")]
    pub peer_external_gateway: ::core::option::Option<::prost::alloc::string::String>,
    /// The interface ID of the external VPN gateway to which this VPN tunnel is
    /// connected. Provided by the client when the VPN tunnel is created.
    /// Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use
    /// depends on the external VPN gateway redundancy type.
    #[prost(int32, optional, tag = "452768391")]
    pub peer_external_gateway_interface: ::core::option::Option<i32>,
    /// URL of the peer side HA VPN gateway to which this VPN tunnel
    /// is connected. Provided by the client when the VPN tunnel is created.
    /// This field can be used when creating highly available VPN from VPC network
    /// to VPC network, the field is exclusive with the field peerExternalGateway.
    /// If provided, the VPN tunnel will automatically use the same
    /// vpnGatewayInterface ID in the peer Google Cloud VPN gateway.
    #[prost(string, optional, tag = "281867452")]
    pub peer_gcp_gateway: ::core::option::Option<::prost::alloc::string::String>,
    /// IP address of the peer VPN gateway. Only IPv4 is supported. This field can
    /// be set only for Classic VPN tunnels.
    #[prost(string, optional, tag = "383249700")]
    pub peer_ip: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] URL of the region where the VPN tunnel resides.
    /// You must specify this field as part of the HTTP request URL. It is
    /// not settable as a field in the request body.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// Remote traffic selectors to use when establishing the VPN tunnel with
    /// the peer VPN gateway. The value should be a CIDR formatted string,
    /// for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is
    /// supported for Classic VPN tunnels. This field is output only for HA VPN
    /// tunnels.
    #[prost(string, repeated, tag = "358887098")]
    pub remote_traffic_selector: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// URL of the router resource to be used for dynamic routing.
    #[prost(string, optional, tag = "148608841")]
    pub router: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Shared secret used to set the secure session between the Cloud VPN gateway
    /// and the peer VPN gateway.
    #[prost(string, optional, tag = "381932490")]
    pub shared_secret: ::core::option::Option<::prost::alloc::string::String>,
    /// Hash of the shared secret.
    #[prost(string, optional, tag = "398881891")]
    pub shared_secret_hash: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The status of the VPN tunnel, which can be one of the
    /// following:
    ///
    /// ```text
    /// - PROVISIONING: Resource is being allocated for the VPN tunnel.
    /// - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs
    /// from
    ///   the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route
    ///   resources are needed to setup the VPN tunnel.
    /// - FIRST_HANDSHAKE: Successful first handshake with the peer VPN.
    /// - ESTABLISHED: Secure session is successfully established with the peer
    /// VPN.
    /// - NETWORK_ERROR: Deprecated, replaced by
    /// NO_INCOMING_PACKETS
    /// - AUTHORIZATION_ERROR: Auth error (for example,
    /// bad shared secret).
    /// - NEGOTIATION_FAILURE: Handshake failed.
    /// - DEPROVISIONING: Resources are being deallocated for the VPN
    /// tunnel.
    /// - FAILED: Tunnel creation has failed and the tunnel is not
    /// ready to be used.
    /// - NO_INCOMING_PACKETS: No incoming packets from
    /// peer.
    /// - REJECTED: Tunnel configuration was rejected, can be result
    /// of being denied access.
    /// - ALLOCATING_RESOURCES: Cloud VPN is in the
    /// process of allocating all required resources.
    /// - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted
    /// for Classic VPN tunnels or the project is in frozen state.
    /// - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP,
    /// probably behind NAT.
    /// - TS_NARROWING_NOT_ALLOWED: Traffic selector
    /// narrowing not allowed for an HA-VPN tunnel.
    /// ```
    ///
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the Target VPN gateway with which this VPN tunnel is associated.
    /// Provided by the client when the VPN tunnel is created.
    /// This field can be set only for Classic VPN tunnels.
    #[prost(string, optional, tag = "532512843")]
    pub target_vpn_gateway: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the VPN gateway with which this VPN tunnel is associated.
    /// Provided by the client when the VPN tunnel is created. This must be
    /// used (instead of target_vpn_gateway) if a High Availability VPN gateway
    /// resource is created.
    #[prost(string, optional, tag = "406684153")]
    pub vpn_gateway: ::core::option::Option<::prost::alloc::string::String>,
    /// The interface ID of the VPN gateway with which this VPN tunnel is
    /// associated.
    /// Possible values are: `0`, `1`.
    #[prost(int32, optional, tag = "95979123")]
    pub vpn_gateway_interface: ::core::option::Option<i32>,
}
/// Nested message and enum types in `VpnTunnel`.
pub mod vpn_tunnel {
    /// \[Output Only\] The status of the VPN tunnel, which can be one of the
    /// following:
    ///
    /// ```text
    /// - PROVISIONING: Resource is being allocated for the VPN tunnel.
    /// - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs
    /// from
    ///   the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route
    ///   resources are needed to setup the VPN tunnel.
    /// - FIRST_HANDSHAKE: Successful first handshake with the peer VPN.
    /// - ESTABLISHED: Secure session is successfully established with the peer
    /// VPN.
    /// - NETWORK_ERROR: Deprecated, replaced by
    /// NO_INCOMING_PACKETS
    /// - AUTHORIZATION_ERROR: Auth error (for example,
    /// bad shared secret).
    /// - NEGOTIATION_FAILURE: Handshake failed.
    /// - DEPROVISIONING: Resources are being deallocated for the VPN
    /// tunnel.
    /// - FAILED: Tunnel creation has failed and the tunnel is not
    /// ready to be used.
    /// - NO_INCOMING_PACKETS: No incoming packets from
    /// peer.
    /// - REJECTED: Tunnel configuration was rejected, can be result
    /// of being denied access.
    /// - ALLOCATING_RESOURCES: Cloud VPN is in the
    /// process of allocating all required resources.
    /// - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted
    /// for Classic VPN tunnels or the project is in frozen state.
    /// - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP,
    /// probably behind NAT.
    /// - TS_NARROWING_NOT_ALLOWED: Traffic selector
    /// narrowing not allowed for an HA-VPN tunnel.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        /// Cloud VPN is in the process of allocating all required resources
        /// (specifically, a borg task).
        AllocatingResources = 320922816,
        /// Auth error (e.g. bad shared secret).
        AuthorizationError = 23580290,
        /// Resources is being deallocated for the VPN tunnel.
        Deprovisioning = 428935662,
        /// Secure session is successfully established with peer VPN.
        Established = 88852344,
        /// Tunnel creation has failed and the tunnel is not ready to be used.
        Failed = 455706685,
        /// Successful first handshake with peer VPN.
        FirstHandshake = 191393000,
        /// Handshake failed.
        NegotiationFailure = 360325868,
        /// Deprecated, replaced by NO_INCOMING_PACKETS
        NetworkError = 193912951,
        /// No incoming packets from peer
        NoIncomingPackets = 119983216,
        /// Resource is being allocated for the VPN tunnel.
        Provisioning = 290896621,
        /// Tunnel configuration was rejected, can be result of being denylisted.
        Rejected = 174130302,
        /// Tunnel is stopped due to its Forwarding Rules being deleted.
        Stopped = 444276141,
        /// Waiting to receive all VPN-related configs from user. Network,
        /// TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are
        /// needed to setup VPN tunnel.
        WaitingForFullConfig = 41640522,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::AllocatingResources => "ALLOCATING_RESOURCES",
                Self::AuthorizationError => "AUTHORIZATION_ERROR",
                Self::Deprovisioning => "DEPROVISIONING",
                Self::Established => "ESTABLISHED",
                Self::Failed => "FAILED",
                Self::FirstHandshake => "FIRST_HANDSHAKE",
                Self::NegotiationFailure => "NEGOTIATION_FAILURE",
                Self::NetworkError => "NETWORK_ERROR",
                Self::NoIncomingPackets => "NO_INCOMING_PACKETS",
                Self::Provisioning => "PROVISIONING",
                Self::Rejected => "REJECTED",
                Self::Stopped => "STOPPED",
                Self::WaitingForFullConfig => "WAITING_FOR_FULL_CONFIG",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "ALLOCATING_RESOURCES" => Some(Self::AllocatingResources),
                "AUTHORIZATION_ERROR" => Some(Self::AuthorizationError),
                "DEPROVISIONING" => Some(Self::Deprovisioning),
                "ESTABLISHED" => Some(Self::Established),
                "FAILED" => Some(Self::Failed),
                "FIRST_HANDSHAKE" => Some(Self::FirstHandshake),
                "NEGOTIATION_FAILURE" => Some(Self::NegotiationFailure),
                "NETWORK_ERROR" => Some(Self::NetworkError),
                "NO_INCOMING_PACKETS" => Some(Self::NoIncomingPackets),
                "PROVISIONING" => Some(Self::Provisioning),
                "REJECTED" => Some(Self::Rejected),
                "STOPPED" => Some(Self::Stopped),
                "WAITING_FOR_FULL_CONFIG" => Some(Self::WaitingForFullConfig),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnTunnelAggregatedList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of VpnTunnelsScopedList resources.
    #[prost(map = "string, message", tag = "100526016")]
    pub items: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        VpnTunnelsScopedList,
    >,
    /// Output only. \[Output Only\] Type of resource. Always compute#vpnTunnel for
    /// VPN tunnels.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VpnTunnelCipherSuite {
    #[prost(message, optional, tag = "84289046")]
    pub phase1: ::core::option::Option<VpnTunnelPhase1Algorithms>,
    #[prost(message, optional, tag = "84289047")]
    pub phase2: ::core::option::Option<VpnTunnelPhase2Algorithms>,
}
/// Contains a list of VpnTunnel resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnTunnelList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of VpnTunnel resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<VpnTunnel>,
    /// Output only. \[Output Only\] Type of resource. Always compute#vpnTunnel for
    /// VPN tunnels.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnTunnelParams {
    /// Tag keys/values directly bound to this resource.
    /// Tag keys and values have the same definition as resource
    /// manager tags. The field is allowed for INSERT
    /// only. The keys/values to set on the resource should be specified in
    /// either ID { : } or Namespaced format
    /// { : }.
    /// For example the following are valid inputs:
    ///
    /// * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
    /// * {"123/environment" : "production", "345/abc" : "xyz"}
    ///   Note:
    /// * Invalid combinations of ID & namespaced format is not supported. For
    ///   instance: {"123/environment" : "tagValues/444"} is invalid.
    /// * Inconsistent format is not supported. For instance:
    ///   {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid.
    #[prost(map = "string, string", tag = "377671164")]
    pub resource_manager_tags: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VpnTunnelPhase1Algorithms {
    #[prost(string, repeated, tag = "3204")]
    pub dh: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, repeated, tag = "97980291")]
    pub encryption: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, repeated, tag = "492830541")]
    pub integrity: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, repeated, tag = "111268")]
    pub prf: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VpnTunnelPhase2Algorithms {
    #[prost(string, repeated, tag = "97980291")]
    pub encryption: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, repeated, tag = "492830541")]
    pub integrity: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, repeated, tag = "110909")]
    pub pfs: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnTunnelsScopedList {
    /// A list of VPN tunnels contained in this scope.
    #[prost(message, repeated, tag = "163494080")]
    pub vpn_tunnels: ::prost::alloc::vec::Vec<VpnTunnel>,
    /// Informational warning which replaces the list of addresses when
    /// the list is empty.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WafExpressionSet {
    /// A list of alternate IDs. The format should be:
    ///
    /// * E.g. XSS-stable
    ///   Generic suffix like "stable" is particularly useful if a policy
    ///   likes to avail newer set of expressions without having to change
    ///   the policy.
    ///   A given alias name can't be used for more than one entity set.
    #[prost(string, repeated, tag = "159207166")]
    pub aliases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// List of available expressions.
    #[prost(message, repeated, tag = "175554779")]
    pub expressions: ::prost::alloc::vec::Vec<WafExpressionSetExpression>,
    /// Google specified expression set ID. The format should be:
    ///
    /// * E.g. XSS-20170329
    ///   required
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WafExpressionSetExpression {
    /// Expression ID should uniquely identify the origin of the expression.
    /// E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set
    /// version 2.9.1 rule id 973337.
    /// The ID could be used to determine the individual attack definition
    /// that has been detected. It could also be used to exclude it from
    /// the policy in case of false positive.
    /// required
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// The sensitivity value associated with the WAF rule ID. This corresponds
    /// to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for
    /// opt-in only rules.
    #[prost(int32, optional, tag = "27532959")]
    pub sensitivity: ::core::option::Option<i32>,
}
/// A request message for GlobalOperations.Wait. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WaitGlobalOperationRequest {
    /// Name of the Operations resource to return, or its unique numeric
    /// identifier.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
}
/// A request message for RegionOperations.Wait. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WaitRegionOperationRequest {
    /// Name of the Operations resource to return, or its unique numeric
    /// identifier.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the region for this request.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
}
/// A request message for ZoneOperations.Wait. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WaitZoneOperationRequest {
    /// Name of the Operations resource to return, or its unique numeric
    /// identifier.
    #[prost(string, tag = "52090215")]
    pub operation: ::prost::alloc::string::String,
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// Name of the zone for this request.
    #[prost(string, tag = "3744684")]
    pub zone: ::prost::alloc::string::String,
}
/// Informational warning message.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Warning {
    /// \[Output Only\] A warning code, if applicable. For example, Compute
    /// Engine returns NO_RESULTS_ON_PAGE if there
    /// are no results in the response.
    /// Check the Code enum for the list of possible values.
    #[prost(string, optional, tag = "3059181")]
    pub code: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Metadata about this warning in key:
    /// value format. For example:
    ///
    /// "data": \[
    /// {
    /// "key": "scope",
    /// "value": "zones/us-east1-d"
    /// }
    #[prost(message, repeated, tag = "3076010")]
    pub data: ::prost::alloc::vec::Vec<Data>,
    /// \[Output Only\] A human-readable description of the warning code.
    #[prost(string, optional, tag = "418054151")]
    pub message: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Warning`.
pub mod warning {
    /// \[Output Only\] A warning code, if applicable. For example, Compute
    /// Engine returns NO_RESULTS_ON_PAGE if there
    /// are no results in the response.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Code {
        /// A value indicating that the enum field is not set.
        UndefinedCode = 0,
        /// Warning about failed cleanup of transient changes made by a failed
        /// operation.
        CleanupFailed = 150308440,
        /// A link to a deprecated resource was created.
        DeprecatedResourceUsed = 391835586,
        /// When deploying and at least one of the resources has a type marked as
        /// deprecated
        DeprecatedTypeUsed = 346526230,
        /// The user created a boot disk that is larger than image size.
        DiskSizeLargerThanImageSize = 369442967,
        /// When deploying and at least one of the resources has a type marked as
        /// experimental
        ExperimentalTypeUsed = 451954443,
        /// Warning that is present in an external api call
        ExternalApiWarning = 175546307,
        /// Warning that value of a field has been overridden.
        /// Deprecated unused field.
        FieldValueOverriden = 329669423,
        /// The operation involved use of an injected kernel, which is deprecated.
        InjectedKernelsDeprecated = 417377419,
        /// A WEIGHTED_MAGLEV backend service is associated with a health check that is
        /// not of type HTTP/HTTPS/HTTP2.
        InvalidHealthCheckForDynamicWieghtedLb = 401542606,
        /// When deploying a deployment with a exceedingly large number of resources
        LargeDeploymentWarning = 481440678,
        /// Resource can't be retrieved due to list overhead quota exceed
        /// which captures the amount of resources filtered out by
        /// user-defined list filter.
        ListOverheadQuotaExceed = 47618117,
        /// A resource depends on a missing type
        MissingTypeDependency = 344505463,
        /// The route's nextHopIp address is not assigned to an instance on the
        /// network.
        NextHopAddressNotAssigned = 324964999,
        /// The route's next hop instance cannot ip forward.
        NextHopCannotIpForward = 383382887,
        /// The route's nextHopInstance URL refers to an instance that does not have an
        /// ipv6 interface on the same network as the route.
        NextHopInstanceHasNoIpv6Interface = 146748434,
        /// The route's nextHopInstance URL refers to an instance that does not exist.
        NextHopInstanceNotFound = 464250446,
        /// The route's nextHopInstance URL refers to an instance that is not on the
        /// same network as the route.
        NextHopInstanceNotOnNetwork = 243758146,
        /// The route's next hop instance does not have a status of RUNNING.
        NextHopNotRunning = 417081265,
        /// Error which is not critical. We decided to continue the process despite
        /// the mentioned error.
        NotCriticalError = 105763924,
        /// No results are present on a particular list page.
        NoResultsOnPage = 30036744,
        /// Success is reported, but some results may be missing due to errors
        PartialSuccess = 39966469,
        /// Quota information is not available to client requests (e.g:
        /// regions.list).
        QuotaInfoUnavailable = 304294182,
        /// The user attempted to use a resource that requires a TOS they have not
        /// accepted.
        RequiredTosAgreement = 3745539,
        /// Warning that a resource is in use.
        ResourceInUseByOtherResourceWarning = 496728641,
        /// One or more of the resources set to auto-delete could not be deleted
        /// because they were in use.
        ResourceNotDeleted = 168598460,
        /// When a resource schema validation is ignored.
        SchemaValidationIgnored = 275245642,
        /// Instance template used in instance group manager is valid as such, but
        /// its application does not make a lot of sense, because it allows only
        /// single instance in instance group.
        SingleInstancePropertyTemplate = 268305617,
        /// When undeclared properties in the schema are present
        UndeclaredProperties = 390513439,
        /// A given scope cannot be reached.
        Unreachable = 13328052,
    }
    impl Code {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCode => "UNDEFINED_CODE",
                Self::CleanupFailed => "CLEANUP_FAILED",
                Self::DeprecatedResourceUsed => "DEPRECATED_RESOURCE_USED",
                Self::DeprecatedTypeUsed => "DEPRECATED_TYPE_USED",
                Self::DiskSizeLargerThanImageSize => "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
                Self::ExperimentalTypeUsed => "EXPERIMENTAL_TYPE_USED",
                Self::ExternalApiWarning => "EXTERNAL_API_WARNING",
                Self::FieldValueOverriden => "FIELD_VALUE_OVERRIDEN",
                Self::InjectedKernelsDeprecated => "INJECTED_KERNELS_DEPRECATED",
                Self::InvalidHealthCheckForDynamicWieghtedLb => {
                    "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB"
                }
                Self::LargeDeploymentWarning => "LARGE_DEPLOYMENT_WARNING",
                Self::ListOverheadQuotaExceed => "LIST_OVERHEAD_QUOTA_EXCEED",
                Self::MissingTypeDependency => "MISSING_TYPE_DEPENDENCY",
                Self::NextHopAddressNotAssigned => "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
                Self::NextHopCannotIpForward => "NEXT_HOP_CANNOT_IP_FORWARD",
                Self::NextHopInstanceHasNoIpv6Interface => {
                    "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
                }
                Self::NextHopInstanceNotFound => "NEXT_HOP_INSTANCE_NOT_FOUND",
                Self::NextHopInstanceNotOnNetwork => "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
                Self::NextHopNotRunning => "NEXT_HOP_NOT_RUNNING",
                Self::NotCriticalError => "NOT_CRITICAL_ERROR",
                Self::NoResultsOnPage => "NO_RESULTS_ON_PAGE",
                Self::PartialSuccess => "PARTIAL_SUCCESS",
                Self::QuotaInfoUnavailable => "QUOTA_INFO_UNAVAILABLE",
                Self::RequiredTosAgreement => "REQUIRED_TOS_AGREEMENT",
                Self::ResourceInUseByOtherResourceWarning => {
                    "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
                }
                Self::ResourceNotDeleted => "RESOURCE_NOT_DELETED",
                Self::SchemaValidationIgnored => "SCHEMA_VALIDATION_IGNORED",
                Self::SingleInstancePropertyTemplate => {
                    "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
                }
                Self::UndeclaredProperties => "UNDECLARED_PROPERTIES",
                Self::Unreachable => "UNREACHABLE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CODE" => Some(Self::UndefinedCode),
                "CLEANUP_FAILED" => Some(Self::CleanupFailed),
                "DEPRECATED_RESOURCE_USED" => Some(Self::DeprecatedResourceUsed),
                "DEPRECATED_TYPE_USED" => Some(Self::DeprecatedTypeUsed),
                "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" => {
                    Some(Self::DiskSizeLargerThanImageSize)
                }
                "EXPERIMENTAL_TYPE_USED" => Some(Self::ExperimentalTypeUsed),
                "EXTERNAL_API_WARNING" => Some(Self::ExternalApiWarning),
                "FIELD_VALUE_OVERRIDEN" => Some(Self::FieldValueOverriden),
                "INJECTED_KERNELS_DEPRECATED" => Some(Self::InjectedKernelsDeprecated),
                "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB" => {
                    Some(Self::InvalidHealthCheckForDynamicWieghtedLb)
                }
                "LARGE_DEPLOYMENT_WARNING" => Some(Self::LargeDeploymentWarning),
                "LIST_OVERHEAD_QUOTA_EXCEED" => Some(Self::ListOverheadQuotaExceed),
                "MISSING_TYPE_DEPENDENCY" => Some(Self::MissingTypeDependency),
                "NEXT_HOP_ADDRESS_NOT_ASSIGNED" => Some(Self::NextHopAddressNotAssigned),
                "NEXT_HOP_CANNOT_IP_FORWARD" => Some(Self::NextHopCannotIpForward),
                "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE" => {
                    Some(Self::NextHopInstanceHasNoIpv6Interface)
                }
                "NEXT_HOP_INSTANCE_NOT_FOUND" => Some(Self::NextHopInstanceNotFound),
                "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" => {
                    Some(Self::NextHopInstanceNotOnNetwork)
                }
                "NEXT_HOP_NOT_RUNNING" => Some(Self::NextHopNotRunning),
                "NOT_CRITICAL_ERROR" => Some(Self::NotCriticalError),
                "NO_RESULTS_ON_PAGE" => Some(Self::NoResultsOnPage),
                "PARTIAL_SUCCESS" => Some(Self::PartialSuccess),
                "QUOTA_INFO_UNAVAILABLE" => Some(Self::QuotaInfoUnavailable),
                "REQUIRED_TOS_AGREEMENT" => Some(Self::RequiredTosAgreement),
                "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING" => {
                    Some(Self::ResourceInUseByOtherResourceWarning)
                }
                "RESOURCE_NOT_DELETED" => Some(Self::ResourceNotDeleted),
                "SCHEMA_VALIDATION_IGNORED" => Some(Self::SchemaValidationIgnored),
                "SINGLE_INSTANCE_PROPERTY_TEMPLATE" => {
                    Some(Self::SingleInstancePropertyTemplate)
                }
                "UNDECLARED_PROPERTIES" => Some(Self::UndeclaredProperties),
                "UNREACHABLE" => Some(Self::Unreachable),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Warnings {
    /// \[Output Only\] A warning code, if applicable. For example, Compute
    /// Engine returns NO_RESULTS_ON_PAGE if there
    /// are no results in the response.
    /// Check the Code enum for the list of possible values.
    #[prost(string, optional, tag = "3059181")]
    pub code: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Metadata about this warning in key:
    /// value format. For example:
    ///
    /// "data": \[
    /// {
    /// "key": "scope",
    /// "value": "zones/us-east1-d"
    /// }
    #[prost(message, repeated, tag = "3076010")]
    pub data: ::prost::alloc::vec::Vec<Data>,
    /// \[Output Only\] A human-readable description of the warning code.
    #[prost(string, optional, tag = "418054151")]
    pub message: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Warnings`.
pub mod warnings {
    /// \[Output Only\] A warning code, if applicable. For example, Compute
    /// Engine returns NO_RESULTS_ON_PAGE if there
    /// are no results in the response.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Code {
        /// A value indicating that the enum field is not set.
        UndefinedCode = 0,
        /// Warning about failed cleanup of transient changes made by a failed
        /// operation.
        CleanupFailed = 150308440,
        /// A link to a deprecated resource was created.
        DeprecatedResourceUsed = 391835586,
        /// When deploying and at least one of the resources has a type marked as
        /// deprecated
        DeprecatedTypeUsed = 346526230,
        /// The user created a boot disk that is larger than image size.
        DiskSizeLargerThanImageSize = 369442967,
        /// When deploying and at least one of the resources has a type marked as
        /// experimental
        ExperimentalTypeUsed = 451954443,
        /// Warning that is present in an external api call
        ExternalApiWarning = 175546307,
        /// Warning that value of a field has been overridden.
        /// Deprecated unused field.
        FieldValueOverriden = 329669423,
        /// The operation involved use of an injected kernel, which is deprecated.
        InjectedKernelsDeprecated = 417377419,
        /// A WEIGHTED_MAGLEV backend service is associated with a health check that is
        /// not of type HTTP/HTTPS/HTTP2.
        InvalidHealthCheckForDynamicWieghtedLb = 401542606,
        /// When deploying a deployment with a exceedingly large number of resources
        LargeDeploymentWarning = 481440678,
        /// Resource can't be retrieved due to list overhead quota exceed
        /// which captures the amount of resources filtered out by
        /// user-defined list filter.
        ListOverheadQuotaExceed = 47618117,
        /// A resource depends on a missing type
        MissingTypeDependency = 344505463,
        /// The route's nextHopIp address is not assigned to an instance on the
        /// network.
        NextHopAddressNotAssigned = 324964999,
        /// The route's next hop instance cannot ip forward.
        NextHopCannotIpForward = 383382887,
        /// The route's nextHopInstance URL refers to an instance that does not have an
        /// ipv6 interface on the same network as the route.
        NextHopInstanceHasNoIpv6Interface = 146748434,
        /// The route's nextHopInstance URL refers to an instance that does not exist.
        NextHopInstanceNotFound = 464250446,
        /// The route's nextHopInstance URL refers to an instance that is not on the
        /// same network as the route.
        NextHopInstanceNotOnNetwork = 243758146,
        /// The route's next hop instance does not have a status of RUNNING.
        NextHopNotRunning = 417081265,
        /// Error which is not critical. We decided to continue the process despite
        /// the mentioned error.
        NotCriticalError = 105763924,
        /// No results are present on a particular list page.
        NoResultsOnPage = 30036744,
        /// Success is reported, but some results may be missing due to errors
        PartialSuccess = 39966469,
        /// Quota information is not available to client requests (e.g:
        /// regions.list).
        QuotaInfoUnavailable = 304294182,
        /// The user attempted to use a resource that requires a TOS they have not
        /// accepted.
        RequiredTosAgreement = 3745539,
        /// Warning that a resource is in use.
        ResourceInUseByOtherResourceWarning = 496728641,
        /// One or more of the resources set to auto-delete could not be deleted
        /// because they were in use.
        ResourceNotDeleted = 168598460,
        /// When a resource schema validation is ignored.
        SchemaValidationIgnored = 275245642,
        /// Instance template used in instance group manager is valid as such, but
        /// its application does not make a lot of sense, because it allows only
        /// single instance in instance group.
        SingleInstancePropertyTemplate = 268305617,
        /// When undeclared properties in the schema are present
        UndeclaredProperties = 390513439,
        /// A given scope cannot be reached.
        Unreachable = 13328052,
    }
    impl Code {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedCode => "UNDEFINED_CODE",
                Self::CleanupFailed => "CLEANUP_FAILED",
                Self::DeprecatedResourceUsed => "DEPRECATED_RESOURCE_USED",
                Self::DeprecatedTypeUsed => "DEPRECATED_TYPE_USED",
                Self::DiskSizeLargerThanImageSize => "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
                Self::ExperimentalTypeUsed => "EXPERIMENTAL_TYPE_USED",
                Self::ExternalApiWarning => "EXTERNAL_API_WARNING",
                Self::FieldValueOverriden => "FIELD_VALUE_OVERRIDEN",
                Self::InjectedKernelsDeprecated => "INJECTED_KERNELS_DEPRECATED",
                Self::InvalidHealthCheckForDynamicWieghtedLb => {
                    "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB"
                }
                Self::LargeDeploymentWarning => "LARGE_DEPLOYMENT_WARNING",
                Self::ListOverheadQuotaExceed => "LIST_OVERHEAD_QUOTA_EXCEED",
                Self::MissingTypeDependency => "MISSING_TYPE_DEPENDENCY",
                Self::NextHopAddressNotAssigned => "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
                Self::NextHopCannotIpForward => "NEXT_HOP_CANNOT_IP_FORWARD",
                Self::NextHopInstanceHasNoIpv6Interface => {
                    "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"
                }
                Self::NextHopInstanceNotFound => "NEXT_HOP_INSTANCE_NOT_FOUND",
                Self::NextHopInstanceNotOnNetwork => "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
                Self::NextHopNotRunning => "NEXT_HOP_NOT_RUNNING",
                Self::NotCriticalError => "NOT_CRITICAL_ERROR",
                Self::NoResultsOnPage => "NO_RESULTS_ON_PAGE",
                Self::PartialSuccess => "PARTIAL_SUCCESS",
                Self::QuotaInfoUnavailable => "QUOTA_INFO_UNAVAILABLE",
                Self::RequiredTosAgreement => "REQUIRED_TOS_AGREEMENT",
                Self::ResourceInUseByOtherResourceWarning => {
                    "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
                }
                Self::ResourceNotDeleted => "RESOURCE_NOT_DELETED",
                Self::SchemaValidationIgnored => "SCHEMA_VALIDATION_IGNORED",
                Self::SingleInstancePropertyTemplate => {
                    "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
                }
                Self::UndeclaredProperties => "UNDECLARED_PROPERTIES",
                Self::Unreachable => "UNREACHABLE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_CODE" => Some(Self::UndefinedCode),
                "CLEANUP_FAILED" => Some(Self::CleanupFailed),
                "DEPRECATED_RESOURCE_USED" => Some(Self::DeprecatedResourceUsed),
                "DEPRECATED_TYPE_USED" => Some(Self::DeprecatedTypeUsed),
                "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" => {
                    Some(Self::DiskSizeLargerThanImageSize)
                }
                "EXPERIMENTAL_TYPE_USED" => Some(Self::ExperimentalTypeUsed),
                "EXTERNAL_API_WARNING" => Some(Self::ExternalApiWarning),
                "FIELD_VALUE_OVERRIDEN" => Some(Self::FieldValueOverriden),
                "INJECTED_KERNELS_DEPRECATED" => Some(Self::InjectedKernelsDeprecated),
                "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB" => {
                    Some(Self::InvalidHealthCheckForDynamicWieghtedLb)
                }
                "LARGE_DEPLOYMENT_WARNING" => Some(Self::LargeDeploymentWarning),
                "LIST_OVERHEAD_QUOTA_EXCEED" => Some(Self::ListOverheadQuotaExceed),
                "MISSING_TYPE_DEPENDENCY" => Some(Self::MissingTypeDependency),
                "NEXT_HOP_ADDRESS_NOT_ASSIGNED" => Some(Self::NextHopAddressNotAssigned),
                "NEXT_HOP_CANNOT_IP_FORWARD" => Some(Self::NextHopCannotIpForward),
                "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE" => {
                    Some(Self::NextHopInstanceHasNoIpv6Interface)
                }
                "NEXT_HOP_INSTANCE_NOT_FOUND" => Some(Self::NextHopInstanceNotFound),
                "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" => {
                    Some(Self::NextHopInstanceNotOnNetwork)
                }
                "NEXT_HOP_NOT_RUNNING" => Some(Self::NextHopNotRunning),
                "NOT_CRITICAL_ERROR" => Some(Self::NotCriticalError),
                "NO_RESULTS_ON_PAGE" => Some(Self::NoResultsOnPage),
                "PARTIAL_SUCCESS" => Some(Self::PartialSuccess),
                "QUOTA_INFO_UNAVAILABLE" => Some(Self::QuotaInfoUnavailable),
                "REQUIRED_TOS_AGREEMENT" => Some(Self::RequiredTosAgreement),
                "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING" => {
                    Some(Self::ResourceInUseByOtherResourceWarning)
                }
                "RESOURCE_NOT_DELETED" => Some(Self::ResourceNotDeleted),
                "SCHEMA_VALIDATION_IGNORED" => Some(Self::SchemaValidationIgnored),
                "SINGLE_INSTANCE_PROPERTY_TEMPLATE" => {
                    Some(Self::SingleInstancePropertyTemplate)
                }
                "UNDECLARED_PROPERTIES" => Some(Self::UndeclaredProperties),
                "UNREACHABLE" => Some(Self::Unreachable),
                _ => None,
            }
        }
    }
}
/// In contrast to a single BackendService in
/// HttpRouteAction to which all matching traffic is directed to,WeightedBackendService allows traffic to be split across
/// multiple backend services. The volume of traffic for each
/// backend service is proportional to the weight specified
/// in each WeightedBackendService
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WeightedBackendService {
    /// The full or partial URL to the default BackendService
    /// resource. Before
    /// forwarding the request to backendService, the load balancer
    /// applies any relevant headerActions specified as part of thisbackendServiceWeight.
    #[prost(string, optional, tag = "306946058")]
    pub backend_service: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies changes to request and response headers that need to take
    /// effect for the selected backendService.
    ///
    /// headerAction specified here take effect beforeheaderAction in the enclosing HttpRouteRule,PathMatcher and UrlMap.
    ///
    /// headerAction is not supported for load balancers that have
    /// their loadBalancingScheme set to EXTERNAL.
    ///
    /// Not supported when the URL map is bound to a target gRPC proxy that
    /// has validateForProxyless field set to true.
    #[prost(message, optional, tag = "328077352")]
    pub header_action: ::core::option::Option<HttpHeaderAction>,
    /// Specifies the fraction of traffic sent to a backend service,
    /// computed asweight / (sum of all weightedBackendService weights in routeAction).
    ///
    /// The selection of a backend service is determined only for new traffic.
    /// Once a user's request has been directed to a backend service,
    /// subsequent requests are sent to the same backend service as
    /// determined by the backend service's session affinity policy.
    /// Don't configure session affinity if you're using weighted traffic
    /// splitting. If you do, the weighted traffic splitting configuration takes
    /// precedence.
    ///
    /// The value must be from 0 to 1000.
    #[prost(uint32, optional, tag = "282149496")]
    pub weight: ::core::option::Option<u32>,
}
/// A pseudowire that connects two Interconnect connections.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Wire {
    /// Output only. \[Output Only\] Indicates whether the wire is enabled.
    /// When false, the wire is disabled. When true and when the wire group of
    /// the wire is also enabled, the wire is enabled. Defaults to true.
    #[prost(bool, optional, tag = "445675089")]
    pub admin_enabled: ::core::option::Option<bool>,
    /// Output only. Wire endpoints are specific Interconnect connections.
    #[prost(message, repeated, tag = "287085950")]
    pub endpoints: ::prost::alloc::vec::Vec<WireEndpoint>,
    /// Output only. \[Output Only\] A label that identifies the wire. The format of this label
    /// combines the existing labels of the wire group endpoints and Interconnect
    /// connections used by this wire in alphabetical order as follows:
    /// `ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where:
    ///
    /// ```text
    /// - ENDPOINT_A and ENDPOINT_B: are the labels
    /// that you entered as map keys when you specified the wire group endpoint
    /// objects.
    /// - CONNECTION_A1 and CONNECTION_B1: are the
    /// labels that you entered as map keys when you specified the wire group
    /// Interconnect objects.
    /// ```
    #[prost(string, optional, tag = "102727412")]
    pub label: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Properties of the wire.
    #[prost(message, optional, tag = "303111469")]
    pub wire_properties: ::core::option::Option<WireProperties>,
}
/// Wire endpoints are specific Interconnect connections.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WireEndpoint {
    #[prost(string, optional, tag = "224601230")]
    pub interconnect: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(int32, optional, tag = "514640574")]
    pub vlan_tag: ::core::option::Option<i32>,
}
/// A resource that represents a group of redundant wires.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WireGroup {
    /// Indicates whether the wires in the wire group are enabled. When false, the
    /// wires in the wire group are disabled. When true and when
    /// there is simultaneously no wire-specific override of `adminEnabled` to
    /// false, a given wire is enabled. Defaults to true.
    #[prost(bool, optional, tag = "445675089")]
    pub admin_enabled: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// An optional description of the wire group.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// A map that contains the logical endpoints of the wire group. Specify
    /// key-value pairs for the map as follows:
    ///
    /// ```text
    /// - Key: an RFC1035 user-specified label.
    /// - Value: an Endpoint object.
    /// ```
    #[prost(map = "string, message", tag = "287085950")]
    pub endpoints: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        WireGroupEndpoint,
    >,
    /// Output only. \[Output Only\] The unique identifier for the resource type. The server
    /// generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#wireGroups for wire groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Name of the resource. Provided by the client when the resource is created.
    /// The name must be 1-63 characters long, and comply withRFC1035.
    /// Specifically, the name must be 1-63 characters long and match the regular
    /// expression `[a-z](\[-a-z0-9\]*[a-z0-9])?` which means the first
    /// character must be a lowercase letter, and all following characters must
    /// be a dash, lowercase letter, or digit, except the last character, which
    /// cannot be a dash.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Indicates whether there are wire changes yet to be processed.
    #[prost(bool, optional, tag = "432155787")]
    pub reconciling: ::core::option::Option<bool>,
    /// Output only. \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Topology details for the wire group configuration.
    #[prost(message, optional, tag = "122274415")]
    pub topology: ::core::option::Option<WireGroupTopology>,
    /// Properties for all wires in the wire group.
    #[prost(message, optional, tag = "303111469")]
    pub wire_properties: ::core::option::Option<WireProperties>,
    /// Output only. The single/redundant wire(s) managed by the wire group.
    #[prost(message, repeated, tag = "113139854")]
    pub wires: ::prost::alloc::vec::Vec<Wire>,
}
/// A logical endpoint for the wire group. An endpoint represents a metro that
/// contains redundant Interconnect connections. A wire group is created
/// between two endpoints.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WireGroupEndpoint {
    /// A map that contains the redundant Interconnect connections. Specify
    /// key-value pairs for the map as follows:
    ///
    /// ```text
    /// - Key: an RFC1035 user-specified label.
    /// - Value: an Interconnect object.
    /// ```
    #[prost(map = "string, message", tag = "520187301")]
    pub interconnects: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        WireGroupEndpointInterconnect,
    >,
}
/// The redundant Interconnect connections for this endpoint.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WireGroupEndpointInterconnect {
    /// Required. An Interconnect connection. You can specify the connection as
    /// a partial or full URL. If the connection is in a different project from
    /// the cross-site network, use a format that specifies the project. See
    /// the following examples of partial and full URLs:
    ///
    /// ```text
    ///    global/interconnects/NAME
    ///
    ///
    ///     projects/PROJECT_ID/global/interconnects/NAME
    ///
    /// -
    ///    <https://compute.googleapis.com/compute/projects/PROJECT_ID/global/interconnects/NAME>
    /// ```
    #[prost(string, optional, tag = "224601230")]
    pub interconnect: ::core::option::Option<::prost::alloc::string::String>,
    /// Required. To configure the wire group for VLAN mode, enter a VLAN tag,
    /// which is a number from `2` to `4093`. You can autoallocate a tag by
    /// entering `0`. To configure the wire group for port mode, enter `-1`.
    /// Review the following guidelines:
    ///
    /// ```text
    /// - A VLAN tag must be unique for an Interconnect connection across all
    /// attachments and wire groups.
    /// - Both endpoints of a wire must use the same VLAN tag value.
    /// - Single wire and redundant type wire groups must have only one
    /// VLAN tag.
    /// - Port mode pseudowires must have a single VLAN tag with a value of
    /// `-1` for both endpoints.
    /// - Box and cross type wire groups must have two VLAN tags. The first
    /// is for the same-zone pseudowire, and the second is for the cross-zone
    /// pseudowire.
    /// ```
    #[prost(int32, repeated, tag = "384601461")]
    pub vlan_tags: ::prost::alloc::vec::Vec<i32>,
}
/// Response for the list request.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WireGroupList {
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of wire group resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<WireGroup>,
    /// Output only. \[Output Only\] Type of the resource. Alwayscompute#wireGroups for wire groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Unreachable resources.
    /// end_interface: MixerListResponseWithEtagBuilder
    #[prost(string, repeated, tag = "243372063")]
    pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Topology details for the wire group.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WireGroupTopology {
    /// Output only. Topology details for all endpoints in the wire group.
    #[prost(message, repeated, tag = "287085950")]
    pub endpoints: ::prost::alloc::vec::Vec<WireGroupTopologyEndpoint>,
}
/// Topology details for a single wire group endpoint.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WireGroupTopologyEndpoint {
    /// Output only. The InterconnectLocation.city (metropolitan area designator) that all
    /// interconnects are located in.
    #[prost(string, optional, tag = "3053931")]
    pub city: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. Endpoint label from the wire group.
    #[prost(string, optional, tag = "102727412")]
    pub label: ::core::option::Option<::prost::alloc::string::String>,
}
/// The properties of a wire.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WireProperties {
    /// The configuration of the bandwidth allocation, one of the following:
    ///
    /// ```text
    /// - ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation
    /// (and associated charges) for each wire in the group.
    /// - SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures
    /// one unmetered bandwidth allocation for the wire group. The unmetered
    /// bandwidth is divided equally across each wire in the group, but dynamic
    /// throttling reallocates unused unmetered bandwidth from unused or underused
    /// wires to other wires in the group.
    /// ```
    ///
    /// Check the BandwidthAllocation enum for the list of possible values.
    #[prost(string, optional, tag = "90651950")]
    pub bandwidth_allocation: ::core::option::Option<::prost::alloc::string::String>,
    /// The unmetered bandwidth in Gigabits per second, using decimal units. `10`
    /// is 10 Gbps, `100` is 100 Gbps. The bandwidth must be greater than 0.
    #[prost(int64, optional, tag = "272650017")]
    pub bandwidth_unmetered: ::core::option::Option<i64>,
    /// Response when a fault is detected in a pseudowire:
    ///
    /// ```text
    /// - NONE: default.
    /// - DISABLE_PORT: set the port line protocol down when inline probes
    /// detect a fault. This setting is only permitted on port mode
    /// pseudowires.
    /// ```
    ///
    /// Check the FaultResponse enum for the list of possible values.
    #[prost(string, optional, tag = "353587646")]
    pub fault_response: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `WireProperties`.
pub mod wire_properties {
    /// The configuration of the bandwidth allocation, one of the following:
    ///
    /// ```text
    /// - ALLOCATE_PER_WIRE: configures a separate unmetered bandwidth allocation
    /// (and associated charges) for each wire in the group.
    /// - SHARED_WITH_WIRE_GROUP: this is the default behavior, which configures
    /// one unmetered bandwidth allocation for the wire group. The unmetered
    /// bandwidth is divided equally across each wire in the group, but dynamic
    /// throttling reallocates unused unmetered bandwidth from unused or underused
    /// wires to other wires in the group.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum BandwidthAllocation {
        /// A value indicating that the enum field is not set.
        UndefinedBandwidthAllocation = 0,
        /// Configures a separate unmetered bandwidth allocation (and associated
        /// charges) for each wire in the group.
        AllocatePerWire = 358730057,
        /// This is the default behavior. Configures one unmetered bandwidth
        /// allocation for the wire group. The unmetered bandwidth is divided equally
        /// across each wire in the group, but dynamic throttling reallocates unused
        /// unmetered bandwidth from unused or underused wires to other wires in the
        /// group.
        SharedWithWireGroup = 286454628,
    }
    impl BandwidthAllocation {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedBandwidthAllocation => "UNDEFINED_BANDWIDTH_ALLOCATION",
                Self::AllocatePerWire => "ALLOCATE_PER_WIRE",
                Self::SharedWithWireGroup => "SHARED_WITH_WIRE_GROUP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_BANDWIDTH_ALLOCATION" => {
                    Some(Self::UndefinedBandwidthAllocation)
                }
                "ALLOCATE_PER_WIRE" => Some(Self::AllocatePerWire),
                "SHARED_WITH_WIRE_GROUP" => Some(Self::SharedWithWireGroup),
                _ => None,
            }
        }
    }
    /// Response when a fault is detected in a pseudowire:
    ///
    /// ```text
    /// - NONE: default.
    /// - DISABLE_PORT: set the port line protocol down when inline probes
    /// detect a fault. This setting is only permitted on port mode
    /// pseudowires.
    /// ```
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum FaultResponse {
        /// A value indicating that the enum field is not set.
        UndefinedFaultResponse = 0,
        /// Set the port line protocol down when inline probes detect a fault. This
        /// setting is only permitted on port mode pseudowires.
        DisablePort = 287086488,
        /// Default.
        None = 2402104,
    }
    impl FaultResponse {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedFaultResponse => "UNDEFINED_FAULT_RESPONSE",
                Self::DisablePort => "DISABLE_PORT",
                Self::None => "NONE",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_FAULT_RESPONSE" => Some(Self::UndefinedFaultResponse),
                "DISABLE_PORT" => Some(Self::DisablePort),
                "NONE" => Some(Self::None),
                _ => None,
            }
        }
    }
}
/// A request message for PublicAdvertisedPrefixes.Withdraw. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WithdrawPublicAdvertisedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the public advertised prefix. It should comply with RFC1035.
    #[prost(string, tag = "101874590")]
    pub public_advertised_prefix: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// A request message for PublicDelegatedPrefixes.Withdraw. See the method description for details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WithdrawPublicDelegatedPrefixeRequest {
    /// Project ID for this request.
    #[prost(string, tag = "227560217")]
    pub project: ::prost::alloc::string::String,
    /// The name of the public delegated prefix. It should comply with RFC1035.
    #[prost(string, tag = "204238440")]
    pub public_delegated_prefix: ::prost::alloc::string::String,
    /// The name of theregion where
    /// the public delegated prefix is located. It should comply with RFC1035.
    #[prost(string, tag = "138946292")]
    pub region: ::prost::alloc::string::String,
    /// An optional request ID to identify requests. Specify a unique request ID so
    /// that if you must retry your request, the server will know to ignore the
    /// request if it has already been completed.
    ///
    /// For example, consider a situation where you make an initial request and
    /// the request times out. If you make the request again with the same
    /// request ID, the server can check if original operation with the same
    /// request ID was received, and if so, will ignore the second request. This
    /// prevents clients from accidentally creating duplicate commitments.
    ///
    /// The request ID must be
    /// a valid UUID with the exception that zero UUID is not supported
    /// (00000000-0000-0000-0000-000000000000).
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WorkloadIdentityConfig {
    #[prost(string, optional, tag = "401109182")]
    pub identity: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(bool, optional, tag = "342892440")]
    pub identity_certificate_enabled: ::core::option::Option<bool>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct XpnHostList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] A list of shared VPC host project URLs.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Project>,
    /// Output only. \[Output Only\] Type of resource. Always compute#xpnHostList for
    /// lists of shared VPC hosts.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
/// Service resource (a.k.a service project) ID.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct XpnResourceId {
    /// The ID of the service resource. In the case of projects, this field
    /// supports project id (e.g., my-project-123) and project number
    /// (e.g. 12345678).
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// The type of the service resource.
    /// Check the Type enum for the list of possible values.
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `XpnResourceId`.
pub mod xpn_resource_id {
    /// The type of the service resource.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Type {
        /// A value indicating that the enum field is not set.
        UndefinedType = 0,
        Project = 408671993,
        XpnResourceTypeUnspecified = 151607034,
    }
    impl Type {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedType => "UNDEFINED_TYPE",
                Self::Project => "PROJECT",
                Self::XpnResourceTypeUnspecified => "XPN_RESOURCE_TYPE_UNSPECIFIED",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_TYPE" => Some(Self::UndefinedType),
                "PROJECT" => Some(Self::Project),
                "XPN_RESOURCE_TYPE_UNSPECIFIED" => Some(Self::XpnResourceTypeUnspecified),
                _ => None,
            }
        }
    }
}
/// Represents a Zone resource.
///
/// A zone is a deployment area. These deployment areas are subsets of a region.
/// For example the zone us-east1-b is located in theus-east1 region. For more information, readRegions and
/// Zones.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Zone {
    /// \[Output Only\] Available cpu/platform selections for the zone.
    #[prost(string, repeated, tag = "175536531")]
    pub available_cpu_platforms: ::prost::alloc::vec::Vec<
        ::prost::alloc::string::String,
    >,
    /// \[Output Only\] Creation timestamp inRFC3339
    /// text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The deprecation status associated with this zone.
    #[prost(message, optional, tag = "515138995")]
    pub deprecated: ::core::option::Option<DeprecationStatus>,
    /// \[Output Only\] Textual description of the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] The unique identifier for the resource. This identifier is
    /// defined by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// Output only. \[Output Only\] Type of the resource. Always compute#zone for
    /// zones.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Name of the resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Full URL reference to the region which hosts the zone.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Status of the zone, either UP orDOWN.
    /// Check the Status enum for the list of possible values.
    #[prost(string, optional, tag = "181260274")]
    pub status: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Reserved for future use.
    #[prost(bool, optional, tag = "83983214")]
    pub supports_pzs: ::core::option::Option<bool>,
}
/// Nested message and enum types in `Zone`.
pub mod zone {
    /// \[Output Only\] Status of the zone, either UP orDOWN.
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    pub enum Status {
        /// A value indicating that the enum field is not set.
        UndefinedStatus = 0,
        Down = 2104482,
        Up = 2715,
    }
    impl Status {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::UndefinedStatus => "UNDEFINED_STATUS",
                Self::Down => "DOWN",
                Self::Up => "UP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "UNDEFINED_STATUS" => Some(Self::UndefinedStatus),
                "DOWN" => Some(Self::Down),
                "UP" => Some(Self::Up),
                _ => None,
            }
        }
    }
}
/// Contains a list of zone resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ZoneList {
    /// \[Output Only\] Unique identifier for the resource; defined by the server.
    #[prost(string, optional, tag = "3355")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
    /// A list of Zone resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<Zone>,
    /// Output only. Type of resource.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] This token allows you to get the next page of results for
    /// list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
    /// the query parameter pageToken in the next list request.
    /// Subsequent list requests will have their own nextPageToken to
    /// continue paging through the results.
    #[prost(string, optional, tag = "79797525")]
    pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
    /// Output only. \[Output Only\] Server-defined URL for this resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// \[Output Only\] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ZoneSetLabelsRequest {
    /// The fingerprint of the previous set of labels for this resource,
    /// used to detect conflicts. The fingerprint is initially generated by Compute
    /// Engine and changes after every request to modify or update labels. You must
    /// always provide an up-to-date fingerprint hash in order to update or change
    /// labels. Make a get() request to the resource to get the latest
    /// fingerprint.
    #[prost(string, optional, tag = "178124825")]
    pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// The labels to set for this resource.
    #[prost(map = "string, string", tag = "500195327")]
    pub labels: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ZoneSetNestedPolicyRequest {
    /// Flatten Policy to create a backwacd compatible wire-format.
    /// Deprecated. Use 'policy' to specify bindings.
    #[prost(message, repeated, tag = "403251854")]
    pub bindings: ::prost::alloc::vec::Vec<Binding>,
    /// Flatten Policy to create a backward compatible wire-format.
    /// Deprecated. Use 'policy' to specify the etag.
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// REQUIRED: The complete policy to be applied to the 'resource'. The size of
    /// the policy is limited to a few 10s of KB. An empty policy is in general a
    /// valid policy but certain services (like Projects) might reject them.
    #[prost(message, optional, tag = "91071794")]
    pub policy: ::core::option::Option<Policy>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ZoneSetPolicyRequest {
    /// Flatten Policy to create a backwacd compatible wire-format.
    /// Deprecated. Use 'policy' to specify bindings.
    #[prost(message, repeated, tag = "403251854")]
    pub bindings: ::prost::alloc::vec::Vec<Binding>,
    /// Flatten Policy to create a backward compatible wire-format.
    /// Deprecated. Use 'policy' to specify the etag.
    #[prost(string, optional, tag = "3123477")]
    pub etag: ::core::option::Option<::prost::alloc::string::String>,
    /// REQUIRED: The complete policy to be applied to the 'resource'. The size of
    /// the policy is limited to a few 10s of KB. An empty policy is in general a
    /// valid policy but certain services (like Projects) might reject them.
    #[prost(message, optional, tag = "91071794")]
    pub policy: ::core::option::Option<Policy>,
}
/// Generated client implementations.
pub mod accelerator_types_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// Services
    ///
    /// The AcceleratorTypes API.
    #[derive(Debug, Clone)]
    pub struct AcceleratorTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl AcceleratorTypesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> AcceleratorTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> AcceleratorTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            AcceleratorTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of accelerator types.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListAcceleratorTypesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::AcceleratorTypeAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.AcceleratorTypes/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.AcceleratorTypes",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified accelerator type.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetAcceleratorTypeRequest>,
        ) -> std::result::Result<
            tonic::Response<super::AcceleratorType>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.AcceleratorTypes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.AcceleratorTypes", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of accelerator types that are available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListAcceleratorTypesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::AcceleratorTypeList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.AcceleratorTypes/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.AcceleratorTypes", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod addresses_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Addresses API.
    #[derive(Debug, Clone)]
    pub struct AddressesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl AddressesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> AddressesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> AddressesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            AddressesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of addresses.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListAddressesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::AddressAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Addresses/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Addresses",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified address resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteAddressRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Addresses/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Addresses", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified address resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetAddressRequest>,
        ) -> std::result::Result<tonic::Response<super::Address>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Addresses/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Addresses", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Creates an address resource in the specified project by using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertAddressRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Addresses/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Addresses", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of addresses contained within
        /// the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListAddressesRequest>,
        ) -> std::result::Result<tonic::Response<super::AddressList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Addresses/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Addresses", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Moves the specified address resource.
        pub async fn r#move(
            &mut self,
            request: impl tonic::IntoRequest<super::MoveAddressRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Addresses/Move",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Addresses", "Move"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on an Address. To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsAddressRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Addresses/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Addresses", "SetLabels"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsAddressRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Addresses/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Addresses",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod advice_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Advice API.
    #[derive(Debug, Clone)]
    pub struct AdviceClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl AdviceClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> AdviceClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> AdviceClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            AdviceClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Advise how, where and when to create the requested amount of instances
        /// with specified accelerators, within the specified time and location limits.
        /// The method recommends creating future reservations for the requested
        /// resources.
        pub async fn calendar_mode(
            &mut self,
            request: impl tonic::IntoRequest<super::CalendarModeAdviceRpcRequest>,
        ) -> std::result::Result<
            tonic::Response<super::CalendarModeAdviceResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Advice/CalendarMode",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Advice", "CalendarMode"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod autoscalers_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Autoscalers API.
    #[derive(Debug, Clone)]
    pub struct AutoscalersClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl AutoscalersClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> AutoscalersClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> AutoscalersClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            AutoscalersClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of autoscalers.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListAutoscalersRequest>,
        ) -> std::result::Result<
            tonic::Response<super::AutoscalerAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Autoscalers/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Autoscalers",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified autoscaler.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteAutoscalerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Autoscalers/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Autoscalers", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified autoscaler resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetAutoscalerRequest>,
        ) -> std::result::Result<tonic::Response<super::Autoscaler>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Autoscalers/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Autoscalers", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Creates an autoscaler in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertAutoscalerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Autoscalers/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Autoscalers", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of autoscalers contained within
        /// the specified zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListAutoscalersRequest>,
        ) -> std::result::Result<tonic::Response<super::AutoscalerList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Autoscalers/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Autoscalers", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Updates an autoscaler in the specified project using the data
        /// included in the request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchAutoscalerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Autoscalers/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Autoscalers", "Patch"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsAutoscalerRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Autoscalers/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Autoscalers",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates an autoscaler in the specified project using the data
        /// included in the request.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateAutoscalerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Autoscalers/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Autoscalers", "Update"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod backend_buckets_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The BackendBuckets API.
    #[derive(Debug, Clone)]
    pub struct BackendBucketsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl BackendBucketsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> BackendBucketsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> BackendBucketsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            BackendBucketsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Adds a key for validating requests with signed URLs for this backend
        /// bucket.
        pub async fn add_signed_url_key(
            &mut self,
            request: impl tonic::IntoRequest<super::AddSignedUrlKeyBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/AddSignedUrlKey",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendBuckets",
                        "AddSignedUrlKey",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of all BackendBucket resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListBackendBucketsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::BackendBucketAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendBuckets",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified BackendBucket resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendBuckets", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes a key for validating requests with signed URLs for this backend
        /// bucket.
        pub async fn delete_signed_url_key(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteSignedUrlKeyBackendBucketRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/DeleteSignedUrlKey",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendBuckets",
                        "DeleteSignedUrlKey",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified BackendBucket resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::BackendBucket>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendBuckets", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendBuckets",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a BackendBucket resource in the specified project using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendBuckets", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of BackendBucket resources available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListBackendBucketsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::BackendBucketList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendBuckets", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of all usable backend buckets in the specified project.
        pub async fn list_usable(
            &mut self,
            request: impl tonic::IntoRequest<super::ListUsableBackendBucketsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::BackendBucketListUsable>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/ListUsable",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendBuckets",
                        "ListUsable",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified BackendBucket resource with the data included in the
        /// request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendBuckets", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the edge security policy for the specified backend bucket.
        pub async fn set_edge_security_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetEdgeSecurityPolicyBackendBucketRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/SetEdgeSecurityPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendBuckets",
                        "SetEdgeSecurityPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendBuckets",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsBackendBucketRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendBuckets",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified BackendBucket resource with the data included in the
        /// request.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendBuckets", "Update"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod backend_services_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The BackendServices API.
    #[derive(Debug, Clone)]
    pub struct BackendServicesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl BackendServicesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> BackendServicesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> BackendServicesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            BackendServicesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Adds a key for validating requests with signed URLs for this backend
        /// service.
        pub async fn add_signed_url_key(
            &mut self,
            request: impl tonic::IntoRequest<super::AddSignedUrlKeyBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/AddSignedUrlKey",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "AddSignedUrlKey",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of all BackendService resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListBackendServicesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::BackendServiceAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified BackendService resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendServices", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes a key for validating requests with signed URLs for this backend
        /// service.
        pub async fn delete_signed_url_key(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteSignedUrlKeyBackendServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/DeleteSignedUrlKey",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "DeleteSignedUrlKey",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified BackendService resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::BackendService>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendServices", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns effective security policies applied to this backend service.
        pub async fn get_effective_security_policies(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetEffectiveSecurityPoliciesBackendServiceRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::GetEffectiveSecurityPoliciesBackendServiceResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/GetEffectiveSecurityPolicies",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "GetEffectiveSecurityPolicies",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the most recent health check results for this
        /// BackendService.
        ///
        /// Example request body:
        ///
        /// {
        /// "group": "/zones/us-east1-b/instanceGroups/lb-backend-example"
        /// }
        pub async fn get_health(
            &mut self,
            request: impl tonic::IntoRequest<super::GetHealthBackendServiceRequest>,
        ) -> std::result::Result<
            tonic::Response<super::BackendServiceGroupHealth>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/GetHealth",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "GetHealth",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a BackendService resource in the specified project using
        /// the data included in the request. For more information, see
        /// Backend services overview.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendServices", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of BackendService resources available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListBackendServicesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::BackendServiceList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendServices", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of all usable backend services in the specified project.
        pub async fn list_usable(
            &mut self,
            request: impl tonic::IntoRequest<super::ListUsableBackendServicesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::BackendServiceListUsable>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/ListUsable",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "ListUsable",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified BackendService resource with the data included in the
        /// request. For more information, see
        /// Backend services overview. This method
        /// supports PATCH semantics and uses the JSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendServices", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the edge security policy for the specified backend service.
        pub async fn set_edge_security_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetEdgeSecurityPolicyBackendServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/SetEdgeSecurityPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "SetEdgeSecurityPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the Google Cloud Armor security policy for the specified backend
        /// service. For more information, seeGoogle
        /// Cloud Armor Overview
        pub async fn set_security_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetSecurityPolicyBackendServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/SetSecurityPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "SetSecurityPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsBackendServiceRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.BackendServices",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified BackendService resource with the data included in the
        /// request. For more information, seeBackend
        /// services overview.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.BackendServices", "Update"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod cross_site_networks_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The CrossSiteNetworks API.
    #[derive(Debug, Clone)]
    pub struct CrossSiteNetworksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl CrossSiteNetworksClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> CrossSiteNetworksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> CrossSiteNetworksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            CrossSiteNetworksClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified cross-site network in the given scope.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteCrossSiteNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.CrossSiteNetworks/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.CrossSiteNetworks",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified cross-site network in the given scope.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetCrossSiteNetworkRequest>,
        ) -> std::result::Result<
            tonic::Response<super::CrossSiteNetwork>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.CrossSiteNetworks/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.CrossSiteNetworks", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a cross-site network in the specified project in the given scope
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertCrossSiteNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.CrossSiteNetworks/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.CrossSiteNetworks",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the cross-site networks for a project in the given scope.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListCrossSiteNetworksRequest>,
        ) -> std::result::Result<
            tonic::Response<super::CrossSiteNetworkList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.CrossSiteNetworks/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.CrossSiteNetworks", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified cross-site network with the data included in
        /// the request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchCrossSiteNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.CrossSiteNetworks/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.CrossSiteNetworks", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod disk_types_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The DiskTypes API.
    #[derive(Debug, Clone)]
    pub struct DiskTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl DiskTypesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> DiskTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> DiskTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            DiskTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of disk types.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListDiskTypesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::DiskTypeAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.DiskTypes/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.DiskTypes",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified disk type.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetDiskTypeRequest>,
        ) -> std::result::Result<tonic::Response<super::DiskType>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.DiskTypes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.DiskTypes", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of disk types available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListDiskTypesRequest>,
        ) -> std::result::Result<tonic::Response<super::DiskTypeList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.DiskTypes/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.DiskTypes", "List"));
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod disks_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Disks API.
    #[derive(Debug, Clone)]
    pub struct DisksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl DisksClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> DisksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> DisksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            DisksClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Adds existing resource policies to a disk. You can only add one
        /// policy which will be applied to this disk for scheduling snapshot
        /// creation.
        pub async fn add_resource_policies(
            &mut self,
            request: impl tonic::IntoRequest<super::AddResourcePoliciesDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/AddResourcePolicies",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Disks",
                        "AddResourcePolicies",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves an aggregated list of persistent disks.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListDisksRequest>,
        ) -> std::result::Result<
            tonic::Response<super::DiskAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Disks", "AggregatedList"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Bulk create a set of disks.
        pub async fn bulk_insert(
            &mut self,
            request: impl tonic::IntoRequest<super::BulkInsertDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/BulkInsert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Disks", "BulkInsert"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on many disks at once. To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn bulk_set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::BulkSetLabelsDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/BulkSetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Disks", "BulkSetLabels"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a snapshot of a specified persistent disk. For regular snapshot
        /// creation, consider using snapshots.insert
        /// instead, as that method supports more features, such as creating snapshots
        /// in a project different from the source disk project.
        pub async fn create_snapshot(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateSnapshotDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/CreateSnapshot",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Disks", "CreateSnapshot"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified persistent disk. Deleting a disk removes its data
        /// permanently and is irreversible. However, deleting a disk does not
        /// delete any snapshots
        /// previously made from the disk. You must separatelydelete
        /// snapshots.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Disks", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified persistent disk.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Disk>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Disks", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Disks", "GetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a persistent disk in the specified project using the data
        /// in the request. You can create a disk from a source
        /// (sourceImage, sourceSnapshot, orsourceDisk) or create an empty 500 GB data disk by
        /// omitting all properties. You can also create a disk that is larger than
        /// the default size by specifying the sizeGb property.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Disks", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of persistent disks contained within
        /// the specified zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListDisksRequest>,
        ) -> std::result::Result<tonic::Response<super::DiskList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Disks", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Removes resource policies from a disk.
        pub async fn remove_resource_policies(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveResourcePoliciesDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/RemoveResourcePolicies",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Disks",
                        "RemoveResourcePolicies",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Resizes the specified persistent disk.
        /// You can only increase the size of the disk.
        pub async fn resize(
            &mut self,
            request: impl tonic::IntoRequest<super::ResizeDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/Resize",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Disks", "Resize"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Disks", "SetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a disk. To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Disks", "SetLabels"));
            self.inner.unary(req, path, codec).await
        }
        /// Starts asynchronous replication.
        /// Must be invoked on the primary disk.
        pub async fn start_async_replication(
            &mut self,
            request: impl tonic::IntoRequest<super::StartAsyncReplicationDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/StartAsyncReplication",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Disks",
                        "StartAsyncReplication",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Stops asynchronous replication.
        /// Can be invoked either on the primary or on the secondary disk.
        pub async fn stop_async_replication(
            &mut self,
            request: impl tonic::IntoRequest<super::StopAsyncReplicationDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/StopAsyncReplication",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Disks",
                        "StopAsyncReplication",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Stops asynchronous replication for a consistency group of disks.
        /// Can be invoked either in the primary or secondary scope.
        pub async fn stop_group_async_replication(
            &mut self,
            request: impl tonic::IntoRequest<super::StopGroupAsyncReplicationDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/StopGroupAsyncReplication",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Disks",
                        "StopGroupAsyncReplication",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsDiskRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Disks",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified disk with the data included in the request.
        /// The update is performed only on selected fields included as part
        /// of update-mask.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Disks", "Update"));
            self.inner.unary(req, path, codec).await
        }
        /// Rotates the customer-managed
        /// encryption key to the latest version for the specified persistent disk.
        pub async fn update_kms_key(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateKmsKeyDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/UpdateKmsKey",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Disks", "UpdateKmsKey"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod external_vpn_gateways_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The ExternalVpnGateways API.
    #[derive(Debug, Clone)]
    pub struct ExternalVpnGatewaysClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ExternalVpnGatewaysClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ExternalVpnGatewaysClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ExternalVpnGatewaysClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ExternalVpnGatewaysClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified externalVpnGateway.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteExternalVpnGatewayRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ExternalVpnGateways",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified externalVpnGateway. Get a list of available
        /// externalVpnGateways by making a list() request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetExternalVpnGatewayRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ExternalVpnGateway>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ExternalVpnGateways", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a ExternalVpnGateway in the specified project using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertExternalVpnGatewayRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ExternalVpnGateways",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of ExternalVpnGateway available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListExternalVpnGatewaysRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ExternalVpnGatewayList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ExternalVpnGateways",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on an ExternalVpnGateway. To learn more about labels,
        /// read the Labeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsExternalVpnGatewayRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ExternalVpnGateways",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsExternalVpnGatewayRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ExternalVpnGateways",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod firewall_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The FirewallPolicies API.
    #[derive(Debug, Clone)]
    pub struct FirewallPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl FirewallPoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> FirewallPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> FirewallPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            FirewallPoliciesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Inserts an association for the specified firewall policy.
        pub async fn add_association(
            &mut self,
            request: impl tonic::IntoRequest<super::AddAssociationFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/AddAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "AddAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Inserts a rule into a firewall policy.
        pub async fn add_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::AddRuleFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/AddRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "AddRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Copies rules to the specified firewall policy.
        pub async fn clone_rules(
            &mut self,
            request: impl tonic::IntoRequest<super::CloneRulesFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/CloneRules",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "CloneRules",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified policy.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.FirewallPolicies", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified firewall policy.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::FirewallPolicy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.FirewallPolicies", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets an association with the specified name.
        pub async fn get_association(
            &mut self,
            request: impl tonic::IntoRequest<super::GetAssociationFirewallPolicyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPolicyAssociation>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/GetAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "GetAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets a rule of the specified priority.
        pub async fn get_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRuleFirewallPolicyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPolicyRule>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/GetRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "GetRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new policy in the specified project using the data included in
        /// the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.FirewallPolicies", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all the policies that have been configured for the specified
        /// folder or organization.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListFirewallPoliciesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPolicyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.FirewallPolicies", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists associations of a specified target, i.e., organization or folder.
        pub async fn list_associations(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListAssociationsFirewallPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPoliciesListAssociationsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/ListAssociations",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "ListAssociations",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Moves the specified firewall policy.
        pub async fn r#move(
            &mut self,
            request: impl tonic::IntoRequest<super::MoveFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/Move",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.FirewallPolicies", "Move"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified policy with the data included in the request.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.FirewallPolicies", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches a rule of the specified priority.
        pub async fn patch_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRuleFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/PatchRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "PatchRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Removes an association for the specified firewall policy.
        pub async fn remove_association(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemoveAssociationFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/RemoveAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "RemoveAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes a rule of the specified priority.
        pub async fn remove_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveRuleFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/RemoveRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "RemoveRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsFirewallPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FirewallPolicies",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod firewalls_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Firewalls API.
    #[derive(Debug, Clone)]
    pub struct FirewallsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl FirewallsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> FirewallsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> FirewallsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            FirewallsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified firewall.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteFirewallRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Firewalls/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Firewalls", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified firewall.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetFirewallRequest>,
        ) -> std::result::Result<tonic::Response<super::Firewall>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Firewalls/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Firewalls", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Creates a firewall rule in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertFirewallRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Firewalls/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Firewalls", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of firewall rules available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListFirewallsRequest>,
        ) -> std::result::Result<tonic::Response<super::FirewallList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Firewalls/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Firewalls", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified firewall rule with the data included in the
        /// request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchFirewallRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Firewalls/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Firewalls", "Patch"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsFirewallRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Firewalls/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Firewalls",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified firewall rule with the data included in the
        /// request.
        /// Note that all fields will be updated if using PUT, even fields that are not
        /// specified. To update individual fields, please use PATCH instead.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateFirewallRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Firewalls/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Firewalls", "Update"));
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod forwarding_rules_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The ForwardingRules API.
    #[derive(Debug, Clone)]
    pub struct ForwardingRulesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ForwardingRulesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ForwardingRulesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ForwardingRulesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ForwardingRulesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of forwarding rules.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListForwardingRulesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ForwardingRuleAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ForwardingRules",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified ForwardingRule resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ForwardingRules", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified ForwardingRule resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::ForwardingRule>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ForwardingRules", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a ForwardingRule resource in the specified project and region using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ForwardingRules", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of ForwardingRule resources available to the specified
        /// project and region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListForwardingRulesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ForwardingRuleList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ForwardingRules", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified forwarding rule with the data included in the
        /// request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules. Currently, you can only
        /// patch the network_tier field.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ForwardingRules", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on the specified resource. To learn more about labels,
        /// read the
        /// Labeling Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ForwardingRules",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes target URL for forwarding rule. The new target should be of the
        /// same type as the old target.
        pub async fn set_target(
            &mut self,
            request: impl tonic::IntoRequest<super::SetTargetForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/SetTarget",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ForwardingRules",
                        "SetTarget",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod future_reservations_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The FutureReservations API.
    #[derive(Debug, Clone)]
    pub struct FutureReservationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl FutureReservationsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> FutureReservationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> FutureReservationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            FutureReservationsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of future reservations.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListFutureReservationsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::FutureReservationsAggregatedListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FutureReservations/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FutureReservations",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Cancel the specified future reservation.
        pub async fn cancel(
            &mut self,
            request: impl tonic::IntoRequest<super::CancelFutureReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FutureReservations/Cancel",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FutureReservations",
                        "Cancel",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified future reservation.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteFutureReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FutureReservations/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FutureReservations",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves information about the specified future reservation.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetFutureReservationRequest>,
        ) -> std::result::Result<
            tonic::Response<super::FutureReservation>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FutureReservations/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.FutureReservations", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new Future Reservation.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertFutureReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FutureReservations/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FutureReservations",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// A list of all the future reservations that have been configured for the
        /// specified project in specified zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListFutureReservationsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::FutureReservationsListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FutureReservations/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.FutureReservations", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified future reservation.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateFutureReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FutureReservations/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.FutureReservations",
                        "Update",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod global_addresses_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The GlobalAddresses API.
    #[derive(Debug, Clone)]
    pub struct GlobalAddressesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl GlobalAddressesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> GlobalAddressesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalAddressesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            GlobalAddressesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified address resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteGlobalAddressRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.GlobalAddresses", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified address resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGlobalAddressRequest>,
        ) -> std::result::Result<tonic::Response<super::Address>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.GlobalAddresses", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an address resource in the specified project by using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertGlobalAddressRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.GlobalAddresses", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of global addresses.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListGlobalAddressesRequest>,
        ) -> std::result::Result<tonic::Response<super::AddressList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.GlobalAddresses", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Moves the specified address resource from one project to another project.
        pub async fn r#move(
            &mut self,
            request: impl tonic::IntoRequest<super::MoveGlobalAddressRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/Move",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.GlobalAddresses", "Move"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a GlobalAddress. To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsGlobalAddressRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalAddresses",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsGlobalAddressRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalAddresses",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod global_forwarding_rules_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The GlobalForwardingRules API.
    #[derive(Debug, Clone)]
    pub struct GlobalForwardingRulesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl GlobalForwardingRulesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> GlobalForwardingRulesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalForwardingRulesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            GlobalForwardingRulesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified GlobalForwardingRule resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteGlobalForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalForwardingRules",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified GlobalForwardingRule resource. Gets a list of
        /// available forwarding rules by making a list() request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGlobalForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::ForwardingRule>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalForwardingRules",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a GlobalForwardingRule resource in the specified project using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertGlobalForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalForwardingRules",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of GlobalForwardingRule resources available to the
        /// specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListGlobalForwardingRulesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ForwardingRuleList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalForwardingRules",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified forwarding rule with the data included in the
        /// request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules. Currently, you can only
        /// patch the network_tier field.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchGlobalForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalForwardingRules",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on the specified resource. To learn more about labels,
        /// read the
        /// Labeling resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsGlobalForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalForwardingRules",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes target URL for the GlobalForwardingRule resource. The new target
        /// should be of the same type as the old target.
        pub async fn set_target(
            &mut self,
            request: impl tonic::IntoRequest<super::SetTargetGlobalForwardingRuleRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/SetTarget",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalForwardingRules",
                        "SetTarget",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod global_network_endpoint_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The GlobalNetworkEndpointGroups API.
    #[derive(Debug, Clone)]
    pub struct GlobalNetworkEndpointGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl GlobalNetworkEndpointGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> GlobalNetworkEndpointGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalNetworkEndpointGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            GlobalNetworkEndpointGroupsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Attach a network endpoint to the specified network endpoint group.
        pub async fn attach_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/AttachNetworkEndpoints",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalNetworkEndpointGroups",
                        "AttachNetworkEndpoints",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified network endpoint group.Note that the NEG cannot be
        /// deleted if there are backend services referencing it.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteGlobalNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalNetworkEndpointGroups",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Detach the network endpoint from the specified network endpoint group.
        pub async fn detach_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/DetachNetworkEndpoints",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalNetworkEndpointGroups",
                        "DetachNetworkEndpoints",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified network endpoint group.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGlobalNetworkEndpointGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEndpointGroup>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalNetworkEndpointGroups",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a network endpoint group in the specified project using the
        /// parameters that are included in the request.
        ///
        /// Note: Use the following APIs to manage network endpoint groups:
        ///
        /// ```text
        /// -
        /// To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity
        /// NEGs): zonal
        /// API
        /// -
        /// To manage NEGs with regional scope (such as regional internet NEGs,
        /// serverless NEGs, Private Service Connect NEGs): regional
        /// API
        /// -
        /// To manage NEGs with global scope (such as global internet NEGs):global
        /// API
        /// ```
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertGlobalNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalNetworkEndpointGroups",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of network endpoint groups that are located in the
        /// specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListGlobalNetworkEndpointGroupsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEndpointGroupList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalNetworkEndpointGroups",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the network endpoints in the specified network endpoint group.
        pub async fn list_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEndpointGroupsListNetworkEndpoints>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/ListNetworkEndpoints",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalNetworkEndpointGroups",
                        "ListNetworkEndpoints",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod global_operations_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The GlobalOperations API.
    #[derive(Debug, Clone)]
    pub struct GlobalOperationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl GlobalOperationsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> GlobalOperationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalOperationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            GlobalOperationsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of all operations.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListGlobalOperationsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::OperationAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOperations/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalOperations",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified Operations resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteGlobalOperationRequest>,
        ) -> std::result::Result<
            tonic::Response<super::DeleteGlobalOperationResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOperations/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.GlobalOperations", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the specified Operations resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGlobalOperationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOperations/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.GlobalOperations", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of Operation resources contained within the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListGlobalOperationsRequest>,
        ) -> std::result::Result<tonic::Response<super::OperationList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOperations/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.GlobalOperations", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Waits for the specified Operation resource to return as `DONE`
        /// or for the request to approach the 2 minute deadline, and retrieves the
        /// specified Operation resource. This method differs from the
        /// `GET` method in that it waits for no more than the default
        /// deadline (2 minutes) and then returns the current state of the operation,
        /// which might be `DONE` or still in progress.
        ///
        /// This method is called on a best-effort basis. Specifically:
        ///
        /// ```text
        /// - In uncommon cases, when the server is overloaded, the request might
        /// return before the default deadline is reached, or might return after zero
        /// seconds.
        /// - If the default deadline is reached, there is no guarantee that the
        /// operation is actually done when the method returns. Be prepared to retry
        /// if the operation is not `DONE`.
        /// ```
        pub async fn wait(
            &mut self,
            request: impl tonic::IntoRequest<super::WaitGlobalOperationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOperations/Wait",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.GlobalOperations", "Wait"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod global_organization_operations_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The GlobalOrganizationOperations API.
    #[derive(Debug, Clone)]
    pub struct GlobalOrganizationOperationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl GlobalOrganizationOperationsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> GlobalOrganizationOperationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalOrganizationOperationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            GlobalOrganizationOperationsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified Operations resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteGlobalOrganizationOperationRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::DeleteGlobalOrganizationOperationResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOrganizationOperations/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalOrganizationOperations",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the specified Operations resource. Gets a list of operations
        /// by making a `list()` request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetGlobalOrganizationOperationRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOrganizationOperations/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalOrganizationOperations",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of Operation resources contained within the specified
        /// organization.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListGlobalOrganizationOperationsRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::OperationList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOrganizationOperations/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalOrganizationOperations",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod global_public_delegated_prefixes_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The GlobalPublicDelegatedPrefixes API.
    #[derive(Debug, Clone)]
    pub struct GlobalPublicDelegatedPrefixesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl GlobalPublicDelegatedPrefixesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> GlobalPublicDelegatedPrefixesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalPublicDelegatedPrefixesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            GlobalPublicDelegatedPrefixesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified global PublicDelegatedPrefix.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteGlobalPublicDelegatedPrefixeRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified global PublicDelegatedPrefix resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetGlobalPublicDelegatedPrefixeRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::PublicDelegatedPrefix>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a global PublicDelegatedPrefix in the specified project using the
        /// parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertGlobalPublicDelegatedPrefixeRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the global PublicDelegatedPrefixes for a project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListGlobalPublicDelegatedPrefixesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::PublicDelegatedPrefixList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified global PublicDelegatedPrefix resource with the data
        /// included in the request. This method supportsPATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchGlobalPublicDelegatedPrefixeRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod health_checks_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The HealthChecks API.
    #[derive(Debug, Clone)]
    pub struct HealthChecksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl HealthChecksClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> HealthChecksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> HealthChecksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            HealthChecksClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all HealthCheck resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListHealthChecksRequest>,
        ) -> std::result::Result<
            tonic::Response<super::HealthChecksAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.HealthChecks",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified HealthCheck resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteHealthCheckRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.HealthChecks", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified HealthCheck resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetHealthCheckRequest>,
        ) -> std::result::Result<tonic::Response<super::HealthCheck>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.HealthChecks", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Creates a HealthCheck resource in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertHealthCheckRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.HealthChecks", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of HealthCheck resources available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListHealthChecksRequest>,
        ) -> std::result::Result<
            tonic::Response<super::HealthCheckList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.HealthChecks", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Updates a HealthCheck resource in the specified project using the data
        /// included in the request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchHealthCheckRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.HealthChecks", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsHealthCheckRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.HealthChecks",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates a HealthCheck resource in the specified project using the data
        /// included in the request.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateHealthCheckRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.HealthChecks", "Update"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod image_family_views_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The ImageFamilyViews API.
    #[derive(Debug, Clone)]
    pub struct ImageFamilyViewsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ImageFamilyViewsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ImageFamilyViewsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ImageFamilyViewsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ImageFamilyViewsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Returns the latest image that is part of an image family, is not
        /// deprecated and is rolled out in the specified zone.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetImageFamilyViewRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ImageFamilyView>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ImageFamilyViews/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ImageFamilyViews", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod images_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Images API.
    #[derive(Debug, Clone)]
    pub struct ImagesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ImagesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ImagesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ImagesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ImagesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified image.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Images", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets the deprecation status of an image.
        ///
        /// If an empty request body is given, clears the deprecation status instead.
        pub async fn deprecate(
            &mut self,
            request: impl tonic::IntoRequest<super::DeprecateImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/Deprecate",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Images", "Deprecate"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified image.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Image>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Images", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the latest image that is part of an image family and is not
        /// deprecated. For more information on image families, seePublic
        /// image families documentation.
        pub async fn get_from_family(
            &mut self,
            request: impl tonic::IntoRequest<super::GetFromFamilyImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Image>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/GetFromFamily",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Images", "GetFromFamily"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Images", "GetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an image in the specified project using the data included
        /// in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Images", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of custom images
        /// available to the specified project. Custom images are images you
        /// create that belong to your project. This method does not
        /// get any images that belong to other projects, including publicly-available
        /// images, like Debian 8. If you want to get a list of publicly-available
        /// images, use this method to make a request to the respective image project,
        /// such as debian-cloud or windows-cloud.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListImagesRequest>,
        ) -> std::result::Result<tonic::Response<super::ImageList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Images", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified image with the data included in the request.
        /// Only the following fields can be modified: family, description,
        /// deprecation status.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Images", "Patch"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Images", "SetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on an image. To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Images", "SetLabels"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsImageRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Images",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod instance_group_manager_resize_requests_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InstanceGroupManagerResizeRequests API.
    #[derive(Debug, Clone)]
    pub struct InstanceGroupManagerResizeRequestsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InstanceGroupManagerResizeRequestsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InstanceGroupManagerResizeRequestsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstanceGroupManagerResizeRequestsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InstanceGroupManagerResizeRequestsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Cancels the specified resize request and removes it from the queue.
        /// Cancelled resize request does no longer wait for the resources to be
        /// provisioned. Cancel is only possible for requests that are accepted in the
        /// queue.
        pub async fn cancel(
            &mut self,
            request: impl tonic::IntoRequest<
                super::CancelInstanceGroupManagerResizeRequestRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Cancel",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagerResizeRequests",
                        "Cancel",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified, inactive resize request. Requests that are still
        /// active cannot be deleted. Deleting request does not delete instances that
        /// were provisioned previously.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteInstanceGroupManagerResizeRequestRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagerResizeRequests",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns all of the details about the specified resize request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetInstanceGroupManagerResizeRequestRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupManagerResizeRequest>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagerResizeRequests",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new resize request that starts provisioning VMs immediately
        /// or queues VM creation.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertInstanceGroupManagerResizeRequestRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagerResizeRequests",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of resize requests that are contained in the
        /// managed instance group.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListInstanceGroupManagerResizeRequestsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupManagerResizeRequestsListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagerResizeRequests/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagerResizeRequests",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod instance_group_managers_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InstanceGroupManagers API.
    #[derive(Debug, Clone)]
    pub struct InstanceGroupManagersClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InstanceGroupManagersClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InstanceGroupManagersClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstanceGroupManagersClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InstanceGroupManagersClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Flags the specified instances to be removed from the
        /// managed instance group. Abandoning an instance does not delete the
        /// instance, but it does remove the instance from any target pools that are
        /// applied by the managed instance group. This method reduces thetargetSize of the managed instance group by the
        /// number of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have
        /// not yet been removed from the group. You must separately verify the
        /// status of the abandoning action with thelistmanagedinstances
        /// method.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is removed or deleted.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn abandon_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AbandonInstancesInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/AbandonInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "AbandonInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of managed instance groups and groups them by zone.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListInstanceGroupManagersRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupManagerAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Applies changes to selected instances on the managed instance group.
        /// This method can be used to apply new overrides and/or new versions.
        pub async fn apply_updates_to_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ApplyUpdatesToInstancesInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/ApplyUpdatesToInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "ApplyUpdatesToInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates instances with per-instance configurations in this managed instance
        /// group. Instances are created using the current instance template. Thecreate instances operation is marked DONE if thecreateInstances request is successful. The underlying actions
        /// take additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances
        /// method.
        pub async fn create_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::CreateInstancesInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/CreateInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "CreateInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified managed instance group and all of the instances
        /// in that group. Note that the instance group must not belong to a
        /// backend service. Read
        /// Deleting an instance group for more information.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInstanceGroupManagerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified instances in the managed instance group for immediate
        /// deletion. The instances are also removed from any target
        /// pools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of
        /// instances that you delete. This operation is marked as DONE
        /// when the action is scheduled even if the instances are still being deleted.
        /// You must separately verify the status of the deleting action
        /// with thelistmanagedinstances
        /// method.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is removed or deleted.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn delete_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteInstancesInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/DeleteInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "DeleteInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes selected per-instance configurations for the managed instance
        /// group.
        pub async fn delete_per_instance_configs(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeletePerInstanceConfigsInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/DeletePerInstanceConfigs",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "DeletePerInstanceConfigs",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns all of the details about the specified managed instance group.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstanceGroupManagerRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupManager>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a managed instance group using the information that you specify
        /// in the request. After the group is created, instances in the group are
        /// created using the specified instance template.
        /// This operation is marked as DONE when the group is created
        /// even if the instances in the group have not yet been created. You
        /// must separately verify the status of the individual instances with thelistmanagedinstances
        /// method.
        ///
        /// A managed instance group can have up to 1000 VM instances per group. Please
        /// contact Cloud Support if you need an increase in
        /// this limit.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertInstanceGroupManagerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of managed instance groups that are contained within the
        /// specified project and zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInstanceGroupManagersRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupManagerList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all errors thrown by actions on instances for a given managed
        /// instance group. The filter and orderBy query
        /// parameters are not supported.
        pub async fn list_errors(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListErrorsInstanceGroupManagersRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupManagersListErrorsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/ListErrors",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "ListErrors",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all of the instances in the managed instance group. Each instance
        /// in the list has a currentAction, which indicates the action
        /// that the managed instance group is performing on the instance. For example,
        /// if the group is still creating an instance, the currentAction
        /// is CREATING. If a previous action failed, the
        /// list displays the errors for that failed action. The orderBy
        /// query parameter is not supported. The `pageToken` query parameter is
        /// supported only if the group's `listManagedInstancesResults` field is set
        /// to `PAGINATED`.
        pub async fn list_managed_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListManagedInstancesInstanceGroupManagersRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupManagersListManagedInstancesResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/ListManagedInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "ListManagedInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all of the per-instance configurations defined for the managed
        /// instance group. The orderBy query parameter is not supported.
        pub async fn list_per_instance_configs(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListPerInstanceConfigsInstanceGroupManagersRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupManagersListPerInstanceConfigsResp>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/ListPerInstanceConfigs",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "ListPerInstanceConfigs",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates a managed instance group using the information that you specify
        /// in the request.
        /// This operation is marked as DONE when the group is patched
        /// even if the instances in the group are still in the process of being
        /// patched. You must separately verify the status of the individual instances
        /// with thelistManagedInstances
        /// method. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        ///
        /// If you update your group to specify a new template or instance
        /// configuration, it's possible that your intended specification for each VM
        /// in the group is different from the current state of that VM. To learn how
        /// to apply an updated configuration to the VMs in a MIG, seeUpdating instances in
        /// a MIG.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchInstanceGroupManagerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Inserts or patches per-instance configurations for the managed instance
        /// group. perInstanceConfig.name serves as a key used to
        /// distinguish whether to perform insert or patch.
        pub async fn patch_per_instance_configs(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchPerInstanceConfigsInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/PatchPerInstanceConfigs",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "PatchPerInstanceConfigs",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified VM instances in the managed instance group to be
        /// immediately recreated. Each instance is recreated using the group's current
        /// configuration. This operation is marked as DONE when the flag
        /// is set even if the instances have not yet been recreated. You must
        /// separately verify the status of each instance by checking itscurrentAction field; for more information, see Checking
        /// the status of managed instances.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is removed or deleted.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn recreate_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RecreateInstancesInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/RecreateInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "RecreateInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Resizes the managed instance group. If you increase the size, the group
        /// creates new instances using the current instance template. If you decrease
        /// the size, the group deletes instances. The resize operation is markedDONE when the resize actions are scheduled even if the group
        /// has not yet added or deleted any instances. You must separately
        /// verify the status of the creating or deleting
        /// actions with thelistmanagedinstances
        /// method.
        ///
        /// When resizing down, the instance group arbitrarily chooses the order in
        /// which VMs are deleted. The group takes into account some VM attributes when
        /// making the selection including:
        ///
        /// * The status of the VM instance.
        /// * The health of the VM instance.
        /// * The instance template version the VM is based on.
        /// * For regional managed instance groups, the location of the VM instance.
        ///
        /// This list is subject to change.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is removed or deleted.
        pub async fn resize(
            &mut self,
            request: impl tonic::IntoRequest<super::ResizeInstanceGroupManagerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/Resize",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "Resize",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified instances in the managed instance group to be
        /// resumed. This method increases thetargetSize and decreases the targetSuspendedSize
        /// of the managed instance group by the number of instances that you resume.
        /// The resumeInstances operation is marked DONE if
        /// the resumeInstances request is successful. The underlying
        /// actions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances
        /// method.
        ///
        /// In this request, you can only specify instances that are suspended. For
        /// example, if an instance was previously suspended using the suspendInstances
        /// method, it can be resumed using the resumeInstances method.
        ///
        /// If a health check is attached to the managed instance group, the specified
        /// instances will be verified as healthy after they are resumed.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn resume_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ResumeInstancesInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/ResumeInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "ResumeInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Specifies the instance template to use when creating new instances in this
        /// group. The templates for existing instances in the group do not change
        /// unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.
        pub async fn set_instance_template(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetInstanceTemplateInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/SetInstanceTemplate",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "SetInstanceTemplate",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Modifies the target pools to which all instances in this managed instance
        /// group are assigned. The target pools automatically apply to all of the
        /// instances in the managed instance group. This operation is markedDONE when you make the request even if the instances have not
        /// yet been added to their target pools. The change might take some time to
        /// apply to all of the instances in the group depending on the size of the
        /// group.
        pub async fn set_target_pools(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetTargetPoolsInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/SetTargetPools",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "SetTargetPools",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified instances in the managed instance group to be
        /// started. This method increases thetargetSize and decreases the targetStoppedSize
        /// of the managed instance group by the number of instances that you start.
        /// The startInstances operation is marked DONE if
        /// the startInstances request is successful. The underlying
        /// actions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances
        /// method.
        ///
        /// In this request, you can only specify instances that are stopped. For
        /// example, if an instance was previously stopped using the stopInstances
        /// method, it can be started using the startInstances method.
        ///
        /// If a health check is attached to the managed instance group, the specified
        /// instances will be verified as healthy after they are started.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn start_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::StartInstancesInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/StartInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "StartInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified instances in the managed instance group to be
        /// immediately stopped. You can only specify instances that are running in
        /// this request. This method reduces thetargetSize and increases the targetStoppedSize
        /// of the managed instance group by the number of instances that you stop.
        /// The stopInstances operation is marked DONE if
        /// the stopInstances request is successful. The underlying
        /// actions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances
        /// method.
        ///
        /// If the standbyPolicy.initialDelaySec field is set, the group
        /// delays stopping the instances until initialDelaySec have
        /// passed from instance.creationTimestamp (that is, when the
        /// instance was created). This delay gives your application time to
        /// set itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there
        /// will be zero delay.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is stopped.
        ///
        /// Stopped instances can be started using the startInstances
        /// method.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn stop_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::StopInstancesInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/StopInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "StopInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified instances in the managed instance group to be
        /// immediately suspended. You can only specify instances that are running in
        /// this request. This method reduces thetargetSize and increases the targetSuspendedSize
        /// of the managed instance group by the number of instances that you suspend.
        /// The suspendInstances operation is marked DONE if
        /// the suspendInstances request is successful. The underlying
        /// actions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances
        /// method.
        ///
        /// If the standbyPolicy.initialDelaySec field is set, the group
        /// delays suspension of the instances until initialDelaySec have
        /// passed from instance.creationTimestamp (that is, when the
        /// instance was created). This delay gives your application time to
        /// set itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there
        /// will be zero delay.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is suspended.
        ///
        /// Suspended instances can be resumed using the resumeInstances
        /// method.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn suspend_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SuspendInstancesInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/SuspendInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "SuspendInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Inserts or updates per-instance configurations for the managed instance
        /// group. perInstanceConfig.name serves as a key used to
        /// distinguish whether to perform insert or patch.
        pub async fn update_per_instance_configs(
            &mut self,
            request: impl tonic::IntoRequest<
                super::UpdatePerInstanceConfigsInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/UpdatePerInstanceConfigs",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroupManagers",
                        "UpdatePerInstanceConfigs",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod instance_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InstanceGroups API.
    #[derive(Debug, Clone)]
    pub struct InstanceGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InstanceGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InstanceGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstanceGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InstanceGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Adds a list of instances to the specified instance group.  All of the
        /// instances in the instance group must be in the same network/subnetwork.
        /// Read
        /// Adding instances for more information.
        pub async fn add_instances(
            &mut self,
            request: impl tonic::IntoRequest<super::AddInstancesInstanceGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/AddInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroups",
                        "AddInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of instance groups and sorts them by zone.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListInstanceGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroups",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified instance group. The instances in the group are not
        /// deleted. Note that instance group must not belong to a backend service.
        /// Read
        /// Deleting an instance group for more information.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInstanceGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InstanceGroups", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified zonal instance group. Get a list of available zonal
        /// instance groups by making a list() request.
        ///
        /// For managed instance groups, use theinstanceGroupManagers
        /// or regionInstanceGroupManagers
        /// methods instead.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstanceGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::InstanceGroup>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InstanceGroups", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an instance group in the specified project using the
        /// parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertInstanceGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InstanceGroups", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of zonal instance group resources contained within the
        /// specified zone.
        ///
        /// For managed instance groups, use theinstanceGroupManagers
        /// or regionInstanceGroupManagers
        /// methods instead.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInstanceGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InstanceGroups", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the instances in the specified instance group.
        /// The orderBy query parameter is not supported.
        /// The filter query parameter is supported, but only for
        /// expressions that use `eq` (equal) or `ne` (not equal) operators.
        pub async fn list_instances(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInstancesInstanceGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupsListInstances>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/ListInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroups",
                        "ListInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Removes one or more instances from the specified instance group, but does
        /// not delete those instances.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration before the VM instance is removed or deleted.
        pub async fn remove_instances(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveInstancesInstanceGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/RemoveInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroups",
                        "RemoveInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the named ports for the specified instance group.
        pub async fn set_named_ports(
            &mut self,
            request: impl tonic::IntoRequest<super::SetNamedPortsInstanceGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/SetNamedPorts",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroups",
                        "SetNamedPorts",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsInstanceGroupRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceGroups",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod instance_settings_service_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InstanceSettings API.
    #[derive(Debug, Clone)]
    pub struct InstanceSettingsServiceClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InstanceSettingsServiceClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InstanceSettingsServiceClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstanceSettingsServiceClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InstanceSettingsServiceClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Get Instance settings.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstanceSettingRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceSettings>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceSettingsService/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceSettingsService",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patch Instance settings
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchInstanceSettingRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceSettingsService/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceSettingsService",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod instance_templates_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InstanceTemplates API.
    #[derive(Debug, Clone)]
    pub struct InstanceTemplatesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InstanceTemplatesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InstanceTemplatesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstanceTemplatesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InstanceTemplatesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all InstanceTemplates resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListInstanceTemplatesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InstanceTemplateAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceTemplates",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified instance template. Deleting an instance template is
        /// permanent and cannot be undone. It is not possible to delete templates
        /// that are already in use by a managed instance group.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInstanceTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceTemplates",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified instance template.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstanceTemplateRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceTemplate>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InstanceTemplates", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyInstanceTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceTemplates",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an instance template in the specified project using the
        /// data that is included in the request. If you are creating a new template to
        /// update an existing instance group, your new instance template must use the
        /// same network or, if applicable, the same subnetwork as the original
        /// template.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertInstanceTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceTemplates",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of instance templates that are contained within
        /// the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInstanceTemplatesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceTemplateList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InstanceTemplates", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyInstanceTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceTemplates",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsInstanceTemplateRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstanceTemplates",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod instances_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Instances API.
    #[derive(Debug, Clone)]
    pub struct InstancesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InstancesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InstancesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstancesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InstancesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Adds an access config to an instance's network interface.
        pub async fn add_access_config(
            &mut self,
            request: impl tonic::IntoRequest<super::AddAccessConfigInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/AddAccessConfig",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "AddAccessConfig",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Adds one dynamic network interface to an active instance.
        pub async fn add_network_interface(
            &mut self,
            request: impl tonic::IntoRequest<super::AddNetworkInterfaceInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/AddNetworkInterface",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "AddNetworkInterface",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Adds existing resource policies to an instance. You can only add one
        /// policy right now which will be applied to this instance for scheduling live
        /// migrations.
        pub async fn add_resource_policies(
            &mut self,
            request: impl tonic::IntoRequest<super::AddResourcePoliciesInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/AddResourcePolicies",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "AddResourcePolicies",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves an aggregated list of all of the instances in your project
        /// across all regions and zones.
        ///
        /// The performance of this method degrades when a filter is specified on a
        /// project that has a very large number of instances.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListInstancesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Attaches an existing Disk resource to an instance. You must first
        /// create the disk before you can attach it. It is not possible to create
        /// and attach a disk at the same time. For more information, readAdding a
        /// persistent disk to your instance.
        pub async fn attach_disk(
            &mut self,
            request: impl tonic::IntoRequest<super::AttachDiskInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/AttachDisk",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Instances", "AttachDisk"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates multiple instances. Count specifies the number of instances to
        /// create. For more information, seeAbout bulk
        /// creation of VMs.
        pub async fn bulk_insert(
            &mut self,
            request: impl tonic::IntoRequest<super::BulkInsertInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/BulkInsert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Instances", "BulkInsert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified Instance resource. For more information, seeDeleting
        /// an instance.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Deletes an access config from an instance's network interface.
        pub async fn delete_access_config(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteAccessConfigInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/DeleteAccessConfig",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "DeleteAccessConfig",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes one dynamic network interface from an active instance.
        /// InstancesDeleteNetworkInterfaceRequest indicates:
        ///
        /// * instance from which to delete, using project+zone+resource_id fields;
        /// * dynamic network interface to be deleted, using network_interface_name
        ///  field;
        pub async fn delete_network_interface(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteNetworkInterfaceInstanceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/DeleteNetworkInterface",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "DeleteNetworkInterface",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Detaches a disk from an instance.
        pub async fn detach_disk(
            &mut self,
            request: impl tonic::IntoRequest<super::DetachDiskInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/DetachDisk",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Instances", "DetachDisk"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified Instance resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Instance>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns effective firewalls applied to an interface of the instance.
        pub async fn get_effective_firewalls(
            &mut self,
            request: impl tonic::IntoRequest<super::GetEffectiveFirewallsInstanceRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstancesGetEffectiveFirewallsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetEffectiveFirewalls",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "GetEffectiveFirewalls",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified guest attributes entry.
        pub async fn get_guest_attributes(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGuestAttributesInstanceRequest>,
        ) -> std::result::Result<
            tonic::Response<super::GuestAttributes>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetGuestAttributes",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "GetGuestAttributes",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Instances", "GetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the screenshot from the specified instance.
        pub async fn get_screenshot(
            &mut self,
            request: impl tonic::IntoRequest<super::GetScreenshotInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Screenshot>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetScreenshot",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Instances", "GetScreenshot"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the last 1 MB of serial port output from the specified instance.
        pub async fn get_serial_port_output(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSerialPortOutputInstanceRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SerialPortOutput>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetSerialPortOutput",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "GetSerialPortOutput",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the Shielded Instance Identity of an instance
        pub async fn get_shielded_instance_identity(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetShieldedInstanceIdentityInstanceRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::ShieldedInstanceIdentity>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetShieldedInstanceIdentity",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "GetShieldedInstanceIdentity",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an instance resource in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of instances contained within
        /// the specified zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInstancesRequest>,
        ) -> std::result::Result<tonic::Response<super::InstanceList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of resources that refer to the VM instance specified in
        /// the request. For example, if the VM instance is part of a managed or
        /// unmanaged instance group, the referrers list includes the instance group.
        /// For more information, readViewing
        /// referrers to VM instances.
        pub async fn list_referrers(
            &mut self,
            request: impl tonic::IntoRequest<super::ListReferrersInstancesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceListReferrers>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/ListReferrers",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Instances", "ListReferrers"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Perform a manual maintenance on the instance.
        pub async fn perform_maintenance(
            &mut self,
            request: impl tonic::IntoRequest<super::PerformMaintenanceInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/PerformMaintenance",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "PerformMaintenance",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Removes resource policies from an instance.
        pub async fn remove_resource_policies(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemoveResourcePoliciesInstanceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/RemoveResourcePolicies",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "RemoveResourcePolicies",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Mark the host as faulty and try to restart the instance on a new host.
        pub async fn report_host_as_faulty(
            &mut self,
            request: impl tonic::IntoRequest<super::ReportHostAsFaultyInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/ReportHostAsFaulty",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "ReportHostAsFaulty",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Performs a reset on the instance. This is a hard reset. The VM
        /// does not do a graceful shutdown. For more information, seeResetting
        /// an instance.
        pub async fn reset(
            &mut self,
            request: impl tonic::IntoRequest<super::ResetInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/Reset",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "Reset"));
            self.inner.unary(req, path, codec).await
        }
        /// Resumes an instance that was suspended using theinstances().suspend
        /// method.
        pub async fn resume(
            &mut self,
            request: impl tonic::IntoRequest<super::ResumeInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/Resume",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "Resume"));
            self.inner.unary(req, path, codec).await
        }
        /// Sends diagnostic interrupt to the instance.
        pub async fn send_diagnostic_interrupt(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SendDiagnosticInterruptInstanceRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::SendDiagnosticInterruptInstanceResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SendDiagnosticInterrupt",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "SendDiagnosticInterrupt",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets deletion protection on the instance.
        pub async fn set_deletion_protection(
            &mut self,
            request: impl tonic::IntoRequest<super::SetDeletionProtectionInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetDeletionProtection",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "SetDeletionProtection",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the auto-delete flag for a disk attached to an instance.
        pub async fn set_disk_auto_delete(
            &mut self,
            request: impl tonic::IntoRequest<super::SetDiskAutoDeleteInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetDiskAutoDelete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "SetDiskAutoDelete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Instances", "SetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets labels on an instance.  To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Instances", "SetLabels"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the number and/or type of accelerator for a stopped instance to the
        /// values specified in the request.
        pub async fn set_machine_resources(
            &mut self,
            request: impl tonic::IntoRequest<super::SetMachineResourcesInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetMachineResources",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "SetMachineResources",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the machine type for a stopped instance to the machine
        /// type specified in the request.
        pub async fn set_machine_type(
            &mut self,
            request: impl tonic::IntoRequest<super::SetMachineTypeInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetMachineType",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "SetMachineType",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets metadata for the specified instance to the data included
        /// in the request.
        pub async fn set_metadata(
            &mut self,
            request: impl tonic::IntoRequest<super::SetMetadataInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetMetadata",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Instances", "SetMetadata"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the minimum CPU platform that this instance should use.
        /// This method can only
        /// be called on a stopped instance. For more information, readSpecifying a
        /// Minimum CPU Platform.
        pub async fn set_min_cpu_platform(
            &mut self,
            request: impl tonic::IntoRequest<super::SetMinCpuPlatformInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetMinCpuPlatform",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "SetMinCpuPlatform",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets name of an instance.
        pub async fn set_name(
            &mut self,
            request: impl tonic::IntoRequest<super::SetNameInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetName",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "SetName"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets an instance's scheduling options. You can only call this method on astopped instance,
        /// that is, a VM instance that is in a `TERMINATED` state. SeeInstance Life
        /// Cycle for more information on the possible instance states.
        /// For more information about setting scheduling options for a VM, seeSet
        /// VM host maintenance policy.
        pub async fn set_scheduling(
            &mut self,
            request: impl tonic::IntoRequest<super::SetSchedulingInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetScheduling",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Instances", "SetScheduling"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the Google Cloud Armor security policy for the specified instance.
        /// For more information, seeGoogle
        /// Cloud Armor Overview
        pub async fn set_security_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetSecurityPolicyInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetSecurityPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "SetSecurityPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the service account on the instance. For more information,
        /// readChanging
        /// the service account and access scopes for an instance.
        pub async fn set_service_account(
            &mut self,
            request: impl tonic::IntoRequest<super::SetServiceAccountInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetServiceAccount",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "SetServiceAccount",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the Shielded Instance integrity policy for an instance. You can
        /// only use this method on a running instance. This method
        /// supports PATCH semantics and uses the JSON merge
        /// patch format and processing rules.
        pub async fn set_shielded_instance_integrity_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetShieldedInstanceIntegrityPolicyInstanceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetShieldedInstanceIntegrityPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "SetShieldedInstanceIntegrityPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets network tags
        /// for the specified instance to the data included in the request.
        pub async fn set_tags(
            &mut self,
            request: impl tonic::IntoRequest<super::SetTagsInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetTags",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "SetTags"));
            self.inner.unary(req, path, codec).await
        }
        /// Simulates a host maintenance event on a VM. For more information, see
        /// Simulate a host maintenance event.
        pub async fn simulate_maintenance_event(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SimulateMaintenanceEventInstanceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SimulateMaintenanceEvent",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "SimulateMaintenanceEvent",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Starts an instance that was stopped using theinstances().stop
        /// method. For more information, seeRestart an
        /// instance.
        pub async fn start(
            &mut self,
            request: impl tonic::IntoRequest<super::StartInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/Start",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "Start"));
            self.inner.unary(req, path, codec).await
        }
        /// Starts an instance that was stopped using theinstances().stop
        /// method. For more information, seeRestart an
        /// instance.
        pub async fn start_with_encryption_key(
            &mut self,
            request: impl tonic::IntoRequest<
                super::StartWithEncryptionKeyInstanceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/StartWithEncryptionKey",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "StartWithEncryptionKey",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Stops a running instance, shutting it down cleanly, and allows
        /// you to restart the instance at a later time. Stopped instances do not incur
        /// VM usage charges while they are stopped. However, resources that the VM is
        /// using, such as persistent disks and static IP addresses, will continue to
        /// be charged until they are deleted. For more information, seeStopping
        /// an instance.
        pub async fn stop(
            &mut self,
            request: impl tonic::IntoRequest<super::StopInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/Stop",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "Stop"));
            self.inner.unary(req, path, codec).await
        }
        /// This method suspends a running instance, saving its state to persistent
        /// storage, and allows you to resume the instance at a later time. Suspended
        /// instances have no compute costs (cores or RAM), and incur only storage
        /// charges for the saved VM memory and localSSD data. Any charged resources
        /// the virtual machine was using, such as persistent disks and static IP
        /// addresses, will continue to be charged while the instance is suspended.
        /// For more information, see
        /// Suspending and resuming an instance.
        pub async fn suspend(
            &mut self,
            request: impl tonic::IntoRequest<super::SuspendInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/Suspend",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "Suspend"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsInstanceRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates an instance only if the necessary resources are available. This
        /// method can update only a specific set of instance properties. See
        /// Updating a running instance for a list of updatable instance
        /// properties.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Instances", "Update"));
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified access config from an instance's network interface
        /// with the data included in the request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn update_access_config(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateAccessConfigInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/UpdateAccessConfig",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "UpdateAccessConfig",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the Display config for a VM instance. You can
        /// only use this method on a stopped VM instance. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn update_display_device(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateDisplayDeviceInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/UpdateDisplayDevice",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "UpdateDisplayDevice",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates an instance's network interface. This method can only update an
        /// interface's alias IP range and attached network. See Modifying
        /// alias IP ranges for an existing instance for instructions on
        /// changing alias IP ranges. See Migrating
        /// a VM between networks for instructions on migrating an interface.
        /// This method follows PATCH semantics.
        pub async fn update_network_interface(
            &mut self,
            request: impl tonic::IntoRequest<
                super::UpdateNetworkInterfaceInstanceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/UpdateNetworkInterface",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "UpdateNetworkInterface",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the Shielded Instance config for an instance. You can
        /// only use this method on a stopped instance. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn update_shielded_instance_config(
            &mut self,
            request: impl tonic::IntoRequest<
                super::UpdateShieldedInstanceConfigInstanceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/UpdateShieldedInstanceConfig",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Instances",
                        "UpdateShieldedInstanceConfig",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod instant_snapshot_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InstantSnapshotGroups API.
    #[derive(Debug, Clone)]
    pub struct InstantSnapshotGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InstantSnapshotGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InstantSnapshotGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstantSnapshotGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InstantSnapshotGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// deletes a Zonal InstantSnapshotGroup resource
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInstantSnapshotGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshotGroups/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshotGroups",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// returns the specified InstantSnapshotGroup resource in the specified zone.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstantSnapshotGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstantSnapshotGroup>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshotGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshotGroups",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetIamPolicyInstantSnapshotGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshotGroups/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshotGroups",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// inserts a Zonal InstantSnapshotGroup resource
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertInstantSnapshotGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshotGroups/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshotGroups",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// retrieves the list of InstantSnapshotGroup resources contained within
        /// the specified zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInstantSnapshotGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ListInstantSnapshotGroups>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshotGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshotGroups",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetIamPolicyInstantSnapshotGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshotGroups/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshotGroups",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsInstantSnapshotGroupRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshotGroups/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshotGroups",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod instant_snapshots_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InstantSnapshots API.
    #[derive(Debug, Clone)]
    pub struct InstantSnapshotsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InstantSnapshotsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InstantSnapshotsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstantSnapshotsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InstantSnapshotsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of instantSnapshots.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListInstantSnapshotsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InstantSnapshotAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshots/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshots",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified InstantSnapshot resource. Keep in mind that deleting
        /// a single instantSnapshot might not necessarily delete all the data on that
        /// instantSnapshot. If any data on the instantSnapshot that is marked for
        /// deletion is needed for subsequent instantSnapshots, the data will be moved
        /// to the next corresponding instantSnapshot.
        ///
        /// For more information, seeDeleting
        /// instantSnapshots.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInstantSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshots/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InstantSnapshots", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified InstantSnapshot resource in the specified zone.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstantSnapshotRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstantSnapshot>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshots/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InstantSnapshots", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyInstantSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshots/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshots",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an instant snapshot in the specified zone.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertInstantSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshots/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InstantSnapshots", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of InstantSnapshot resources contained within
        /// the specified zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInstantSnapshotsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstantSnapshotList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshots/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InstantSnapshots", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyInstantSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshots/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshots",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a instantSnapshot in the given zone. To learn more about
        /// labels, read the Labeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsInstantSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshots/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshots",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsInstantSnapshotRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstantSnapshots/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InstantSnapshots",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod interconnect_attachment_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InterconnectAttachmentGroups API.
    #[derive(Debug, Clone)]
    pub struct InterconnectAttachmentGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InterconnectAttachmentGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InterconnectAttachmentGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InterconnectAttachmentGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InterconnectAttachmentGroupsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified InterconnectAttachmentGroup in the given scope
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteInterconnectAttachmentGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachmentGroups/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachmentGroups",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified InterconnectAttachmentGroup resource in the given
        /// scope.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetInterconnectAttachmentGroupRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectAttachmentGroup>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachmentGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachmentGroups",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetIamPolicyInterconnectAttachmentGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachmentGroups/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachmentGroups",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the InterconnectAttachmentStatuses for the specified
        /// InterconnectAttachmentGroup resource.
        pub async fn get_operational_status(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetOperationalStatusInterconnectAttachmentGroupRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<
                super::InterconnectAttachmentGroupsGetOperationalStatusResponse,
            >,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachmentGroups/GetOperationalStatus",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachmentGroups",
                        "GetOperationalStatus",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a InterconnectAttachmentGroup in the specified project in the given
        /// scope using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertInterconnectAttachmentGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachmentGroups/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachmentGroups",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the InterconnectAttachmentGroups for a project in the given scope.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListInterconnectAttachmentGroupsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectAttachmentGroupsListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachmentGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachmentGroups",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified InterconnectAttachmentGroup resource with the data
        /// included in the request. This method supports PATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchInterconnectAttachmentGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachmentGroups/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachmentGroups",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetIamPolicyInterconnectAttachmentGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachmentGroups/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachmentGroups",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsInterconnectAttachmentGroupRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachmentGroups/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachmentGroups",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod interconnect_attachments_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InterconnectAttachments API.
    #[derive(Debug, Clone)]
    pub struct InterconnectAttachmentsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InterconnectAttachmentsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InterconnectAttachmentsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InterconnectAttachmentsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InterconnectAttachmentsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of interconnect attachments.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListInterconnectAttachmentsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectAttachmentAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachments",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified interconnect attachment.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInterconnectAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachments",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified interconnect attachment.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInterconnectAttachmentRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectAttachment>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachments",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an InterconnectAttachment in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertInterconnectAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachments",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of interconnect attachments contained within
        /// the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInterconnectAttachmentsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectAttachmentList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachments",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified interconnect attachment with the data included in the
        /// request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchInterconnectAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachments",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on an InterconnectAttachment. To learn more about labels,
        /// read the Labeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetLabelsInterconnectAttachmentRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectAttachments",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod interconnect_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InterconnectGroups API.
    #[derive(Debug, Clone)]
    pub struct InterconnectGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InterconnectGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InterconnectGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InterconnectGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InterconnectGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Create Interconnects with redundancy by creating them in a specified
        /// interconnect group.
        pub async fn create_members(
            &mut self,
            request: impl tonic::IntoRequest<
                super::CreateMembersInterconnectGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectGroups/CreateMembers",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectGroups",
                        "CreateMembers",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified InterconnectGroup in the given scope
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInterconnectGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectGroups/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectGroups",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified InterconnectGroup resource in the given scope.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInterconnectGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectGroup>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InterconnectGroups", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyInterconnectGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectGroups/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectGroups",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the interconnectStatuses for the specified
        /// InterconnectGroup.
        pub async fn get_operational_status(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetOperationalStatusInterconnectGroupRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectGroupsGetOperationalStatusResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectGroups/GetOperationalStatus",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectGroups",
                        "GetOperationalStatus",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a InterconnectGroup in the specified project in the given scope
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertInterconnectGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectGroups/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectGroups",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the InterconnectGroups for a project in the given scope.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInterconnectGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectGroupsListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.InterconnectGroups", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified InterconnectGroup resource with the data included in
        /// the request. This method supports PATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchInterconnectGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectGroups/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectGroups",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyInterconnectGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectGroups/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectGroups",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsInterconnectGroupRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectGroups/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectGroups",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod interconnect_locations_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InterconnectLocations API.
    #[derive(Debug, Clone)]
    pub struct InterconnectLocationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InterconnectLocationsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InterconnectLocationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InterconnectLocationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InterconnectLocationsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Returns the details for the specified interconnect location. Gets a list of
        /// available interconnect locations by making a list() request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInterconnectLocationRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectLocation>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectLocations/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectLocations",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of interconnect locations available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInterconnectLocationsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectLocationList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectLocations/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectLocations",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod interconnect_remote_locations_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The InterconnectRemoteLocations API.
    #[derive(Debug, Clone)]
    pub struct InterconnectRemoteLocationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InterconnectRemoteLocationsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InterconnectRemoteLocationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InterconnectRemoteLocationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InterconnectRemoteLocationsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Returns the details for the specified interconnect remote location. Gets a
        /// list of available interconnect remote locations by making alist() request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInterconnectRemoteLocationRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectRemoteLocation>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectRemoteLocations/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectRemoteLocations",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of interconnect remote locations available to the
        /// specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListInterconnectRemoteLocationsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectRemoteLocationList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectRemoteLocations/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.InterconnectRemoteLocations",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod interconnects_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Interconnects API.
    #[derive(Debug, Clone)]
    pub struct InterconnectsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl InterconnectsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> InterconnectsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InterconnectsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            InterconnectsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified Interconnect.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInterconnectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Interconnects", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified Interconnect. Get a list of available Interconnects
        /// by making a list() request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInterconnectRequest>,
        ) -> std::result::Result<tonic::Response<super::Interconnect>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Interconnects", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the interconnectDiagnostics for the specified
        /// Interconnect.
        ///
        /// In the event of a
        /// global outage, do not use this API to make decisions about where to
        /// redirect your network traffic.
        ///
        /// Unlike a VLAN attachment, which is regional, a Cloud Interconnect
        /// connection is a global resource. A global outage can prevent this
        /// API from functioning properly.
        pub async fn get_diagnostics(
            &mut self,
            request: impl tonic::IntoRequest<super::GetDiagnosticsInterconnectRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectsGetDiagnosticsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/GetDiagnostics",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Interconnects",
                        "GetDiagnostics",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the interconnectMacsecConfig for the specified
        /// Interconnect.
        pub async fn get_macsec_config(
            &mut self,
            request: impl tonic::IntoRequest<super::GetMacsecConfigInterconnectRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectsGetMacsecConfigResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/GetMacsecConfig",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Interconnects",
                        "GetMacsecConfig",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an Interconnect in the specified project using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertInterconnectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Interconnects", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of Interconnects available to the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInterconnectsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InterconnectList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Interconnects", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified Interconnect with the data included in the request.
        /// This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchInterconnectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Interconnects", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on an Interconnect. To learn more about labels,
        /// read the Labeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsInterconnectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Interconnects", "SetLabels"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod license_codes_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The LicenseCodes API.
    #[derive(Debug, Clone)]
    pub struct LicenseCodesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl LicenseCodesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> LicenseCodesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> LicenseCodesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            LicenseCodesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Return a specified license code. License codes are mirrored across
        /// all projects that have permissions to read the License Code.
        /// *Caution* This resource is intended
        /// for use only by third-party partners who are creatingCloud Marketplace
        /// images.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetLicenseCodeRequest>,
        ) -> std::result::Result<tonic::Response<super::LicenseCode>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.LicenseCodes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.LicenseCodes", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        /// *Caution* This resource is intended
        /// for use only by third-party partners who are creatingCloud Marketplace
        /// images.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsLicenseCodeRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.LicenseCodes/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.LicenseCodes",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod licenses_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Licenses API.
    #[derive(Debug, Clone)]
    pub struct LicensesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl LicensesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> LicensesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> LicensesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            LicensesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified license.
        /// *Caution* This resource is intended
        /// for use only by third-party partners who are creatingCloud Marketplace
        /// images.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteLicenseRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Licenses", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified License resource.
        /// *Caution* This resource is intended
        /// for use only by third-party partners who are creatingCloud Marketplace
        /// images.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetLicenseRequest>,
        ) -> std::result::Result<tonic::Response<super::License>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Licenses", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        /// *Caution* This resource is intended
        /// for use only by third-party partners who are creatingCloud Marketplace
        /// images.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyLicenseRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Licenses", "GetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Create a License resource in the specified project.
        /// *Caution* This resource is intended
        /// for use only by third-party partners who are creatingCloud Marketplace
        /// images.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertLicenseRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Licenses", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of licenses
        /// available in the specified project. This method does not
        /// get any licenses that belong to other projects, including licenses attached
        /// to publicly-available images, like Debian 9. If you want to get a list of
        /// publicly-available licenses, use this method to make a request to the
        /// respective image project, such as debian-cloud orwindows-cloud.
        /// *Caution* This resource is intended
        /// for use only by third-party partners who are creatingCloud Marketplace
        /// images.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListLicensesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::LicensesListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Licenses", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        /// *Caution* This resource is intended
        /// for use only by third-party partners who are creatingCloud Marketplace
        /// images.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyLicenseRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Licenses", "SetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        /// *Caution* This resource is intended
        /// for use only by third-party partners who are creatingCloud Marketplace
        /// images.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsLicenseRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Licenses",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates a License resource in the specified project.
        /// *Caution* This resource is intended
        /// for use only by third-party partners who are creatingCloud Marketplace
        /// images.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateLicenseRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Licenses", "Update"));
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod machine_images_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The MachineImages API.
    #[derive(Debug, Clone)]
    pub struct MachineImagesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl MachineImagesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> MachineImagesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> MachineImagesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            MachineImagesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified machine image. Deleting a machine image is permanent
        /// and cannot be undone.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteMachineImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineImages/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.MachineImages", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified machine image.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetMachineImageRequest>,
        ) -> std::result::Result<tonic::Response<super::MachineImage>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineImages/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.MachineImages", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyMachineImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineImages/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.MachineImages",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a machine image in the specified project using the
        /// data that is included in the request. If you are creating a new machine
        /// image to update an existing instance, your new machine image should use the
        /// same network or, if applicable, the same subnetwork as the original
        /// instance.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertMachineImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineImages/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.MachineImages", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of machine images that are contained within
        /// the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListMachineImagesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::MachineImageList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineImages/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.MachineImages", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyMachineImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineImages/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.MachineImages",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a machine image. To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsMachineImageRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineImages/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.MachineImages", "SetLabels"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsMachineImageRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineImages/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.MachineImages",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod machine_types_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The MachineTypes API.
    #[derive(Debug, Clone)]
    pub struct MachineTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl MachineTypesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> MachineTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> MachineTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            MachineTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of machine types.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListMachineTypesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::MachineTypeAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineTypes/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.MachineTypes",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified machine type.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetMachineTypeRequest>,
        ) -> std::result::Result<tonic::Response<super::MachineType>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineTypes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.MachineTypes", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of machine types available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListMachineTypesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::MachineTypeList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineTypes/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.MachineTypes", "List"));
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod network_attachments_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The NetworkAttachments API.
    #[derive(Debug, Clone)]
    pub struct NetworkAttachmentsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl NetworkAttachmentsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> NetworkAttachmentsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NetworkAttachmentsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            NetworkAttachmentsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all NetworkAttachment resources,
        /// regional and global, available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListNetworkAttachmentsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NetworkAttachmentAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkAttachments/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkAttachments",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified NetworkAttachment in the given scope
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNetworkAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkAttachments/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkAttachments",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified NetworkAttachment resource in the given scope.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNetworkAttachmentRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NetworkAttachment>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkAttachments/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NetworkAttachments", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyNetworkAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkAttachments/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkAttachments",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a NetworkAttachment in the specified project in the given scope
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertNetworkAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkAttachments/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkAttachments",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the NetworkAttachments for a project in the given scope.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNetworkAttachmentsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NetworkAttachmentList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkAttachments/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NetworkAttachments", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified NetworkAttachment resource with the data included in
        /// the request. This method supports PATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchNetworkAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkAttachments/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkAttachments",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyNetworkAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkAttachments/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkAttachments",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsNetworkAttachmentRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkAttachments/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkAttachments",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod network_edge_security_services_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The NetworkEdgeSecurityServices API.
    #[derive(Debug, Clone)]
    pub struct NetworkEdgeSecurityServicesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl NetworkEdgeSecurityServicesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> NetworkEdgeSecurityServicesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NetworkEdgeSecurityServicesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            NetworkEdgeSecurityServicesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all NetworkEdgeSecurityService resources available to
        /// the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListNetworkEdgeSecurityServicesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEdgeSecurityServiceAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEdgeSecurityServices/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEdgeSecurityServices",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified service.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteNetworkEdgeSecurityServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEdgeSecurityServices",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets a specified NetworkEdgeSecurityService.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNetworkEdgeSecurityServiceRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEdgeSecurityService>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEdgeSecurityServices",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new service in the specified project using the data included in
        /// the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertNetworkEdgeSecurityServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEdgeSecurityServices",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified policy with the data included in the request.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchNetworkEdgeSecurityServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEdgeSecurityServices/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEdgeSecurityServices",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod network_endpoint_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The NetworkEndpointGroups API.
    #[derive(Debug, Clone)]
    pub struct NetworkEndpointGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl NetworkEndpointGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> NetworkEndpointGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NetworkEndpointGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            NetworkEndpointGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of network endpoint groups and sorts them by zone.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListNetworkEndpointGroupsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEndpointGroupAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEndpointGroups",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Attach a list of network endpoints to the specified network endpoint group.
        pub async fn attach_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AttachNetworkEndpointsNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/AttachNetworkEndpoints",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEndpointGroups",
                        "AttachNetworkEndpoints",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified network endpoint group. The network endpoints in the
        /// NEG and the VM instances they belong to are not terminated when the NEG is
        /// deleted. Note that the NEG cannot be deleted if there are backend services
        /// referencing it.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNetworkEndpointGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEndpointGroups",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Detach a list of network endpoints from the specified network endpoint
        /// group.
        pub async fn detach_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DetachNetworkEndpointsNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/DetachNetworkEndpoints",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEndpointGroups",
                        "DetachNetworkEndpoints",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified network endpoint group.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNetworkEndpointGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEndpointGroup>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEndpointGroups",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a network endpoint group in the specified project using the
        /// parameters that are included in the request.
        ///
        /// Note: Use the following APIs to manage network endpoint groups:
        ///
        /// ```text
        /// -
        /// To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity
        /// NEGs): zonal
        /// API
        /// -
        /// To manage NEGs with regional scope (such as regional internet NEGs,
        /// serverless NEGs, Private Service Connect NEGs): regional
        /// API
        /// -
        /// To manage NEGs with global scope (such as global internet NEGs):global
        /// API
        /// ```
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertNetworkEndpointGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEndpointGroups",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of network endpoint groups that are located in the
        /// specified project and zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNetworkEndpointGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEndpointGroupList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEndpointGroups",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the network endpoints in the specified network endpoint group.
        pub async fn list_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListNetworkEndpointsNetworkEndpointGroupsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEndpointGroupsListNetworkEndpoints>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/ListNetworkEndpoints",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEndpointGroups",
                        "ListNetworkEndpoints",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkEndpointGroups",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod network_firewall_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The NetworkFirewallPolicies API.
    #[derive(Debug, Clone)]
    pub struct NetworkFirewallPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl NetworkFirewallPoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> NetworkFirewallPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NetworkFirewallPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            NetworkFirewallPoliciesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Inserts an association for the specified firewall policy.
        pub async fn add_association(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AddAssociationNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/AddAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "AddAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Inserts a packet mirroring rule into a firewall policy.
        pub async fn add_packet_mirroring_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AddPacketMirroringRuleNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/AddPacketMirroringRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "AddPacketMirroringRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Inserts a rule into a firewall policy.
        pub async fn add_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::AddRuleNetworkFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/AddRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "AddRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves an aggregated list of network firewall policies, listing network
        /// firewall policies from all applicable scopes (global and regional) and
        /// grouping the results per scope.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListNetworkFirewallPoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NetworkFirewallPolicyAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Copies rules to the specified firewall policy.
        pub async fn clone_rules(
            &mut self,
            request: impl tonic::IntoRequest<
                super::CloneRulesNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/CloneRules",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "CloneRules",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified policy.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNetworkFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified network firewall policy.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNetworkFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::FirewallPolicy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets an association with the specified name.
        pub async fn get_association(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetAssociationNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPolicyAssociation>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/GetAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "GetAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetIamPolicyNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets a packet mirroring rule of the specified priority.
        pub async fn get_packet_mirroring_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetPacketMirroringRuleNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPolicyRule>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/GetPacketMirroringRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "GetPacketMirroringRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets a rule of the specified priority.
        pub async fn get_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRuleNetworkFirewallPolicyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPolicyRule>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/GetRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "GetRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new policy in the specified project using the data included in
        /// the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertNetworkFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all the policies that have been configured for the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNetworkFirewallPoliciesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPolicyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified policy with the data included in the request.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchNetworkFirewallPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches a packet mirroring rule of the specified priority.
        pub async fn patch_packet_mirroring_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchPacketMirroringRuleNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/PatchPacketMirroringRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "PatchPacketMirroringRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches a rule of the specified priority.
        pub async fn patch_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchRuleNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/PatchRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "PatchRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Removes an association for the specified firewall policy.
        pub async fn remove_association(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemoveAssociationNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/RemoveAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "RemoveAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes a packet mirroring rule of the specified priority.
        pub async fn remove_packet_mirroring_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemovePacketMirroringRuleNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/RemovePacketMirroringRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "RemovePacketMirroringRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes a rule of the specified priority.
        pub async fn remove_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemoveRuleNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/RemoveRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "RemoveRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetIamPolicyNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkFirewallPolicies/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NetworkFirewallPolicies",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod network_profiles_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The NetworkProfiles API.
    #[derive(Debug, Clone)]
    pub struct NetworkProfilesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl NetworkProfilesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> NetworkProfilesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NetworkProfilesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            NetworkProfilesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Returns the specified network profile.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNetworkProfileRequest>,
        ) -> std::result::Result<tonic::Response<super::NetworkProfile>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkProfiles/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NetworkProfiles", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of network profiles available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNetworkProfilesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NetworkProfilesListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkProfiles/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NetworkProfiles", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod networks_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Networks API.
    #[derive(Debug, Clone)]
    pub struct NetworksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl NetworksClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> NetworksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NetworksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            NetworksClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Adds a peering to the specified network.
        pub async fn add_peering(
            &mut self,
            request: impl tonic::IntoRequest<super::AddPeeringNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/AddPeering",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Networks", "AddPeering"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified network.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Networks", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified network.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Network>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Networks", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the effective firewalls on a given network.
        pub async fn get_effective_firewalls(
            &mut self,
            request: impl tonic::IntoRequest<super::GetEffectiveFirewallsNetworkRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NetworksGetEffectiveFirewallsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/GetEffectiveFirewalls",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Networks",
                        "GetEffectiveFirewalls",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a network in the specified project using the data included
        /// in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Networks", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of networks available to the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNetworksRequest>,
        ) -> std::result::Result<tonic::Response<super::NetworkList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Networks", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Lists the peering routes exchanged over peering connection.
        pub async fn list_peering_routes(
            &mut self,
            request: impl tonic::IntoRequest<super::ListPeeringRoutesNetworksRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ExchangedPeeringRoutesList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/ListPeeringRoutes",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Networks",
                        "ListPeeringRoutes",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified network with the data included in the request.
        /// Only routingConfig can be modified.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Networks", "Patch"));
            self.inner.unary(req, path, codec).await
        }
        /// Removes a peering from the specified network.
        pub async fn remove_peering(
            &mut self,
            request: impl tonic::IntoRequest<super::RemovePeeringNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/RemovePeering",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Networks", "RemovePeering"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Requests to remove a peering from the specified network. Applicable only
        /// for PeeringConnection with update_strategy=CONSENSUS.
        pub async fn request_remove_peering(
            &mut self,
            request: impl tonic::IntoRequest<super::RequestRemovePeeringNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/RequestRemovePeering",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Networks",
                        "RequestRemovePeering",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Switches the network mode from auto subnet mode to custom subnet mode.
        pub async fn switch_to_custom_mode(
            &mut self,
            request: impl tonic::IntoRequest<super::SwitchToCustomModeNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/SwitchToCustomMode",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Networks",
                        "SwitchToCustomMode",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified network peering with the data included in the
        /// request. You can only modify the NetworkPeering.export_custom_routes field
        /// and the NetworkPeering.import_custom_routes field.
        pub async fn update_peering(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdatePeeringNetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/UpdatePeering",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Networks", "UpdatePeering"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod node_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The NodeGroups API.
    #[derive(Debug, Clone)]
    pub struct NodeGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl NodeGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> NodeGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NodeGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            NodeGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Adds specified number of nodes to the node group.
        pub async fn add_nodes(
            &mut self,
            request: impl tonic::IntoRequest<super::AddNodesNodeGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/AddNodes",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NodeGroups", "AddNodes"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves an aggregated list of node groups.
        /// Note: use nodeGroups.listNodes for more details about each group.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListNodeGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NodeGroupAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NodeGroups",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified NodeGroup resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNodeGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.NodeGroups", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Deletes specified nodes from the node group.
        pub async fn delete_nodes(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNodesNodeGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/DeleteNodes",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NodeGroups", "DeleteNodes"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified NodeGroup. Get a list of available NodeGroups
        /// by making a list() request.
        /// Note: the "nodes" field should not be used. Use nodeGroups.listNodes
        /// instead.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNodeGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::NodeGroup>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.NodeGroups", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyNodeGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NodeGroups", "GetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a NodeGroup resource in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertNodeGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.NodeGroups", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of node groups available to the specified project.
        /// Note: use nodeGroups.listNodes for more details about each group.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNodeGroupsRequest>,
        ) -> std::result::Result<tonic::Response<super::NodeGroupList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.NodeGroups", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Lists nodes in the node group.
        pub async fn list_nodes(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNodesNodeGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NodeGroupsListNodes>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/ListNodes",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NodeGroups", "ListNodes"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified node group.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchNodeGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.NodeGroups", "Patch"));
            self.inner.unary(req, path, codec).await
        }
        /// Perform maintenance on a subset of nodes in the node group.
        pub async fn perform_maintenance(
            &mut self,
            request: impl tonic::IntoRequest<super::PerformMaintenanceNodeGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/PerformMaintenance",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NodeGroups",
                        "PerformMaintenance",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyNodeGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NodeGroups", "SetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the node template of the node group.
        pub async fn set_node_template(
            &mut self,
            request: impl tonic::IntoRequest<super::SetNodeTemplateNodeGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/SetNodeTemplate",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NodeGroups",
                        "SetNodeTemplate",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Simulates maintenance event on specified nodes from the node group.
        pub async fn simulate_maintenance_event(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SimulateMaintenanceEventNodeGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/SimulateMaintenanceEvent",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NodeGroups",
                        "SimulateMaintenanceEvent",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsNodeGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NodeGroups",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod node_templates_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The NodeTemplates API.
    #[derive(Debug, Clone)]
    pub struct NodeTemplatesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl NodeTemplatesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> NodeTemplatesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NodeTemplatesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            NodeTemplatesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of node templates.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListNodeTemplatesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NodeTemplateAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NodeTemplates",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified NodeTemplate resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNodeTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NodeTemplates", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified node template.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNodeTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::NodeTemplate>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.NodeTemplates", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyNodeTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NodeTemplates",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a NodeTemplate resource in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertNodeTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NodeTemplates", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of node templates available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNodeTemplatesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NodeTemplateList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.NodeTemplates", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyNodeTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NodeTemplates",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsNodeTemplateRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NodeTemplates",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod node_types_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The NodeTypes API.
    #[derive(Debug, Clone)]
    pub struct NodeTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl NodeTypesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> NodeTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NodeTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            NodeTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of node types.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListNodeTypesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NodeTypeAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTypes/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.NodeTypes",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified node type.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNodeTypeRequest>,
        ) -> std::result::Result<tonic::Response<super::NodeType>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTypes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.NodeTypes", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of node types available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNodeTypesRequest>,
        ) -> std::result::Result<tonic::Response<super::NodeTypeList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTypes/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.NodeTypes", "List"));
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod organization_security_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The OrganizationSecurityPolicies API.
    #[derive(Debug, Clone)]
    pub struct OrganizationSecurityPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl OrganizationSecurityPoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> OrganizationSecurityPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> OrganizationSecurityPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            OrganizationSecurityPoliciesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Inserts an association for the specified security policy.
        ///
        /// This has billing implications.  Projects in the hierarchy with effective
        /// hierarchical security policies will be automatically enrolled into Cloud
        /// Armor Enterprise if not already enrolled.
        ///
        /// Use this API to modify Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to modify firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.addAssociation
        /// instead.
        pub async fn add_association(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AddAssociationOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/AddAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "AddAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Inserts a rule into a security policy.
        ///
        /// Use this API to modify Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to modify firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.addRule instead.
        pub async fn add_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AddRuleOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/AddRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "AddRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Copies rules to the specified security policy.
        ///
        /// Use this API to modify Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to modify firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.cloneRules
        /// instead.
        pub async fn copy_rules(
            &mut self,
            request: impl tonic::IntoRequest<
                super::CopyRulesOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/CopyRules",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "CopyRules",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified policy.
        ///
        /// Use this API to remove Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to remove firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.delete instead.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// List all of the ordered rules present in a single specified policy.
        ///
        /// Use this API to read Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to read firewall policies. This usage is now
        /// disabled for most organizations. Use firewallPolicies.get instead.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetOrganizationSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::SecurityPolicy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets an association with the specified name.
        ///
        /// Use this API to read Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to read firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.getAssociation
        /// instead.
        pub async fn get_association(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetAssociationOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::SecurityPolicyAssociation>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/GetAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "GetAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets a rule at the specified priority.
        ///
        /// Use this API to read Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to read firewall policies. This usage is now
        /// disabled for most organizations. Use firewallPolicies.getRule instead.
        pub async fn get_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetRuleOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::SecurityPolicyRule>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/GetRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "GetRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new policy in the specified organization using the data included
        /// in the request.
        ///
        /// Use this API to add Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to add firewall policies. This usage is now
        /// disabled for most organizations. Use firewallPolicies.insert instead.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// List all the policies that have been configured for the specified
        /// organization.
        ///
        /// Use this API to read Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to read firewall policies. This usage is now
        /// disabled for most organizations. Use firewallPolicies.list instead.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListOrganizationSecurityPoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::SecurityPolicyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists associations of a specified target, i.e., organization or folder.
        ///
        /// Use this API to read Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to read firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.listAssociations
        /// instead.
        pub async fn list_associations(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListAssociationsOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::OrganizationSecurityPoliciesListAssociationsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/ListAssociations",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "ListAssociations",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the current list of preconfigured Web Application Firewall (WAF)
        /// expressions.
        pub async fn list_preconfigured_expression_sets(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListPreconfiguredExpressionSetsOrganizationSecurityPoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<
                super::SecurityPoliciesListPreconfiguredExpressionSetsResponse,
            >,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/ListPreconfiguredExpressionSets",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "ListPreconfiguredExpressionSets",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Moves the specified security policy.
        ///
        /// Use this API to modify Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to modify firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.move instead.
        pub async fn r#move(
            &mut self,
            request: impl tonic::IntoRequest<
                super::MoveOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/Move",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "Move",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified policy with the data included in the request.
        ///
        /// Use this API to modify Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to modify firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.patch instead.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches a rule at the specified priority.
        ///
        /// Use this API to modify Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to modify firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.patchRule
        /// instead.
        pub async fn patch_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchRuleOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/PatchRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "PatchRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Removes an association for the specified security policy.
        ///
        /// Use this API to modify Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to modify firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.removeAssociation
        /// instead.
        pub async fn remove_association(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemoveAssociationOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/RemoveAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "RemoveAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes a rule at the specified priority.
        ///
        /// Use this API to modify Cloud Armor policies. Previously, alpha and beta
        /// versions of this API were used to modify firewall policies. This usage is
        /// now disabled for most organizations. Use firewallPolicies.removeRule
        /// instead.
        pub async fn remove_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemoveRuleOrganizationSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.OrganizationSecurityPolicies/RemoveRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.OrganizationSecurityPolicies",
                        "RemoveRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod packet_mirrorings_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The PacketMirrorings API.
    #[derive(Debug, Clone)]
    pub struct PacketMirroringsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl PacketMirroringsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> PacketMirroringsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> PacketMirroringsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            PacketMirroringsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of packetMirrorings.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListPacketMirroringsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::PacketMirroringAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PacketMirrorings",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified PacketMirroring resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeletePacketMirroringRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.PacketMirrorings", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified PacketMirroring resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetPacketMirroringRequest>,
        ) -> std::result::Result<
            tonic::Response<super::PacketMirroring>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.PacketMirrorings", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a PacketMirroring resource in the specified project and region
        /// using the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertPacketMirroringRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.PacketMirrorings", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of PacketMirroring resources available to the specified
        /// project and region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListPacketMirroringsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::PacketMirroringList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.PacketMirrorings", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified PacketMirroring resource with the data included in
        /// the request. This method supportsPATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchPacketMirroringRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.PacketMirrorings", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsPacketMirroringRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PacketMirrorings",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod preview_features_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The PreviewFeatures API.
    #[derive(Debug, Clone)]
    pub struct PreviewFeaturesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl PreviewFeaturesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> PreviewFeaturesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> PreviewFeaturesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            PreviewFeaturesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Returns the details of the given PreviewFeature.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetPreviewFeatureRequest>,
        ) -> std::result::Result<tonic::Response<super::PreviewFeature>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PreviewFeatures/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.PreviewFeatures", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the details of the given PreviewFeature.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListPreviewFeaturesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::PreviewFeatureList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PreviewFeatures/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.PreviewFeatures", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the given PreviewFeature. This method is used to enable or disable
        /// a PreviewFeature.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdatePreviewFeatureRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PreviewFeatures/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.PreviewFeatures", "Update"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod projects_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Projects API.
    #[derive(Debug, Clone)]
    pub struct ProjectsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ProjectsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ProjectsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ProjectsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ProjectsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Disable this project as a shared VPC host project.
        pub async fn disable_xpn_host(
            &mut self,
            request: impl tonic::IntoRequest<super::DisableXpnHostProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/DisableXpnHost",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Projects", "DisableXpnHost"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Disable a service resource (also known as service project) associated with
        /// this host project.
        pub async fn disable_xpn_resource(
            &mut self,
            request: impl tonic::IntoRequest<super::DisableXpnResourceProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/DisableXpnResource",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Projects",
                        "DisableXpnResource",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Enable this project as a shared VPC host project.
        pub async fn enable_xpn_host(
            &mut self,
            request: impl tonic::IntoRequest<super::EnableXpnHostProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/EnableXpnHost",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Projects", "EnableXpnHost"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Enable service resource (a.k.a service project) for a host project, so that
        /// subnets in the host project can be used by instances in the service
        /// project.
        pub async fn enable_xpn_resource(
            &mut self,
            request: impl tonic::IntoRequest<super::EnableXpnResourceProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/EnableXpnResource",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Projects",
                        "EnableXpnResource",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified Project resource.
        ///
        /// To decrease latency for this method, you can optionally omit any unneeded
        /// information from the response by using a field mask. This practice is
        /// especially recommended for unused quota information (the `quotas` field).
        /// To exclude one or more fields, set your request's `fields` query parameter
        /// to only include the fields you need. For example, to only include the `id`
        /// and `selfLink` fields, add the query parameter `?fields=id,selfLink` to
        /// your request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Project>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Projects", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the shared VPC host project that this project links to. May be empty
        /// if no link exists.
        pub async fn get_xpn_host(
            &mut self,
            request: impl tonic::IntoRequest<super::GetXpnHostProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Project>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/GetXpnHost",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Projects", "GetXpnHost"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets service resources (a.k.a service project) associated with this host
        /// project.
        pub async fn get_xpn_resources(
            &mut self,
            request: impl tonic::IntoRequest<super::GetXpnResourcesProjectsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ProjectsGetXpnResources>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/GetXpnResources",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Projects",
                        "GetXpnResources",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all shared VPC host projects visible to the user in an organization.
        pub async fn list_xpn_hosts(
            &mut self,
            request: impl tonic::IntoRequest<super::ListXpnHostsProjectsRequest>,
        ) -> std::result::Result<tonic::Response<super::XpnHostList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/ListXpnHosts",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Projects", "ListXpnHosts"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Moves a persistent disk from one zone to another.
        /// *Note*: The moveDisk API will be deprecated on September 29, 2026.
        ///
        /// Starting September 29, 2025, you can't use the moveDisk API on new
        /// projects. To move a disk to a different region or zone, follow the steps in
        /// [Change the location of a
        /// disk](https://cloud.google.com/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd).
        ///
        /// Projects that already use the moveDisk API can continue usage until
        /// September 29, 2026.
        ///
        /// Starting November 1, 2025, API responses will include a warning message in
        /// the response body about the upcoming deprecation. You can skip the message
        /// to continue using the service without interruption.
        pub async fn move_disk(
            &mut self,
            request: impl tonic::IntoRequest<super::MoveDiskProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/MoveDisk",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Projects", "MoveDisk"));
            self.inner.unary(req, path, codec).await
        }
        /// Moves an instance and its attached persistent disks from one zone to
        /// another.
        /// *Note*: Moving VMs or disks by using this method might
        /// cause unexpected behavior. For more information, see the [known
        /// issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).
        /// \[Deprecated\] This method is deprecated. See [moving instance across
        /// zones](/compute/docs/instances/moving-instance-across-zones) instead.
        pub async fn move_instance(
            &mut self,
            request: impl tonic::IntoRequest<super::MoveInstanceProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/MoveInstance",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Projects", "MoveInstance"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the Cloud Armor tier of the project. To set ENTERPRISE or above the
        /// billing account of the project must be subscribed to Cloud Armor
        /// Enterprise. See Subscribing
        /// to Cloud Armor Enterprise for more information.
        pub async fn set_cloud_armor_tier(
            &mut self,
            request: impl tonic::IntoRequest<super::SetCloudArmorTierProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/SetCloudArmorTier",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Projects",
                        "SetCloudArmorTier",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets metadata common to all instances within the specified project using
        /// the data included in the request.
        pub async fn set_common_instance_metadata(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetCommonInstanceMetadataProjectRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/SetCommonInstanceMetadata",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Projects",
                        "SetCommonInstanceMetadata",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the default network tier of the project. The default network tier is
        /// used when an address/forwardingRule/instance is created without specifying
        /// the network tier field.
        pub async fn set_default_network_tier(
            &mut self,
            request: impl tonic::IntoRequest<super::SetDefaultNetworkTierProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/SetDefaultNetworkTier",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Projects",
                        "SetDefaultNetworkTier",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Enables the usage export feature and sets theusage export bucket
        /// where reports are stored. If you provide an empty request body using this
        /// method, the usage export feature will be disabled.
        pub async fn set_usage_export_bucket(
            &mut self,
            request: impl tonic::IntoRequest<super::SetUsageExportBucketProjectRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/SetUsageExportBucket",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Projects",
                        "SetUsageExportBucket",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod public_advertised_prefixes_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The PublicAdvertisedPrefixes API.
    #[derive(Debug, Clone)]
    pub struct PublicAdvertisedPrefixesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl PublicAdvertisedPrefixesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> PublicAdvertisedPrefixesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> PublicAdvertisedPrefixesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            PublicAdvertisedPrefixesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Announces the specified PublicAdvertisedPrefix
        pub async fn announce(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AnnouncePublicAdvertisedPrefixeRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Announce",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicAdvertisedPrefixes",
                        "Announce",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified PublicAdvertisedPrefix
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeletePublicAdvertisedPrefixeRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicAdvertisedPrefixes",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified PublicAdvertisedPrefix resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetPublicAdvertisedPrefixeRequest>,
        ) -> std::result::Result<
            tonic::Response<super::PublicAdvertisedPrefix>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicAdvertisedPrefixes",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a PublicAdvertisedPrefix in the specified project
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertPublicAdvertisedPrefixeRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicAdvertisedPrefixes",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the PublicAdvertisedPrefixes for a project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListPublicAdvertisedPrefixesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::PublicAdvertisedPrefixList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicAdvertisedPrefixes",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified Router resource with the data included in the
        /// request. This method supportsPATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchPublicAdvertisedPrefixeRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicAdvertisedPrefixes",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Withdraws the specified PublicAdvertisedPrefix
        pub async fn withdraw(
            &mut self,
            request: impl tonic::IntoRequest<
                super::WithdrawPublicAdvertisedPrefixeRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Withdraw",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicAdvertisedPrefixes",
                        "Withdraw",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod public_delegated_prefixes_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The PublicDelegatedPrefixes API.
    #[derive(Debug, Clone)]
    pub struct PublicDelegatedPrefixesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl PublicDelegatedPrefixesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> PublicDelegatedPrefixesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> PublicDelegatedPrefixesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            PublicDelegatedPrefixesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Lists all PublicDelegatedPrefix resources owned by the specific project
        /// across all scopes.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListPublicDelegatedPrefixesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::PublicDelegatedPrefixAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicDelegatedPrefixes",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Announces the specified PublicDelegatedPrefix in the given region.
        pub async fn announce(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AnnouncePublicDelegatedPrefixeRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/Announce",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicDelegatedPrefixes",
                        "Announce",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified PublicDelegatedPrefix in the given region.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeletePublicDelegatedPrefixeRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicDelegatedPrefixes",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified PublicDelegatedPrefix resource in the given region.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetPublicDelegatedPrefixeRequest>,
        ) -> std::result::Result<
            tonic::Response<super::PublicDelegatedPrefix>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicDelegatedPrefixes",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a PublicDelegatedPrefix in the specified project in the given
        /// region using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertPublicDelegatedPrefixeRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicDelegatedPrefixes",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the PublicDelegatedPrefixes for a project in the given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListPublicDelegatedPrefixesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::PublicDelegatedPrefixList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicDelegatedPrefixes",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified PublicDelegatedPrefix resource with the data included
        /// in the request. This method supportsPATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchPublicDelegatedPrefixeRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicDelegatedPrefixes",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Withdraws the specified PublicDelegatedPrefix in the given region.
        pub async fn withdraw(
            &mut self,
            request: impl tonic::IntoRequest<
                super::WithdrawPublicDelegatedPrefixeRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/Withdraw",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.PublicDelegatedPrefixes",
                        "Withdraw",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_autoscalers_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionAutoscalers API.
    #[derive(Debug, Clone)]
    pub struct RegionAutoscalersClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionAutoscalersClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionAutoscalersClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionAutoscalersClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionAutoscalersClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified autoscaler.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionAutoscalerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionAutoscalers",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified autoscaler.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionAutoscalerRequest>,
        ) -> std::result::Result<tonic::Response<super::Autoscaler>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionAutoscalers", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an autoscaler in the specified project using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionAutoscalerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionAutoscalers",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of autoscalers contained within
        /// the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionAutoscalersRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RegionAutoscalerList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionAutoscalers", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates an autoscaler in the specified project using
        /// the data included in the request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionAutoscalerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionAutoscalers", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionAutoscalerRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionAutoscalers",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates an autoscaler in the specified project using
        /// the data included in the request.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateRegionAutoscalerRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionAutoscalers",
                        "Update",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_backend_buckets_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionBackendBuckets API.
    #[derive(Debug, Clone)]
    pub struct RegionBackendBucketsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionBackendBucketsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionBackendBucketsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionBackendBucketsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionBackendBucketsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified regional BackendBucket resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendBuckets/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendBuckets",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified regional BackendBucket resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::BackendBucket>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendBuckets/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendBuckets",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetIamPolicyRegionBackendBucketRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendBuckets/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendBuckets",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a RegionBackendBucket in the specified project in the given scope
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendBuckets/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendBuckets",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of BackendBucket resources available to the specified
        /// project in the given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionBackendBucketsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::BackendBucketList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendBuckets/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendBuckets",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of all usable backend buckets in the specified project in
        /// the given region.
        pub async fn list_usable(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListUsableRegionBackendBucketsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::BackendBucketListUsable>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendBuckets/ListUsable",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendBuckets",
                        "ListUsable",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified  BackendBucket resource with the data included in the
        /// request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionBackendBucketRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendBuckets/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendBuckets",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetIamPolicyRegionBackendBucketRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendBuckets/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendBuckets",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionBackendBucketRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendBuckets/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendBuckets",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_backend_services_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionBackendServices API.
    #[derive(Debug, Clone)]
    pub struct RegionBackendServicesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionBackendServicesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionBackendServicesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionBackendServicesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionBackendServicesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified regional BackendService resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified regional BackendService resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::BackendService>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the most recent health check results for this
        /// regional BackendService.
        pub async fn get_health(
            &mut self,
            request: impl tonic::IntoRequest<super::GetHealthRegionBackendServiceRequest>,
        ) -> std::result::Result<
            tonic::Response<super::BackendServiceGroupHealth>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/GetHealth",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "GetHealth",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetIamPolicyRegionBackendServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a regional BackendService resource in the specified project using
        /// the data included in the request. For more information, see
        /// Backend services overview.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of regional BackendService resources available to the
        /// specified project in the given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionBackendServicesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::BackendServiceList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of all usable backend services in the specified project in
        /// the given region.
        pub async fn list_usable(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListUsableRegionBackendServicesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::BackendServiceListUsable>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/ListUsable",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "ListUsable",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified regional BackendService resource with the data
        /// included in the request. For more information, see
        /// Understanding backend services This method
        /// supports PATCH semantics and uses the JSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetIamPolicyRegionBackendServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the Google Cloud Armor security policy for the specified backend
        /// service. For more information, seeGoogle
        /// Cloud Armor Overview
        pub async fn set_security_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetSecurityPolicyRegionBackendServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/SetSecurityPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "SetSecurityPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionBackendServiceRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified regional BackendService resource with the data
        /// included in the request. For more information,
        /// see
        /// Backend services overview.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateRegionBackendServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionBackendServices",
                        "Update",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_commitments_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionCommitments API.
    #[derive(Debug, Clone)]
    pub struct RegionCommitmentsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionCommitmentsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionCommitmentsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionCommitmentsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionCommitmentsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of commitments by region.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListRegionCommitmentsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::CommitmentAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCommitments/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCommitments",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified commitment resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionCommitmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Commitment>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCommitments/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionCommitments", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a commitment in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionCommitmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCommitments/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCommitments",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of commitments contained within
        /// the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionCommitmentsRequest>,
        ) -> std::result::Result<tonic::Response<super::CommitmentList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCommitments/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionCommitments", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified commitment with the data included in the request.
        /// Update is performed only on selected fields included as part of
        /// update-mask. Only the following fields can be updated: auto_renew and plan.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateRegionCommitmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCommitments/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCommitments",
                        "Update",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_composite_health_checks_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionCompositeHealthChecks API.
    #[derive(Debug, Clone)]
    pub struct RegionCompositeHealthChecksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionCompositeHealthChecksClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionCompositeHealthChecksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionCompositeHealthChecksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionCompositeHealthChecksClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all CompositeHealthCheck resources (all
        /// regional) available to the specified project.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListRegionCompositeHealthChecksRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::CompositeHealthCheckAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCompositeHealthChecks/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCompositeHealthChecks",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified CompositeHealthCheck in the given region
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteRegionCompositeHealthCheckRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCompositeHealthChecks/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCompositeHealthChecks",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified CompositeHealthCheck resource in the given region.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionCompositeHealthCheckRequest>,
        ) -> std::result::Result<
            tonic::Response<super::CompositeHealthCheck>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCompositeHealthChecks/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCompositeHealthChecks",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the most recent health check results for this
        /// regional CompositeHealthCheck.
        pub async fn get_health(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetHealthRegionCompositeHealthCheckRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::CompositeHealthCheckHealth>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCompositeHealthChecks/GetHealth",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCompositeHealthChecks",
                        "GetHealth",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Create a CompositeHealthCheck in the specified project in the given region
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertRegionCompositeHealthCheckRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCompositeHealthChecks/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCompositeHealthChecks",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the CompositeHealthChecks for a project in the given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListRegionCompositeHealthChecksRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::CompositeHealthCheckList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCompositeHealthChecks/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCompositeHealthChecks",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified regional CompositeHealthCheck resource
        /// with the data included in the request.  This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchRegionCompositeHealthCheckRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCompositeHealthChecks/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCompositeHealthChecks",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionCompositeHealthCheckRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCompositeHealthChecks/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionCompositeHealthChecks",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_disk_types_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionDiskTypes API.
    #[derive(Debug, Clone)]
    pub struct RegionDiskTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionDiskTypesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionDiskTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionDiskTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionDiskTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Returns the specified regional disk type.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionDiskTypeRequest>,
        ) -> std::result::Result<tonic::Response<super::DiskType>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDiskTypes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionDiskTypes", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of regional disk types available to the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionDiskTypesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RegionDiskTypeList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDiskTypes/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionDiskTypes", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_disks_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionDisks API.
    #[derive(Debug, Clone)]
    pub struct RegionDisksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionDisksClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionDisksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionDisksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionDisksClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Adds existing resource policies to a regional disk. You can only add one
        /// policy which will be applied to this disk for scheduling snapshot
        /// creation.
        pub async fn add_resource_policies(
            &mut self,
            request: impl tonic::IntoRequest<super::AddResourcePoliciesRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/AddResourcePolicies",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionDisks",
                        "AddResourcePolicies",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Bulk create a set of disks.
        pub async fn bulk_insert(
            &mut self,
            request: impl tonic::IntoRequest<super::BulkInsertRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/BulkInsert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionDisks", "BulkInsert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a snapshot of a specified persistent disk. For regular snapshot
        /// creation, consider using snapshots.insert
        /// instead, as that method supports more features, such as creating snapshots
        /// in a project different from the source disk project.
        pub async fn create_snapshot(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateSnapshotRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/CreateSnapshot",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionDisks",
                        "CreateSnapshot",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified regional persistent disk. Deleting a regional disk
        /// removes all the replicas of its data permanently and is irreversible.
        /// However, deleting a disk does not delete anysnapshots
        /// previously made from the disk. You must separatelydelete
        /// snapshots.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionDisks", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns a specified regional persistent disk.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Disk>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.RegionDisks", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionDisks",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a persistent regional disk in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionDisks", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of persistent disks contained within
        /// the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionDisksRequest>,
        ) -> std::result::Result<tonic::Response<super::DiskList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.RegionDisks", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Removes resource policies from a regional disk.
        pub async fn remove_resource_policies(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemoveResourcePoliciesRegionDiskRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/RemoveResourcePolicies",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionDisks",
                        "RemoveResourcePolicies",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Resizes the specified regional persistent disk.
        pub async fn resize(
            &mut self,
            request: impl tonic::IntoRequest<super::ResizeRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/Resize",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionDisks", "Resize"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionDisks",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on the target regional disk.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionDisks", "SetLabels"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Starts asynchronous replication.
        /// Must be invoked on the primary disk.
        pub async fn start_async_replication(
            &mut self,
            request: impl tonic::IntoRequest<
                super::StartAsyncReplicationRegionDiskRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/StartAsyncReplication",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionDisks",
                        "StartAsyncReplication",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Stops asynchronous replication.
        /// Can be invoked either on the primary or on the secondary disk.
        pub async fn stop_async_replication(
            &mut self,
            request: impl tonic::IntoRequest<
                super::StopAsyncReplicationRegionDiskRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/StopAsyncReplication",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionDisks",
                        "StopAsyncReplication",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Stops asynchronous replication for a consistency group of disks.
        /// Can be invoked either in the primary or secondary scope.
        pub async fn stop_group_async_replication(
            &mut self,
            request: impl tonic::IntoRequest<
                super::StopGroupAsyncReplicationRegionDiskRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/StopGroupAsyncReplication",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionDisks",
                        "StopGroupAsyncReplication",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsRegionDiskRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionDisks",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Update the specified disk with the data included in the request. Update is
        /// performed only on selected fields included as part of update-mask.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionDisks", "Update"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Rotates the customer-managed
        /// encryption key to the latest version for the specified persistent disk.
        pub async fn update_kms_key(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateKmsKeyRegionDiskRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/UpdateKmsKey",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionDisks",
                        "UpdateKmsKey",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_health_aggregation_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionHealthAggregationPolicies API.
    #[derive(Debug, Clone)]
    pub struct RegionHealthAggregationPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionHealthAggregationPoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionHealthAggregationPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionHealthAggregationPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionHealthAggregationPoliciesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all HealthAggregationPolicy resources,
        /// regional and global, available to the specified project.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListRegionHealthAggregationPoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::HealthAggregationPolicyAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthAggregationPolicies/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthAggregationPolicies",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified HealthAggregationPolicy in the given region.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteRegionHealthAggregationPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthAggregationPolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthAggregationPolicies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified HealthAggregationPolicy resource in the given region.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetRegionHealthAggregationPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::HealthAggregationPolicy>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthAggregationPolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthAggregationPolicies",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Create a HealthAggregationPolicy in the specified project in the given
        /// region using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertRegionHealthAggregationPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthAggregationPolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthAggregationPolicies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the HealthAggregationPolicies for a project in the given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListRegionHealthAggregationPoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::HealthAggregationPolicyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthAggregationPolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthAggregationPolicies",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified regional HealthAggregationPolicy
        /// resource with the data included in the request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchRegionHealthAggregationPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthAggregationPolicies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthAggregationPolicies",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionHealthAggregationPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthAggregationPolicies/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthAggregationPolicies",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_health_check_services_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionHealthCheckServices API.
    #[derive(Debug, Clone)]
    pub struct RegionHealthCheckServicesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionHealthCheckServicesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionHealthCheckServicesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionHealthCheckServicesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionHealthCheckServicesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all HealthCheckService resources,
        /// regional and global, available to the specified project.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListRegionHealthCheckServicesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::HealthCheckServiceAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthCheckServices",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified regional HealthCheckService.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteRegionHealthCheckServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthCheckServices",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified regional HealthCheckService resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionHealthCheckServiceRequest>,
        ) -> std::result::Result<
            tonic::Response<super::HealthCheckService>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthCheckServices",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a regional HealthCheckService resource in the
        /// specified project and region using the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertRegionHealthCheckServiceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthCheckServices",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all the HealthCheckService resources that have been
        /// configured for the specified project in the given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionHealthCheckServicesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::HealthCheckServicesList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthCheckServices",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified regional HealthCheckService resource
        /// with the data included in the request.  This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionHealthCheckServiceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthCheckServices",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionHealthCheckServiceRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthCheckServices",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_health_checks_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionHealthChecks API.
    #[derive(Debug, Clone)]
    pub struct RegionHealthChecksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionHealthChecksClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionHealthChecksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionHealthChecksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionHealthChecksClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified HealthCheck resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionHealthCheckRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthChecks",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified HealthCheck resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionHealthCheckRequest>,
        ) -> std::result::Result<tonic::Response<super::HealthCheck>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionHealthChecks", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a HealthCheck resource in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionHealthCheckRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthChecks",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of HealthCheck resources available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionHealthChecksRequest>,
        ) -> std::result::Result<
            tonic::Response<super::HealthCheckList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionHealthChecks", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates a HealthCheck resource in the specified project using the data
        /// included in the request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionHealthCheckRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthChecks",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionHealthCheckRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthChecks",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates a HealthCheck resource in the specified project using the data
        /// included in the request.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateRegionHealthCheckRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthChecks",
                        "Update",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_health_sources_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionHealthSources API.
    #[derive(Debug, Clone)]
    pub struct RegionHealthSourcesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionHealthSourcesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionHealthSourcesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionHealthSourcesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionHealthSourcesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all HealthSource resources (all
        /// regional) available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListRegionHealthSourcesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::HealthSourceAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthSources/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthSources",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified HealthSource in the given region
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionHealthSourceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthSources/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthSources",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified HealthSource resource in the given region.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionHealthSourceRequest>,
        ) -> std::result::Result<tonic::Response<super::HealthSource>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthSources/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionHealthSources", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the most recent health check results for this
        /// regional HealthSource.
        pub async fn get_health(
            &mut self,
            request: impl tonic::IntoRequest<super::GetHealthRegionHealthSourceRequest>,
        ) -> std::result::Result<
            tonic::Response<super::HealthSourceHealth>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthSources/GetHealth",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthSources",
                        "GetHealth",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Create a HealthSource in the specified project in the given region
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionHealthSourceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthSources/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthSources",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the HealthSources for a project in the given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionHealthSourcesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::HealthSourceList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthSources/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthSources",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified regional HealthSource resource
        /// with the data included in the request.  This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionHealthSourceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthSources/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthSources",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionHealthSourceRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthSources/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionHealthSources",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_instance_group_manager_resize_requests_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionInstanceGroupManagerResizeRequests API.
    #[derive(Debug, Clone)]
    pub struct RegionInstanceGroupManagerResizeRequestsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionInstanceGroupManagerResizeRequestsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionInstanceGroupManagerResizeRequestsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionInstanceGroupManagerResizeRequestsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionInstanceGroupManagerResizeRequestsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Cancels the specified resize request.
        /// Cancelled resize request no longer waits for the resources to be
        /// provisioned. Cancel is only possible for requests that are in accepted
        /// state.
        pub async fn cancel(
            &mut self,
            request: impl tonic::IntoRequest<
                super::CancelRegionInstanceGroupManagerResizeRequestRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagerResizeRequests/Cancel",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagerResizeRequests",
                        "Cancel",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified, inactive resize request. Requests that are still
        /// active cannot be deleted. Deleting request does not delete instances that
        /// were provisioned previously.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteRegionInstanceGroupManagerResizeRequestRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagerResizeRequests/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagerResizeRequests",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns all of the details about the specified resize request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetRegionInstanceGroupManagerResizeRequestRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupManagerResizeRequest>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagerResizeRequests/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagerResizeRequests",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new Resize Request that starts provisioning VMs immediately
        /// or queues VM creation.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertRegionInstanceGroupManagerResizeRequestRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagerResizeRequests/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagerResizeRequests",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of Resize Requests that are contained in the
        /// managed instance group.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListRegionInstanceGroupManagerResizeRequestsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::RegionInstanceGroupManagerResizeRequestsListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagerResizeRequests/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagerResizeRequests",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_instance_group_managers_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionInstanceGroupManagers API.
    #[derive(Debug, Clone)]
    pub struct RegionInstanceGroupManagersClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionInstanceGroupManagersClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionInstanceGroupManagersClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionInstanceGroupManagersClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionInstanceGroupManagersClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Flags the specified instances to be immediately removed from the managed
        /// instance group. Abandoning an instance does not delete the
        /// instance, but it does remove the instance from any target pools that are
        /// applied by the managed instance group. This method reduces thetargetSize of the managed instance group by the
        /// number of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have
        /// not yet been removed from the group. You must separately verify the
        /// status of the abandoning action with thelistmanagedinstances
        /// method.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is removed or deleted.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn abandon_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AbandonInstancesRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/AbandonInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "AbandonInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Apply updates to selected instances the managed instance group.
        pub async fn apply_updates_to_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/ApplyUpdatesToInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "ApplyUpdatesToInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates instances with per-instance configurations in this regional managed
        /// instance group. Instances are created using the current instance template.
        /// The create instances operation is marked DONE if
        /// the createInstances request is successful. The underlying
        /// actions take additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances
        /// method.
        pub async fn create_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::CreateInstancesRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/CreateInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "CreateInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified managed instance group and all of the instances
        /// in that group.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified instances in the managed instance group to be
        /// immediately deleted. The instances are also removed from any target
        /// pools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of
        /// instances that you delete.
        /// The deleteInstances operation is marked DONE if
        /// the deleteInstances request is successful. The underlying
        /// actions take additional time. You must separately verify the status of thedeleting action with thelistmanagedinstances
        /// method.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is removed or deleted.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn delete_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteInstancesRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/DeleteInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "DeleteInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes selected per-instance configurations for the managed instance
        /// group.
        pub async fn delete_per_instance_configs(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeletePerInstanceConfigsRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/DeletePerInstanceConfigs",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "DeletePerInstanceConfigs",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns all of the details about the specified managed instance group.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionInstanceGroupManagerRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceGroupManager>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a managed instance group using the information that you specify
        /// in the request. After the group is created, instances in the group are
        /// created using the specified instance template.
        /// This operation is marked as DONE when the group is created
        /// even if the instances in the group have not yet been created. You must
        /// separately verify the status of the individual instances with thelistmanagedinstances
        /// method.
        ///
        /// A regional managed instance group can contain up to 2000 instances.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of managed instance groups that are contained
        /// within the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListRegionInstanceGroupManagersRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::RegionInstanceGroupManagerList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all errors thrown by actions on instances for a given regional
        /// managed instance group. The filter andorderBy query parameters are not supported.
        pub async fn list_errors(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListErrorsRegionInstanceGroupManagersRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::RegionInstanceGroupManagersListErrorsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListErrors",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "ListErrors",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the instances in the managed instance group and instances that are
        /// scheduled to be created. The list includes any current actions
        /// that the group has scheduled for its instances. The orderBy
        /// query parameter is not supported.   The `pageToken` query parameter is
        /// supported only if the group's `listManagedInstancesResults` field is set
        /// to `PAGINATED`.
        pub async fn list_managed_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListManagedInstancesRegionInstanceGroupManagersRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::RegionInstanceGroupManagersListInstancesResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListManagedInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "ListManagedInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all of the per-instance configurations defined for the managed
        /// instance group. The orderBy query parameter is not supported.
        pub async fn list_per_instance_configs(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListPerInstanceConfigsRegionInstanceGroupManagersRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::RegionInstanceGroupManagersListInstanceConfigsResp>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListPerInstanceConfigs",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "ListPerInstanceConfigs",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates a managed instance group using the information that you specify
        /// in the request.
        /// This operation is marked as DONE when the group is patched
        /// even if the instances in the group are still in the process of being
        /// patched. You must separately verify the status of the individual instances
        /// with the listmanagedinstances
        /// method. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        ///
        /// If you update your group to specify a new template or instance
        /// configuration, it's possible that your intended specification for each VM
        /// in the group is different from the current state of that VM. To learn how
        /// to apply an updated configuration to the VMs in a MIG, seeUpdating instances in
        /// a MIG.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Inserts or patches per-instance configurations for the managed instance
        /// group. perInstanceConfig.name serves as a key used to
        /// distinguish whether to perform insert or patch.
        pub async fn patch_per_instance_configs(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchPerInstanceConfigsRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/PatchPerInstanceConfigs",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "PatchPerInstanceConfigs",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified VM instances in the managed instance group to be
        /// immediately recreated. Each instance is recreated using the group's current
        /// configuration. This operation is marked as DONE when the flag
        /// is set even if the instances have not yet been recreated. You must
        /// separately verify the status of each instance by checking itscurrentAction field; for more information, see Checking
        /// the status of managed instances.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is removed or deleted.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn recreate_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RecreateInstancesRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/RecreateInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "RecreateInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the intended size of the managed instance group. If you increase
        /// the size, the group creates new instances using the current instance
        /// template. If you decrease the size, the group deletes one or more
        /// instances.
        ///
        /// The resize operation is marked DONE if theresize request is successful. The underlying actions take
        /// additional time. You must separately verify the status of thecreating or deleting actions with thelistmanagedinstances
        /// method.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is removed or deleted.
        pub async fn resize(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ResizeRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/Resize",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "Resize",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified instances in the managed instance group to be
        /// resumed. This method increases thetargetSize and decreases the targetSuspendedSize
        /// of the managed instance group by the number of instances that you resume.
        /// The resumeInstances operation is marked DONE if
        /// the resumeInstances request is successful. The underlying
        /// actions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances
        /// method.
        ///
        /// In this request, you can only specify instances that are suspended. For
        /// example, if an instance was previously suspended using the suspendInstances
        /// method, it can be resumed using the resumeInstances method.
        ///
        /// If a health check is attached to the managed instance group, the specified
        /// instances will be verified as healthy after they are resumed.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn resume_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ResumeInstancesRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/ResumeInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "ResumeInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the instance template to use when creating new instances or recreating
        /// instances in this group. Existing instances are not affected.
        pub async fn set_instance_template(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetInstanceTemplateRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/SetInstanceTemplate",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "SetInstanceTemplate",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Modifies the target pools to which all new instances in this group are
        /// assigned. Existing instances in the group are not affected.
        pub async fn set_target_pools(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetTargetPoolsRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/SetTargetPools",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "SetTargetPools",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified instances in the managed instance group to be
        /// started. This method increases thetargetSize and decreases the targetStoppedSize
        /// of the managed instance group by the number of instances that you start.
        /// The startInstances operation is marked DONE if
        /// the startInstances request is successful. The underlying
        /// actions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances
        /// method.
        ///
        /// In this request, you can only specify instances that are stopped. For
        /// example, if an instance was previously stopped using the stopInstances
        /// method, it can be started using the startInstances method.
        ///
        /// If a health check is attached to the managed instance group, the specified
        /// instances will be verified as healthy after they are started.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn start_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::StartInstancesRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/StartInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "StartInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified instances in the managed instance group to be
        /// immediately stopped. You can only specify instances that are running in
        /// this request. This method reduces thetargetSize and increases the targetStoppedSize
        /// of the managed instance group by the number of instances that you stop.
        /// The stopInstances operation is marked DONE if
        /// the stopInstances request is successful. The underlying
        /// actions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances
        /// method.
        ///
        /// If the standbyPolicy.initialDelaySec field is set, the group
        /// delays stopping the instances until initialDelaySec have
        /// passed from instance.creationTimestamp (that is, when the
        /// instance was created). This delay gives your application time to
        /// set itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there
        /// will be zero delay.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is stopped.
        ///
        /// Stopped instances can be started using the startInstances
        /// method.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn stop_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::StopInstancesRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/StopInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "StopInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Flags the specified instances in the managed instance group to be
        /// immediately suspended. You can only specify instances that are running in
        /// this request. This method reduces thetargetSize and increases the targetSuspendedSize
        /// of the managed instance group by the number of instances that you suspend.
        /// The suspendInstances operation is marked DONE if
        /// the suspendInstances request is successful. The underlying
        /// actions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances
        /// method.
        ///
        /// If the standbyPolicy.initialDelaySec field is set, the group
        /// delays suspension of the instances until initialDelaySec have
        /// passed from instance.creationTimestamp (that is, when the
        /// instance was created). This delay gives your application time to
        /// set itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there
        /// will be zero delay.
        ///
        /// If the group is part of a backend
        /// service that has enabled
        /// connection draining, it can take up to 60 seconds after the connection
        /// draining duration has elapsed before the VM instance is suspended.
        ///
        /// Suspended instances can be resumed using the resumeInstances
        /// method.
        ///
        /// You can specify a maximum of 1000 instances with this method per request.
        pub async fn suspend_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SuspendInstancesRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/SuspendInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "SuspendInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Inserts or updates per-instance configurations for the managed instance
        /// group. perInstanceConfig.name serves as a key used to
        /// distinguish whether to perform insert or patch.
        pub async fn update_per_instance_configs(
            &mut self,
            request: impl tonic::IntoRequest<
                super::UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/UpdatePerInstanceConfigs",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroupManagers",
                        "UpdatePerInstanceConfigs",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_instance_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionInstanceGroups API.
    #[derive(Debug, Clone)]
    pub struct RegionInstanceGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionInstanceGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionInstanceGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionInstanceGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionInstanceGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Returns the specified instance group resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionInstanceGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::InstanceGroup>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroups",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of instance group resources contained within
        /// the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionInstanceGroupsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RegionInstanceGroupList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroups",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the instances in the specified instance group and displays
        /// information about the named ports. Depending on the specified options, this
        /// method can list all instances or only the instances that are running.
        /// The orderBy query parameter is not supported.
        pub async fn list_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListInstancesRegionInstanceGroupsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::RegionInstanceGroupsListInstances>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroups/ListInstances",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroups",
                        "ListInstances",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the named ports for the specified regional instance group.
        pub async fn set_named_ports(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetNamedPortsRegionInstanceGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroups/SetNamedPorts",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroups",
                        "SetNamedPorts",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionInstanceGroupRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroups/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceGroups",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_instance_templates_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionInstanceTemplates API.
    #[derive(Debug, Clone)]
    pub struct RegionInstanceTemplatesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionInstanceTemplatesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionInstanceTemplatesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionInstanceTemplatesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionInstanceTemplatesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified instance template. Deleting an instance template is
        /// permanent and cannot be undone.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionInstanceTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceTemplates/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceTemplates",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified instance template.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionInstanceTemplateRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceTemplate>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceTemplates/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceTemplates",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an instance template in the specified project and region using the
        /// global instance template whose URL is included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionInstanceTemplateRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceTemplates/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceTemplates",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of instance templates that are contained within the
        /// specified project and region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionInstanceTemplatesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstanceTemplateList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceTemplates/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstanceTemplates",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_instances_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionInstances API.
    #[derive(Debug, Clone)]
    pub struct RegionInstancesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionInstancesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionInstancesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionInstancesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionInstancesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Creates multiple instances in a given region. Count specifies the number of
        /// instances to create.
        pub async fn bulk_insert(
            &mut self,
            request: impl tonic::IntoRequest<super::BulkInsertRegionInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstances/BulkInsert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstances",
                        "BulkInsert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_instant_snapshot_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionInstantSnapshotGroups API.
    #[derive(Debug, Clone)]
    pub struct RegionInstantSnapshotGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionInstantSnapshotGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionInstantSnapshotGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionInstantSnapshotGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionInstantSnapshotGroupsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// deletes a Regional InstantSnapshotGroup resource
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteRegionInstantSnapshotGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshotGroups/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshotGroups",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// returns the specified InstantSnapshotGroup resource in the specified
        /// region.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionInstantSnapshotGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstantSnapshotGroup>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshotGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshotGroups",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetIamPolicyRegionInstantSnapshotGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshotGroups/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshotGroups",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// creates a Regional InstantSnapshotGroup resource
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertRegionInstantSnapshotGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshotGroups/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshotGroups",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// retrieves the list of InstantSnapshotGroup resources contained within
        /// the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListRegionInstantSnapshotGroupsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::ListInstantSnapshotGroups>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshotGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshotGroups",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetIamPolicyRegionInstantSnapshotGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshotGroups/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshotGroups",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionInstantSnapshotGroupRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshotGroups/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshotGroups",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_instant_snapshots_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionInstantSnapshots API.
    #[derive(Debug, Clone)]
    pub struct RegionInstantSnapshotsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionInstantSnapshotsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionInstantSnapshotsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionInstantSnapshotsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionInstantSnapshotsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified InstantSnapshot resource. Keep in mind that deleting
        /// a single instantSnapshot might not necessarily delete all the data on that
        /// instantSnapshot. If any data on the instantSnapshot that is marked for
        /// deletion is needed for subsequent instantSnapshots, the data will be moved
        /// to the next corresponding instantSnapshot.
        ///
        /// For more information, seeDeleting
        /// instantSnapshots.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionInstantSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshots/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshots",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified InstantSnapshot resource in the specified region.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionInstantSnapshotRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstantSnapshot>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshots/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshots",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetIamPolicyRegionInstantSnapshotRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshots/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshots",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates an instant snapshot in the specified region.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionInstantSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshots/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshots",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of InstantSnapshot resources contained within
        /// the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionInstantSnapshotsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::InstantSnapshotList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshots/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshots",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetIamPolicyRegionInstantSnapshotRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshots/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshots",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a instantSnapshot in the given region. To learn more
        /// about labels, read the Labeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetLabelsRegionInstantSnapshotRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshots/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshots",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionInstantSnapshotRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstantSnapshots/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionInstantSnapshots",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_network_endpoint_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionNetworkEndpointGroups API.
    #[derive(Debug, Clone)]
    pub struct RegionNetworkEndpointGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionNetworkEndpointGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionNetworkEndpointGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionNetworkEndpointGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionNetworkEndpointGroupsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Attach a list of network endpoints to the specified network endpoint group.
        pub async fn attach_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AttachNetworkEndpointsRegionNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/AttachNetworkEndpoints",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkEndpointGroups",
                        "AttachNetworkEndpoints",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified network endpoint group. Note that the NEG cannot be
        /// deleted if it is configured as a backend of a backend service.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteRegionNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkEndpointGroups",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Detach the network endpoint from the specified network endpoint group.
        pub async fn detach_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DetachNetworkEndpointsRegionNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/DetachNetworkEndpoints",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkEndpointGroups",
                        "DetachNetworkEndpoints",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified network endpoint group.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionNetworkEndpointGroupRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEndpointGroup>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkEndpointGroups",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a network endpoint group in the specified project using the
        /// parameters that are included in the request.
        ///
        /// Note: Use the following APIs to manage network endpoint groups:
        ///
        /// ```text
        /// -
        /// To manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity
        /// NEGs): zonal
        /// API
        /// -
        /// To manage NEGs with regional scope (such as regional internet NEGs,
        /// serverless NEGs, Private Service Connect NEGs): regional
        /// API
        /// -
        /// To manage NEGs with global scope (such as global internet NEGs):global
        /// API
        /// ```
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertRegionNetworkEndpointGroupRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkEndpointGroups",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of regional network endpoint groups available to the
        /// specified project in the given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListRegionNetworkEndpointGroupsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEndpointGroupList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkEndpointGroups",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the network endpoints in the specified network endpoint group.
        pub async fn list_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListNetworkEndpointsRegionNetworkEndpointGroupsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NetworkEndpointGroupsListNetworkEndpoints>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/ListNetworkEndpoints",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkEndpointGroups",
                        "ListNetworkEndpoints",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_network_firewall_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionNetworkFirewallPolicies API.
    #[derive(Debug, Clone)]
    pub struct RegionNetworkFirewallPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionNetworkFirewallPoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionNetworkFirewallPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionNetworkFirewallPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionNetworkFirewallPoliciesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Inserts an association for the specified network firewall policy.
        pub async fn add_association(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AddAssociationRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/AddAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "AddAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Inserts a rule into a network firewall policy.
        pub async fn add_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AddRuleRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/AddRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "AddRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Copies rules to the specified network firewall policy.
        pub async fn clone_rules(
            &mut self,
            request: impl tonic::IntoRequest<
                super::CloneRulesRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/CloneRules",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "CloneRules",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified network firewall policy.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified network firewall policy.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::FirewallPolicy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets an association with the specified name.
        pub async fn get_association(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetAssociationRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPolicyAssociation>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "GetAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the effective firewalls on a given network.
        pub async fn get_effective_firewalls(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<
                super::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse,
            >,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetEffectiveFirewalls",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "GetEffectiveFirewalls",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetIamPolicyRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets a rule of the specified priority.
        pub async fn get_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetRuleRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPolicyRule>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "GetRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new network firewall policy in the specified project and region.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all the network firewall policies that have been configured
        /// for the specified project in the given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListRegionNetworkFirewallPoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::FirewallPolicyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified network firewall policy.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches a rule of the specified priority.
        pub async fn patch_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PatchRuleRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/PatchRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "PatchRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Removes an association for the specified network firewall policy.
        pub async fn remove_association(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemoveAssociationRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/RemoveAssociation",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "RemoveAssociation",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes a rule of the specified priority.
        pub async fn remove_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemoveRuleRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/RemoveRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "RemoveRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetIamPolicyRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionNetworkFirewallPolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkFirewallPolicies/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNetworkFirewallPolicies",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_notification_endpoints_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionNotificationEndpoints API.
    #[derive(Debug, Clone)]
    pub struct RegionNotificationEndpointsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionNotificationEndpointsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionNotificationEndpointsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionNotificationEndpointsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionNotificationEndpointsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all NotificationEndpoint resources,
        /// regional and global, available to the specified project.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListRegionNotificationEndpointsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NotificationEndpointAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNotificationEndpoints/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNotificationEndpoints",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified NotificationEndpoint in the given region
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeleteRegionNotificationEndpointRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNotificationEndpoints/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNotificationEndpoints",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified NotificationEndpoint resource in the given region.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionNotificationEndpointRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NotificationEndpoint>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNotificationEndpoints/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNotificationEndpoints",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Create a NotificationEndpoint in the specified project in the given region
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<
                super::InsertRegionNotificationEndpointRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNotificationEndpoints/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNotificationEndpoints",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the NotificationEndpoints for a project in the given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListRegionNotificationEndpointsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::NotificationEndpointList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNotificationEndpoints/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNotificationEndpoints",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionNotificationEndpointRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNotificationEndpoints/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionNotificationEndpoints",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_operations_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionOperations API.
    #[derive(Debug, Clone)]
    pub struct RegionOperationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionOperationsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionOperationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionOperationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionOperationsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified region-specific Operations resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionOperationRequest>,
        ) -> std::result::Result<
            tonic::Response<super::DeleteRegionOperationResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionOperations/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionOperations", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the specified region-specific Operations resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionOperationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionOperations/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionOperations", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of Operation resources contained within
        /// the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionOperationsRequest>,
        ) -> std::result::Result<tonic::Response<super::OperationList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionOperations/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionOperations", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Waits for the specified Operation resource to return as `DONE`
        /// or for the request to approach the 2 minute deadline, and retrieves the
        /// specified Operation resource. This method differs from the
        /// `GET` method in that it waits for no more than the default
        /// deadline (2 minutes) and then returns the current state of the operation,
        /// which might be `DONE` or still in progress.
        ///
        /// This method is called on a best-effort basis. Specifically:
        ///
        /// ```text
        /// - In uncommon cases, when the server is overloaded, the request might
        /// return before the default deadline is reached, or might return after zero
        /// seconds.
        /// - If the default deadline is reached, there is no guarantee that the
        /// operation is actually done when the method returns. Be prepared to retry
        /// if the operation is not `DONE`.
        /// ```
        pub async fn wait(
            &mut self,
            request: impl tonic::IntoRequest<super::WaitRegionOperationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionOperations/Wait",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionOperations", "Wait"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_security_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionSecurityPolicies API.
    #[derive(Debug, Clone)]
    pub struct RegionSecurityPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionSecurityPoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionSecurityPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionSecurityPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionSecurityPoliciesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Inserts a rule into a security policy.
        pub async fn add_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::AddRuleRegionSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSecurityPolicies/AddRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSecurityPolicies",
                        "AddRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified policy.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSecurityPolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSecurityPolicies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// List all of the ordered rules present in a single specified policy.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::SecurityPolicy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSecurityPolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSecurityPolicies",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets a rule at the specified priority.
        pub async fn get_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRuleRegionSecurityPolicyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SecurityPolicyRule>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSecurityPolicies/GetRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSecurityPolicies",
                        "GetRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new policy in the specified project using the data included in
        /// the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSecurityPolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSecurityPolicies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// List all the policies that have been configured for the specified project
        /// and region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionSecurityPoliciesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SecurityPolicyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSecurityPolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSecurityPolicies",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified policy with the data included in the request. To
        /// clear fields in the policy, leave the fields empty and specify them in the
        /// updateMask. This cannot be used to be update the rules in the policy.
        /// Please use the per rule methods like addRule, patchRule, and removeRule
        /// instead.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSecurityPolicies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSecurityPolicies",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches a rule at the specified priority. To clear fields in the rule,
        /// leave the fields empty and specify them in the updateMask.
        pub async fn patch_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRuleRegionSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSecurityPolicies/PatchRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSecurityPolicies",
                        "PatchRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes a rule at the specified priority.
        pub async fn remove_rule(
            &mut self,
            request: impl tonic::IntoRequest<
                super::RemoveRuleRegionSecurityPolicyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSecurityPolicies/RemoveRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSecurityPolicies",
                        "RemoveRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a security policy. To learn more about labels,
        /// read the Labeling Resources
        /// documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsRegionSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSecurityPolicies/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSecurityPolicies",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_snapshot_settings_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionSnapshotSettings API.
    #[derive(Debug, Clone)]
    pub struct RegionSnapshotSettingsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionSnapshotSettingsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionSnapshotSettingsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionSnapshotSettingsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionSnapshotSettingsClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Get region snapshot settings.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionSnapshotSettingRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SnapshotSettings>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshotSettings/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSnapshotSettings",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patch region snapshot settings.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionSnapshotSettingRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshotSettings/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSnapshotSettings",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_snapshots_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionSnapshots API.
    #[derive(Debug, Clone)]
    pub struct RegionSnapshotsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionSnapshotsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionSnapshotsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionSnapshotsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionSnapshotsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified Snapshot resource. Keep in mind that deleting
        /// a single snapshot might not necessarily delete all the data on that
        /// snapshot. If any data on the snapshot that is marked for deletion is
        /// needed for subsequent snapshots, the data will be moved to the next
        /// corresponding snapshot.
        ///
        /// For more information, seeDeleting
        /// snapshots.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshots/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionSnapshots", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified Snapshot resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Snapshot>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshots/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionSnapshots", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyRegionSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshots/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSnapshots",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a snapshot in the specified region using the data included
        /// in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshots/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionSnapshots", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of Snapshot resources contained within
        /// the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionSnapshotsRequest>,
        ) -> std::result::Result<tonic::Response<super::SnapshotList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshots/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionSnapshots", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyRegionSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshots/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSnapshots",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a regional snapshot. To learn more about labels, read
        /// the Labeling Resources
        /// documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsRegionSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshots/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSnapshots",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsRegionSnapshotRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshots/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSnapshots",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Rotates the customer-managed
        /// encryption key to the latest version for the specified snapshot.
        pub async fn update_kms_key(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateKmsKeyRegionSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSnapshots/UpdateKmsKey",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSnapshots",
                        "UpdateKmsKey",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_ssl_certificates_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionSslCertificates API.
    #[derive(Debug, Clone)]
    pub struct RegionSslCertificatesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionSslCertificatesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionSslCertificatesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionSslCertificatesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionSslCertificatesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified SslCertificate resource in the region.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionSslCertificateRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslCertificates/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSslCertificates",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified SslCertificate resource in the specified region. Get
        /// a list of available SSL certificates by making a list()
        /// request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionSslCertificateRequest>,
        ) -> std::result::Result<tonic::Response<super::SslCertificate>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslCertificates/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSslCertificates",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a SslCertificate resource in the specified project and region using
        /// the data included in the request
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionSslCertificateRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslCertificates/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSslCertificates",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of SslCertificate resources available to the specified
        /// project in the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionSslCertificatesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SslCertificateList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslCertificates/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSslCertificates",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_ssl_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionSslPolicies API.
    #[derive(Debug, Clone)]
    pub struct RegionSslPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionSslPoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionSslPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionSslPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionSslPoliciesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified SSL policy. The SSL policy resource can be deleted
        /// only if it is not in use by any TargetHttpsProxy or TargetSslProxy
        /// resources.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionSslPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslPolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSslPolicies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all of the ordered rules present in a single specified policy.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionSslPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::SslPolicy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslPolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionSslPolicies", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new policy in the specified project and region using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionSslPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslPolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSslPolicies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all the SSL policies that have been configured for the specified
        /// project and region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionSslPoliciesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SslPoliciesList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslPolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionSslPolicies", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all features that can be specified in the SSL policy when using
        /// custom profile.
        pub async fn list_available_features(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListAvailableFeaturesRegionSslPoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::SslPoliciesListAvailableFeaturesResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslPolicies/ListAvailableFeatures",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionSslPolicies",
                        "ListAvailableFeatures",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified SSL policy with the data included in the request.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionSslPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslPolicies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionSslPolicies", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_target_http_proxies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionTargetHttpProxies API.
    #[derive(Debug, Clone)]
    pub struct RegionTargetHttpProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionTargetHttpProxiesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionTargetHttpProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionTargetHttpProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionTargetHttpProxiesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified TargetHttpProxy resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionTargetHttpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpProxies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpProxies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified TargetHttpProxy resource in the specified region.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionTargetHttpProxyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetHttpProxy>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpProxies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpProxies",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a TargetHttpProxy resource in the specified project and region
        /// using the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionTargetHttpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpProxies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpProxies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of TargetHttpProxy resources available
        /// to the specified project in the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionTargetHttpProxiesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetHttpProxyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpProxies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpProxies",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the URL map for TargetHttpProxy.
        pub async fn set_url_map(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetUrlMapRegionTargetHttpProxyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpProxies/SetUrlMap",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpProxies",
                        "SetUrlMap",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_target_https_proxies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionTargetHttpsProxies API.
    #[derive(Debug, Clone)]
    pub struct RegionTargetHttpsProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionTargetHttpsProxiesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionTargetHttpsProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionTargetHttpsProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionTargetHttpsProxiesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified TargetHttpsProxy resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionTargetHttpsProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpsProxies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified TargetHttpsProxy resource in the specified region.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionTargetHttpsProxyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetHttpsProxy>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpsProxies",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a TargetHttpsProxy resource in the specified project and region
        /// using the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionTargetHttpsProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpsProxies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of TargetHttpsProxy resources available
        /// to the specified project in the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionTargetHttpsProxiesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetHttpsProxyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpsProxies",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified regional TargetHttpsProxy resource with the data
        /// included in the request. This method supports PATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionTargetHttpsProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpsProxies",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Replaces SslCertificates for TargetHttpsProxy.
        pub async fn set_ssl_certificates(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetSslCertificatesRegionTargetHttpsProxyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/SetSslCertificates",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpsProxies",
                        "SetSslCertificates",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the URL map for TargetHttpsProxy.
        pub async fn set_url_map(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetUrlMapRegionTargetHttpsProxyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/SetUrlMap",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetHttpsProxies",
                        "SetUrlMap",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_target_tcp_proxies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionTargetTcpProxies API.
    #[derive(Debug, Clone)]
    pub struct RegionTargetTcpProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionTargetTcpProxiesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionTargetTcpProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionTargetTcpProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionTargetTcpProxiesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified TargetTcpProxy resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionTargetTcpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetTcpProxies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetTcpProxies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified TargetTcpProxy resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionTargetTcpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::TargetTcpProxy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetTcpProxies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetTcpProxies",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a TargetTcpProxy resource in the specified project and region using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionTargetTcpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetTcpProxies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetTcpProxies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of TargetTcpProxy resources
        /// available to the specified project in a given region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionTargetTcpProxiesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetTcpProxyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetTcpProxies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.RegionTargetTcpProxies",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_url_maps_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionUrlMaps API.
    #[derive(Debug, Clone)]
    pub struct RegionUrlMapsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionUrlMapsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionUrlMapsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionUrlMapsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionUrlMapsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified UrlMap resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionUrlMaps", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified UrlMap resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::UrlMap>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.RegionUrlMaps", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Creates a UrlMap resource in the specified project using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionUrlMaps", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of UrlMap resources available to the specified
        /// project in the specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionUrlMapsRequest>,
        ) -> std::result::Result<tonic::Response<super::UrlMapList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionUrlMaps", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified UrlMap resource with the data included in the
        /// request. This method supportsPATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionUrlMaps", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified UrlMap resource with the data included in the
        /// request.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateRegionUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionUrlMaps", "Update"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Runs static validation for the UrlMap. In particular, the tests of the
        /// provided UrlMap will be run. Calling this method does NOT create the
        /// UrlMap.
        pub async fn validate(
            &mut self,
            request: impl tonic::IntoRequest<super::ValidateRegionUrlMapRequest>,
        ) -> std::result::Result<
            tonic::Response<super::UrlMapsValidateResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Validate",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.RegionUrlMaps", "Validate"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod region_zones_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The RegionZones API.
    #[derive(Debug, Clone)]
    pub struct RegionZonesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionZonesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionZonesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionZonesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionZonesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of Zone resources under the specific region available to
        /// the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionZonesRequest>,
        ) -> std::result::Result<tonic::Response<super::ZoneList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionZones/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.RegionZones", "List"));
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod regions_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Regions API.
    #[derive(Debug, Clone)]
    pub struct RegionsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RegionsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RegionsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RegionsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Returns the specified Region resource.
        ///
        /// To decrease latency for this method, you can optionally omit any unneeded
        /// information from the response by using a field mask. This practice is
        /// especially recommended for unused quota information (the `quotas` field).
        /// To exclude one or more fields, set your request's `fields` query parameter
        /// to only include the fields you need. For example, to only include the `id`
        /// and `selfLink` fields, add the query parameter `?fields=id,selfLink` to
        /// your request.
        ///
        /// This method fails if the quota information is unavailable for the region
        /// and if the organization policy constraint
        /// compute.requireBasicQuotaInResponse is enforced. This
        /// constraint, when enforced, disables the fail-open behaviour when quota
        /// information (the `items.quotas` field) is unavailable for the region.
        /// It is recommended to use the default setting
        /// for the constraint unless your application requires the fail-closed
        /// behaviour for this method.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionRequest>,
        ) -> std::result::Result<tonic::Response<super::Region>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Regions/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Regions", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of region resources available to the specified project.
        ///
        /// To decrease latency for this method, you can optionally omit any unneeded
        /// information from the response by using a field mask. This practice is
        /// especially recommended for unused quota information
        /// (the `items.quotas` field).
        /// To exclude one or more fields, set your request's `fields` query parameter
        /// to only include the fields you need. For example, to only include the `id`
        /// and `selfLink` fields, add the query parameter `?fields=id,selfLink` to
        /// your request.
        ///
        /// This method fails if the quota information is unavailable for the region
        /// and if the organization policy constraint
        /// compute.requireBasicQuotaInResponse is enforced. This
        /// constraint, when enforced, disables the fail-open behaviour when quota
        /// information (the `items.quotas` field) is unavailable for the region.
        /// It is recommended to use the default setting
        /// for the constraint unless your application requires the fail-closed
        /// behaviour for this method.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionsRequest>,
        ) -> std::result::Result<tonic::Response<super::RegionList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Regions/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Regions", "List"));
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod reservation_blocks_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The ReservationBlocks API.
    #[derive(Debug, Clone)]
    pub struct ReservationBlocksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ReservationBlocksClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ReservationBlocksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ReservationBlocksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ReservationBlocksClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves information about the specified reservation block.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetReservationBlockRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ReservationBlocksGetResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationBlocks/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ReservationBlocks", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyReservationBlockRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationBlocks/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationBlocks",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of reservation blocks under a single reservation.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListReservationBlocksRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ReservationBlocksListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationBlocks/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ReservationBlocks", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Allows customers to perform maintenance on a reservation block
        pub async fn perform_maintenance(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PerformMaintenanceReservationBlockRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationBlocks/PerformMaintenance",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationBlocks",
                        "PerformMaintenance",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyReservationBlockRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationBlocks/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationBlocks",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsReservationBlockRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationBlocks/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationBlocks",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod reservation_slots_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The ReservationSlots API.
    #[derive(Debug, Clone)]
    pub struct ReservationSlotsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ReservationSlotsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ReservationSlotsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ReservationSlotsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ReservationSlotsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves information about the specified reservation slot.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetReservationSlotRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ReservationSlotsGetResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSlots/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ReservationSlots", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Allows customers to get SBOM versions of a reservation slot.
        pub async fn get_version(
            &mut self,
            request: impl tonic::IntoRequest<super::GetVersionReservationSlotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSlots/GetVersion",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationSlots",
                        "GetVersion",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of reservation slots under a single reservation.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListReservationSlotsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ReservationSlotsListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSlots/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ReservationSlots", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Update a reservation slot in the specified sub-block.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateReservationSlotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSlots/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ReservationSlots", "Update"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod reservation_sub_blocks_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The ReservationSubBlocks API.
    #[derive(Debug, Clone)]
    pub struct ReservationSubBlocksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ReservationSubBlocksClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ReservationSubBlocksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ReservationSubBlocksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ReservationSubBlocksClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves information about the specified reservation subBlock.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetReservationSubBlockRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ReservationSubBlocksGetResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSubBlocks/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationSubBlocks",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::GetIamPolicyReservationSubBlockRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSubBlocks/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationSubBlocks",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Allows customers to get SBOM versions of a reservation subBlock.
        pub async fn get_version(
            &mut self,
            request: impl tonic::IntoRequest<super::GetVersionReservationSubBlockRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSubBlocks/GetVersion",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationSubBlocks",
                        "GetVersion",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of reservation subBlocks under a single reservation.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListReservationSubBlocksRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ReservationSubBlocksListResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSubBlocks/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationSubBlocks",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Allows customers to perform maintenance on a reservation subBlock
        pub async fn perform_maintenance(
            &mut self,
            request: impl tonic::IntoRequest<
                super::PerformMaintenanceReservationSubBlockRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSubBlocks/PerformMaintenance",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationSubBlocks",
                        "PerformMaintenance",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Allows customers to report a faulty subBlock.
        pub async fn report_faulty(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ReportFaultyReservationSubBlockRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSubBlocks/ReportFaulty",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationSubBlocks",
                        "ReportFaulty",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetIamPolicyReservationSubBlockRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSubBlocks/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationSubBlocks",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsReservationSubBlockRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ReservationSubBlocks/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ReservationSubBlocks",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod reservations_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Reservations API.
    #[derive(Debug, Clone)]
    pub struct ReservationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ReservationsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ReservationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ReservationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ReservationsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of reservations.
        ///
        /// To prevent failure, it is recommended that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListReservationsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ReservationAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Reservations",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified reservation.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Reservations", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves information about the specified reservation.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Reservation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Reservations", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Reservations",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new reservation. For more information, readReserving zonal
        /// resources.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Reservations", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// A list of all the reservations that have been configured for the
        /// specified project in specified zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListReservationsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ReservationList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Reservations", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Perform maintenance on an extended reservation
        pub async fn perform_maintenance(
            &mut self,
            request: impl tonic::IntoRequest<super::PerformMaintenanceReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/PerformMaintenance",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Reservations",
                        "PerformMaintenance",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Resizes the reservation (applicable to standalone reservations only). For
        /// more information, readModifying
        /// reservations.
        pub async fn resize(
            &mut self,
            request: impl tonic::IntoRequest<super::ResizeReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/Resize",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Reservations", "Resize"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Reservations",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsReservationRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Reservations",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Update share settings of the reservation.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateReservationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Reservations", "Update"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod resource_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The ResourcePolicies API.
    #[derive(Debug, Clone)]
    pub struct ResourcePoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ResourcePoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ResourcePoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ResourcePoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ResourcePoliciesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of resource policies.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListResourcePoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::ResourcePolicyAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ResourcePolicies",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified resource policy.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteResourcePolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ResourcePolicies", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves all information of the specified resource policy.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetResourcePolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::ResourcePolicy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ResourcePolicies", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyResourcePolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ResourcePolicies",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new resource policy.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertResourcePolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ResourcePolicies", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// A list all the resource policies that have been configured for the
        /// specified project in specified region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListResourcePoliciesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ResourcePolicyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ResourcePolicies", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Modify the specified resource policy.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchResourcePolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ResourcePolicies", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyResourcePolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ResourcePolicies",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsResourcePolicyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ResourcePolicies",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod routers_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Routers API.
    #[derive(Debug, Clone)]
    pub struct RoutersClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RoutersClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RoutersClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RoutersClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RoutersClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of routers.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListRoutersRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RouterAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Routers", "AggregatedList"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified Router resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRouterRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routers", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Deletes Route Policy
        pub async fn delete_route_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRoutePolicyRouterRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/DeleteRoutePolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Routers",
                        "DeleteRoutePolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified Router resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRouterRequest>,
        ) -> std::result::Result<tonic::Response<super::Router>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routers", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves runtime NAT IP information.
        pub async fn get_nat_ip_info(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNatIpInfoRouterRequest>,
        ) -> std::result::Result<
            tonic::Response<super::NatIpInfoResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/GetNatIpInfo",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Routers", "GetNatIpInfo"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves runtime Nat mapping information of VM endpoints.
        pub async fn get_nat_mapping_info(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNatMappingInfoRoutersRequest>,
        ) -> std::result::Result<
            tonic::Response<super::VmEndpointNatMappingsList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/GetNatMappingInfo",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Routers",
                        "GetNatMappingInfo",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns specified Route Policy
        pub async fn get_route_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRoutePolicyRouterRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RoutersGetRoutePolicyResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/GetRoutePolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Routers", "GetRoutePolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves runtime information of the specified router.
        pub async fn get_router_status(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRouterStatusRouterRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RouterStatusResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/GetRouterStatus",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Routers", "GetRouterStatus"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a Router resource in the specified project and region using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRouterRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routers", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of Router resources available to the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRoutersRequest>,
        ) -> std::result::Result<tonic::Response<super::RouterList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routers", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of router bgp routes available to the specified project.
        pub async fn list_bgp_routes(
            &mut self,
            request: impl tonic::IntoRequest<super::ListBgpRoutesRoutersRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RoutersListBgpRoutes>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/ListBgpRoutes",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Routers", "ListBgpRoutes"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of router route policy subresources available to the
        /// specified project.
        pub async fn list_route_policies(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRoutePoliciesRoutersRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RoutersListRoutePolicies>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/ListRoutePolicies",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Routers",
                        "ListRoutePolicies",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified Router resource with the data included in the
        /// request. This method supportsPATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRouterRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routers", "Patch"));
            self.inner.unary(req, path, codec).await
        }
        /// Patches Route Policy
        pub async fn patch_route_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRoutePolicyRouterRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/PatchRoutePolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Routers",
                        "PatchRoutePolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Preview fields auto-generated during router create andupdate operations.
        /// Calling this method does NOT create or update the router.
        pub async fn preview(
            &mut self,
            request: impl tonic::IntoRequest<super::PreviewRouterRequest>,
        ) -> std::result::Result<
            tonic::Response<super::RoutersPreviewResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/Preview",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routers", "Preview"));
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified Router resource with the data included in the
        /// request.  This method conforms toPUT semantics, which requests that the state of the
        /// target resource be created or replaced with the state defined by the
        /// representation enclosed in the request message payload.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateRouterRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routers", "Update"));
            self.inner.unary(req, path, codec).await
        }
        /// Updates or creates new Route Policy
        pub async fn update_route_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateRoutePolicyRouterRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/UpdateRoutePolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Routers",
                        "UpdateRoutePolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod routes_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Routes API.
    #[derive(Debug, Clone)]
    pub struct RoutesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl RoutesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> RoutesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RoutesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            RoutesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified Route resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRouteRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routes/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routes", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified Route resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRouteRequest>,
        ) -> std::result::Result<tonic::Response<super::Route>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routes", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Creates a Route resource in the specified project using the data included
        /// in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRouteRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routes/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routes", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of Route resources available to the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRoutesRequest>,
        ) -> std::result::Result<tonic::Response<super::RouteList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routes/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Routes", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsRouteRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routes/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Routes",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod security_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The SecurityPolicies API.
    #[derive(Debug, Clone)]
    pub struct SecurityPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl SecurityPoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> SecurityPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SecurityPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            SecurityPoliciesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Inserts a rule into a security policy.
        pub async fn add_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::AddRuleSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/AddRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SecurityPolicies",
                        "AddRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of all SecurityPolicy resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListSecurityPoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::SecurityPoliciesAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SecurityPolicies",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified policy.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SecurityPolicies", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// List all of the ordered rules present in a single specified policy.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::SecurityPolicy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SecurityPolicies", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets a rule at the specified priority.
        pub async fn get_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRuleSecurityPolicyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SecurityPolicyRule>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/GetRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SecurityPolicies",
                        "GetRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new policy in the specified project using the data included in
        /// the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SecurityPolicies", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// List all the policies that have been configured for the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListSecurityPoliciesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SecurityPolicyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SecurityPolicies", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the current list of preconfigured Web Application Firewall (WAF)
        /// expressions.
        pub async fn list_preconfigured_expression_sets(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListPreconfiguredExpressionSetsSecurityPoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<
                super::SecurityPoliciesListPreconfiguredExpressionSetsResponse,
            >,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/ListPreconfiguredExpressionSets",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SecurityPolicies",
                        "ListPreconfiguredExpressionSets",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified policy with the data included in the request. To
        /// clear fields in the policy, leave the fields empty and specify them in the
        /// updateMask. This cannot be used to be update the rules in the policy.
        /// Please use the per rule methods like addRule, patchRule, and removeRule
        /// instead.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SecurityPolicies", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches a rule at the specified priority. To clear fields in the rule,
        /// leave the fields empty and specify them in the updateMask.
        pub async fn patch_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRuleSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/PatchRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SecurityPolicies",
                        "PatchRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes a rule at the specified priority.
        pub async fn remove_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveRuleSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/RemoveRule",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SecurityPolicies",
                        "RemoveRule",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a security policy. To learn more about labels,
        /// read the Labeling Resources
        /// documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsSecurityPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SecurityPolicies",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod service_attachments_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The ServiceAttachments API.
    #[derive(Debug, Clone)]
    pub struct ServiceAttachmentsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ServiceAttachmentsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ServiceAttachmentsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ServiceAttachmentsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ServiceAttachmentsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all ServiceAttachment resources,
        /// regional and global, available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListServiceAttachmentsRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::ServiceAttachmentAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ServiceAttachments",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified ServiceAttachment in the given scope
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteServiceAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ServiceAttachments",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified ServiceAttachment resource in the given scope.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetServiceAttachmentRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ServiceAttachment>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ServiceAttachments", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyServiceAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ServiceAttachments",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a ServiceAttachment in the specified project in the given scope
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertServiceAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ServiceAttachments",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the ServiceAttachments for a project in the given scope.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListServiceAttachmentsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::ServiceAttachmentList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ServiceAttachments", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified ServiceAttachment resource with the data included in
        /// the request. This method supports PATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchServiceAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ServiceAttachments",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyServiceAttachmentRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ServiceAttachments",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsServiceAttachmentRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ServiceAttachments",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod snapshot_settings_service_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The SnapshotSettings API.
    #[derive(Debug, Clone)]
    pub struct SnapshotSettingsServiceClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl SnapshotSettingsServiceClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> SnapshotSettingsServiceClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SnapshotSettingsServiceClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            SnapshotSettingsServiceClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Get snapshot settings.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSnapshotSettingRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SnapshotSettings>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SnapshotSettingsService/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SnapshotSettingsService",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patch snapshot settings.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchSnapshotSettingRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SnapshotSettingsService/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SnapshotSettingsService",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod snapshots_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Snapshots API.
    #[derive(Debug, Clone)]
    pub struct SnapshotsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl SnapshotsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> SnapshotsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SnapshotsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            SnapshotsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified Snapshot resource. Keep in mind that deleting
        /// a single snapshot might not necessarily delete all the data on that
        /// snapshot. If any data on the snapshot that is marked for deletion is
        /// needed for subsequent snapshots, the data will be moved to the next
        /// corresponding snapshot.
        ///
        /// For more information, seeDeleting
        /// snapshots.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Snapshots", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified Snapshot resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Snapshot>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Snapshots", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicySnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Snapshots", "GetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a snapshot in the specified project using the data included
        /// in the request. For regular snapshot creation, consider using this method
        /// instead of disks.createSnapshot,
        /// as this method supports more features, such as creating snapshots in a
        /// project different from the source disk project.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Snapshots", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of Snapshot resources contained within
        /// the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListSnapshotsRequest>,
        ) -> std::result::Result<tonic::Response<super::SnapshotList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Snapshots", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicySnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Snapshots", "SetIamPolicy"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a snapshot. To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsSnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Snapshots", "SetLabels"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsSnapshotRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Snapshots",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Rotates the customer-managed
        /// encryption key to the latest version for the specified snapshot.
        pub async fn update_kms_key(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateKmsKeySnapshotRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/UpdateKmsKey",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Snapshots", "UpdateKmsKey"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod ssl_certificates_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The SslCertificates API.
    #[derive(Debug, Clone)]
    pub struct SslCertificatesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl SslCertificatesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> SslCertificatesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SslCertificatesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            SslCertificatesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all SslCertificate resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListSslCertificatesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SslCertificateAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslCertificates/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SslCertificates",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified SslCertificate resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteSslCertificateRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslCertificates/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SslCertificates", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified SslCertificate resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSslCertificateRequest>,
        ) -> std::result::Result<tonic::Response<super::SslCertificate>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslCertificates/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SslCertificates", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a SslCertificate resource in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertSslCertificateRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslCertificates/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SslCertificates", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of SslCertificate resources available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListSslCertificatesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SslCertificateList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslCertificates/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SslCertificates", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod ssl_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The SslPolicies API.
    #[derive(Debug, Clone)]
    pub struct SslPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl SslPoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> SslPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SslPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            SslPoliciesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all SslPolicy resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListSslPoliciesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SslPoliciesAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslPolicies/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SslPolicies",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified SSL policy. The SSL policy resource can be deleted
        /// only if it is not in use by any TargetHttpsProxy or TargetSslProxy
        /// resources.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteSslPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslPolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SslPolicies", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all of the ordered rules present in a single specified policy.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSslPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::SslPolicy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslPolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.SslPolicies", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified SSL policy resource.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertSslPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslPolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.SslPolicies", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all the SSL policies that have been configured for the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListSslPoliciesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SslPoliciesList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslPolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.SslPolicies", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Lists all features that can be specified in the SSL policy when using
        /// custom profile.
        pub async fn list_available_features(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListAvailableFeaturesSslPoliciesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::SslPoliciesListAvailableFeaturesResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslPolicies/ListAvailableFeatures",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.SslPolicies",
                        "ListAvailableFeatures",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified SSL policy with the data included in the request.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchSslPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslPolicies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.SslPolicies", "Patch"));
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod storage_pool_types_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The StoragePoolTypes API.
    #[derive(Debug, Clone)]
    pub struct StoragePoolTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl StoragePoolTypesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> StoragePoolTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> StoragePoolTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            StoragePoolTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of storage pool types.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListStoragePoolTypesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::StoragePoolTypeAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePoolTypes/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.StoragePoolTypes",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified storage pool type.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetStoragePoolTypeRequest>,
        ) -> std::result::Result<
            tonic::Response<super::StoragePoolType>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePoolTypes/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.StoragePoolTypes", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of storage pool types available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListStoragePoolTypesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::StoragePoolTypeList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePoolTypes/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.StoragePoolTypes", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod storage_pools_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The StoragePools API.
    #[derive(Debug, Clone)]
    pub struct StoragePoolsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl StoragePoolsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> StoragePoolsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> StoragePoolsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            StoragePoolsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of storage pools.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListStoragePoolsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::StoragePoolAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePools/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.StoragePools",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified storage pool. Deleting a storagePool
        /// removes its data permanently and is irreversible. However, deleting a
        /// storagePool does not delete any snapshots previously
        /// made from the storagePool. You must separately delete
        /// snapshots.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteStoragePoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePools/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.StoragePools", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns a specified storage pool. Gets a list of available
        /// storage pools by making a list() request.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetStoragePoolRequest>,
        ) -> std::result::Result<tonic::Response<super::StoragePool>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePools/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.StoragePools", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyStoragePoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePools/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.StoragePools",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a storage pool in the specified project using the data
        /// in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertStoragePoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePools/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.StoragePools", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of storage pools contained within
        /// the specified zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListStoragePoolsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::StoragePoolList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePools/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.StoragePools", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Lists the disks in a specified storage pool.
        pub async fn list_disks(
            &mut self,
            request: impl tonic::IntoRequest<super::ListDisksStoragePoolsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::StoragePoolListDisks>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePools/ListDisks",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.StoragePools", "ListDisks"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyStoragePoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePools/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.StoragePools",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsStoragePoolRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePools/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.StoragePools",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified storagePool with the data included in the request.
        /// The update is performed only on selected fields included as part
        /// of update-mask. Only the following fields can be modified:
        /// pool_provisioned_capacity_gb, pool_provisioned_iops and
        /// pool_provisioned_throughput.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateStoragePoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.StoragePools/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.StoragePools", "Update"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod subnetworks_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Subnetworks API.
    #[derive(Debug, Clone)]
    pub struct SubnetworksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl SubnetworksClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> SubnetworksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SubnetworksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            SubnetworksClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of subnetworks.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListSubnetworksRequest>,
        ) -> std::result::Result<
            tonic::Response<super::SubnetworkAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Subnetworks",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified subnetwork.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteSubnetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Subnetworks", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Expands the IP CIDR range of the subnetwork to a specified value.
        pub async fn expand_ip_cidr_range(
            &mut self,
            request: impl tonic::IntoRequest<super::ExpandIpCidrRangeSubnetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/ExpandIpCidrRange",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Subnetworks",
                        "ExpandIpCidrRange",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified subnetwork.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSubnetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Subnetwork>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Subnetworks", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the access control policy for a resource. May be empty if no such
        /// policy or resource exists.
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicySubnetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/GetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Subnetworks",
                        "GetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a subnetwork in the specified project using the data
        /// included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertSubnetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Subnetworks", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of subnetworks available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListSubnetworksRequest>,
        ) -> std::result::Result<tonic::Response<super::SubnetworkList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Subnetworks", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves an aggregated list of all usable subnetworks in the project.
        pub async fn list_usable(
            &mut self,
            request: impl tonic::IntoRequest<super::ListUsableSubnetworksRequest>,
        ) -> std::result::Result<
            tonic::Response<super::UsableSubnetworksAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/ListUsable",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.Subnetworks", "ListUsable"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified subnetwork with the data included in the request.
        /// Only certain fields can be updated with a patch request
        /// as indicated in the field descriptions.
        /// You must specify the current fingerprint of the
        /// subnetwork resource being patched.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchSubnetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Subnetworks", "Patch"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets the access control policy on the specified resource.
        /// Replaces any existing policy.
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicySubnetworkRequest>,
        ) -> std::result::Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/SetIamPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Subnetworks",
                        "SetIamPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Set whether VMs in this subnet can access Google services without assigning
        /// external IP addresses through Private Google Access.
        pub async fn set_private_ip_google_access(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetPrivateIpGoogleAccessSubnetworkRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/SetPrivateIpGoogleAccess",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Subnetworks",
                        "SetPrivateIpGoogleAccess",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsSubnetworkRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.Subnetworks",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod target_grpc_proxies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The TargetGrpcProxies API.
    #[derive(Debug, Clone)]
    pub struct TargetGrpcProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl TargetGrpcProxiesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> TargetGrpcProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetGrpcProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            TargetGrpcProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified TargetGrpcProxy in the given scope
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetGrpcProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetGrpcProxies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetGrpcProxies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified TargetGrpcProxy resource in the given scope.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetGrpcProxyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetGrpcProxy>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetGrpcProxies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetGrpcProxies", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a TargetGrpcProxy in the specified project in the given scope
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertTargetGrpcProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetGrpcProxies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetGrpcProxies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists the TargetGrpcProxies for a project in the given scope.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetGrpcProxiesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetGrpcProxyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetGrpcProxies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetGrpcProxies", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified TargetGrpcProxy resource with the data included in
        /// the request. This method supports PATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchTargetGrpcProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetGrpcProxies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetGrpcProxies", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod target_http_proxies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The TargetHttpProxies API.
    #[derive(Debug, Clone)]
    pub struct TargetHttpProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl TargetHttpProxiesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> TargetHttpProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetHttpProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            TargetHttpProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all TargetHttpProxy resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListTargetHttpProxiesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TargetHttpProxyAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpProxies",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified TargetHttpProxy resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetHttpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpProxies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified TargetHttpProxy resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetHttpProxyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetHttpProxy>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetHttpProxies", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a TargetHttpProxy resource in the specified
        /// project using the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertTargetHttpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpProxies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of TargetHttpProxy resources available
        /// to the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetHttpProxiesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetHttpProxyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetHttpProxies", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified TargetHttpProxy resource with the data included in
        /// the request. This method supports PATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchTargetHttpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetHttpProxies", "Patch"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the URL map for TargetHttpProxy.
        pub async fn set_url_map(
            &mut self,
            request: impl tonic::IntoRequest<super::SetUrlMapTargetHttpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/SetUrlMap",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpProxies",
                        "SetUrlMap",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod target_https_proxies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The TargetHttpsProxies API.
    #[derive(Debug, Clone)]
    pub struct TargetHttpsProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl TargetHttpsProxiesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> TargetHttpsProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetHttpsProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            TargetHttpsProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all TargetHttpsProxy resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListTargetHttpsProxiesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TargetHttpsProxyAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpsProxies",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified TargetHttpsProxy resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetHttpsProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpsProxies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified TargetHttpsProxy resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetHttpsProxyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetHttpsProxy>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetHttpsProxies", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a TargetHttpsProxy resource in the specified
        /// project using the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertTargetHttpsProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpsProxies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of TargetHttpsProxy resources
        /// available to the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetHttpsProxiesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetHttpsProxyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetHttpsProxies", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified TargetHttpsProxy resource with the data included in
        /// the request. This method supports PATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchTargetHttpsProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpsProxies",
                        "Patch",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the Certificate Map for TargetHttpsProxy.
        pub async fn set_certificate_map(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetCertificateMapTargetHttpsProxyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/SetCertificateMap",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpsProxies",
                        "SetCertificateMap",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the QUIC override policy for TargetHttpsProxy.
        pub async fn set_quic_override(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetQuicOverrideTargetHttpsProxyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/SetQuicOverride",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpsProxies",
                        "SetQuicOverride",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Replaces SslCertificates for TargetHttpsProxy.
        pub async fn set_ssl_certificates(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetSslCertificatesTargetHttpsProxyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/SetSslCertificates",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpsProxies",
                        "SetSslCertificates",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the
        /// server-side support for SSL features. This affects connections between
        /// clients and the HTTPS proxy load balancer. They do not affect the
        /// connection between the load balancer and the backends.
        pub async fn set_ssl_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetSslPolicyTargetHttpsProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/SetSslPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpsProxies",
                        "SetSslPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the URL map for TargetHttpsProxy.
        pub async fn set_url_map(
            &mut self,
            request: impl tonic::IntoRequest<super::SetUrlMapTargetHttpsProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/SetUrlMap",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetHttpsProxies",
                        "SetUrlMap",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod target_instances_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The TargetInstances API.
    #[derive(Debug, Clone)]
    pub struct TargetInstancesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl TargetInstancesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> TargetInstancesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetInstancesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            TargetInstancesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of target instances.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListTargetInstancesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetInstanceAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetInstances",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified TargetInstance resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetInstances", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified TargetInstance resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::TargetInstance>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetInstances", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a TargetInstance resource in the specified project and zone using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertTargetInstanceRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetInstances", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of TargetInstance resources available to the specified
        /// project and zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetInstancesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetInstanceList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetInstances", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the Google Cloud Armor security policy for the specified target
        /// instance. For more information, seeGoogle
        /// Cloud Armor Overview
        pub async fn set_security_policy(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetSecurityPolicyTargetInstanceRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/SetSecurityPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetInstances",
                        "SetSecurityPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsTargetInstanceRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetInstances",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod target_pools_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The TargetPools API.
    #[derive(Debug, Clone)]
    pub struct TargetPoolsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl TargetPoolsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> TargetPoolsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetPoolsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            TargetPoolsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Adds health check URLs to a target pool.
        pub async fn add_health_check(
            &mut self,
            request: impl tonic::IntoRequest<super::AddHealthCheckTargetPoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/AddHealthCheck",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetPools",
                        "AddHealthCheck",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Adds an instance to a target pool.
        pub async fn add_instance(
            &mut self,
            request: impl tonic::IntoRequest<super::AddInstanceTargetPoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/AddInstance",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetPools", "AddInstance"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves an aggregated list of target pools.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListTargetPoolsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetPoolAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetPools",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified target pool.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetPoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetPools", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified target pool.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetPoolRequest>,
        ) -> std::result::Result<tonic::Response<super::TargetPool>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.TargetPools", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the most recent health check results for each IP for the
        /// instance that is referenced by the given target pool.
        pub async fn get_health(
            &mut self,
            request: impl tonic::IntoRequest<super::GetHealthTargetPoolRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetPoolInstanceHealth>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/GetHealth",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetPools", "GetHealth"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a target pool in the specified project and region using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertTargetPoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetPools", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of target pools available to the specified
        /// project and region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetPoolsRequest>,
        ) -> std::result::Result<tonic::Response<super::TargetPoolList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.TargetPools", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Removes health check URL from a target pool.
        pub async fn remove_health_check(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveHealthCheckTargetPoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/RemoveHealthCheck",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetPools",
                        "RemoveHealthCheck",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Removes instance URL from a target pool.
        pub async fn remove_instance(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveInstanceTargetPoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/RemoveInstance",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetPools",
                        "RemoveInstance",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes a backup target pool's configurations.
        pub async fn set_backup(
            &mut self,
            request: impl tonic::IntoRequest<super::SetBackupTargetPoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/SetBackup",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetPools", "SetBackup"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the Google Cloud Armor security policy for the specified target pool.
        /// For more information, seeGoogle
        /// Cloud Armor Overview
        pub async fn set_security_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetSecurityPolicyTargetPoolRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/SetSecurityPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetPools",
                        "SetSecurityPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsTargetPoolRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetPools",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod target_ssl_proxies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The TargetSslProxies API.
    #[derive(Debug, Clone)]
    pub struct TargetSslProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl TargetSslProxiesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> TargetSslProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetSslProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            TargetSslProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified TargetSslProxy resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetSslProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetSslProxies", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified TargetSslProxy resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetSslProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::TargetSslProxy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetSslProxies", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a TargetSslProxy resource in the specified project using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertTargetSslProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetSslProxies", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of TargetSslProxy resources
        /// available to the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetSslProxiesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetSslProxyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetSslProxies", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the BackendService for TargetSslProxy.
        pub async fn set_backend_service(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetBackendServiceTargetSslProxyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/SetBackendService",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetSslProxies",
                        "SetBackendService",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the Certificate Map for TargetSslProxy.
        pub async fn set_certificate_map(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetCertificateMapTargetSslProxyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/SetCertificateMap",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetSslProxies",
                        "SetCertificateMap",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the ProxyHeaderType for TargetSslProxy.
        pub async fn set_proxy_header(
            &mut self,
            request: impl tonic::IntoRequest<super::SetProxyHeaderTargetSslProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/SetProxyHeader",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetSslProxies",
                        "SetProxyHeader",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes SslCertificates for TargetSslProxy.
        pub async fn set_ssl_certificates(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetSslCertificatesTargetSslProxyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/SetSslCertificates",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetSslProxies",
                        "SetSslCertificates",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the SSL policy for TargetSslProxy. The SSL policy specifies the
        /// server-side support for SSL features. This affects connections between
        /// clients and the load balancer. They do not affect the
        /// connection between the load balancer and the backends.
        pub async fn set_ssl_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetSslPolicyTargetSslProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/SetSslPolicy",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetSslProxies",
                        "SetSslPolicy",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsTargetSslProxyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetSslProxies",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod target_tcp_proxies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The TargetTcpProxies API.
    #[derive(Debug, Clone)]
    pub struct TargetTcpProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl TargetTcpProxiesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> TargetTcpProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetTcpProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            TargetTcpProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all TargetTcpProxy resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListTargetTcpProxiesRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TargetTcpProxyAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetTcpProxies",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified TargetTcpProxy resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetTcpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetTcpProxies", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified TargetTcpProxy resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetTcpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::TargetTcpProxy>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetTcpProxies", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a TargetTcpProxy resource in the specified project using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertTargetTcpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetTcpProxies", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of TargetTcpProxy resources
        /// available to the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetTcpProxiesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetTcpProxyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetTcpProxies", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the BackendService for TargetTcpProxy.
        pub async fn set_backend_service(
            &mut self,
            request: impl tonic::IntoRequest<
                super::SetBackendServiceTargetTcpProxyRequest,
            >,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/SetBackendService",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetTcpProxies",
                        "SetBackendService",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Changes the ProxyHeaderType for TargetTcpProxy.
        pub async fn set_proxy_header(
            &mut self,
            request: impl tonic::IntoRequest<super::SetProxyHeaderTargetTcpProxyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/SetProxyHeader",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetTcpProxies",
                        "SetProxyHeader",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<
                super::TestIamPermissionsTargetTcpProxyRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetTcpProxies",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod target_vpn_gateways_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The TargetVpnGateways API.
    #[derive(Debug, Clone)]
    pub struct TargetVpnGatewaysClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl TargetVpnGatewaysClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> TargetVpnGatewaysClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetVpnGatewaysClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            TargetVpnGatewaysClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of target VPN gateways.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AggregatedListTargetVpnGatewaysRequest,
            >,
        ) -> std::result::Result<
            tonic::Response<super::TargetVpnGatewayAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetVpnGateways",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified target VPN gateway.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetVpnGatewayRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetVpnGateways",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified target VPN gateway.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetVpnGatewayRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetVpnGateway>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetVpnGateways", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a target VPN gateway in the specified project and region using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertTargetVpnGatewayRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetVpnGateways",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of target VPN gateways available to the specified
        /// project and region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetVpnGatewaysRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TargetVpnGatewayList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.TargetVpnGateways", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a TargetVpnGateway. To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsTargetVpnGatewayRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.TargetVpnGateways",
                        "SetLabels",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod url_maps_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The UrlMaps API.
    #[derive(Debug, Clone)]
    pub struct UrlMapsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl UrlMapsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> UrlMapsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> UrlMapsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            UrlMapsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves the list of all UrlMap resources, regional and global,
        /// available to the specified project.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListUrlMapsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::UrlMapsAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.UrlMaps", "AggregatedList"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified UrlMap resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.UrlMaps", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified UrlMap resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::UrlMap>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.UrlMaps", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Creates a UrlMap resource in the specified project using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.UrlMaps", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Initiates a cache invalidation operation, invalidating the specified path,
        /// scoped to the specified UrlMap.
        ///
        /// For more information, see [Invalidating cached
        /// content](/cdn/docs/invalidating-cached-content).
        pub async fn invalidate_cache(
            &mut self,
            request: impl tonic::IntoRequest<super::InvalidateCacheUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/InvalidateCache",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.UrlMaps", "InvalidateCache"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of UrlMap resources available to the specified
        /// project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListUrlMapsRequest>,
        ) -> std::result::Result<tonic::Response<super::UrlMapList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.UrlMaps", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Patches the specified UrlMap resource with the data included in the
        /// request. This method supportsPATCH
        /// semantics and uses theJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.UrlMaps", "Patch"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsUrlMapRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.UrlMaps",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified UrlMap resource with the data included in the
        /// request.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateUrlMapRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.UrlMaps", "Update"));
            self.inner.unary(req, path, codec).await
        }
        /// Runs static validation for the UrlMap. In particular, the tests of the
        /// provided UrlMap will be run. Calling this method does NOT create the
        /// UrlMap.
        pub async fn validate(
            &mut self,
            request: impl tonic::IntoRequest<super::ValidateUrlMapRequest>,
        ) -> std::result::Result<
            tonic::Response<super::UrlMapsValidateResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/Validate",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.UrlMaps", "Validate"));
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod vpn_gateways_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The VpnGateways API.
    #[derive(Debug, Clone)]
    pub struct VpnGatewaysClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl VpnGatewaysClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> VpnGatewaysClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> VpnGatewaysClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            VpnGatewaysClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of VPN gateways.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListVpnGatewaysRequest>,
        ) -> std::result::Result<
            tonic::Response<super::VpnGatewayAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.VpnGateways",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified VPN gateway.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteVpnGatewayRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.VpnGateways", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified VPN gateway.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetVpnGatewayRequest>,
        ) -> std::result::Result<tonic::Response<super::VpnGateway>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.VpnGateways", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the status for the specified VPN gateway.
        pub async fn get_status(
            &mut self,
            request: impl tonic::IntoRequest<super::GetStatusVpnGatewayRequest>,
        ) -> std::result::Result<
            tonic::Response<super::VpnGatewaysGetStatusResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/GetStatus",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.VpnGateways", "GetStatus"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a VPN gateway in the specified project and region using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertVpnGatewayRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.VpnGateways", "Insert"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of VPN gateways available to the specified
        /// project and region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListVpnGatewaysRequest>,
        ) -> std::result::Result<tonic::Response<super::VpnGatewayList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.VpnGateways", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a VpnGateway. To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsVpnGatewayRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.VpnGateways", "SetLabels"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Returns permissions that a caller has on the specified resource.
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsVpnGatewayRequest>,
        ) -> std::result::Result<
            tonic::Response<super::TestPermissionsResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/TestIamPermissions",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.VpnGateways",
                        "TestIamPermissions",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod vpn_tunnels_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The VpnTunnels API.
    #[derive(Debug, Clone)]
    pub struct VpnTunnelsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl VpnTunnelsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> VpnTunnelsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> VpnTunnelsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            VpnTunnelsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Retrieves an aggregated list of VPN tunnels.
        ///
        /// To prevent failure, Google recommends that you set the
        /// `returnPartialSuccess` parameter to `true`.
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListVpnTunnelsRequest>,
        ) -> std::result::Result<
            tonic::Response<super::VpnTunnelAggregatedList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnTunnels/AggregatedList",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.VpnTunnels",
                        "AggregatedList",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Deletes the specified VpnTunnel resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteVpnTunnelRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnTunnels/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.VpnTunnels", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Returns the specified VpnTunnel resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetVpnTunnelRequest>,
        ) -> std::result::Result<tonic::Response<super::VpnTunnel>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnTunnels/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.VpnTunnels", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Creates a VpnTunnel resource in the specified project and region using
        /// the data included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertVpnTunnelRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnTunnels/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.VpnTunnels", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of VpnTunnel resources contained in the specified
        /// project and region.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListVpnTunnelsRequest>,
        ) -> std::result::Result<tonic::Response<super::VpnTunnelList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnTunnels/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.VpnTunnels", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Sets the labels on a VpnTunnel. To learn more about labels, read theLabeling
        /// Resources documentation.
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsVpnTunnelRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnTunnels/SetLabels",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.VpnTunnels", "SetLabels"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod wire_groups_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The WireGroups API.
    #[derive(Debug, Clone)]
    pub struct WireGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl WireGroupsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> WireGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> WireGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            WireGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified wire group in the given scope.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteWireGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.WireGroups/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.WireGroups", "Delete"));
            self.inner.unary(req, path, codec).await
        }
        /// Gets the specified wire group resource in the given scope.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetWireGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::WireGroup>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.WireGroups/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.WireGroups", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Creates a wire group in the specified project in the given scope
        /// using the parameters that are included in the request.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertWireGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.WireGroups/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.WireGroups", "Insert"));
            self.inner.unary(req, path, codec).await
        }
        /// Lists the wire groups for a project in the given scope.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListWireGroupsRequest>,
        ) -> std::result::Result<tonic::Response<super::WireGroupList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.WireGroups/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.WireGroups", "List"));
            self.inner.unary(req, path, codec).await
        }
        /// Updates the specified wire group resource with the data included in the
        /// request. This method supportsPATCH
        /// semantics and usesJSON merge
        /// patch format and processing rules.
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchWireGroupRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.WireGroups/Patch",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.WireGroups", "Patch"));
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod zone_operations_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The ZoneOperations API.
    #[derive(Debug, Clone)]
    pub struct ZoneOperationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ZoneOperationsClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ZoneOperationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ZoneOperationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ZoneOperationsClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes the specified zone-specific Operations resource.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteZoneOperationRequest>,
        ) -> std::result::Result<
            tonic::Response<super::DeleteZoneOperationResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneOperations/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ZoneOperations", "Delete"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the specified zone-specific Operations resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetZoneOperationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneOperations/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ZoneOperations", "Get"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves a list of Operation resources contained within
        /// the specified zone.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListZoneOperationsRequest>,
        ) -> std::result::Result<tonic::Response<super::OperationList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneOperations/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ZoneOperations", "List"),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Waits for the specified Operation resource to return as `DONE`
        /// or for the request to approach the 2 minute deadline, and retrieves the
        /// specified Operation resource. This method waits for no more than the
        /// 2 minutes and then returns the current state of the
        /// operation, which might be `DONE` or still in progress.
        ///
        /// This method is called on a best-effort basis. Specifically:
        ///
        /// ```text
        /// - In uncommon cases, when the server is overloaded, the request might
        /// return before the default deadline is reached, or might return after zero
        /// seconds.
        /// - If the default deadline is reached, there is no guarantee that the
        /// operation is actually done when the method returns. Be prepared to retry
        /// if the operation is not `DONE`.
        /// ```
        pub async fn wait(
            &mut self,
            request: impl tonic::IntoRequest<super::WaitZoneOperationRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneOperations/Wait",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new("google.cloud.compute.v1.ZoneOperations", "Wait"),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod zone_vm_extension_policies_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The ZoneVmExtensionPolicies API.
    #[derive(Debug, Clone)]
    pub struct ZoneVmExtensionPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ZoneVmExtensionPoliciesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ZoneVmExtensionPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ZoneVmExtensionPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ZoneVmExtensionPoliciesClient::new(
                InterceptedService::new(inner, interceptor),
            )
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Deletes a specified zone VM extension policy.
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteZoneVmExtensionPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneVmExtensionPolicies/Delete",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ZoneVmExtensionPolicies",
                        "Delete",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves details of a specific zone VM extension policy.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetZoneVmExtensionPolicyRequest>,
        ) -> std::result::Result<
            tonic::Response<super::VmExtensionPolicy>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneVmExtensionPolicies/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ZoneVmExtensionPolicies",
                        "Get",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Creates a new zone-level VM extension policy within a project.
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertZoneVmExtensionPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneVmExtensionPolicies/Insert",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ZoneVmExtensionPolicies",
                        "Insert",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Lists all VM extension policies within a specific zone for a project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListZoneVmExtensionPoliciesRequest>,
        ) -> std::result::Result<
            tonic::Response<super::VmExtensionPolicyList>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneVmExtensionPolicies/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ZoneVmExtensionPolicies",
                        "List",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
        /// Modifies an existing zone VM extension policy.
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateZoneVmExtensionPolicyRequest>,
        ) -> std::result::Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneVmExtensionPolicies/Update",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(
                    GrpcMethod::new(
                        "google.cloud.compute.v1.ZoneVmExtensionPolicies",
                        "Update",
                    ),
                );
            self.inner.unary(req, path, codec).await
        }
    }
}
/// Generated client implementations.
pub mod zones_client {
    #![allow(
        unused_variables,
        dead_code,
        missing_docs,
        clippy::wildcard_imports,
        clippy::let_unit_value,
    )]
    use tonic::codegen::*;
    use tonic::codegen::http::Uri;
    /// The Zones API.
    #[derive(Debug, Clone)]
    pub struct ZonesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl ZonesClient<tonic::transport::Channel> {
        /// Attempt to create a new client by connecting to a given endpoint.
        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
        where
            D: TryInto<tonic::transport::Endpoint>,
            D::Error: Into<StdError>,
        {
            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
            Ok(Self::new(conn))
        }
    }
    impl<T> ZonesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::Body>,
        T::Error: Into<StdError>,
        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_origin(inner: T, origin: Uri) -> Self {
            let inner = tonic::client::Grpc::with_origin(inner, origin);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ZonesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T::ResponseBody: Default,
            T: tonic::codegen::Service<
                http::Request<tonic::body::Body>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<
                http::Request<tonic::body::Body>,
            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
        {
            ZonesClient::new(InterceptedService::new(inner, interceptor))
        }
        /// Compress requests with the given encoding.
        ///
        /// This requires the server to support it otherwise it might respond with an
        /// error.
        #[must_use]
        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.send_compressed(encoding);
            self
        }
        /// Enable decompressing responses.
        #[must_use]
        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
            self.inner = self.inner.accept_compressed(encoding);
            self
        }
        /// Limits the maximum size of a decoded message.
        ///
        /// Default: `4MB`
        #[must_use]
        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_decoding_message_size(limit);
            self
        }
        /// Limits the maximum size of an encoded message.
        ///
        /// Default: `usize::MAX`
        #[must_use]
        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
            self.inner = self.inner.max_encoding_message_size(limit);
            self
        }
        /// Returns the specified Zone resource.
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetZoneRequest>,
        ) -> std::result::Result<tonic::Response<super::Zone>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Zones/Get",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Zones", "Get"));
            self.inner.unary(req, path, codec).await
        }
        /// Retrieves the list of Zone resources available to the specified project.
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListZonesRequest>,
        ) -> std::result::Result<tonic::Response<super::ZoneList>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::unknown(
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic_prost::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Zones/List",
            );
            let mut req = request.into_request();
            req.extensions_mut()
                .insert(GrpcMethod::new("google.cloud.compute.v1.Zones", "List"));
            self.inner.unary(req, path, codec).await
        }
    }
}
