googapis 0.6.0

This library generated from Google API using tonic-build.
///
/// Messages
///
/// A request message for InstanceGroupManagers.AbandonInstances. See the method description for details.
#[derive(Clone, PartialEq, ::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 the zone 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, ::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, ::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>,
}
/// 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, read GPUs on Compute Engine.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AcceleratorType {
    /// [Output Only] Creation timestamp in RFC3339 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] The type of the resource. Always compute#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] 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] Type of resource. Always compute#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 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] 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] Type of resource. Always compute#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 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 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, ::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-k80'.
    #[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, ::prost::Message)]
pub struct AccessConfig {
    /// [Output Only] The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
    #[prost(string, optional, tag = "532703707")]
    pub external_ipv6: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output 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] Type of the resource. Always compute#accessConfig for access configs.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// An external 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.
    #[prost(string, optional, tag = "316599167")]
    pub public_ptr_domain_name: ::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.
    #[prost(bool, optional, tag = "523870229")]
    pub set_public_ptr: ::core::option::Option<bool>,
    /// The type of configuration. The default and only option is ONE_TO_ONE_NAT.
    /// 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,
        /// 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,
    }
    /// The type of configuration. The default and only option is ONE_TO_ONE_NAT.
    #[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,
    }
}
/// A request message for Instances.AddAccessConfig. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 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 NodeGroups.AddNodes. See the method description for details.
#[derive(Clone, PartialEq, ::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 Networks.AddPeering. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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 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>,
}
/// A request message for BackendBuckets.AddSignedUrlKey. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 or EXTERNAL. 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] Creation timestamp in RFC3339 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] 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 IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
    /// 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>,
    /// [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>,
    /// Name of the resource. Provided by the client when the resource is created. 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\])?`. 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 the VPC_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 or STANDARD. 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: - 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 . - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `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] 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] The status of the address, which can be one of RESERVING, 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 a GCE_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 or EXTERNAL. 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,
    }
    /// The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
    #[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,
    }
    /// This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. 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,
        /// 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,
    }
    /// The purpose of this resource, which can be one of the following values: - 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 . - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `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 IPsec-encrypted 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 for GLOBAL addresses of Type INTERNAL
        PrivateServiceConnect = 48134724,
        /// 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,
    }
    /// [Output Only] The status of the address, which can be one of RESERVING, 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,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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] 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 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 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 an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled).
#[derive(Clone, PartialEq, ::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>,
    /// 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>,
}
/// A request message for AcceleratorTypes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListAcceleratorTypesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Addresses.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListAddressesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Autoscalers.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListAutoscalersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for BackendServices.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListBackendServicesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for DiskTypes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListDiskTypesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Disks.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListDisksRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for ForwardingRules.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListForwardingRulesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for GlobalOperations.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListGlobalOperationsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for HealthChecks.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListHealthChecksRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for InstanceGroupManagers.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for InstanceGroups.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListInstanceGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Instances.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListInstancesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for InterconnectAttachments.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListInterconnectAttachmentsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for MachineTypes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListMachineTypesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NetworkEndpointGroups.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NodeGroups.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListNodeGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NodeTemplates.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListNodeTemplatesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for NodeTypes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListNodeTypesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for PacketMirrorings.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListPacketMirroringsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for PublicDelegatedPrefixes.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListPublicDelegatedPrefixesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for RegionCommitments.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListRegionCommitmentsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Reservations.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListReservationsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for ResourcePolicies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListResourcePoliciesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Routers.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListRoutersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for ServiceAttachments.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListServiceAttachmentsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for SslCertificates.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListSslCertificatesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Subnetworks.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListSubnetworksRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetHttpProxies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListTargetHttpProxiesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetHttpsProxies.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListTargetHttpsProxiesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetInstances.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListTargetInstancesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetPools.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListTargetPoolsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetVpnGateways.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListTargetVpnGatewaysRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for UrlMaps.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListUrlMapsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for VpnGateways.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListVpnGatewaysRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for VpnTunnels.AggregatedList. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AggregatedListVpnTunnelsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// An alias IP range attached to an instance's network interface.
#[derive(Clone, PartialEq, ::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 as 10.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>,
}
///
#[derive(Clone, PartialEq, ::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 is SCSI. For performance characteristics of SCSI over NVMe, see Local 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 is SCSI. For performance characteristics of SCSI over NVMe, see Local 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,
    }
}
/// Properties of the SKU instances being reserved. Next ID: 9
#[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. Next ID: 5
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AllocationSpecificSkuReservation {
    /// Specifies the number of resources that are allocated.
    #[prost(int64, optional, tag = "94851343")]
    pub count: ::core::option::Option<i64>,
    /// [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>,
}
///
#[derive(Clone, PartialEq, ::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 InstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details.
#[derive(Clone, PartialEq, ::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 the zone 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, ::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,
}
/// An instance-attached disk resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttachedDisk {
    /// 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 a customer-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. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group.
    #[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>,
    /// 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] 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. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local 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>,
    /// [Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// [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 or READ_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] 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, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. 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, not the URL for the disk.
    #[prost(string, optional, tag = "177235995")]
    pub source: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.
    /// 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 {
    /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local 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,
    }
    /// The mode in which to attach this disk, either READ_WRITE or READ_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,
    }
    /// Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.
    #[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,
    }
}
/// [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.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttachedDiskInitializeParams {
    /// 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, see Persistent disk types. If you define this field, you can provide either the full or partial URL. For example, the following are valid values: - <https://www.googleapis.com/compute/v1/projects/project/zones/zone> /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the name of the disk type, not URL.
    #[prost(string, optional, tag = "93009052")]
    pub disk_type: ::core::option::Option<::prost::alloc::string::String>,
    /// Labels to apply to this disk. These can be later modified by the disks.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>,
    /// 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 the Extreme persistent disk documentation.
    #[prost(int64, optional, tag = "186769108")]
    pub provisioned_iops: ::core::option::Option<i64>,
    /// 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, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/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>,
    /// The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. Instance templates do not store customer-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, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. 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.
    #[prost(string, optional, tag = "126061928")]
    pub source_snapshot: ::core::option::Option<::prost::alloc::string::String>,
    /// The customer-supplied encryption key of the source snapshot.
    #[prost(message, optional, tag = "303679322")]
    pub source_snapshot_encryption_key: ::core::option::Option<CustomerEncryptionKey>,
}
/// Nested message and enum types in `AttachedDiskInitializeParams`.
pub mod attached_disk_initialize_params {
    /// 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,
    }
}
/// 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: { "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>,
    /// This is deprecated and has no effect. Do not use.
    #[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: { "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, ::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>,
    /// This is deprecated and has no effect. Do not use.
    #[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,
    }
}
/// This is deprecated and has no effect. Do not use.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AuthorizationLoggingOptions {
    /// This is deprecated and has no effect. Do not use.
    /// Check the PermissionType enum for the list of possible values.
    #[prost(string, optional, tag = "525978538")]
    pub permission_type: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `AuthorizationLoggingOptions`.
pub mod authorization_logging_options {
    /// This is deprecated and has no effect. Do not use.
    #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
    #[repr(i32)]
    pub enum PermissionType {
        /// A value indicating that the enum field is not set.
        UndefinedPermissionType = 0,
        /// This is deprecated and has no effect. Do not use.
        AdminRead = 128951462,
        /// This is deprecated and has no effect. Do not use.
        AdminWrite = 244412079,
        /// This is deprecated and has no effect. Do not use.
        DataRead = 305224971,
        /// This is deprecated and has no effect. Do not use.
        DataWrite = 340181738,
        /// This is deprecated and has no effect. Do not use.
        Unspecified = 440313346,
    }
}
/// 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 the regionAutoscalers 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, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%.
    #[prost(message, optional, tag = "221950041")]
    pub autoscaling_policy: ::core::option::Option<AutoscalingPolicy>,
    /// [Output Only] Creation timestamp in RFC3339 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] 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 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>,
    /// [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] URL of the region 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] 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: - 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 for Commonly 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] URL of the zone 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: - 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,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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] 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 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 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: - 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: - 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,
    }
}
///
#[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 the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the 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 operating mode for this policy.
    /// 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 operating mode for this policy.
    #[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,
    }
}
/// 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 is 0.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,
    }
}
/// Custom utilization metric policy.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AutoscalingPolicyCustomMetricUtilization {
    /// A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.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: - 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 or DOUBLE.
    #[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 example pubsub.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,
    }
}
/// Configuration parameters of autoscaling based on load balancing.
#[derive(Clone, 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, PartialEq, ::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, ::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: <http://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 on balancingMode). 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 than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service.
    #[prost(float, optional, tag = "315958157")]
    pub capacity_scaler: ::core::option::Option<f32>,
    /// 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 an instance 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.
    #[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, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode 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, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.
    #[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, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.
    #[prost(int32, optional, tag = "104671900")]
    pub max_connections_per_instance: ::core::option::Option<i32>,
    /// Defines a maximum number of HTTP requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.
    #[prost(int32, optional, tag = "408035035")]
    pub max_rate: ::core::option::Option<i32>,
    /// Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.
    #[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, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.
    #[prost(float, optional, tag = "17599579")]
    pub max_rate_per_instance: ::core::option::Option<f32>,
    /// Optional parameter to define a target capacity for the UTILIZATIONbalancing mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization balancing mode.
    #[prost(float, optional, tag = "148192199")]
    pub max_utilization: ::core::option::Option<f32>,
}
/// 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,
        /// Balance based on requests per second (RPS).
        Rate = 2508000,
        /// Balance based on the backend utilization.
        Utilization = 157008386,
    }
}
/// Represents a Cloud Storage Bucket resource. This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more information, read Backend 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>,
    /// [Output Only] Creation timestamp in RFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// Headers that the HTTP/S 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>,
    /// 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>,
    /// 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 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>,
    /// [Output Only] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// 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>,
    /// 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.
    /// 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 86400s (1 day).
    #[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-max-age). 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), 421 (Misdirected Request), 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-max-age) 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.
    #[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,
    }
}
/// 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, ::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>,
}
/// Specify CDN TTLs for response error codes.
#[derive(Clone, PartialEq, ::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 are 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>,
    /// 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 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>,
}
/// 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, see Backend Services.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendService {
    /// Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) 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 one day (86,400). 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>,
    #[prost(message, optional, tag = "461096747")]
    pub connection_draining: ::core::option::Option<ConnectionDraining>,
    /// 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 when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 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 = "905883")]
    pub consistent_hash: ::core::option::Option<ConsistentHashLoadBalancerSettings>,
    /// [Output Only] Creation timestamp in RFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// 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>,
    /// If true, enables Cloud CDN for the backend service of an external HTTP(S) load balancer.
    #[prost(bool, optional, tag = "250733499")]
    pub enable_c_d_n: ::core::option::Option<bool>,
    /// Requires at least one backend instance group to be defined as a backup (failover) backend. 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](/network/networklb-failover-overview).
    #[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>,
    /// 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. Backend services with internet or serverless NEG backends must not have a health check.
    #[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 TCP/UDP Load Balancing and Network Load Balancing.
    #[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>,
    /// [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 to Choosing 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>,
    /// The load balancing algorithm used within the scope of the locality. The possible values are: - 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 <https://ai.google/research/pubs/pub44824> This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only the default ROUND_ROBIN policy is 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.
    /// 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>,
    /// Name of the resource. Provided by the client when the resource is created. 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>,
    /// The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. 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>,
    /// Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For Internal TCP/UDP Load Balancing and Network Load Balancing, 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 TCP/UDP Load Balancing and Network Load Balancing, 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, 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] 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 policy that applies to this backend service. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, 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 = "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>,
    /// Type of session affinity to use. The default is NONE. For a detailed description of session affinity options, see: [Session affinity](<https://cloud.google.com/load-balancing/docs/backend-service#session_affinity>). 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.
    /// 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>,
    #[prost(message, optional, tag = "450283536")]
    pub subsetting: ::core::option::Option<Subsetting>,
    /// 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>,
}
/// Nested message and enum types in `BackendService`.
pub mod backend_service {
    /// Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing 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 external HTTP(S), SSL Proxy, TCP Proxy, or Network Load Balancing
        External = 35607499,
        /// Signifies that this will be used for Internal TCP/UDP Load Balancing.
        Internal = 279295677,
        /// Signifies that this will be used for Internal HTTP(S) Load Balancing.
        InternalManaged = 37350397,
        /// Signifies that this will be used by Traffic Director.
        InternalSelfManaged = 236211150,
        InvalidLoadBalancingScheme = 275352060,
    }
    /// The load balancing algorithm used within the scope of the locality. The possible values are: - 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 <https://ai.google/research/pubs/pub44824> This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only the default ROUND_ROBIN policy is 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.
    #[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, see <https://ai.google/research/pubs/pub44824>
        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,
    }
    /// The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, 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,
        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,
    }
    /// Type of session affinity to use. The default is NONE. For a detailed description of session affinity options, see: [Session affinity](<https://cloud.google.com/load-balancing/docs/backend-service#session_affinity>). 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.
    #[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,
    }
}
/// 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>,
    /// 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 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] 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.
    /// 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 86400s (1 day).
    #[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-max-age). 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), 421 (Misdirected Request), 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-max-age) 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.
    #[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,
    }
}
/// 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, ::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, PartialEq, ::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 are 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>,
}
/// 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](/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, PartialEq, ::prost::Message)]
pub struct BackendServiceFailoverPolicy {
    /// This can be set to true only if the protocol is TCP. 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 TCP/UDP Load Balancing](<https://cloud.google.com/load-balancing/docs/internal/failover-overview>) and [external TCP/UDP Load Balancing](/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](/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] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
}
/// Identity-Aware Proxy
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceIap {
    /// Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.
    #[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] 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] Type of resource. Always compute#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 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>,
}
/// The available logging options for the load balancer traffic served by this backend service.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BackendServiceLogConfig {
    /// This field denotes whether to enable logging for the load balancer traffic served by this backend service.
    #[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. 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>,
}
///
#[derive(Clone, PartialEq, ::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 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>,
}
/// Associates `members` with a `role`.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Binding {
    /// This is deprecated and has no effect. Do not use.
    #[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 members 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 identities requesting access for a Cloud Platform 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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `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. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
    #[prost(string, repeated, tag = "412010777")]
    pub members: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    #[prost(string, optional, tag = "3506294")]
    pub role: ::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>,
    /// 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 chosing target zone.
    #[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. If min_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 as inst-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 name inst-0050, then instance names generated using the pattern inst-#### 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 with instanceProperties 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: - <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, ::prost::Message)]
pub struct BulkInsertInstanceResourcePerInstanceProperties {
    /// 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>,
}
/// 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>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CacheInvalidationRule {
    /// 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, ::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>,
    /// 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>,
}
/// Settings controlling the volume of requests, connections and retries to this backend service.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CircuitBreakers {
    /// 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>,
    /// 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>,
    /// 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>,
    /// 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, ::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>,
}
/// Represents a regional Commitment resource. Creating a commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Commitment {
    /// The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
    /// 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] Creation timestamp in RFC3339 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] Commitment end time in RFC3339 text format.
    #[prost(string, optional, tag = "468096690")]
    pub end_timestamp: ::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] 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>,
    /// Name of the resource. Provided by the client when the resource is created. 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>,
    /// The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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] URL of the region where this commitment may be used.
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// List of reservations in this commitment.
    #[prost(message, repeated, tag = "399717927")]
    pub reservations: ::prost::alloc::vec::Vec<Reservation>,
    /// A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.
    #[prost(message, repeated, tag = "164412965")]
    pub resources: ::prost::alloc::vec::Vec<ResourceCommitment>,
    /// [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] Commitment start time in RFC3339 text format.
    #[prost(string, optional, tag = "83645817")]
    pub start_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
    /// 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] 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, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
    /// 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. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.
    #[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,
    }
    /// The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_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,
    }
    /// [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.
    #[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,
        Creating = 455564985,
        Expired = 482489093,
        NotYetActive = 20607337,
    }
    /// The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
    #[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,
        ComputeOptimized = 158349023,
        GeneralPurpose = 299793543,
        GeneralPurposeE2 = 301911877,
        GeneralPurposeN2 = 301912156,
        GeneralPurposeN2d = 232471400,
        MemoryOptimized = 281753417,
        Unspecified = 437714322,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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] 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 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 CommitmentsScopedList {
    /// [Output Only] A 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>,
}
/// This is deprecated and has no effect. Do not use.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Condition {
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, optional, tag = "104021")]
    pub iam: ::core::option::Option<::prost::alloc::string::String>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, optional, tag = "3553")]
    pub op: ::core::option::Option<::prost::alloc::string::String>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, optional, tag = "114272")]
    pub svc: ::core::option::Option<::prost::alloc::string::String>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, optional, tag = "114381")]
    pub sys: ::core::option::Option<::prost::alloc::string::String>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, repeated, tag = "249928994")]
    pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// A set of Confidential Instance options.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConfidentialInstanceConfig {
    /// Defines whether the instance should have confidential compute enabled.
    #[prost(bool, optional, tag = "102135228")]
    pub enable_confidential_compute: ::core::option::Option<bool>,
}
/// Message containing connection draining configuration.
#[derive(Clone, PartialEq, ::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 in Enabling 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, ::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.
    #[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 to HEADER_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, ::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>,
}
/// The specification for allowing client side cross-origin requests. Please see W3C Recommendation for Cross Origin Resource Sharing
#[derive(Clone, PartialEq, ::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 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 the regualar expression patterns that match allowed origins. For regular expression grammar please see github.com/google/re2/wiki/Syntax An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
    #[prost(string, repeated, tag = "215385810")]
    pub allow_origin_regexes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
    #[prost(string, repeated, tag = "194914071")]
    pub allow_origins: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// If true, specifies the CORS policy is disabled. The default value of 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 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 the zone 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 the region 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 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. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
    #[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>,
}
///
#[derive(Clone, PartialEq, ::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
    #[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 the rsaEncryptedKey. 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 the rsaEncryptedKey. 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: 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] The RFC 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, ::prost::Message)]
pub struct CustomerEncryptionKeyProtectedDisk {
    /// Decrypts data associated with the disk with a customer-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, ::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>,
}
/// A request message for Instances.DeleteAccessConfig. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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, ::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 Disks.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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, ::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 GlobalAddresses.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::prost::Message)]
pub struct DeleteGlobalOperationRequest {
    /// Name of the Operations resource to delete.
    #[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, PartialEq, ::prost::Message)]
pub struct DeleteGlobalOperationResponse {}
/// A request message for GlobalOrganizationOperations.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteGlobalOrganizationOperationRequest {
    /// Name of the Operations resource to delete.
    #[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, PartialEq, ::prost::Message)]
pub struct DeleteGlobalOrganizationOperationResponse {}
/// A request message for GlobalPublicDelegatedPrefixes.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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, ::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, ::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 the zone where the managed instance group is located.
    #[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, ::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, ::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, ::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, ::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 the zone 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, ::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 InterconnectAttachments.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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 Interconnects.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 NetworkEndpointGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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 Networks.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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 PacketMirrorings.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 the zone 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, ::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, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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 RegionBackendServices.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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 RegionDisks.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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 RegionHealthChecks.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 RegionInstanceGroupManagers.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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 RegionNetworkEndpointGroups.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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 RegionNotificationEndpoints.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::prost::Message)]
pub struct DeleteRegionOperationRequest {
    /// Name of the Operations resource to delete.
    #[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, PartialEq, ::prost::Message)]
pub struct DeleteRegionOperationResponse {}
/// A request message for RegionSslCertificates.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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). end_interface: MixerMutationRequestBuilder
    #[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 RegionTargetHttpProxies.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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). end_interface: MixerMutationRequestBuilder
    #[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 RegionUrlMaps.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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 Routes.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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, ::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, ::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, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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 Subnetworks.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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, ::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, ::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, ::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, ::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, ::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, ::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, ::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, ::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, ::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 ZoneOperations.Delete. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteZoneOperationRequest {
    /// Name of the Operations resource to delete.
    #[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, PartialEq, ::prost::Message)]
pub struct DeleteZoneOperationResponse {}
///
#[derive(Clone, PartialEq, ::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, ::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, ::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 use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED 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 use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED 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,
    }
}
/// A request message for Instances.DetachDisk. See the method description for details.
#[derive(Clone, PartialEq, ::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 Projects.DisableXpnHost. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, read Zonal persistent disks. The regionDisks resource represents a regional persistent disk. For more information, read Regional resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Disk {
    /// [Output Only] Creation timestamp in RFC3339 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, the diskEncryptionKey.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>,
    /// 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] 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. 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 error 412 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] Last attach timestamp in RFC3339 text format.
    #[prost(string, optional, tag = "42159653")]
    pub last_attach_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] Last detach timestamp in RFC3339 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 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>,
    /// Internal use only.
    #[prost(string, optional, tag = "361137822")]
    pub options: ::core::option::Option<::prost::alloc::string::String>,
    /// 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 the Extreme persistent disk documentation.
    #[prost(int64, optional, tag = "186769108")]
    pub provisioned_iops: ::core::option::Option<i64>,
    /// [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] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// [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 the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are 1 to 65536, inclusive.
    #[prost(int64, optional, tag = "494929369")]
    pub size_gb: ::core::option::Option<i64>,
    /// 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: - <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] 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, specify family/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>,
    /// 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] 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 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: - <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>,
    /// 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] 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] The status of disk creation. - 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>,
    /// 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] 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] 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 {
    /// [Output Only] The status of disk creation. - 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,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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 specification of the desired way to instantiate a disk in the instance template when its created from a source instance.
#[derive(Clone, PartialEq, ::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: - 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: - 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,
    }
}
/// 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] 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 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 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: - <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: - <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>,
}
/// 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, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DiskType {
    /// [Output Only] Creation timestamp in RFC3339 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] 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] Type of resource. Always compute#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 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] 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] 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 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 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, ::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, ::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, PartialEq, ::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>,
}
/// A set of Display Device options
#[derive(Clone, PartialEq, ::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 in updatePolicy.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.
    #[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 in updatePolicy.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 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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DistributionPolicyZoneConfiguration {
    /// The URL of the zone. 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, PartialEq, ::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, ::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, ::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] If errors are generated during processing of the operation, this field will be populated.
#[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 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] 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, ::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,
    }
}
///
#[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] Type of resource. Always compute#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 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>,
}
/// A request message for Subnetworks.ExpandIpCidrRange. See the method description for details.
#[derive(Clone, PartialEq, ::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): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): 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, ::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] Creation timestamp in RFC3339 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 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] Type of the resource. Always compute#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 error 412 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 the setLabels method. Each label key/value pair must comply with RFC1035. 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 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>,
    /// 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] 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,
    }
}
/// The interface for the external VPN gateway.
#[derive(Clone, PartialEq, ::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: - 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>,
}
/// 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] 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 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 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,
    }
}
/// Represents a Firewall Rule resource. Firewall rules allow or deny ingress traffic to, and egress traffic from your instances. For more information, read Firewall 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] Creation timestamp in RFC3339 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 in CIDR 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 `INGRESS` traffic, you cannot specify the destinationRanges field, and for `EGRESS` traffic, you cannot specify the sourceRanges or 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] 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. 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 with RFC1035. 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: - <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>,
    /// 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 in CIDR 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 the sourceTags 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 as sourceServiceAccounts. 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 in sourceServiceAccount. The connection does not need to match both fields for the firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags 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 in allowed[]. targetServiceAccounts cannot be used at the same time as targetTags 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 `INGRESS` traffic, you cannot specify the destinationRanges field, and for `EGRESS` traffic, you cannot specify the sourceRanges or 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,
    }
}
/// 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] 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 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>,
}
/// The available logging options for a firewall rule.
#[derive(Clone, PartialEq, ::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,
    }
}
///
#[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] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
}
/// 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] Creation timestamp in RFC3339 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 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 error 412 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] Type of the resource. Always compute#firewallPolicyfor firewall policies
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] Name of the resource. It is a numeric ID allocated by GCP which uniquely identifies the Firewall Policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] The parent of the firewall policy.
    #[prost(string, optional, tag = "78317738")]
    pub parent: ::core::option::Option<::prost::alloc::string::String>,
    /// [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] 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 plicy. The name should be unique in the organization in which the firewall policy is created. 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>,
}
///
#[derive(Clone, PartialEq, ::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] 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] 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] Type of resource. Always compute#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 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] 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. Can currently be either "allow" or "deny()" where valid values for status are 403, 404, and 502.
    #[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] Type of the resource. Always compute#firewallPolicyRule for firewall 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<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 prority.
    #[prost(int32, optional, tag = "445151652")]
    pub priority: ::core::option::Option<i32>,
    /// [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 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 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>,
}
/// 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,
    }
}
/// Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FirewallPolicyRuleMatcher {
    /// 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>,
    /// Pairs of IP protocols and ports that the rule should match.
    #[prost(message, repeated, tag = "373534261")]
    pub layer4_configs: ::prost::alloc::vec::Vec<FirewallPolicyRuleMatcherLayer4Config>,
    /// 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>,
}
///
#[derive(Clone, PartialEq, ::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>,
}
/// Encapsulates numeric value that can be either absolute or relative.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FixedOrPercent {
    /// [Output Only] Absolute value of VM instances calculated based on the specific mode. - 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>,
}
/// 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 Platform 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 that this forwarding rule serves. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the target that you specify in the forwarding rule. If you don't specify a reserved IP address, an ephemeral IP address is assigned. Methods for specifying an IP address: * IPv4 dotted decimal, as in `100.1.2.3` * Full 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 loadBalancingScheme and the forwarding rule's target 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>). Must be set to `0.0.0.0` when the target is targetGrpcProxy that has validateForProxyless field set to true. For Private Service Connect forwarding rules that forward traffic to Google APIs, IP address must be provided.
    #[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 and L3_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 IPProtocol enum for the list of possible values.
    #[prost(string, optional, tag = "488094525")]
    pub i_p_protocol: ::core::option::Option<::prost::alloc::string::String>,
    /// This field is used along with the backend_service field for Internal TCP/UDP Load Balancing or Network Load Balancing, or with the target field for internal and external TargetInstance. You can only use one of ports and port_range, or allPorts. The three are mutually exclusive. For TCP, UDP and SCTP traffic, packets addressed to any ports will be forwarded to the target or backendService.
    #[prost(bool, optional, tag = "445175796")]
    pub all_ports: ::core::option::Option<bool>,
    /// This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If the field is set to TRUE, clients can access ILB from all regions. Otherwise only allows access from clients in the same region as the internal load balancer.
    #[prost(bool, optional, tag = "499409674")]
    pub allow_global_access: ::core::option::Option<bool>,
    /// Identifies the backend service to which the forwarding rule sends traffic. Required for Internal TCP/UDP Load Balancing and Network Load Balancing; 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] Creation timestamp in RFC3339 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 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>,
    /// The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. This can only be specified for an external global forwarding rule.
    /// 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 a PacketMirroring rule applies to them. This can only be set to true for load balancers that have their loadBalancingScheme set to INTERNAL.
    #[prost(bool, optional, tag = "119255164")]
    pub is_mirroring_collector: ::core::option::Option<bool>,
    /// [Output Only] Type of the resource. Always compute#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 error 412 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 the setLabels method. Each label key/value pair must comply with RFC1035. 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 its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels 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 metadataFilters 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 this ForwardingRule references. metadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_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 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. 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 external load balancing. For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is not 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 and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. 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 field can be used only if: - Load balancing scheme is one of EXTERNAL, INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or SCTP. Packets addressed to ports in the specified range will be forwarded to target or backend_service. You can only use one of ports, port_range, or allPorts. The three are mutually exclusive. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint ports. Some types of forwarding target have constraints on the acceptable ports. For more information, see [Port specifications](<https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#port_specifications>). @pattern: \\d+(?:-\\d+)?
    #[prost(string, optional, tag = "217518079")]
    pub port_range: ::core::option::Option<::prost::alloc::string::String>,
    /// The ports field is only supported when the forwarding rule references a backend_service directly. Only packets addressed to the [specified list of ports]((<https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#port_specifications>)) are forwarded to backends. You can only use one of ports and port_range, or allPorts. The three are mutually exclusive. You can specify a list of up to five ports, which can be non-contiguous. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint ports. @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] 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>,
    /// Service Directory resources to register this forwarding rule with. Currently, only supports a single Service Directory resource. It is only supported for internal load balancing.
    #[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 with RFC1035. 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>,
    /// This field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule, used in internal load balancing and network load balancing 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>,
    #[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 {
    /// The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_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 IpProtocol {
        /// A value indicating that the enum field is not set.
        UndefinedIPProtocol = 0,
        Ah = 2087,
        Esp = 68962,
        Icmp = 2241597,
        Sctp = 2539724,
        Tcp = 82881,
        Udp = 83873,
    }
    /// The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. This can only be specified for an external global forwarding rule.
    #[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,
    }
    /// 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,
        Internal = 279295677,
        InternalManaged = 37350397,
        InternalSelfManaged = 236211150,
        Invalid = 530283991,
    }
    /// 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 and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. 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,
        /// 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,
    }
    ///
    #[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 is pending acceptance by the producer.
        Pending = 35394935,
        /// The connection has been rejected by the producer.
        Rejected = 174130302,
        StatusUnspecified = 42133066,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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>,
    /// 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 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 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, ::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 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 port number for the health check request. Must be specified if port_name and port_specification are not set or if port_specification is USE_FIXED_PORT. Valid values are 1 through 65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. The port_name should conform to RFC1035.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, gRPC health check follows behavior specified in port and portName fields.
    /// 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 port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, gRPC health check follows behavior specified in port and portName fields.
    #[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 port is used for health checking.
        UseFixedPort = 190235748,
        /// The portName is used for health checking.
        UseNamedPort = 349300671,
        /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.
        UseServingPort = 362637516,
    }
}
/// A request message for AcceleratorTypes.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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 Autoscalers.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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 Interconnects.GetDiagnostics. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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, ::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 ExternalVpnGateways.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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, ::prost::Message)]
pub struct GetFromFamilyImageRequest {
    /// 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,
}
/// A request message for GlobalAddresses.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::prost::Message)]
pub struct GetGlobalOperationRequest {
    /// Name of the Operations resource to return.
    #[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, ::prost::Message)]
pub struct GetGlobalOrganizationOperationRequest {
    /// Name of the Operations resource to return.
    #[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 request message for GlobalPublicDelegatedPrefixes.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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, ::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 TargetPools.GetHealth. See the method description for details.
#[derive(Clone, PartialEq, ::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 Disks.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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, ::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 Licenses.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::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 NodeGroups.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 RegionDisks.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::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 Reservations.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::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 ResourcePolicies.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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 Subnetworks.GetIamPolicy. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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 the zone where the managed instance group is located.
    #[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, ::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, ::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 InstanceTemplates.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 InterconnectAttachments.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 InterconnectLocations.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 Interconnects.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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 MachineTypes.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 Routers.GetNatMappingInfo. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetNatMappingInfoRoutersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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 NetworkEndpointGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 Networks.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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 PacketMirrorings.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 Projects.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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 RegionBackendServices.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 RegionDisks.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 RegionHealthChecks.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 RegionInstanceGroupManagers.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 RegionInstanceGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 RegionNetworkEndpointGroups.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 RegionNotificationEndpoints.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::prost::Message)]
pub struct GetRegionOperationRequest {
    /// Name of the Operations resource to return.
    #[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, ::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 RegionSslCertificates.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 RegionTargetHttpProxies.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 RegionUrlMaps.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 Reservations.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 ResourcePolicies.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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 Routes.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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 SecurityPolicies.GetRule. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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.
    #[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, ::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,
}
/// A request message for Instances.GetShieldedInstanceIdentity. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 SslCertificates.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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 Subnetworks.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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,
}
/// A request message for TargetGrpcProxies.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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, ::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, ::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, ::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, ::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, ::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,
}
/// A request message for VpnGateways.Get. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 Projects.GetXpnHost. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::prost::Message)]
pub struct GetXpnResourcesProjectsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct GetZoneOperationRequest {
    /// Name of the Operations resource to return.
    #[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, ::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,
}
///
#[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 error 412 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 key & value must 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. 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>,
}
/// A guest attributes entry.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GuestAttributes {
    /// [Output Only] Type of the resource. Always compute#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] The value of the requested queried path.
    #[prost(message, optional, tag = "157570874")]
    pub query_value: ::core::option::Option<GuestAttributesValue>,
    /// [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] 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, ::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, ::prost::Message)]
pub struct GuestOsFeature {
    /// The ID of a supported feature. Read Enabling guest operating system features to see a list of available options.
    /// 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. Read Enabling guest operating system features to see a list of available options.
    #[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,
        FeatureTypeUnspecified = 531767259,
        Gvnic = 68209305,
        MultiIpSubnet = 151776719,
        SecureBoot = 376811194,
        SevCapable = 87083793,
        UefiCompatible = 195865408,
        VirtioScsiMultiqueue = 201597069,
        Windows = 456863331,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Http2HealthCheck {
    /// The value of the host header in the HTTP/2 health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified in port and portName fields.
    /// 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 /.
    #[prost(string, optional, tag = "229403605")]
    pub request_path: ::core::option::Option<::prost::alloc::string::String>,
    /// The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    #[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 port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified in port and portName fields.
    #[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 port is used for health checking.
        UseFixedPort = 190235748,
        /// The portName is used for health checking.
        UseNamedPort = 349300671,
        /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.
        UseServingPort = 362637516,
    }
    /// 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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpHealthCheck {
    /// The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP health check follows behavior specified in port and portName fields.
    /// 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 /.
    #[prost(string, optional, tag = "229403605")]
    pub request_path: ::core::option::Option<::prost::alloc::string::String>,
    /// The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    #[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 port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP health check follows behavior specified in port and portName fields.
    #[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 port is used for health checking.
        UseFixedPort = 190235748,
        /// The portName is used for health checking.
        UseNamedPort = 349300671,
        /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.
        UseServingPort = 362637516,
    }
    /// 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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpsHealthCheck {
    /// The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    #[prost(string, optional, tag = "3208616")]
    pub host: ::core::option::Option<::prost::alloc::string::String>,
    /// The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTPS health check follows behavior specified in port and portName fields.
    /// 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 /.
    #[prost(string, optional, tag = "229403605")]
    pub request_path: ::core::option::Option<::prost::alloc::string::String>,
    /// The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    #[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 port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTPS health check follows behavior specified in port and portName fields.
    #[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 port is used for health checking.
        UseFixedPort = 190235748,
        /// The portName is used for health checking.
        UseNamedPort = 349300671,
        /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.
        UseServingPort = 362637516,
    }
    /// 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,
    }
}
/// Represents a Health Check resource. Google Compute Engine has two Health Check resources: * \[Global\](/compute/docs/reference/rest/v1/healthChecks) * \[Regional\](/compute/docs/reference/rest/v1/regionHealthChecks) Internal HTTP(S) load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Traffic Director must use global health checks (`compute.v1.HealthChecks`). Internal TCP/UDP load balancers can use either regional or global health checks (`compute.v1.regionHealthChecks` or `compute.v1.HealthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed instance group auto-healing must use global health checks (`compute.v1.HealthChecks`). Backend service-based network load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Target pool-based network load balancers must use legacy HTTP health checks (`compute.v1.httpHealthChecks`). For more information, see Health checks overview.
#[derive(Clone, PartialEq, ::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] Creation timestamp in 3339 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>,
    /// 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>,
    /// 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 with RFC1035. 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] 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>,
    #[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 or HTTP2. If not specified, the default is TCP. Exactly one of the protocol-specific health check field must be specified, which must match type 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 or HTTP2. If not specified, the default is TCP. Exactly one of the protocol-specific health check field must be specified, which must match type 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,
        Http = 2228360,
        Http2 = 69079210,
        Https = 69079243,
        Invalid = 530283991,
        Ssl = 82412,
        Tcp = 82881,
    }
}
/// 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>,
    /// 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 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>,
}
/// Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver.
#[derive(Clone, PartialEq, ::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: - <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, ::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, ::prost::Message)]
pub struct HealthCheckService {
    /// [Output Only] Creation timestamp in RFC3339 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. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NEGs.
    #[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. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. .
    /// 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] 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. Always compute#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 regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService.
    #[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 regional HealthCheckService, 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] 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] 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. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. .
    #[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 is HEALTHY.
        And = 64951,
        /// An EndpointHealth message is returned for each backend in the health check service.
        NoAggregation = 426445124,
    }
}
/// A full or valid partial URL to a health check service. For example, the following are valid URLs: - <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, ::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] 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 HealthCheckService resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<HealthCheckService>,
    /// [Output Only] Type of the resource. Always compute#healthCheckServicesList for lists of HealthCheckServices.
    #[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 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>,
    /// 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 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] 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>,
}
///
#[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 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>,
    /// 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 instance.
    #[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,
    }
    ///
    #[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,
    }
}
///
#[derive(Clone, PartialEq, ::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>,
}
/// 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.
    #[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,
    }
}
/// UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.
#[derive(Clone, PartialEq, ::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 must be followed in the pattern by either - or .. * based matching is not supported when the URL map is bound to target gRPC proxy that has 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, PartialEq, ::prost::Message)]
pub struct HttpFaultAbort {
    /// The HTTP status code used to abort the request. The value must be between 200 and 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 (connections/operations/requests) which will be aborted as part of fault injection. The value must be between 0.0 and 100.0 inclusive.
    #[prost(double, optional, tag = "151909018")]
    pub percentage: ::core::option::Option<f64>,
}
/// Specifies the delay introduced by Loadbalancer before forwarding the request to the backend service as part of fault injection.
#[derive(Clone, 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 (connections/operations/requests) on which delay will be introduced as part of fault injection. The value must be between 0.0 and 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 Loadbalancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the Loadbalancer for a percentage of requests.
#[derive(Clone, 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 prior to forwarding the request to the backendService.
    #[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 prior to 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 prior to 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 prior to 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, ::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 target gRPC proxy that has 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 match criteria above are met. If set to true, the headerMatch is considered a match if the match criteria above 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 of prefixMatch. 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] - -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. Note that rangeMatch is not supported for Loadbalancers that have their 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 in regexMatch. For regular expression grammar, please see: github.com/google/re2/wiki/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. Note that regexMatch only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_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 of suffixMatch. 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, ::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 false.
    #[prost(bool, optional, tag = "20755124")]
    pub replace: ::core::option::Option<bool>,
}
/// HttpRouteRuleMatch criteria for a request's query parameter.
#[derive(Clone, PartialEq, ::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 or regexMatch 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 or regexMatch 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 by regexMatch. For the regular expression grammar, please see github.com/google/re2/wiki/Syntax Only one of presentMatch, exactMatch or regexMatch must be set. Note that regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_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, ::prost::Message)]
pub struct HttpRedirectAction {
    /// The host that will be used in the redirect response instead of the one that was supplied in the request. The value must be between 1 and 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 will remain the same as that of the request. This must only be set for UrlMaps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.
    #[prost(bool, optional, tag = "170260656")]
    pub https_redirect: ::core::option::Option<bool>,
    /// The path that will be used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect. The value must be between 1 and 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 with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request will be used for the redirect. The value must be between 1 and 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: - 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 will be retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method will be 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 prior to 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: - 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 will be retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method will be 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,
    }
}
/// The retry policy associates with HttpRouteRule
#[derive(Clone, PartialEq, ::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 HttpRouteAction. If timeout in HttpRouteAction is not set, will use the largest timeout among all backend services associated with the route.
    #[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: - 5xx: Retry will be attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all, example: disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - - connect-failure: A retry will be attempted on failures connecting to the instance or endpoint, for example due to connection timeouts. - retriable-4xx: A retry will be attempted if the instance or endpoint responds with a retriable 4xx response code. Currently the only retriable error supported is 409. - refused-stream: A retry will be 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 will be attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: A retry will be attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: A retry will be attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: A retry will be attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: A retry will be attempted if the gRPC status code in the response header is set to 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 {
    /// The specification for allowing client side cross-origin requests. Please see W3C Recommendation for Cross Origin Resource Sharing Not supported when the URL map is bound to 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 Loadbalancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the Loadbalancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy.
    #[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 (i.e. end-of-stream), the duration in this field 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, will use the largest maxStreamDuration 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 to INTERNAL_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. Loadbalancer does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to target gRPC proxy that has 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. Not supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true.
    #[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 (i.e. end-of-stream) up until the response has been completely processed. Timeout includes all retries. If not specified, will use the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to 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, prior to forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for external HTTP(S) load balancers. Not supported when the URL map is bound to target gRPC proxy that has 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 one weightedBackendService with weight set to a non-zero number. Once a backendService 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>,
}
/// An HttpRouteRule specifies how to match an HTTP request and the corresponding routing action that load balancing proxies will perform.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpRouteRule {
    /// 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 specified here are applied before the matching pathMatchers[].headerAction and after pathMatchers\[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[\].headerAction Note that headerAction is not supported for Loadbalancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to 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 this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules 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 load balancer will interpret routeRules. 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 between 0 and 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 like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a routeRule's routeAction.
    #[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 additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendService s. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must 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. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to 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 in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch 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 target gRPC proxy.
    #[prost(bool, optional, tag = "464324989")]
    pub ignore_case: ::core::option::Option<bool>,
    /// Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to Loadbalancer, 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 its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels 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 metadataFilters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here will be applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true.
    #[prost(message, repeated, tag = "464725739")]
    pub metadata_filters: ::prost::alloc::vec::Vec<MetadataFilter>,
    /// For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
    #[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 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 in regexMatch after removing any query parameters and anchor supplied with the original URL. For regular expression grammar please see github.com/google/re2/wiki/Syntax Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Note that regexMatch only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_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 {
    /// 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] Creation timestamp in RFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// 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>,
    /// The name of the image family to which this image belongs. You can create disks by specifying 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. 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] 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 a customer-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] 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 error 412 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 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>,
    /// 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 = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// [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: - <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: - 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>,
    /// 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>,
    /// [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: - <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: - 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] 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: - <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: - 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] 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 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] 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, or READY.
    /// 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 type of the image used to create this disk. The default and only 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,
    }
    /// [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, or READY.
    #[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,
    }
}
///
#[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>,
    /// 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 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>,
}
/// 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 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 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). end_interface: MixerMutationRequestBuilder
    #[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, ::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 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: - <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>,
    /// 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 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 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 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 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 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). end_interface: MixerMutationRequestBuilder
    #[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). end_interface: MixerMutationRequestBuilder
    #[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 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 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 RegionHealthChecks.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 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 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 RegionNotificationEndpoints.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::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). end_interface: MixerMutationRequestBuilder
    #[prost(string, optional, tag = "37109963")]
    pub request_id: ::core::option::Option<::prost::alloc::string::String>,
}
/// 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). end_interface: MixerMutationRequestBuilder
    #[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 RegionTargetHttpProxies.Insert. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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). end_interface: MixerMutationRequestBuilder
    #[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 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>,
}
/// 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). end_interface: MixerMutationRequestBuilder
    #[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 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). end_interface: MixerMutationRequestBuilder
    #[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 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, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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, ::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, ::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, ::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, ::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>,
}
/// Represents an Instance resource. An instance is a virtual machine that is hosted on Google Cloud Platform. For more information, read Virtual 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, see Enabling 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] The CPU platform used by this instance.
    #[prost(string, optional, tag = "410285354")]
    pub cpu_platform: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] Creation timestamp in RFC3339 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] 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. 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] Last start timestamp in RFC3339 text format.
    #[prost(string, optional, tag = "443830736")]
    pub last_start_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] Last stop timestamp in RFC3339 text format.
    #[prost(string, optional, tag = "412823010")]
    pub last_stop_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] Last suspended timestamp in RFC3339 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 a custom 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 the Specifications 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 custom metadata and predefined keys.
    #[prost(message, optional, tag = "86866735")]
    pub metadata: ::core::option::Option<Metadata>,
    /// Specifies a minimum 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 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>,
    /// 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>,
    /// 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] 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] 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. See Service 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>,
    /// [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] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. 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] 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 with RFC1035. Multiple tags can be specified via the 'tags.items' field.
    #[prost(message, optional, tag = "3552281")]
    pub tags: ::core::option::Option<Tags>,
    /// [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 {
    /// 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,
    }
    /// [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. 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 Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
        Deprovisioning = 428935662,
        /// 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,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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 Instance Group resource. Instance Groups can be used to configure a target for load balancing. Instance groups can either be managed or unmanaged. To create managed instance groups, use the instanceGroupManager or regionInstanceGroupManager resource instead. Use zonal unmanaged instance groups if you need to apply load 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, read Instance groups.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroup {
    /// [Output Only] The creation timestamp for this instance group in RFC3339 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 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] A unique identifier for this instance group, generated by the server.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// [Output Only] The resource type, which is always compute#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 with RFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    ///  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: "http", port: 80},{name: "http", port: 8080}] 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] The URL of the region 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] 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] The total number of instances in the instance group.
    #[prost(int32, optional, tag = "3530753")]
    pub size: ::core::option::Option<i32>,
    /// [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] The URL of the zone 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] 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] The resource type, which is always compute#instanceGroupAggregatedList for aggregated lists of instance 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 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] 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 list of InstanceGroup resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupList {
    /// [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, which is always compute#instanceGroupList for instance 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 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>,
}
/// 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, read Instance groups. For zonal Managed Instance Group, use the instanceGroupManagers resource. For regional Managed Instance Group, use the regionInstanceGroupManagers resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManager {
    /// 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 to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
    #[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 in RFC3339 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 error 412 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>,
    /// [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 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, run applyUpdatesToInstances, or set the group's updatePolicy.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 always compute#instanceGroupManager for managed instance groups.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Named ports configured for the Instance Groups complementary to this Instance Group Manager.
    #[prost(message, repeated, tag = "427598732")]
    pub named_ports: ::prost::alloc::vec::Vec<NamedPort>,
    /// [Output Only] The URL of the region where the managed instance group resides (for regional resources).
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// [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>,
    /// 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 the instanceGroup 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 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 a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
    #[prost(message, repeated, tag = "162430619")]
    pub versions: ::prost::alloc::vec::Vec<InstanceGroupManagerVersion>,
    /// [Output Only] The URL of a zone where the managed 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 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 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] 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] The resource type, which is always compute#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] 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] 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 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 number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
    #[prost(int32, optional, tag = "263207002")]
    pub initial_delay_sec: ::core::option::Option<i32>,
}
/// [Output Only] A list of managed instance groups.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerList {
    /// [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] 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] 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 InstanceGroupManagerStatus {
    /// [Output Only] The URL of the Autoscaler that targets this instance group manager.
    #[prost(string, optional, tag = "517258967")]
    pub autoscaler: ::core::option::Option<::prost::alloc::string::String>,
    /// [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 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 config 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 configs on the instance.
    #[prost(message, optional, tag = "526265001")]
    pub per_instance_configs:
        ::core::option::Option<InstanceGroupManagerStatusStatefulPerInstanceConfigs>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerStatusStatefulPerInstanceConfigs {
    /// A bit indicating if all of the group's per-instance configs (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, PartialEq, ::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 by version field on Instance Group Manager.
    #[prost(bool, optional, tag = "433209149")]
    pub is_reached: ::core::option::Option<bool>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagerUpdatePolicy {
    /// The instance redistribution policy for regional managed instance groups. Valid values are: - 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.
    #[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 specified targetSize 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 or maxUnavailable 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: - 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 for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable 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. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
    #[prost(string, optional, tag = "270567060")]
    pub minimal_action: ::core::option::Option<::prost::alloc::string::String>,
    /// What action should be used to replace instances. See minimal_action.REPLACE
    #[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 instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
    #[prost(string, optional, tag = "3575610")]
    pub r#type: ::core::option::Option<::prost::alloc::string::String>,
}
///
#[derive(Clone, PartialEq, ::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, run applyUpdatesToInstances, or set the group's updatePolicy.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 the instanceTemplate. The final number of instances created from the template will be equal to: - 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. Read Starting a canary update for more information.
    #[prost(message, optional, tag = "62880239")]
    pub target_size: ::core::option::Option<FixedOrPercent>,
}
///
#[derive(Clone, PartialEq, ::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, ::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 as zones/\[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: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - 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.
    #[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: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - 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.
    #[prost(string, optional, tag = "66103053")]
    pub most_disruptive_allowed_action: ::core::option::Option<::prost::alloc::string::String>,
}
/// 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, ::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\].
    #[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, ::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] The list of errors of the managed instance group.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<InstanceManagedByIgmError>,
    /// [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>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagersListManagedInstancesResponse {
    /// [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] 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>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagersListPerInstanceConfigsResp {
    /// [Output Only] The list of PerInstanceConfig.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<PerInstanceConfig>,
    /// [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] 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 configs 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 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, ::prost::Message)]
pub struct InstanceGroupManagersScopedList {
    /// [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] 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, ::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, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
    #[prost(string, optional, tag = "309248228")]
    pub instance_template: ::core::option::Option<::prost::alloc::string::String>,
}
///
#[derive(Clone, PartialEq, ::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 the instanceGroupManagers.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>,
}
/// InstanceGroupManagers.updatePerInstanceConfigs
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceGroupManagersUpdatePerInstanceConfigsReq {
    /// The list of per-instance configs 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] 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, which is always compute#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] 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 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,
    }
}
///
#[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] The list of instance groups that are contained in this scope.
    #[prost(message, repeated, tag = "366469310")]
    pub instance_groups: ::prost::alloc::vec::Vec<InstanceGroup>,
    /// [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 the instanceGroups.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 error 412 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] 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 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>,
}
/// 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] Type of resource. Always compute#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 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 InstanceManagedByIgmError {
    /// [Output Only] Contents of the error.
    #[prost(message, optional, tag = "96784904")]
    pub error: ::core::option::Option<InstanceManagedByIgmErrorManagedInstanceError>,
    /// [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] 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, ::prost::Message)]
pub struct InstanceManagedByIgmErrorInstanceActionDetails {
    /// [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] 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] 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] 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 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 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
        Verifying = 16982185,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceManagedByIgmErrorManagedInstanceError {
    /// [Output Only] Error code.
    #[prost(string, optional, tag = "3059181")]
    pub code: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] Error message.
    #[prost(string, optional, tag = "418054151")]
    pub message: ::core::option::Option<::prost::alloc::string::String>,
}
///
#[derive(Clone, PartialEq, ::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: - <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: - <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>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceProperties {
    /// Controls for advanced machine-related behavior features.
    #[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 to false. See the Enable IP forwarding documentation for more information.
    #[prost(bool, optional, tag = "467731324")]
    pub can_ip_forward: ::core::option::Option<bool>,
    /// Specifies the Confidential Instance options.
    #[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>,
    /// 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.
    #[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. See Project 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 as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "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>,
    /// The private IPv6 google access type for VMs. 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 instances can consume from.
    #[prost(message, optional, tag = "157850683")]
    pub reservation_affinity: ::core::option::Option<ReservationAffinity>,
    /// Resource policies (names, not ULRs) applied to instances created from these properties.
    #[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>,
    #[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>,
}
/// Nested message and enum types in `InstanceProperties`.
pub mod instance_properties {
    /// The private IPv6 google access type for VMs. 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,
    }
}
///
#[derive(Clone, PartialEq, ::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 an Instance Template resource. You can use instance templates to create VM instances and managed instance groups. For more information, read Instance Templates.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InstanceTemplate {
    /// [Output Only] The creation timestamp for this instance template in RFC3339 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 unique identifier for this instance template. The server defines this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// [Output Only] The resource type, which is always compute#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 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>,
    /// The instance properties for this instance template.
    #[prost(message, optional, tag = "147688755")]
    pub properties: ::core::option::Option<InstanceProperties>,
    /// [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: - <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>,
}
/// 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] The resource type, which is always compute#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 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 InstanceWithNamedPorts {
    /// [Output Only] The URL of the instance.
    #[prost(string, optional, tag = "18257045")]
    pub instance: ::core::option::Option<::prost::alloc::string::String>,
    /// [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] 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] 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 Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
        Deprovisioning = 428935662,
        /// 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,
    }
}
///
#[derive(Clone, PartialEq, ::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 InstancesGetEffectiveFirewallsResponse {
    /// 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] 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] The name of the firewall policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The rules that apply to the network.
    #[prost(message, repeated, tag = "108873975")]
    pub rules: ::prost::alloc::vec::Vec<FirewallPolicyRule>,
    /// [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] 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 `InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy`.
pub mod instances_get_effective_firewalls_response_effective_firewall_policy {
    /// [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,
        Unspecified = 526786327,
    }
}
///
#[derive(Clone, PartialEq, ::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 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, ::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, ::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, ::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 a customer-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>,
}
/// HttpRouteRuleMatch criteria for field values that must stay within the specified integer range.
#[derive(Clone, PartialEq, ::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 GCP network and your on-premises network. For more information, read the Dedicated Interconnect Overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Interconnect {
    /// 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>,
    /// [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] Creation timestamp in RFC3339 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] A list of outages expected for this Interconnect.
    #[prost(message, repeated, tag = "264484123")]
    pub expected_outages: ::prost::alloc::vec::Vec<InterconnectOutageNotification>,
    /// [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] 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] 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] 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>,
    /// Type of interconnect, which can take one of the following values: - 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] Type of the resource. Always compute#interconnect for interconnects.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR 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>,
    /// Name of the resource. Provided by the client when the resource is created. 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>,
    /// 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 Stackdriver logs alerting and Cloud Notifications.
    #[prost(string, optional, tag = "14072832")]
    pub noc_contact_email: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - 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>,
    /// [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] Number of links actually provisioned in this interconnect.
    #[prost(int32, optional, tag = "410888565")]
    pub provisioned_link_count: ::core::option::Option<i32>,
    /// 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] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// [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 current state of Interconnect functionality, which can take one of the following values: - 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>,
}
/// Nested message and enum types in `Interconnect`.
pub mod interconnect {
    /// Type of interconnect, which can take one of the following values: - 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,
    }
    /// Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR 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,
    }
    /// [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - 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,
    }
    /// [Output Only] The current state of Interconnect functionality, which can take one of the following values: - 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,
    }
}
/// 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>,
    /// 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: - 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
    /// Check the Bandwidth enum for the list of possible values.
    #[prost(string, optional, tag = "181715121")]
    pub bandwidth: ::core::option::Option<::prost::alloc::string::String>,
    /// 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] 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] Creation timestamp in RFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// [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] Dataplane version for this InterconnectAttachment.
    #[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>,
    /// Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - 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: - 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 *IPsec-encrypted Cloud Interconnect*, the VLAN attachment must be created with this option. Not currently available publicly.
    /// 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] 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] 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. Not currently available publicly.
    #[prost(string, repeated, tag = "407648565")]
    pub ipsec_internal_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::prost::alloc::string::String>,
    /// Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. 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 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>,
    /// [Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - 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 an 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>,
    /// 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 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] 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] 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>,
    /// 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] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// [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 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: - 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>,
    /// The type of interconnect attachment this is, which can take one of the following values: - 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.
    /// 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-4094. 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: - 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
    #[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 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 Mbit/s
        Bps400m = 49637331,
        /// 500 Mbit/s
        Bps500m = 49667122,
        /// 50 Gbit/s
        Bps50g = 278696850,
        /// 50 Mbit/s
        Bps50m = 278696856,
        /// 5 Gbit/s
        Bps5g = 355358572,
    }
    /// Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - 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,
    }
    /// 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: - 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 *IPsec-encrypted Cloud Interconnect*, the VLAN attachment must be created with this option. Not currently available publicly.
    #[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 IPsec-encrypted 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,
    }
    /// [Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - 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,
    }
    /// [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: - 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,
    }
    /// The type of interconnect attachment this is, which can take one of the following values: - 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.
    #[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 partner interconnect, created by the customer.
        Partner = 461924520,
        /// Attachment to a partner interconnect, created by the partner.
        PartnerProvider = 483261352,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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 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] Type of resource. Always compute#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 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>,
}
/// 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, ::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, PartialEq, ::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, ::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 interconnect, 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>,
    /// 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>,
}
/// Describing the ARP neighbor entries seen on this link
#[derive(Clone, PartialEq, ::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, ::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: - 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: - 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,
    }
}
///
#[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: - 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: - 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,
    }
}
///
#[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>,
    /// 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>,
}
/// 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] Type of resource. Always compute#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 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>,
}
/// 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] 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] 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: - 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] Creation timestamp in RFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] An optional description of the resource.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// [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] 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] 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. Always compute#interconnectLocation for interconnect locations.
    #[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] 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] 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] 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 this InterconnectLocation, which can take one of the following values: - 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] Set to true for locations that support physical zone separation. Defaults to false if the field is not present.
    #[prost(bool, optional, tag = "83983214")]
    pub supports_pzs: ::core::option::Option<bool>,
}
/// Nested message and enum types in `InterconnectLocation`.
pub mod interconnect_location {
    /// [Output Only] Continent for this location, which can take one of the following values: - 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,
    }
    /// [Output Only] The status of this InterconnectLocation, which can take one of the following values: - 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,
    }
}
/// 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] Type of resource. Always compute#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 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>,
}
/// Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectLocationRegionInfo {
    /// 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>,
    /// 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>,
    /// 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 {
    /// 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,
    }
}
/// Description of a planned outage on this Interconnect.
#[derive(Clone, PartialEq, ::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: - 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: - 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: - 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: - 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,
    }
    /// The party that generated this notification, which can take the following value: - 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,
    }
    /// State of this notification, which can take one of the following values: - 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,
    }
}
/// Response for the InterconnectsGetDiagnosticsRequest.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterconnectsGetDiagnosticsResponse {
    #[prost(message, optional, tag = "139315229")]
    pub result: ::core::option::Option<InterconnectDiagnostics>,
}
/// A request message for UrlMaps.InvalidateCache. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 for public and marketplace images. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct License {
    /// [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] Creation timestamp in RFC3339 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>,
    /// [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>,
    /// Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "214292769")]
    pub resource_requirements: ::core::option::Option<LicenseResourceRequirements>,
    /// [Output Only] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// 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>,
}
/// Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LicenseCode {
    /// [Output Only] Creation timestamp in RFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] Description of this License Code.
    #[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] 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] 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] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// [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] 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] 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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LicenseCodeLicenseAlias {
    /// [Output Only] Description of this License Code.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// [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>,
}
/// Commitment for a particular license resource.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LicenseResourceCommitment {
    /// The number of licenses purchased.
    #[prost(int64, optional, tag = "196759640")]
    pub amount: ::core::option::Option<i64>,
    /// Specifies the core range of the instance for which this license applies.
    #[prost(string, optional, tag = "32482324")]
    pub cores_per_license: ::core::option::Option<::prost::alloc::string::String>,
    /// Any applicable license URI.
    #[prost(string, optional, tag = "166757441")]
    pub license: ::core::option::Option<::prost::alloc::string::String>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LicenseResourceRequirements {
    /// Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.
    #[prost(int32, optional, tag = "477964836")]
    pub min_guest_cpu_count: ::core::option::Option<i32>,
    /// Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.
    #[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 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>,
}
/// A request message for AcceleratorTypes.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListAcceleratorTypesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListAddressesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListAssociationsFirewallPolicyRequest {
    /// 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, ::prost::Message)]
pub struct ListAutoscalersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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 SslPolicies.ListAvailableFeatures. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListAvailableFeaturesSslPoliciesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListBackendBucketsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListBackendServicesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListDiskTypesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListDisksRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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.ListErrors. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListErrorsInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone 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, ::prost::Message)]
pub struct ListErrorsRegionInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListExternalVpnGatewaysRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListFirewallPoliciesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListFirewallsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListForwardingRulesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for GlobalAddresses.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListGlobalAddressesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListGlobalForwardingRulesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListGlobalNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListGlobalOperationsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListGlobalOrganizationOperationsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListGlobalPublicDelegatedPrefixesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListHealthChecksRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListImagesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for InstanceGroupManagers.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone 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, ::prost::Message)]
pub struct ListInstanceGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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 InstanceTemplates.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListInstanceTemplatesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListInstancesInstanceGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListInstancesRegionInstanceGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListInstancesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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 InterconnectAttachments.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListInterconnectAttachmentsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListInterconnectLocationsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListInterconnectsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListLicensesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListMachineTypesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListManagedInstancesInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone 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, ::prost::Message)]
pub struct ListManagedInstancesRegionInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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 GlobalNetworkEndpointGroups.ListNetworkEndpoints. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListNetworkEndpointsNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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 Networks.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListNetworksRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListNodeGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListNodeTemplatesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListNodeTypesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListNodesNodeGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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 PacketMirrorings.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListPacketMirroringsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::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. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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,
    }
}
/// A request message for InstanceGroupManagers.ListPerInstanceConfigs. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListPerInstanceConfigsInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
    /// The name of the zone 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, ::prost::Message)]
pub struct ListPerInstanceConfigsRegionInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListPreconfiguredExpressionSetsSecurityPoliciesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListPublicAdvertisedPrefixesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListPublicDelegatedPrefixesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListReferrersInstancesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionAutoscalersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionBackendServicesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionCommitmentsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionDiskTypesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionDisksRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionHealthCheckServicesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionHealthChecksRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionInstanceGroupManagersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionInstanceGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionNetworkEndpointGroupsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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 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.
    #[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, ::prost::Message)]
pub struct ListRegionNotificationEndpointsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionOperationsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionSslCertificatesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionTargetHttpProxiesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionTargetHttpsProxiesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionUrlMapsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRegionsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Reservations.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListReservationsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListResourcePoliciesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Routers.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListRoutersRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListRoutesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListSecurityPoliciesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListServiceAttachmentsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListSnapshotsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListSslCertificatesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListSslPoliciesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for Subnetworks.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListSubnetworksRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for TargetGrpcProxies.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListTargetGrpcProxiesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListTargetHttpProxiesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListTargetHttpsProxiesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListTargetInstancesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListTargetPoolsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListTargetSslProxiesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListTargetTcpProxiesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListTargetVpnGatewaysRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListUrlMapsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListUsableSubnetworksRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
/// A request message for VpnGateways.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListVpnGatewaysRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListVpnTunnelsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListXpnHostsProjectsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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, ::prost::Message)]
pub struct ListZoneOperationsRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[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 Zones.List. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListZonesRequest {
    /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison 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`. 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 on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (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: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
    #[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.
    #[prost(bool, optional, tag = "517198390")]
    pub return_partial_success: ::core::option::Option<bool>,
}
///
#[derive(Clone, PartialEq, ::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>,
}
/// 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.
    #[prost(map = "string, message", tag = "413423454")]
    pub locations:
        ::std::collections::HashMap<::prost::alloc::string::String, LocationPolicyLocation>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LocationPolicyLocation {
    /// Preference for a given location: ALLOW or DENY.
    /// 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: ALLOW or DENY.
    #[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,
    }
}
/// This is deprecated and has no effect. Do not use.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LogConfig {
    /// This is deprecated and has no effect. Do not use.
    #[prost(message, optional, tag = "412852561")]
    pub cloud_audit: ::core::option::Option<LogConfigCloudAuditOptions>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(message, optional, tag = "420959740")]
    pub counter: ::core::option::Option<LogConfigCounterOptions>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(message, optional, tag = "286633881")]
    pub data_access: ::core::option::Option<LogConfigDataAccessOptions>,
}
/// This is deprecated and has no effect. Do not use.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LogConfigCloudAuditOptions {
    /// This is deprecated and has no effect. Do not use.
    #[prost(message, optional, tag = "217861624")]
    pub authorization_logging_options: ::core::option::Option<AuthorizationLoggingOptions>,
    /// This is deprecated and has no effect. Do not use.
    /// Check the LogName enum for the list of possible values.
    #[prost(string, optional, tag = "402913958")]
    pub log_name: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `LogConfigCloudAuditOptions`.
pub mod log_config_cloud_audit_options {
    /// This is deprecated and has no effect. Do not use.
    #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
    #[repr(i32)]
    pub enum LogName {
        /// A value indicating that the enum field is not set.
        UndefinedLogName = 0,
        /// This is deprecated and has no effect. Do not use.
        AdminActivity = 427503135,
        /// This is deprecated and has no effect. Do not use.
        DataAccess = 238070681,
        /// This is deprecated and has no effect. Do not use.
        UnspecifiedLogName = 410515182,
    }
}
/// This is deprecated and has no effect. Do not use.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LogConfigCounterOptions {
    /// This is deprecated and has no effect. Do not use.
    #[prost(message, repeated, tag = "249651015")]
    pub custom_fields: ::prost::alloc::vec::Vec<LogConfigCounterOptionsCustomField>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, optional, tag = "97427706")]
    pub field: ::core::option::Option<::prost::alloc::string::String>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, optional, tag = "533067184")]
    pub metric: ::core::option::Option<::prost::alloc::string::String>,
}
/// This is deprecated and has no effect. Do not use.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LogConfigCounterOptionsCustomField {
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, optional, tag = "111972721")]
    pub value: ::core::option::Option<::prost::alloc::string::String>,
}
/// This is deprecated and has no effect. Do not use.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LogConfigDataAccessOptions {
    /// This is deprecated and has no effect. Do not use.
    /// Check the LogMode enum for the list of possible values.
    #[prost(string, optional, tag = "402897342")]
    pub log_mode: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `LogConfigDataAccessOptions`.
pub mod log_config_data_access_options {
    /// This is deprecated and has no effect. Do not use.
    #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
    #[repr(i32)]
    pub enum LogMode {
        /// A value indicating that the enum field is not set.
        UndefinedLogMode = 0,
        /// This is deprecated and has no effect. Do not use.
        LogFailClosed = 360469778,
        /// This is deprecated and has no effect. Do not use.
        Unspecified = 88160822,
    }
}
/// Represents a Machine Type resource. You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine 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] Creation timestamp in RFC3339 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. See Shared-core machine types for more information.
    #[prost(bool, optional, tag = "521399555")]
    pub is_shared_cpu: ::core::option::Option<bool>,
    /// [Output Only] The type of the resource. Always compute#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] A list of extended scratch disks assigned to the instance.
    #[prost(message, repeated, tag = "480778481")]
    pub scratch_disks: ::prost::alloc::vec::Vec<ScratchDisks>,
    /// [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>,
}
///
#[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] Type of resource. Always compute#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 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] 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] 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 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 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] The current action that the managed instance group has scheduled for the instance. Possible values: - 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's targetSize 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] 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] 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] Health state of the instance per health-check.
    #[prost(message, repeated, tag = "382667078")]
    pub instance_health: ::prost::alloc::vec::Vec<ManagedInstanceInstanceHealth>,
    /// [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] 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] 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] 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] 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] The current action that the managed instance group has scheduled for the instance. Possible values: - 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's targetSize 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.
    #[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 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 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
        Verifying = 16982185,
    }
    /// [Output Only] The status of the instance. This field is empty when the instance does not exist.
    #[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 Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
        Deprovisioning = 428935662,
        /// 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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ManagedInstanceInstanceHealth {
    /// [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] 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] 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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ManagedInstanceLastAttempt {
    /// [Output Only] Encountered errors during the last attempt to create or delete the instance.
    #[prost(message, optional, tag = "315977579")]
    pub errors: ::core::option::Option<Errors>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ManagedInstanceVersion {
    /// [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] 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 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>,
    /// 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] 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 loadbalancers to restrict routing configuration to a limited set of loadbalancing proxies. Proxies and sidecars involved in loadbalancing would typically present metadata to the loadbalancers which 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 its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels 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 loadbalancing involves Envoys, they will only receive routing configuration when values in metadataFilters 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 filterLabel matches within the list of filterLabels contribute towards the overall metadataFilter match. Supported values are: - 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 filterLabel matches within the list of filterLabels contribute towards the overall metadataFilter match. Supported values are: - 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 the metadataFilter to be considered a match.
        MatchAll = 180663271,
        /// Specifies that any filterLabel must match for the metadataFilter to be considered a match.
        MatchAny = 180663346,
        /// Indicates that the match criteria was not set. A metadataFilter must never be created with this value.
        NotSet = 163646646,
    }
}
/// MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the loadbalancer.
#[derive(Clone, PartialEq, ::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 Projects.MoveDisk. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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.
    #[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 Projects.MoveInstance. See the method description for details.
#[derive(Clone, PartialEq, ::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>,
}
/// The named port. For example: <"http", 80>.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedPort {
    /// The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
    #[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>,
}
/// Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, read Virtual 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 a CIDR 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 in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method.
    #[prost(bool, optional, tag = "256156690")]
    pub auto_create_subnetworks: ::core::option::Option<bool>,
    /// [Output Only] Creation timestamp in RFC3339 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] The gateway address for default routing out of the network, selected by GCP.
    #[prost(string, optional, tag = "178678877")]
    pub gateway_i_pv4: ::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] 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 1460 and the maximum value is 1500 bytes. If unspecified, 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 with RFC1035. 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>,
    /// [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] 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>,
}
/// The network endpoint.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpoint {
    /// 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>,
    /// Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
    #[prost(string, optional, tag = "3150485")]
    pub fqdn: ::core::option::Option<::prost::alloc::string::String>,
    /// The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035.
    #[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.
    #[prost(string, optional, tag = "406272220")]
    pub ip_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.
    #[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, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpointGroup {
    /// 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>,
    /// Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
    #[prost(message, optional, tag = "340788768")]
    pub app_engine: ::core::option::Option<NetworkEndpointGroupAppEngine>,
    /// Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
    #[prost(message, optional, tag = "519893666")]
    pub cloud_function: ::core::option::Option<NetworkEndpointGroupCloudFunction>,
    /// Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
    #[prost(message, optional, tag = "111060353")]
    pub cloud_run: ::core::option::Option<NetworkEndpointGroupCloudRun>,
    /// [Output Only] Creation timestamp in RFC3339 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.
    #[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] 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. Always compute#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 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>,
    /// 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 of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
    /// 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>,
    /// [Output Only] The URL of the region where the network endpoint group is located.
    #[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] 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] The URL of the zone 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 of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
    #[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 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 handled by specified serverless infrastructure.
        Serverless = 270492508,
    }
}
///
#[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] The resource type, which is always compute#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 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] 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, ::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>,
    /// 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 URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.appspot.com/". 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, ::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>,
    /// 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" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/". 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, ::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 with RFC1035. 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 with RFC1035. Example value: "revision-0010".
    #[prost(string, optional, tag = "114586")]
    pub tag: ::core::option::Option<::prost::alloc::string::String>,
    /// 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" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". 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] The resource type, which is always compute#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 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 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, ::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,
    }
}
///
#[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] The resource type, which is always compute#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 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] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkEndpointGroupsScopedList {
    /// [Output Only] The list of network endpoint groups that are contained in this scope.
    #[prost(message, repeated, tag = "29346733")]
    pub network_endpoint_groups: ::prost::alloc::vec::Vec<NetworkEndpointGroup>,
    /// [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] The health status of network endpoint;
    #[prost(message, repeated, tag = "258689431")]
    pub healths: ::prost::alloc::vec::Vec<HealthStatusForNetworkEndpoint>,
    /// [Output only] The network endpoint;
    #[prost(message, optional, tag = "56789126")]
    pub network_endpoint: ::core::option::Option<NetworkEndpoint>,
}
/// 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 no accessConfigs 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>,
    /// 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 the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.
    #[prost(string, optional, tag = "234678500")]
    pub fingerprint: ::core::option::Option<::prost::alloc::string::String>,
    /// 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] 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>,
    /// [Output Only] An IPv6 internal network address for this network interface.
    #[prost(string, optional, tag = "341563804")]
    pub ipv6_address: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] Type of the resource. Always compute#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 network devices, these are eth0, eth1, etc.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// URL of the 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 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: - <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>,
    /// 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>,
    /// 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>,
    /// The stack type for this network interface 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 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 in legacy 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: - <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>,
}
/// Nested message and enum types in `NetworkInterface`.
pub mod network_interface {
    /// [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,
        /// IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
        UnspecifiedIpv6AccessType = 313080613,
    }
    /// 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,
        /// No type specified.
        UnspecifiedNicType = 67411801,
        /// VIRTIO
        VirtioNet = 452123481,
    }
    /// The stack type for this network interface 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 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 be assigned IPv4 address.
        Ipv4Only = 22373798,
        UnspecifiedStackType = 298084569,
    }
}
/// 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] 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 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>,
}
/// 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, ::prost::Message)]
pub struct NetworkPeering {
    /// This field will be deprecated soon. Use the exchange_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 is ACTIVE.
    #[prost(bool, optional, tag = "57454941")]
    pub auto_create_routes: ::core::option::Option<bool>,
    /// 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 is ACTIVE.
    #[prost(bool, optional, tag = "26322256")]
    pub exchange_subnet_routes: ::core::option::Option<bool>,
    /// Whether to export the custom routes to peer network.
    #[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.
    #[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 with RFC1035. 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>,
    /// Maximum Transmission Unit in bytes.
    #[prost(int32, optional, tag = "69584721")]
    pub peer_mtu: ::core::option::Option<i32>,
    /// [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network.
    /// 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] Details about the current state of the peering.
    #[prost(string, optional, tag = "95566996")]
    pub state_details: ::core::option::Option<::prost::alloc::string::String>,
}
/// Nested message and enum types in `NetworkPeering`.
pub mod network_peering {
    /// [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network.
    #[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,
    }
}
/// 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, ::prost::Message)]
pub struct NetworkRoutingConfig {
    /// 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 to GLOBAL, 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 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 to GLOBAL, 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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworksAddPeeringRequest {
    /// This field will be deprecated soon. Use exchange_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 is ACTIVE.
    #[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 {
    /// Effective firewalls from firewall policy.
    #[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] 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] The name of the firewall policy.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// The rules that apply to the network.
    #[prost(message, repeated, tag = "108873975")]
    pub rules: ::prost::alloc::vec::Vec<FirewallPolicyRule>,
    /// [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] 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] 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,
        Unspecified = 526786327,
    }
}
///
#[derive(Clone, PartialEq, ::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, ::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, read Sole-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] Creation timestamp in RFC3339 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] 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] The type of the resource. Always compute#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 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 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>,
    /// 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] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// [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] 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 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,
    }
    ///
    #[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,
    }
}
///
#[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] Type of resource.Always compute#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 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] 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 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,
    }
}
/// 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] 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 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>,
}
/// Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeGroupMaintenanceWindow {
    /// [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>,
    /// 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>,
    /// 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] 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>,
}
/// 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,
    }
    ///
    #[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,
    }
}
///
#[derive(Clone, PartialEq, ::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, ::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] 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] The resource type, which is always compute.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] 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 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, ::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>,
}
/// Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating 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] Creation timestamp in RFC3339 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] 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] The type of the resource. Always compute#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 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>,
    /// 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>,
    /// The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive with the node_type property; you can only define one or the other, but not both.
    #[prost(message, optional, tag = "315257905")]
    pub node_type_flexibility: ::core::option::Option<NodeTemplateNodeTypeFlexibility>,
    /// [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] 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: - *\[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] 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] 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,
    }
    /// [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,
    }
}
///
#[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] Type of resource.Always compute#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 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] 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] 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 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 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 read Node types.
#[derive(Clone, PartialEq, ::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 in RFC3339 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] The type of the resource. Always compute#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] 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] 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 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] Type of resource.Always compute#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 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] 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] 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 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 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, ::prost::Message)]
pub struct NotificationEndpoint {
    /// [Output Only] Creation timestamp in RFC3339 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] 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] Type of the resource. Always compute#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 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>,
    /// [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] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.
#[derive(Clone, PartialEq, ::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.
    #[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] Type of the resource. Always compute#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 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>,
}
/// 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, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.
#[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 in RFC3339 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>,
    /// [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 in RFC3339 text format.
    #[prost(string, optional, tag = "433722515")]
    pub insert_time: ::core::option::Option<::prost::alloc::string::String>,
    /// [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] 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] The time that this operation was started by the server. This value is in RFC3339 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 persistent 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`.
    #[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,
    }
}
///
#[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] 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] 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] 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>,
}
/// Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OutlierDetection {
    /// The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s.
    #[prost(message, optional, tag = "80997255")]
    pub base_ejection_time: ::core::option::Option<Duration>,
    /// Number of errors before a host is ejected from the connection pool. When the backend host 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 host will be actually 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 host will be actually 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 host will be actually 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.
    #[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 as well as hosts being returned to service. Defaults to 1 second.
    #[prost(message, optional, tag = "33547461")]
    pub interval: ::core::option::Option<Duration>,
    /// Maximum percentage of hosts in the load balancing pool for the backend service that can be ejected. Defaults to 50%.
    #[prost(int32, optional, tag = "18436888")]
    pub max_ejection_percent: ::core::option::Option<i32>,
    /// The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5.
    #[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 host 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 host. Defaults to 100.
    #[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 * success_rate_stdev_factor). 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.
    #[prost(int32, optional, tag = "174735773")]
    pub success_rate_stdev_factor: ::core::option::Option<i32>,
}
/// 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, see Using Packet Mirroring.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PacketMirroring {
    /// The Forwarding Rule resource of type loadBalancingScheme=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] Creation timestamp in RFC3339 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 traffic is mirrored.
    #[prost(message, optional, tag = "336120696")]
    pub filter: ::core::option::Option<PacketMirroringFilter>,
    /// [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. Always compute#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 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>,
    /// 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] 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,
    }
}
/// 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>,
    /// 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 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] 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 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 traffic is mirrored.
    #[prost(string, repeated, tag = "98544854")]
    pub i_p_protocols: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
    #[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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PacketMirroringForwardingRuleInfo {
    /// [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] 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 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 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, ::prost::Message)]
pub struct PacketMirroringMirroredResourceInfoInstanceInfo {
    /// [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, ::prost::Message)]
pub struct PacketMirroringMirroredResourceInfoSubnetInfo {
    /// [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, ::prost::Message)]
pub struct PacketMirroringNetworkInfo {
    /// [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 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). end_interface: MixerMutationRequestBuilder
    #[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, ::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 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 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 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 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 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 the zone 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). end_interface: MixerMutationRequestBuilder
    #[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). end_interface: MixerMutationRequestBuilder
    #[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 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 RegionHealthChecks.Patch. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 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 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 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 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>,
}
/// 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>,
}
/// 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). end_interface: MixerMutationRequestBuilder
    #[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 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, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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). end_interface: MixerMutationRequestBuilder
    #[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 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 will be used.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PathMatcher {
    /// defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a pathMatcher's defaultRouteAction.
    #[prost(message, optional, tag = "378919466")]
    pub default_route_action: ::core::option::Option<HttpRouteAction>,
    /// The full or partial URL to the BackendService resource. This will be used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - <https://www.googleapis.com/compute/v1/projects/project> /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - 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 or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to 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 backendService. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap Note that headerAction is not supported for Loadbalancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to 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 the HostRule.
    #[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. 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 of pathRules 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 of pathRules 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 of pathRules 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 specified BackendService to handle the traffic arriving at this URL.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PathRule {
    /// 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 like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a pathRule's routeAction.
    #[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 additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendService s. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must 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. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to 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 config 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 config and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance config 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 config 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 config 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 config 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 config 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 config deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.
        Deleting = 528602024,
        /// The per-instance config is effective on the instance, meaning that all disks, ips and metadata specified in this config are attached or set on the instance.
        Effective = 244201863,
        /// *\[Default\]* The default status, when no per-instance config exists.
        None = 2402104,
        /// The per-instance config is set on an instance but not been applied yet.
        Unapplied = 483935140,
        /// The per-instance config has been deleted, but the deletion is not yet applied.
        UnappliedDeletion = 313956873,
    }
}
/// 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` to a single `role`. Members 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:** { "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:** 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` to 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 member.
    #[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>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(bool, optional, tag = "450566203")]
    pub iam_owned: ::core::option::Option<bool>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(message, repeated, tag = "108873975")]
    pub rules: ::prost::alloc::vec::Vec<Rule>,
    /// 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 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, ::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 or READ_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,
    }
    /// The mode in which to attach this disk, either READ_WRITE or READ_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 in READ_WRITE mode.
        ReadWrite = 173607894,
    }
}
/// 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 {
    /// 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 in RFC3339 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>,
    /// 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] 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>,
    /// The 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] 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 {
    /// 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,
        /// 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] 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,
    }
}
///
#[derive(Clone, PartialEq, ::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, ::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] Type of resource. Always compute#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] 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>,
    /// 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, ::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, ::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,
        /// 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,
    }
}
/// 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] Creation timestamp in RFC3339 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 IPv4 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 the PublicAdvertisedPrefix, 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] The unique identifier for the resource type. The server generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// The IPv4 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>,
    /// [Output Only] Type of the resource. Always compute#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 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>,
    /// [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] 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.
    /// 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 {
    /// The status of the public advertised 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,
        Initial = 518841124,
        PrefixConfigurationComplete = 480889551,
        PrefixConfigurationInProgress = 378550961,
        PrefixRemovalInProgress = 284375783,
        PtrConfigured = 513497167,
        ReverseDnsLookupFailed = 295755183,
        Validated = 66197998,
    }
}
///
#[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] Type of the resource. Always compute#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 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>,
}
/// Represents a CIDR range which can be used to assign addresses.
#[derive(Clone, PartialEq, ::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 {
    /// [Output Only] Creation timestamp in RFC3339 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 new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, 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] The unique identifier for the resource type. The server generates this identifier.
    #[prost(uint64, optional, tag = "3355")]
    pub id: ::core::option::Option<u64>,
    /// The IPv4 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>,
    /// If true, the prefix will be live migrated.
    #[prost(bool, optional, tag = "511823856")]
    pub is_live_migration: ::core::option::Option<bool>,
    /// [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated 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 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>,
    /// 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] 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] 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.
    /// 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] The status of the 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,
        Announced = 365103355,
        Deleting = 528602024,
        Initializing = 306588749,
        ReadyToAnnounce = 64641265,
    }
}
///
#[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] Type of the resource. Always compute#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 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] 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] Type of the resource. Always compute#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 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>,
}
/// Represents a sub PublicDelegatedPrefix.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PublicDelegatedPrefixPublicDelegatedSubPrefix {
    /// 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>,
    /// The IPv4 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>,
    /// 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 name of the sub public delegated prefix.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// [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] 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] 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,
    }
}
///
#[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,
        CommittedMemoryOptimizedCpus = 489057886,
        CommittedN2aCpus = 40064304,
        CommittedN2dCpus = 125951757,
        CommittedN2Cpus = 322589603,
        CommittedNvidiaA100Gpus = 375799445,
        CommittedNvidiaK80Gpus = 3857188,
        CommittedNvidiaP100Gpus = 107528100,
        CommittedNvidiaP4Gpus = 347952897,
        CommittedNvidiaT4Gpus = 139871237,
        CommittedNvidiaV100Gpus = 219562,
        CommittedT2dCpus = 382266439,
        /// Guest CPUs
        Cpus = 2075595,
        CpusAllRegions = 470911149,
        DisksTotalGb = 353520543,
        E2Cpus = 481995837,
        ExternalNetworkLbForwardingRules = 374298265,
        ExternalProtocolForwardingRules = 63478888,
        ExternalVpnGateways = 272457134,
        Firewalls = 374485843,
        ForwardingRules = 432668949,
        GlobalInternalAddresses = 42738332,
        GpusAllRegions = 39387177,
        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,
        MachineImages = 446986640,
        N2aCpus = 265855917,
        N2dCpus = 351743370,
        N2Cpus = 416465286,
        Networks = 485481477,
        NetworkEndpointGroups = 102144909,
        NetworkFirewallPolicies = 101117374,
        NodeGroups = 24624817,
        NodeTemplates = 474896668,
        NvidiaA100Gpus = 504872978,
        NvidiaK80Gpus = 163886599,
        NvidiaP100Gpus = 236601633,
        NvidiaP100VwsGpus = 213970574,
        NvidiaP4Gpus = 283841470,
        NvidiaP4VwsGpus = 528296619,
        NvidiaT4Gpus = 75759810,
        NvidiaT4VwsGpus = 319813039,
        NvidiaV100Gpus = 129293095,
        PacketMirrorings = 15578407,
        PdExtremeTotalProvisionedIops = 69593965,
        PreemptibleCpus = 251184841,
        PreemptibleLocalSsdGb = 260819336,
        PreemptibleNvidiaA100Gpus = 68832784,
        PreemptibleNvidiaK80Gpus = 374960201,
        PreemptibleNvidiaP100Gpus = 337432351,
        PreemptibleNvidiaP100VwsGpus = 313544076,
        PreemptibleNvidiaP4Gpus = 429197628,
        PreemptibleNvidiaP4VwsGpus = 252981545,
        PreemptibleNvidiaT4Gpus = 221115968,
        PreemptibleNvidiaT4VwsGpus = 44497965,
        PreemptibleNvidiaV100Gpus = 230123813,
        PscIlbConsumerForwardingRulesPerProducerNetwork = 231164291,
        PscInternalLbForwardingRules = 169005435,
        PublicAdvertisedPrefixes = 471371980,
        PublicDelegatedPrefixes = 532465974,
        RegionalAutoscalers = 29363772,
        RegionalInstanceGroupManagers = 37543696,
        Reservations = 32644647,
        ResourcePolicies = 83955297,
        Routers = 493018666,
        Routes = 275680074,
        SecurityPolicies = 189518703,
        SecurityPoliciesPerRegion = 249041734,
        SecurityPolicyCevalRules = 470815689,
        SecurityPolicyRules = 203549225,
        SecurityPolicyRulesPerRegion = 126510156,
        ServiceAttachments = 471521510,
        /// The total number of snapshots allowed for a single project.
        Snapshots = 343405327,
        SsdTotalGb = 161732561,
        SslCertificates = 378372399,
        StaticAddresses = 93624049,
        StaticByoipAddresses = 275809649,
        Subnetworks = 421330469,
        T2dCpus = 71187140,
        TargetHttpsProxies = 219522506,
        TargetHttpProxies = 164117155,
        TargetInstances = 284519728,
        TargetPools = 348261257,
        TargetSslProxies = 159216235,
        TargetTcpProxies = 182243136,
        TargetVpnGateways = 75029928,
        UrlMaps = 378660743,
        VpnGateways = 35620282,
        VpnTunnels = 104327296,
        XpnServiceProjects = 95191981,
    }
}
/// The parameters of the raw disk image.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RawDisk {
    /// The format used to encode and transmit the block device, which should be TAR. 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 where the raw disk image archive is stored. The following are valid formats for the URL: - <https://storage.googleapis.com/bucket_name/image_archive_name> - <https://storage.googleapis.com/bucket_name/folder_name/> image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - 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 be TAR. 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,
    }
}
/// A request message for InstanceGroupManagers.RecreateInstances. See the method description for details.
#[derive(Clone, PartialEq, ::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 the zone 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, ::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, ::prost::Message)]
pub struct Reference {
    /// [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: 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, read Regions and Zones.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Region {
    /// [Output Only] Creation timestamp in RFC3339 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] 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] 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 or 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>,
    /// [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 or 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,
        Up = 2715,
    }
}
/// 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>,
    /// 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 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 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] Type of resource. Always compute#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 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 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, ::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, PartialEq, ::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>,
}
/// Contains a list of InstanceGroup resources.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupList {
    /// [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>,
    /// The resource type.
    #[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>,
}
/// RegionInstanceGroupManagers.deletePerInstanceConfigs
#[derive(Clone, PartialEq, ::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] 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] 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] 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>,
}
/// RegionInstanceGroupManagers.patchPerInstanceConfigs
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagerPatchInstanceConfigReq {
    /// The list of per-instance configs to insert or patch on this managed instance group.
    #[prost(message, repeated, tag = "526265001")]
    pub per_instance_configs: ::prost::alloc::vec::Vec<PerInstanceConfig>,
}
/// RegionInstanceGroupManagers.updatePerInstanceConfigs
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagerUpdateInstanceConfigReq {
    /// The list of per-instance configs 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 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, ::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 as zones/\[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: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - 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.
    #[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: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - 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.
    #[prost(string, optional, tag = "66103053")]
    pub most_disruptive_allowed_action: ::core::option::Option<::prost::alloc::string::String>,
}
/// 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, ::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] 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>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegionInstanceGroupManagersListInstanceConfigsResp {
    /// [Output Only] The list of PerInstanceConfig.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<PerInstanceConfig>,
    /// [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] 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] 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>,
}
///
#[derive(Clone, PartialEq, ::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, ::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 the instanceGroup 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, ::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, ::prost::Message)]
pub struct RegionInstanceGroupsListInstances {
    /// [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>,
    /// The resource type.
    #[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 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,
    }
}
///
#[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 the instanceGroups.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] 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 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 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, ::prost::Message)]
pub struct RegionTargetHttpsProxiesSetSslCertificatesRequest {
    /// New set of SslCertificate resources to associate with this TargetHttpsProxy resource. Currently exactly one SslCertificate resource must be specified.
    #[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, ::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 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 Networks.RemovePeering. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, ::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, ::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 SecurityPolicies.RemoveRule. See the method description for details.
#[derive(Clone, PartialEq, ::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 policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. Loadbalancer does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host / 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.
    #[prost(string, optional, tag = "306946058")]
    pub backend_service: ::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 {
    /// [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>,
    /// [Output Only] Creation timestamp in RFC3339 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] Type of the resource. Always compute#reservations for 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 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>,
    /// [Output Only] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// [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>,
    /// 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] The status of the reservation.
    /// 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 {
    /// [Output Only] The status of the reservation.
    #[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.
        Creating = 455564985,
        /// Reservation is currently being deleted.
        Deleting = 528602024,
        Invalid = 530283991,
        /// Reservation has allocated all its resources.
        Ready = 77848963,
        /// Reservation is currently being resized.
        Updating = 494614342,
    }
}
/// Specifies the reservations that this instance can consume from.
#[derive(Clone, PartialEq, ::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 a SPECIFIC_RESERVATION by name, specify googleapis.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,
    }
}
/// 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>,
    /// 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 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] 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 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] 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 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 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, ::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, ::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, ::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 the zone 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, ::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, ::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, ::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 resource (a Commitment is composed of one or more of these).
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourceCommitment {
    /// Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.
    #[prost(string, optional, tag = "138031246")]
    pub accelerator_type: ::core::option::Option<::prost::alloc::string::String>,
    /// The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.
    #[prost(int64, optional, tag = "196759640")]
    pub amount: ::core::option::Option<i64>,
    /// Type of resource for which this commitment applies. Possible values are VCPU and MEMORY
    /// 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 {
    /// Type of resource for which this commitment applies. Possible values are VCPU and MEMORY
    #[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,
    }
}
///
#[derive(Clone, PartialEq, ::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 to schedule persistent disk snapshots.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePolicy {
    /// [Output Only] Creation timestamp in RFC3339 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 instances for placement configuration.
    #[prost(message, optional, tag = "10931596")]
    pub group_placement_policy: ::core::option::Option<ResourcePolicyGroupPlacementPolicy>,
    /// [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] Type of the resource. Always compute#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 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>,
    #[prost(string, optional, tag = "138946292")]
    pub region: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] The system status of the resource policy.
    #[prost(message, optional, tag = "249429315")]
    pub resource_status: ::core::option::Option<ResourcePolicyResourceStatus>,
    /// [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] 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>,
}
/// Nested message and enum types in `ResourcePolicy`.
pub mod resource_policy {
    /// [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,
    }
}
/// 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>,
    /// 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 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] 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, ::prost::Message)]
pub struct ResourcePolicyDailyCycle {
    /// Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
    #[prost(int32, optional, tag = "369790004")]
    pub days_in_cycle: ::core::option::Option<i32>,
    /// [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>,
}
/// A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePolicyGroupPlacementPolicy {
    /// The number of availability domains instances will be spread across. If two instances are in different availability domain, they will not be put 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>,
    /// Number of vms in this placement group
    #[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 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,
    }
}
/// Time window specified for hourly operations.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourcePolicyHourlyCycle {
    /// [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, ::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: <http://en.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, ::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] Type of resource.Always compute#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 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>,
}
/// 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, ::prost::Message)]
pub struct ResourcePolicyResourceStatus {
    /// [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, ::prost::Message)]
pub struct ResourcePolicyResourceStatusInstanceSchedulePolicyStatus {
    /// [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] 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, ::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,
    }
}
/// 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, ::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] 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,
    }
}
/// 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 the Routes overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Route {
    /// [Output Only] AS path.
    #[prost(message, repeated, tag = "137568929")]
    pub as_paths: ::prost::alloc::vec::Vec<RouteAsPath>,
    /// [Output Only] Creation timestamp in RFC3339 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.
    #[prost(string, optional, tag = "381327712")]
    pub dest_range: ::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] 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 with RFC1035. 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>,
    /// The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - <https://www.googleapis.com/compute/v1/projects/project/regions/region> /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule
    #[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>,
    /// The network IP address of an instance that should handle matching packets. Only IPv4 is supported.
    #[prost(string, optional, tag = "110319529")]
    pub next_hop_ip: ::core::option::Option<::prost::alloc::string::String>,
    /// 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] 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>,
    /// 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 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] 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] 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,
    }
}
///
#[derive(Clone, PartialEq, ::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,
    }
}
/// 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>,
    /// 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 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>,
}
/// Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud 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 to RFC4273.
    #[prost(message, repeated, tag = "452695773")]
    pub bgp_peers: ::prost::alloc::vec::Vec<RouterBgpPeer>,
    /// [Output Only] Creation timestamp in RFC3339 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). Not currently available publicly.
    #[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. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
    #[prost(message, repeated, tag = "12073562")]
    pub interfaces: ::prost::alloc::vec::Vec<RouterInterface>,
    /// [Output Only] Type of resource. Always compute#router for routers.
    #[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 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 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>,
    /// [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, ::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>,
    /// 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 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] 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 an RFC6996 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>,
    /// 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,
    }
    ///
    #[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,
    }
}
///
#[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 can take one of the following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets. 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>,
    /// 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>,
    /// 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. Only IPv4 is supported.
    #[prost(string, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] The resource that configures and manages this BGP peer. - 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>,
    /// Name of this BGP peer. 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>,
    /// 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. Only IPv4 is supported.
    #[prost(string, optional, tag = "207735769")]
    pub peer_ip_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,
    }
    ///
    #[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,
    }
    /// 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,
    }
    /// [Output Only] The resource that configures and manages this BGP peer. - 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,
    }
}
///
#[derive(Clone, PartialEq, ::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 PASSIVE.
    /// 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 PASSIVE.
    #[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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterInterface {
    /// IP address and range of the interface. The IP range must be in the RFC3927 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 address as it represents the IP address of the interface.
    #[prost(string, optional, tag = "145092645")]
    pub ip_range: ::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 virtual machine instance.
    #[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 virtual machine instance.
    #[prost(string, optional, tag = "352296953")]
    pub linked_vpn_tunnel: ::core::option::Option<::prost::alloc::string::String>,
    /// [Output Only] The resource that configures and manages this interface. - 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 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>,
    /// 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 with RFC1035. 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 {
    /// [Output Only] The resource that configures and manages this interface. - 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,
    }
}
/// 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] 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 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>,
}
/// 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 {
    /// 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>,
    #[prost(bool, optional, tag = "259441819")]
    pub enable_endpoint_independent_mapping: ::core::option::Option<bool>,
    /// 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>,
    /// 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 with RFC1035.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specify the NatIpAllocateOption, which can take one of the following values: - 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: - 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 or ALL_SUBNETWORKS_ALL_PRIMARY_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>,
    /// 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>,
    /// 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 {
    /// Specify the NatIpAllocateOption, which can take one of the following values: - 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,
    }
    /// Specify the Nat option, which can take one of the following values: - 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 or ALL_SUBNETWORKS_ALL_PRIMARY_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,
    }
}
/// Configuration of logging on a NAT.
#[derive(Clone, PartialEq, ::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: - 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: - 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,
    }
}
///
#[derive(Clone, PartialEq, ::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 == '/projects/my-project/global/hub/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, ::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 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>,
}
/// Defines the IP ranges that want to use NAT for a subnetwork.
#[derive(Clone, PartialEq, ::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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterStatus {
    /// Best routes for this router's network.
    #[prost(message, repeated, tag = "395826693")]
    pub best_routes: ::prost::alloc::vec::Vec<Route>,
    /// Best routes learned by this 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>,
    /// IP address of the local BGP interface.
    #[prost(string, optional, tag = "406272220")]
    pub ip_address: ::core::option::Option<::prost::alloc::string::String>,
    /// 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>,
    /// Name of this BGP peer. Unique within the Routers resource.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// Number of routes learned from the remote BGP Peer.
    #[prost(uint32, optional, tag = "135457535")]
    pub num_learned_routes: ::core::option::Option<u32>,
    /// 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] 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>,
    /// BGP state as specified in RFC1771.
    #[prost(string, optional, tag = "109757585")]
    pub state: ::core::option::Option<::prost::alloc::string::String>,
    /// 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>,
    /// 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>,
    /// 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 {
    /// 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,
    }
}
/// Status of a NAT contained in this router.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RouterStatusNatStatus {
    /// 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>,
    /// 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>,
    /// 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>,
    /// 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>,
    /// Unique name of this NAT.
    #[prost(string, optional, tag = "3373707")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    /// 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>,
    /// 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>,
    /// 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, ::prost::Message)]
pub struct RouterStatusNatStatusNatRuleStatus {
    /// 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>,
    /// 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>,
    /// 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>,
    /// 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>,
    /// 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 {
    /// 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 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>,
}
/// This is deprecated and has no effect. Do not use.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Rule {
    /// This is deprecated and has no effect. Do not use.
    /// Check the Action enum for the list of possible values.
    #[prost(string, optional, tag = "187661878")]
    pub action: ::core::option::Option<::prost::alloc::string::String>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(message, repeated, tag = "142882488")]
    pub conditions: ::prost::alloc::vec::Vec<Condition>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, optional, tag = "422937596")]
    pub description: ::core::option::Option<::prost::alloc::string::String>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, repeated, tag = "104430")]
    pub ins: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(message, repeated, tag = "152873846")]
    pub log_configs: ::prost::alloc::vec::Vec<LogConfig>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, repeated, tag = "518443138")]
    pub not_ins: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// This is deprecated and has no effect. Do not use.
    #[prost(string, repeated, tag = "59962500")]
    pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Nested message and enum types in `Rule`.
pub mod rule {
    /// This is deprecated and has no effect. Do not use.
    #[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,
        /// This is deprecated and has no effect. Do not use.
        Allow = 62368553,
        /// This is deprecated and has no effect. Do not use.
        AllowWithLog = 76034177,
        /// This is deprecated and has no effect. Do not use.
        Deny = 2094604,
        /// This is deprecated and has no effect. Do not use.
        DenyWithLog = 351433982,
        /// This is deprecated and has no effect. Do not use.
        Log = 75556,
        /// This is deprecated and has no effect. Do not use.
        NoAction = 260643444,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslHealthCheck {
    /// The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, SSL health check follows behavior specified in port and portName fields.
    /// 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 application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    #[prost(string, optional, tag = "21951119")]
    pub request: ::core::option::Option<::prost::alloc::string::String>,
    /// The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    #[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 port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, SSL health check follows behavior specified in port and portName fields.
    #[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 port is used for health checking.
        UseFixedPort = 190235748,
        /// The portName is used for health checking.
        UseNamedPort = 349300671,
        /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.
        UseServingPort = 362637516,
    }
    /// 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,
    }
}
///
#[derive(Clone, PartialEq, ::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,
    }
}
/// Sets the scheduling options for an Instance. NextID: 21
#[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>,
    /// 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>,
    /// 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 to Configuring 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. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options.
    /// 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>,
    /// Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.
    #[prost(bool, optional, tag = "324203169")]
    pub preemptible: ::core::option::Option<bool>,
}
/// Nested message and enum types in `Scheduling`.
pub mod scheduling {
    /// Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options.
    #[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,
    }
}
/// Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
#[derive(Clone, PartialEq, ::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 are IN 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 are IN 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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ScratchDisks {
    /// Size of the scratch disk, defined in GB.
    #[prost(int32, optional, tag = "60990141")]
    pub disk_gb: ::core::option::Option<i32>,
}
/// An instance's screenshot.
#[derive(Clone, PartialEq, ::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] 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 SecurityPoliciesListPreconfiguredExpressionSetsResponse {
    #[prost(message, optional, tag = "536200826")]
    pub preconfigured_expression_sets: ::core::option::Option<SecurityPoliciesWafConfig>,
}
///
#[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>,
    /// [Output Only] Creation timestamp in RFC3339 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 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 error 412 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] 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. Always compute#securityPolicyfor security policies
    #[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 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 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 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] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
}
/// 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.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig {
    /// If set to true, enables CAAP for L7 DDoS detection.
    #[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.
    /// 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>,
}
/// 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.
    #[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,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityPolicyAdvancedOptionsConfig {
    ///
    /// 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>,
}
/// 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,
    }
    ///
    #[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,
    }
}
///
#[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] Type of resource. Always compute#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 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] Informational warning message.
    #[prost(message, optional, tag = "50704284")]
    pub warning: ::core::option::Option<Warning>,
}
///
#[derive(Clone, PartialEq, ::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 client connection triggers the rule. Can currently be either "allow" or "deny()" where valid values for status are 403, 404, and 502.
    #[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>,
    /// [Output only] Type of the resource. Always compute#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>,
    /// 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>,
}
/// Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
#[derive(Clone, PartialEq, ::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.
    #[prost(message, optional, tag = "3127797")]
    pub expr: ::core::option::Option<Expr>,
    /// 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,
    }
}
///
#[derive(Clone, PartialEq, ::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>,
}
/// The authentication and authorization settings for a BackendService.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecuritySettings {
    /// 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 global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.
    #[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 this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName 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 with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact.
    #[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, ::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, PartialEq, ::prost::Message)]
pub struct SendDiagnosticInterruptInstanceResponse {}
/// An instance serial console output.
#[derive(Clone, PartialEq, ::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] Type of the resource. Always compute#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] 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, ::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,
    }
}
/// A service account.
#[derive(Clone, PartialEq, ::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. next tag = 20
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceAttachment {
    /// [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>,
    /// Projects that are allowed to connect to this service attachment.
    #[prost(message, repeated, tag = "402725703")]
    pub consumer_accept_lists: ::prost::alloc::vec::Vec<ServiceAttachmentConsumerProjectLimit>,
    /// Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
    #[prost(string, repeated, tag = "204033182")]
    pub consumer_reject_lists: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// [Output Only] Creation timestamp in RFC3339 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 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] 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] Type of the resource. Always compute#serviceAttachment for service attachments.
    #[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 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>,
    /// 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>,
    /// [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>,
    /// [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] 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,
    }
}
/// 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>,
    /// 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 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] 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, ::prost::Message)]
pub struct ServiceAttachmentConnectedEndpoint {
    /// The url of a connected endpoint.
    #[prost(string, optional, tag = "130489749")]
    pub endpoint: ::core::option::Option<::prost::alloc::string::String>,
    /// 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 is pending acceptance by the producer.
        Pending = 35394935,
        /// The consumer is still connected but not using the connection.
        Rejected = 174130302,
        Unspecified = 42133066,
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceAttachmentConsumerProjectLimit {
    /// The value of the limit to set.
    #[prost(uint32, optional, tag = "131403546")]
    pub connection_limit: ::core::option::Option<u32>,
    /// 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] Type of the resource. Always compute#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 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 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, ::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, ::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 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, ::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, ::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, ::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 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 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 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 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 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 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 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, ::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 the zone 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, ::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 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 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 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 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 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 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, ::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, ::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 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, ::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, ::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, ::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, ::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, ::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, ::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.SetServiceAccount. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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, ::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, ::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, ::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, ::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, ::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, ::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, ::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 the zone 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, ::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, ::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, ::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). end_interface: MixerMutationRequestBuilder
    #[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, ::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, ::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, ::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>,
}
/// A set of Shielded Instance options.
#[derive(Clone, PartialEq, ::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, ::prost::Message)]
pub struct ShieldedInstanceIdentity {
    /// 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] Type of the resource. Always compute#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, ::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, PartialEq, ::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, ::prost::Message)]
pub struct SignedUrlKey {
    /// Name of the key. 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 = "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 valid RFC 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, ::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,
    /// 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] 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] Creation timestamp in RFC3339 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] Size of the source disk, specified in GB.
    #[prost(int64, optional, tag = "316263735")]
    pub disk_size_gb: ::core::option::Option<i64>,
    /// [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] 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. 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 error 412 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] 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] 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 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>,
    /// [Output Only] Reserved for future use.
    #[prost(bool, optional, tag = "480964267")]
    pub satisfies_pzs: ::core::option::Option<bool>,
    /// [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 a customer-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>,
    /// 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>,
    /// [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>,
    /// [Output Only] The status of the snapshot. This can be CREATING, 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] 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] 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] The status of the snapshot. This can be CREATING, 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,
    }
    /// [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,
    }
}
/// 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>,
    /// 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 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>,
}
/// 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, 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.
    #[prost(message, repeated, tag = "235580623")]
    pub disk_configs: ::prost::alloc::vec::Vec<DiskInstantiationConfig>,
}
/// 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 sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS 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 in RFC3339 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] 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] Type of the resource. Always compute#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 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 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] 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] 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 fields certificate 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 fields certificate 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,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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>,
    /// 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 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>,
}
/// Configuration and status of a managed SSL certificate.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslCertificateManagedSslCertificate {
    /// [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] 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] 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,
    }
}
/// Configuration and status of a self-managed SSL certificate.
#[derive(Clone, PartialEq, ::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 SslPoliciesList {
    /// [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 SslPolicy resources.
    #[prost(message, repeated, tag = "100526016")]
    pub items: ::prost::alloc::vec::Vec<SslPolicy>,
    /// [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies.
    #[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 SslPoliciesListAvailableFeaturesResponse {
    #[prost(string, repeated, tag = "246211645")]
    pub features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Represents an SSL Policy resource. Use SSL policies to control the SSL features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy load balancer. For more information, read SSL Policy Concepts.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SslPolicy {
    /// [Output Only] Creation timestamp in RFC3339 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 not CUSTOM.
    #[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] 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] 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. Always compute#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 of TLS_1_0, TLS_1_1, TLS_1_2.
    /// 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 of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
    /// 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] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// [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 of TLS_1_0, TLS_1_1, TLS_1_2.
    #[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,
    }
    /// Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
    #[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,
        /// 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,
    }
}
///
#[derive(Clone, PartialEq, ::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 Instances.Start. See the method description for details.
#[derive(Clone, PartialEq, ::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 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,
    >,
}
///
#[derive(Clone, PartialEq, ::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 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>,
}
/// 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 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,
    }
}
/// A request message for Instances.Stop. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StopInstanceRequest {
    /// 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,
}
/// 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 {
    /// [Output Only] Creation timestamp in RFC3339 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 to disable flow logging. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
    #[prost(bool, optional, tag = "151544420")]
    pub enable_flow_logs: ::core::option::Option<bool>,
    /// [Output Only] The range of external IPv6 addresses that are 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] 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] 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 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 the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
    #[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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
    /// 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] The range of internal IPv6 addresses that are owned by this subnetwork.
    #[prost(string, optional, tag = "273141258")]
    pub ipv6_cidr_range: ::core::option::Option<::prost::alloc::string::String>,
    /// [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 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>,
    /// 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>,
    /// 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>,
    /// The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
    /// 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>,
    /// The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
    /// 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 role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. 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 a patch request.
    #[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 this subnet 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 resource creation time and updated using patch.
    /// 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] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: 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 of READY
    /// 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 `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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
    #[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 accesible via the Internet, as well as the VPC network.
        External = 35607499,
        /// IPv6 access type not set. Means this subnet hasn't been turned on IPv6 yet.
        UnspecifiedIpv6AccessType = 313080613,
    }
    /// The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
    #[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,
    }
    /// The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.
    #[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 Internal HTTP(S) Load Balancing.
        InternalHttpsLoadBalancer = 248748889,
        /// Regular user created or automatically created subnet.
        Private = 403485027,
        /// Regular user created or automatically created subnet.
        PrivateRfc1918 = 254902107,
        /// Subnetworks created for Private Service Connect in the producer network.
        PrivateServiceConnect = 48134724,
    }
    /// The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. 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,
    }
    /// The stack type for this subnet 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 resource creation time and updated using patch.
    #[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,
        UnspecifiedStackType = 298084569,
    }
    /// [Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: 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 of READY
    #[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,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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] 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 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>,
}
/// 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 to disable flow logging.
    #[prost(bool, optional, tag = "311764355")]
    pub enable: ::core::option::Option<bool>,
    /// Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
    #[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, 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 is EXCLUDE_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,
    }
    /// 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 is EXCLUDE_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,
    }
}
/// Represents a secondary IP range of a subnetwork.
#[derive(Clone, PartialEq, ::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. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
    #[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 with RFC1035. 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 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 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, ::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,
    }
}
/// A request message for Networks.SwitchToCustomMode. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::prost::Message)]
pub struct TcpHealthCheck {
    /// The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    #[prost(int32, optional, tag = "3446913")]
    pub port: ::core::option::Option<i32>,
    /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    #[prost(string, optional, tag = "41534345")]
    pub port_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in port and portName fields.
    /// 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 application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    #[prost(string, optional, tag = "21951119")]
    pub request: ::core::option::Option<::prost::alloc::string::String>,
    /// The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    #[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 port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in port and portName fields.
    #[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 port is used for health checking.
        UseFixedPort = 190235748,
        /// The portName is used for health checking.
        UseNamedPort = 349300671,
        /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.
        UseServingPort = 362637516,
    }
    /// 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,
    }
}
/// A set of instance tags.
#[derive(Clone, PartialEq, ::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, ::prost::Message)]
pub struct TargetGrpcProxy {
    /// [Output Only] Creation timestamp in RFC3339 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] 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] Type of the resource. Always compute#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 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>,
    /// [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] 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] Type of the resource. Always compute#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 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 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 GCP HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetHttpProxy {
    /// [Output Only] Creation timestamp in RFC3339 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>,
    /// [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 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 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>,
    /// This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_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] 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] Type of resource. Always compute#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 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] 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>,
    /// 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 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 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, ::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,
    }
}
///
#[derive(Clone, PartialEq, ::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 GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.
#[derive(Clone, PartialEq, ::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 global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme 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>,
    /// [Output Only] Creation timestamp in RFC3339 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>,
    /// [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 resource. Always compute#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 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>,
    /// This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_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, or DISABLE. - 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] 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 global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.
    #[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. 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 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>,
    /// 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: - <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, or DISABLE. - 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,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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>,
    /// 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 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>,
}
/// 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, read Target instances.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetInstance {
    /// [Output Only] Creation timestamp in RFC3339 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: - <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] The type of the resource. Always compute#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 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>,
    /// NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported.
    /// 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] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::core::option::Option<::prost::alloc::string::String>,
    /// [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 {
    /// NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported.
    #[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,
    }
}
///
#[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>,
    /// 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 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] 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>,
    /// 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 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 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 for network TCP/UDP load balancing. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using 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 below failoverRatio, 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] Creation timestamp in RFC3339 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] 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 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>,
    /// [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] 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,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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] Type of resource. Always compute#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] 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 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 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: - <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: - <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, ::prost::Message)]
pub struct TargetReference {
    #[prost(string, optional, tag = "192835985")]
    pub target: ::core::option::Option<::prost::alloc::string::String>,
}
///
#[derive(Clone, PartialEq, ::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, ::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,
    }
}
///
#[derive(Clone, PartialEq, ::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 SSL Proxy load balancer. Global forwarding rules reference a target SSL proxy, and the target proxy then references an external backend service. For more information, read Using Target Proxies.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetSslProxy {
    /// [Output Only] Creation timestamp in RFC3339 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] Type of the resource. Always compute#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 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>,
    /// 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,
    }
}
/// 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>,
    /// 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 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 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, ::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,
    }
}
/// Represents a Target TCP Proxy resource. A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules reference target TCP proxy, and the target proxy then references an external backend service. For more information, read TCP Proxy Load Balancing overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetTcpProxy {
    /// [Output Only] Creation timestamp in RFC3339 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] Type of the resource. Always compute#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 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>,
    /// This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_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] 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,
    }
}
/// 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>,
    /// 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 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>,
}
/// Represents a Target VPN Gateway resource. The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetVpnGateway {
    /// [Output Only] Creation timestamp in RFC3339 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 using compute.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] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
    #[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 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>,
    /// 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>,
    /// [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,
    }
}
///
#[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] Type of resource. Always compute#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 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] 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] Type of resource. Always compute#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 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 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 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 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 Disks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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 Images.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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 Instances.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 LicenseCodes.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 NetworkEndpointGroups.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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 NodeGroups.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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 RegionDisks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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 Reservations.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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 ResourcePolicies.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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 ServiceAttachments.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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 Subnetworks.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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 VpnGateways.TestIamPermissions. See the method description for details.
#[derive(Clone, PartialEq, ::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, ::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, ::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, PartialEq, ::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>,
}
/// A request message for Instances.UpdateAccessConfig. See the method description for details.
#[derive(Clone, PartialEq, ::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 Instances.UpdateDisplayDevice. See the method description for details.
#[derive(Clone, PartialEq, ::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 HealthChecks.Update. See the method description for details.
#[derive(Clone, PartialEq, ::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 {
    /// 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.
    #[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.
    #[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,
}
/// 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, ::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 the zone 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 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 RegionHealthChecks.Update. See the method description for details.
#[derive(Clone, PartialEq, ::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 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, ::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 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>,
}
/// Represents a URL Map resource. Google 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 GCP load balancers and Traffic Director. * urlMaps are used by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features by 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 host names 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 or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UrlMap {
    /// [Output Only] Creation timestamp in RFC3339 text format.
    #[prost(string, optional, tag = "30525366")]
    pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>,
    /// defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to target gRPC proxy that has 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 additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to target gRPC proxy that has 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. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to 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 will be 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 after headerAction specified under pathMatcher. Note that headerAction is not supported for Loadbalancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to 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 HostRules 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] 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 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>,
    /// 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] 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 this UrlMap will succeed only if all of the test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to 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>,
    /// 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 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 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 load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl 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 when service 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 if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service 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. service 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, ::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>,
    /// 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 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] 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 {
    /// Content of the UrlMap to be validated.
    #[prost(message, optional, tag = "195806222")]
    pub resource: ::core::option::Option<UrlMap>,
}
///
#[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, ::prost::Message)]
pub struct UrlRewrite {
    /// Prior to forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be between 1 and 255 characters.
    #[prost(string, optional, tag = "159819253")]
    pub host_rewrite: ::core::option::Option<::prost::alloc::string::String>,
    /// Prior to forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be between 1 and 1024 characters.
    #[prost(string, optional, tag = "41186361")]
    pub path_prefix_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 {
    /// 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>,
    /// Network URL.
    #[prost(string, optional, tag = "232872494")]
    pub network: ::core::option::Option<::prost::alloc::string::String>,
    /// Secondary IP ranges.
    #[prost(message, repeated, tag = "136658915")]
    pub secondary_ip_ranges: ::prost::alloc::vec::Vec<UsableSubnetworkSecondaryRange>,
    /// Subnetwork URL.
    #[prost(string, optional, tag = "307827694")]
    pub subnetwork: ::core::option::Option<::prost::alloc::string::String>,
}
/// Secondary IP range of a usable subnetwork.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UsableSubnetworkSecondaryRange {
    /// The range of IP addresses belonging to this subnetwork secondary 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 with RFC1035. 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] Type of resource. Always compute#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 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. In special cases listUsable may return 0 subnetworks and nextPageToken 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] 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 location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix.
#[derive(Clone, PartialEq, ::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 as example-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 in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object 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 {
    /// 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 {
    /// 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>,
    /// 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>,
    /// 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>,
    /// 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>,
    /// 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>,
    /// 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 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] Type of resource. Always compute#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 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] A list of Nat mapping information of VM endpoints.
    #[prost(message, repeated, tag = "139315229")]
    pub result: ::prost::alloc::vec::Vec<VmEndpointNatMappings>,
    /// [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 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] Creation timestamp in RFC3339 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] 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 error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an 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 the setLabels method. Each label key/value pair must comply with RFC1035. 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 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>,
    /// 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>,
    /// [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] Server-defined URL for the resource.
    #[prost(string, optional, tag = "456214797")]
    pub self_link: ::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>,
}
///
#[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] 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 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] 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] 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 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 VpnGatewayStatus {
    /// 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, ::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,
    }
    /// 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,
    }
}
/// Contains some information about a VPN tunnel.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnGatewayStatusTunnel {
    /// The VPN gateway interface this VPN tunnel is associated with.
    #[prost(uint32, optional, tag = "158764330")]
    pub local_gateway_interface: ::core::option::Option<u32>,
    /// The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
    #[prost(uint32, optional, tag = "214380385")]
    pub peer_gateway_interface: ::core::option::Option<u32>,
    /// 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 a external VPN gateway or GCP VPN gateway.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VpnGatewayStatusVpnConnection {
    /// 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>,
    /// 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, ::prost::Message)]
pub struct VpnGatewayVpnGatewayInterface {
    /// [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 IPsec-encrypted Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. Not currently available publicly.
    #[prost(string, optional, tag = "308135284")]
    pub interconnect_attachment: ::core::option::Option<::prost::alloc::string::String>,
    /// [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 IPsec-encrypted Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non IPsec-encrypted 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>,
}
///
#[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 {
    /// [Output Only] Creation timestamp in RFC3339 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] Type of resource. Always compute#vpnTunnel for VPN tunnels.
    #[prost(string, optional, tag = "3292052")]
    pub kind: ::core::option::Option<::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.
    #[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 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>,
    /// 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.
    #[prost(int32, optional, tag = "452768391")]
    pub peer_external_gateway_interface: ::core::option::Option<i32>,
    /// URL of the peer side HA GCP 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 GCP 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.
    #[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.
    #[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: - 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.
    #[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.
    #[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: - 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,
    }
}
///
#[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] 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 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] 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 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] 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 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 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, ::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>,
}
/// A request message for GlobalOperations.Wait. See the method description for details.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WaitGlobalOperationRequest {
    /// Name of the Operations resource to return.
    #[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, ::prost::Message)]
pub struct WaitRegionOperationRequest {
    /// Name of the Operations resource to return.
    #[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, ::prost::Message)]
pub struct WaitZoneOperationRequest {
    /// Name of the Operations resource to return.
    #[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,
}
/// [Output Only] 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,
        /// When deploying a deployment with a exceedingly large number of resources
        LargeDeploymentWarning = 481440678,
        /// 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 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,
        /// 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,
    }
}
///
#[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,
        /// When deploying a deployment with a exceedingly large number of resources
        LargeDeploymentWarning = 481440678,
        /// 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 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,
        /// 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,
    }
}
/// In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple BackendServices. The volume of traffic for each BackendService 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 loadbalancer applies any relevant headerActions specified as part of this backendServiceWeight.
    #[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 before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. Note that headerAction is not supported for Loadbalancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to 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 backendService, computed as weight / (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 backendService, subsequent requests will be sent to the same backendService as determined by the BackendService's session affinity policy. The value must be between 0 and 1000
    #[prost(uint32, optional, tag = "282149496")]
    pub weight: ::core::option::Option<u32>,
}
///
#[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] 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 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>,
}
/// Service resource (a.k.a service project) ID.
#[derive(Clone, PartialEq, ::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,
    }
}
/// Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones.
#[derive(Clone, PartialEq, ::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 in RFC3339 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] 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 or 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>,
    /// [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 or 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,
        Up = 2715,
    }
}
/// 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>,
    /// 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 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 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 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>,
}
#[doc = r" Generated client implementations."]
pub mod accelerator_types_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = ""]
    #[doc = " Services"]
    #[doc = ""]
    #[doc = " The AcceleratorTypes API."]
    #[derive(Debug, Clone)]
    pub struct AcceleratorTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> AcceleratorTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> AcceleratorTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            AcceleratorTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of accelerator types."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListAcceleratorTypesRequest>,
        ) -> Result<tonic::Response<super::AcceleratorTypeAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.AcceleratorTypes/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified accelerator type."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetAcceleratorTypeRequest>,
        ) -> Result<tonic::Response<super::AcceleratorType>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.AcceleratorTypes/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::AcceleratorTypeList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.AcceleratorTypes/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod addresses_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Addresses API."]
    #[derive(Debug, Clone)]
    pub struct AddressesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> AddressesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> AddressesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            AddressesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of addresses."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListAddressesRequest>,
        ) -> Result<tonic::Response<super::AddressAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Addresses/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified address resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteAddressRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Addresses/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified address resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetAddressRequest>,
        ) -> Result<tonic::Response<super::Address>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Addresses/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Addresses/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of addresses contained within the specified region."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListAddressesRequest>,
        ) -> Result<tonic::Response<super::AddressList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Addresses/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod autoscalers_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Autoscalers API."]
    #[derive(Debug, Clone)]
    pub struct AutoscalersClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> AutoscalersClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> AutoscalersClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            AutoscalersClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of autoscalers."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListAutoscalersRequest>,
        ) -> Result<tonic::Response<super::AutoscalerAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Autoscalers/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified autoscaler."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteAutoscalerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Autoscalers/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetAutoscalerRequest>,
        ) -> Result<tonic::Response<super::Autoscaler>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Autoscalers/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Autoscalers/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of autoscalers contained within the specified zone."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListAutoscalersRequest>,
        ) -> Result<tonic::Response<super::AutoscalerList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Autoscalers/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates an autoscaler in the specified project using the data included in the request. 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::PatchAutoscalerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Autoscalers/Patch");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Autoscalers/Update");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod backend_buckets_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The BackendBuckets API."]
    #[derive(Debug, Clone)]
    pub struct BackendBucketsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> BackendBucketsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> BackendBucketsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            BackendBucketsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/AddSignedUrlKey",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified BackendBucket resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteBackendBucketRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/DeleteSignedUrlKey",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified BackendBucket resource. Gets a list of available backend buckets by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetBackendBucketRequest>,
        ) -> Result<tonic::Response<super::BackendBucket>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.BackendBuckets/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of BackendBucket resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListBackendBucketsRequest>,
        ) -> Result<tonic::Response<super::BackendBucketList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified BackendBucket resource with the data included in the request. 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::PatchBackendBucketRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified BackendBucket resource with the data included in the request."]
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateBackendBucketRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendBuckets/Update",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod backend_services_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The BackendServices API."]
    #[derive(Debug, Clone)]
    pub struct BackendServicesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> BackendServicesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> BackendServicesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            BackendServicesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/AddSignedUrlKey",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of all BackendService resources, regional and global, available to the specified project."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListBackendServicesRequest>,
        ) -> Result<tonic::Response<super::BackendServiceAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified BackendService resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteBackendServiceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/DeleteSignedUrlKey",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified BackendService resource. Gets a list of available backend services."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetBackendServiceRequest>,
        ) -> Result<tonic::Response<super::BackendService>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::BackendServiceGroupHealth>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/GetHealth",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of BackendService resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListBackendServicesRequest>,
        ) -> Result<tonic::Response<super::BackendServiceList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview"]
        pub async fn set_security_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetSecurityPolicyBackendServiceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/SetSecurityPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified 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::UpdateBackendServiceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.BackendServices/Update",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod disk_types_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The DiskTypes API."]
    #[derive(Debug, Clone)]
    pub struct DiskTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> DiskTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> DiskTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            DiskTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of disk types."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListDiskTypesRequest>,
        ) -> Result<tonic::Response<super::DiskTypeAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.DiskTypes/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified disk type. Gets a list of available disk types by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetDiskTypeRequest>,
        ) -> Result<tonic::Response<super::DiskType>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.DiskTypes/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of disk types available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListDiskTypesRequest>,
        ) -> Result<tonic::Response<super::DiskTypeList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.DiskTypes/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod disks_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Disks API."]
    #[derive(Debug, Clone)]
    pub struct DisksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> DisksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> DisksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            DisksClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/AddResourcePolicies",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves an aggregated list of persistent disks."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListDisksRequest>,
        ) -> Result<tonic::Response<super::DiskAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates a snapshot of a specified persistent disk."]
        pub async fn create_snapshot(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateSnapshotDiskRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/CreateSnapshot",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 separately delete snapshots."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteDiskRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Disks/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetDiskRequest>,
        ) -> Result<tonic::Response<super::Disk>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Disks/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Disks/GetIamPolicy");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Disks/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of persistent disks contained within the specified zone."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListDisksRequest>,
        ) -> Result<tonic::Response<super::DiskList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Disks/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Removes resource policies from a disk."]
        pub async fn remove_resource_policies(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveResourcePoliciesDiskRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/RemoveResourcePolicies",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Disks/Resize");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Disks/SetIamPolicy");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation."]
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsDiskRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Disks/SetLabels");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsDiskRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Disks/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod external_vpn_gateways_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The ExternalVpnGateways API."]
    #[derive(Debug, Clone)]
    pub struct ExternalVpnGatewaysClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> ExternalVpnGatewaysClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ExternalVpnGatewaysClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            ExternalVpnGatewaysClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified externalVpnGateway."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteExternalVpnGatewayRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::ExternalVpnGateway>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of ExternalVpnGateway available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListExternalVpnGatewaysRequest>,
        ) -> Result<tonic::Response<super::ExternalVpnGatewayList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/SetLabels",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsExternalVpnGatewayRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ExternalVpnGateways/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod firewall_policies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The FirewallPolicies API."]
    #[derive(Debug, Clone)]
    pub struct FirewallPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> FirewallPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> FirewallPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            FirewallPoliciesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Inserts an association for the specified firewall policy."]
        pub async fn add_association(
            &mut self,
            request: impl tonic::IntoRequest<super::AddAssociationFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/AddAssociation",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Inserts a rule into a firewall policy."]
        pub async fn add_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::AddRuleFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/AddRule",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Copies rules to the specified firewall policy."]
        pub async fn clone_rules(
            &mut self,
            request: impl tonic::IntoRequest<super::CloneRulesFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/CloneRules",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified policy."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified firewall policy."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::FirewallPolicy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Gets an association with the specified name."]
        pub async fn get_association(
            &mut self,
            request: impl tonic::IntoRequest<super::GetAssociationFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::FirewallPolicyAssociation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/GetAssociation",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Gets a rule of the specified priority."]
        pub async fn get_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRuleFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::FirewallPolicyRule>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/GetRule",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::FirewallPolicyList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists associations of a specified target, i.e., organization or folder."]
        pub async fn list_associations(
            &mut self,
            request: impl tonic::IntoRequest<super::ListAssociationsFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::FirewallPoliciesListAssociationsResponse>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/ListAssociations",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Moves the specified firewall policy."]
        pub async fn r#move(
            &mut self,
            request: impl tonic::IntoRequest<super::MoveFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/Move",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified policy with the data included in the request."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches a rule of the specified priority."]
        pub async fn patch_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRuleFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/PatchRule",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Removes an association for the specified firewall policy."]
        pub async fn remove_association(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveAssociationFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/RemoveAssociation",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes a rule of the specified priority."]
        pub async fn remove_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveRuleFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/RemoveRule",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsFirewallPolicyRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.FirewallPolicies/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod firewalls_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Firewalls API."]
    #[derive(Debug, Clone)]
    pub struct FirewallsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> FirewallsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> FirewallsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            FirewallsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified firewall."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteFirewallRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Firewalls/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified firewall."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetFirewallRequest>,
        ) -> Result<tonic::Response<super::Firewall>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Firewalls/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Firewalls/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of firewall rules available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListFirewallsRequest>,
        ) -> Result<tonic::Response<super::FirewallList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Firewalls/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified firewall rule with the data included in the request. 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::PatchFirewallRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Firewalls/Patch");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Firewalls/Update");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod forwarding_rules_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The ForwardingRules API."]
    #[derive(Debug, Clone)]
    pub struct ForwardingRulesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> ForwardingRulesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ForwardingRulesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            ForwardingRulesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of forwarding rules."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListForwardingRulesRequest>,
        ) -> Result<tonic::Response<super::ForwardingRuleAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified ForwardingRule resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteForwardingRuleRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified ForwardingRule resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetForwardingRuleRequest>,
        ) -> Result<tonic::Response<super::ForwardingRule>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::ForwardingRuleList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/SetLabels",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ForwardingRules/SetTarget",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod global_addresses_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The GlobalAddresses API."]
    #[derive(Debug, Clone)]
    pub struct GlobalAddressesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> GlobalAddressesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalAddressesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            GlobalAddressesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified address resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteGlobalAddressRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified address resource. Gets a list of available addresses by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGlobalAddressRequest>,
        ) -> Result<tonic::Response<super::Address>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of global addresses."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListGlobalAddressesRequest>,
        ) -> Result<tonic::Response<super::AddressList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalAddresses/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod global_forwarding_rules_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The GlobalForwardingRules API."]
    #[derive(Debug, Clone)]
    pub struct GlobalForwardingRulesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> GlobalForwardingRulesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalForwardingRulesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            GlobalForwardingRulesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified GlobalForwardingRule resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteGlobalForwardingRuleRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::ForwardingRule>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of GlobalForwardingRule resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListGlobalForwardingRulesRequest>,
        ) -> Result<tonic::Response<super::ForwardingRuleList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/SetLabels",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalForwardingRules/SetTarget",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod global_network_endpoint_groups_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The GlobalNetworkEndpointGroups API."]
    #[derive(Debug, Clone)]
    pub struct GlobalNetworkEndpointGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> GlobalNetworkEndpointGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalNetworkEndpointGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            GlobalNetworkEndpointGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Attach a network endpoint to the specified network endpoint group."]
        pub async fn attach_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,
            >,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/AttachNetworkEndpoints",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Detach the network endpoint from the specified network endpoint group."]
        pub async fn detach_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,
            >,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/DetachNetworkEndpoints",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGlobalNetworkEndpointGroupRequest>,
        ) -> Result<tonic::Response<super::NetworkEndpointGroup>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates a network endpoint 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::InsertGlobalNetworkEndpointGroupRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::NetworkEndpointGroupList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists the network endpoints in the specified network endpoint group."]
        pub async fn list_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest,
            >,
        ) -> Result<tonic::Response<super::NetworkEndpointGroupsListNetworkEndpoints>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalNetworkEndpointGroups/ListNetworkEndpoints",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod global_operations_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The GlobalOperations API."]
    #[derive(Debug, Clone)]
    pub struct GlobalOperationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> GlobalOperationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalOperationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            GlobalOperationsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of all operations."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListGlobalOperationsRequest>,
        ) -> Result<tonic::Response<super::OperationAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOperations/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified Operations resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteGlobalOperationRequest>,
        ) -> Result<tonic::Response<super::DeleteGlobalOperationResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOperations/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the specified Operations resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGlobalOperationRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOperations/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of Operation resources contained within the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListGlobalOperationsRequest>,
        ) -> Result<tonic::Response<super::OperationList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOperations/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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: - 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOperations/Wait",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod global_organization_operations_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The GlobalOrganizationOperations API."]
    #[derive(Debug, Clone)]
    pub struct GlobalOrganizationOperationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> GlobalOrganizationOperationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalOrganizationOperationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            GlobalOrganizationOperationsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified Operations resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteGlobalOrganizationOperationRequest>,
        ) -> Result<tonic::Response<super::DeleteGlobalOrganizationOperationResponse>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOrganizationOperations/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOrganizationOperations/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of Operation resources contained within the specified organization."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListGlobalOrganizationOperationsRequest>,
        ) -> Result<tonic::Response<super::OperationList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalOrganizationOperations/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod global_public_delegated_prefixes_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The GlobalPublicDelegatedPrefixes API."]
    #[derive(Debug, Clone)]
    pub struct GlobalPublicDelegatedPrefixesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> GlobalPublicDelegatedPrefixesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> GlobalPublicDelegatedPrefixesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            GlobalPublicDelegatedPrefixesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified global PublicDelegatedPrefix."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteGlobalPublicDelegatedPrefixeRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified global PublicDelegatedPrefix resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGlobalPublicDelegatedPrefixeRequest>,
        ) -> Result<tonic::Response<super::PublicDelegatedPrefix>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists the global PublicDelegatedPrefixes for a project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListGlobalPublicDelegatedPrefixesRequest>,
        ) -> Result<tonic::Response<super::PublicDelegatedPrefixList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchGlobalPublicDelegatedPrefixeRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.GlobalPublicDelegatedPrefixes/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod health_checks_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The HealthChecks API."]
    #[derive(Debug, Clone)]
    pub struct HealthChecksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> HealthChecksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> HealthChecksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            HealthChecksClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves the list of all HealthCheck resources, regional and global, available to the specified project."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListHealthChecksRequest>,
        ) -> Result<tonic::Response<super::HealthChecksAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified HealthCheck resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteHealthCheckRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetHealthCheckRequest>,
        ) -> Result<tonic::Response<super::HealthCheck>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.HealthChecks/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of HealthCheck resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListHealthChecksRequest>,
        ) -> Result<tonic::Response<super::HealthCheckList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.HealthChecks/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates a HealthCheck resource in the specified project using the data included in the request. 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::PatchHealthCheckRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.HealthChecks/Patch");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.HealthChecks/Update",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod image_family_views_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The ImageFamilyViews API."]
    #[derive(Debug, Clone)]
    pub struct ImageFamilyViewsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> ImageFamilyViewsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ImageFamilyViewsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            ImageFamilyViewsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::ImageFamilyView>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ImageFamilyViews/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod images_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Images API."]
    #[derive(Debug, Clone)]
    pub struct ImagesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> ImagesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ImagesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            ImagesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified image."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteImageRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Images/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Images/Deprecate");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified image. Gets a list of available images by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetImageRequest>,
        ) -> Result<tonic::Response<super::Image>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Images/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the latest image that is part of an image family and is not deprecated."]
        pub async fn get_from_family(
            &mut self,
            request: impl tonic::IntoRequest<super::GetFromFamilyImageRequest>,
        ) -> Result<tonic::Response<super::Image>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/GetFromFamily",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Images/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::ImageList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Images/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Images/Patch");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation."]
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsImageRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Images/SetLabels");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsImageRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Images/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod instance_group_managers_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The InstanceGroupManagers API."]
    #[derive(Debug, Clone)]
    pub struct InstanceGroupManagersClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> InstanceGroupManagersClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstanceGroupManagersClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            InstanceGroupManagersClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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 the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE 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 the listmanagedinstances 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/AbandonInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of managed instance groups and groups them by zone."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListInstanceGroupManagersRequest>,
        ) -> Result<tonic::Response<super::InstanceGroupManagerAggregatedList>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/ApplyUpdatesToInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates instances with per-instance configs in this 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 the creating or actions with the listmanagedinstances method."]
        pub async fn create_instances(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateInstancesInstanceGroupManagerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/CreateInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 the targetSize 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 the listmanagedinstances 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/DeleteInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes selected per-instance configs for the managed instance group."]
        pub async fn delete_per_instance_configs(
            &mut self,
            request: impl tonic::IntoRequest<super::DeletePerInstanceConfigsInstanceGroupManagerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/DeletePerInstanceConfigs",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns all of the details about the specified managed instance group. Gets a list of available managed instance groups by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstanceGroupManagerRequest>,
        ) -> Result<tonic::Response<super::InstanceGroupManager>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 the listmanagedinstances 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::InstanceGroupManagerList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::InstanceGroupManagersListErrorsResponse>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/ListErrors",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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."]
        pub async fn list_managed_instances(
            &mut self,
            request: impl tonic::IntoRequest<super::ListManagedInstancesInstanceGroupManagersRequest>,
        ) -> Result<
            tonic::Response<super::InstanceGroupManagersListManagedInstancesResponse>,
            tonic::Status,
        > {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/ListManagedInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists all of the per-instance configs 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>,
        ) -> Result<
            tonic::Response<super::InstanceGroupManagersListPerInstanceConfigsResp>,
            tonic::Status,
        > {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/ListPerInstanceConfigs",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 supports PATCH semantics and uses the JSON 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, see Updating instances in a MIG."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchInstanceGroupManagerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Inserts or patches per-instance configs 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/PatchPerInstanceConfigs",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 its currentAction 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/RecreateInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 marked DONE 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 the listmanagedinstances 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/Resize",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE."]
        pub async fn set_instance_template(
            &mut self,
            request: impl tonic::IntoRequest<super::SetInstanceTemplateInstanceGroupManagerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/SetInstanceTemplate",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 marked DONE 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/SetTargetPools",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Inserts or updates per-instance configs 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroupManagers/UpdatePerInstanceConfigs",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod instance_groups_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The InstanceGroups API."]
    #[derive(Debug, Clone)]
    pub struct InstanceGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> InstanceGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstanceGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            InstanceGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/AddInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of instance groups and sorts them by zone."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListInstanceGroupsRequest>,
        ) -> Result<tonic::Response<super::InstanceGroupAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstanceGroupRequest>,
        ) -> Result<tonic::Response<super::InstanceGroup>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.InstanceGroups/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of zonal instance group resources contained within the specified zone. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInstanceGroupsRequest>,
        ) -> Result<tonic::Response<super::InstanceGroupList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists the instances in the specified instance group. The orderBy query parameter is not supported."]
        pub async fn list_instances(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInstancesInstanceGroupsRequest>,
        ) -> Result<tonic::Response<super::InstanceGroupsListInstances>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/ListInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/RemoveInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the named ports for the specified instance group."]
        pub async fn set_named_ports(
            &mut self,
            request: impl tonic::IntoRequest<super::SetNamedPortsInstanceGroupRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceGroups/SetNamedPorts",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod instance_templates_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The InstanceTemplates API."]
    #[derive(Debug, Clone)]
    pub struct InstanceTemplatesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> InstanceTemplatesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstanceTemplatesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            InstanceTemplatesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified instance template. Gets a list of available instance templates by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstanceTemplateRequest>,
        ) -> Result<tonic::Response<super::InstanceTemplate>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::InstanceTemplateList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsInstanceTemplateRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InstanceTemplates/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod instances_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Instances API."]
    #[derive(Debug, Clone)]
    pub struct InstancesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> InstancesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InstancesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            InstancesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Adds an access config to an instance's network interface."]
        pub async fn add_access_config(
            &mut self,
            request: impl tonic::IntoRequest<super::AddAccessConfigInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/AddAccessConfig",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/AddResourcePolicies",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListInstancesRequest>,
        ) -> Result<tonic::Response<super::InstanceAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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, read Adding a persistent disk to your instance."]
        pub async fn attach_disk(
            &mut self,
            request: impl tonic::IntoRequest<super::AttachDiskInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/AttachDisk",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates multiple instances. Count specifies the number of instances to create."]
        pub async fn bulk_insert(
            &mut self,
            request: impl tonic::IntoRequest<super::BulkInsertInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/BulkInsert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified Instance resource. For more information, see Deleting an instance."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Instances/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes an access config from an instance's network interface."]
        pub async fn delete_access_config(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteAccessConfigInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/DeleteAccessConfig",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Detaches a disk from an instance."]
        pub async fn detach_disk(
            &mut self,
            request: impl tonic::IntoRequest<super::DetachDiskInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/DetachDisk",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified Instance resource. Gets a list of available instances by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInstanceRequest>,
        ) -> Result<tonic::Response<super::Instance>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Instances/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns effective firewalls applied to an interface of the instance."]
        pub async fn get_effective_firewalls(
            &mut self,
            request: impl tonic::IntoRequest<super::GetEffectiveFirewallsInstanceRequest>,
        ) -> Result<tonic::Response<super::InstancesGetEffectiveFirewallsResponse>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetEffectiveFirewalls",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified guest attributes entry."]
        pub async fn get_guest_attributes(
            &mut self,
            request: impl tonic::IntoRequest<super::GetGuestAttributesInstanceRequest>,
        ) -> Result<tonic::Response<super::GuestAttributes>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetGuestAttributes",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the screenshot from the specified instance."]
        pub async fn get_screenshot(
            &mut self,
            request: impl tonic::IntoRequest<super::GetScreenshotInstanceRequest>,
        ) -> Result<tonic::Response<super::Screenshot>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetScreenshot",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::SerialPortOutput>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetSerialPortOutput",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the Shielded Instance Identity of an instance"]
        pub async fn get_shielded_instance_identity(
            &mut self,
            request: impl tonic::IntoRequest<super::GetShieldedInstanceIdentityInstanceRequest>,
        ) -> Result<tonic::Response<super::ShieldedInstanceIdentity>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/GetShieldedInstanceIdentity",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Instances/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of instances contained within the specified zone."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInstancesRequest>,
        ) -> Result<tonic::Response<super::InstanceList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Instances/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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, read Viewing referrers to VM instances."]
        pub async fn list_referrers(
            &mut self,
            request: impl tonic::IntoRequest<super::ListReferrersInstancesRequest>,
        ) -> Result<tonic::Response<super::InstanceListReferrers>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/ListReferrers",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Removes resource policies from an instance."]
        pub async fn remove_resource_policies(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveResourcePoliciesInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/RemoveResourcePolicies",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Performs a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. For more information, see Resetting an instance."]
        pub async fn reset(
            &mut self,
            request: impl tonic::IntoRequest<super::ResetInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Instances/Reset");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sends diagnostic interrupt to the instance."]
        pub async fn send_diagnostic_interrupt(
            &mut self,
            request: impl tonic::IntoRequest<super::SendDiagnosticInterruptInstanceRequest>,
        ) -> Result<tonic::Response<super::SendDiagnosticInterruptInstanceResponse>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SendDiagnosticInterrupt",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets deletion protection on the instance."]
        pub async fn set_deletion_protection(
            &mut self,
            request: impl tonic::IntoRequest<super::SetDeletionProtectionInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetDeletionProtection",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetDiskAutoDelete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation."]
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetLabels",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetMachineResources",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetMachineType",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetMetadata",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform."]
        pub async fn set_min_cpu_platform(
            &mut self,
            request: impl tonic::IntoRequest<super::SetMinCpuPlatformInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetMinCpuPlatform",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets an instance's scheduling options. You can only call this method on a stopped instance, that is, a VM instance that is in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states."]
        pub async fn set_scheduling(
            &mut self,
            request: impl tonic::IntoRequest<super::SetSchedulingInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetScheduling",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance."]
        pub async fn set_service_account(
            &mut self,
            request: impl tonic::IntoRequest<super::SetServiceAccountInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetServiceAccount",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SetShieldedInstanceIntegrityPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Instances/SetTags");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Simulates a maintenance event on the instance."]
        pub async fn simulate_maintenance_event(
            &mut self,
            request: impl tonic::IntoRequest<super::SimulateMaintenanceEventInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/SimulateMaintenanceEvent",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance."]
        pub async fn start(
            &mut self,
            request: impl tonic::IntoRequest<super::StartInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Instances/Start");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance."]
        pub async fn start_with_encryption_key(
            &mut self,
            request: impl tonic::IntoRequest<super::StartWithEncryptionKeyInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/StartWithEncryptionKey",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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, see Stopping an instance."]
        pub async fn stop(
            &mut self,
            request: impl tonic::IntoRequest<super::StopInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Instances/Stop");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsInstanceRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Instances/Update");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules."]
        pub async fn update_access_config(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateAccessConfigInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/UpdateAccessConfig",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the Display config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules."]
        pub async fn update_display_device(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateDisplayDeviceInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/UpdateDisplayDevice",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/UpdateNetworkInterface",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules."]
        pub async fn update_shielded_instance_config(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateShieldedInstanceConfigInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Instances/UpdateShieldedInstanceConfig",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod interconnect_attachments_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The InterconnectAttachments API."]
    #[derive(Debug, Clone)]
    pub struct InterconnectAttachmentsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> InterconnectAttachmentsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InterconnectAttachmentsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            InterconnectAttachmentsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of interconnect attachments."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListInterconnectAttachmentsRequest>,
        ) -> Result<tonic::Response<super::InterconnectAttachmentAggregatedList>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified interconnect attachment."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInterconnectAttachmentRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified interconnect attachment."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetInterconnectAttachmentRequest>,
        ) -> Result<tonic::Response<super::InterconnectAttachment>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of interconnect attachments contained within the specified region."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInterconnectAttachmentsRequest>,
        ) -> Result<tonic::Response<super::InterconnectAttachmentList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified interconnect attachment with the data included in the request. 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::PatchInterconnectAttachmentRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectAttachments/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod interconnect_locations_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The InterconnectLocations API."]
    #[derive(Debug, Clone)]
    pub struct InterconnectLocationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> InterconnectLocationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InterconnectLocationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            InterconnectLocationsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::InterconnectLocation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectLocations/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of interconnect locations available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInterconnectLocationsRequest>,
        ) -> Result<tonic::Response<super::InterconnectLocationList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.InterconnectLocations/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod interconnects_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Interconnects API."]
    #[derive(Debug, Clone)]
    pub struct InterconnectsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> InterconnectsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> InterconnectsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            InterconnectsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified interconnect."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteInterconnectRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Interconnect>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Interconnects/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the interconnectDiagnostics for the specified interconnect."]
        pub async fn get_diagnostics(
            &mut self,
            request: impl tonic::IntoRequest<super::GetDiagnosticsInterconnectRequest>,
        ) -> Result<tonic::Response<super::InterconnectsGetDiagnosticsResponse>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/GetDiagnostics",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates a Interconnect in the specified project using the data included in the request."]
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertInterconnectRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of interconnect available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListInterconnectsRequest>,
        ) -> Result<tonic::Response<super::InterconnectList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Interconnects/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified interconnect with the data included in the request. 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::PatchInterconnectRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Interconnects/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod license_codes_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The LicenseCodes API."]
    #[derive(Debug, Clone)]
    pub struct LicenseCodesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> LicenseCodesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> LicenseCodesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            LicenseCodesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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 creating Cloud Marketplace images. "]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetLicenseCodeRequest>,
        ) -> Result<tonic::Response<super::LicenseCode>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.LicenseCodes/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. "]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsLicenseCodeRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.LicenseCodes/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod licenses_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Licenses API."]
    #[derive(Debug, Clone)]
    pub struct LicensesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> LicensesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> LicensesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            LicensesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified license. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. "]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteLicenseRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Licenses/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified License resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. "]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetLicenseRequest>,
        ) -> Result<tonic::Response<super::License>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Licenses/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 creating Cloud Marketplace images. "]
        pub async fn get_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::GetIamPolicyLicenseRequest>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Create a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. "]
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertLicenseRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Licenses/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 or windows-cloud. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. "]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListLicensesRequest>,
        ) -> Result<tonic::Response<super::LicensesListResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Licenses/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 creating Cloud Marketplace images. "]
        pub async fn set_iam_policy(
            &mut self,
            request: impl tonic::IntoRequest<super::SetIamPolicyLicenseRequest>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. "]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsLicenseRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Licenses/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod machine_types_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The MachineTypes API."]
    #[derive(Debug, Clone)]
    pub struct MachineTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> MachineTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> MachineTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            MachineTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of machine types."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListMachineTypesRequest>,
        ) -> Result<tonic::Response<super::MachineTypeAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.MachineTypes/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified machine type. Gets a list of available machine types by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetMachineTypeRequest>,
        ) -> Result<tonic::Response<super::MachineType>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.MachineTypes/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of machine types available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListMachineTypesRequest>,
        ) -> Result<tonic::Response<super::MachineTypeList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.MachineTypes/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod network_endpoint_groups_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The NetworkEndpointGroups API."]
    #[derive(Debug, Clone)]
    pub struct NetworkEndpointGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> NetworkEndpointGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NetworkEndpointGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            NetworkEndpointGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves the list of network endpoint groups and sorts them by zone."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListNetworkEndpointGroupsRequest>,
        ) -> Result<tonic::Response<super::NetworkEndpointGroupAggregatedList>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/AttachNetworkEndpoints",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/DetachNetworkEndpoints",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNetworkEndpointGroupRequest>,
        ) -> Result<tonic::Response<super::NetworkEndpointGroup>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates a network endpoint 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::InsertNetworkEndpointGroupRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::NetworkEndpointGroupList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists the network endpoints in the specified network endpoint group."]
        pub async fn list_network_endpoints(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNetworkEndpointsNetworkEndpointGroupsRequest>,
        ) -> Result<tonic::Response<super::NetworkEndpointGroupsListNetworkEndpoints>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/ListNetworkEndpoints",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsNetworkEndpointGroupRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NetworkEndpointGroups/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod networks_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Networks API."]
    #[derive(Debug, Clone)]
    pub struct NetworksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> NetworksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NetworksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            NetworksClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Adds a peering to the specified network."]
        pub async fn add_peering(
            &mut self,
            request: impl tonic::IntoRequest<super::AddPeeringNetworkRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/AddPeering",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified network."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNetworkRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Networks/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified network. Gets a list of available networks by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNetworkRequest>,
        ) -> Result<tonic::Response<super::Network>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Networks/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the effective firewalls on a given network."]
        pub async fn get_effective_firewalls(
            &mut self,
            request: impl tonic::IntoRequest<super::GetEffectiveFirewallsNetworkRequest>,
        ) -> Result<tonic::Response<super::NetworksGetEffectiveFirewallsResponse>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/GetEffectiveFirewalls",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Networks/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of networks available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNetworksRequest>,
        ) -> Result<tonic::Response<super::NetworkList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Networks/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists the peering routes exchanged over peering connection."]
        pub async fn list_peering_routes(
            &mut self,
            request: impl tonic::IntoRequest<super::ListPeeringRoutesNetworksRequest>,
        ) -> Result<tonic::Response<super::ExchangedPeeringRoutesList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/ListPeeringRoutes",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchNetworkRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Networks/Patch");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Removes a peering from the specified network."]
        pub async fn remove_peering(
            &mut self,
            request: impl tonic::IntoRequest<super::RemovePeeringNetworkRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/RemovePeering",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/SwitchToCustomMode",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Networks/UpdatePeering",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod node_groups_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The NodeGroups API."]
    #[derive(Debug, Clone)]
    pub struct NodeGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> NodeGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NodeGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            NodeGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Adds specified number of nodes to the node group."]
        pub async fn add_nodes(
            &mut self,
            request: impl tonic::IntoRequest<super::AddNodesNodeGroupRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/AddNodes",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListNodeGroupsRequest>,
        ) -> Result<tonic::Response<super::NodeGroupAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified NodeGroup resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNodeGroupRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.NodeGroups/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes specified nodes from the node group."]
        pub async fn delete_nodes(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNodesNodeGroupRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/DeleteNodes",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::NodeGroup>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.NodeGroups/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.NodeGroups/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::NodeGroupList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.NodeGroups/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists nodes in the node group."]
        pub async fn list_nodes(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNodesNodeGroupsRequest>,
        ) -> Result<tonic::Response<super::NodeGroupsListNodes>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/ListNodes",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified node group."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchNodeGroupRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.NodeGroups/Patch");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the node template of the node group."]
        pub async fn set_node_template(
            &mut self,
            request: impl tonic::IntoRequest<super::SetNodeTemplateNodeGroupRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/SetNodeTemplate",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsNodeGroupRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeGroups/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod node_templates_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The NodeTemplates API."]
    #[derive(Debug, Clone)]
    pub struct NodeTemplatesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> NodeTemplatesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NodeTemplatesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            NodeTemplatesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of node templates."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListNodeTemplatesRequest>,
        ) -> Result<tonic::Response<super::NodeTemplateAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified NodeTemplate resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteNodeTemplateRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified node template. Gets a list of available node templates by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNodeTemplateRequest>,
        ) -> Result<tonic::Response<super::NodeTemplate>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.NodeTemplates/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of node templates available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNodeTemplatesRequest>,
        ) -> Result<tonic::Response<super::NodeTemplateList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.NodeTemplates/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsNodeTemplateRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTemplates/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod node_types_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The NodeTypes API."]
    #[derive(Debug, Clone)]
    pub struct NodeTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> NodeTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> NodeTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            NodeTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of node types."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListNodeTypesRequest>,
        ) -> Result<tonic::Response<super::NodeTypeAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.NodeTypes/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified node type. Gets a list of available node types by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNodeTypeRequest>,
        ) -> Result<tonic::Response<super::NodeType>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.NodeTypes/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of node types available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListNodeTypesRequest>,
        ) -> Result<tonic::Response<super::NodeTypeList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.NodeTypes/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod packet_mirrorings_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The PacketMirrorings API."]
    #[derive(Debug, Clone)]
    pub struct PacketMirroringsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> PacketMirroringsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> PacketMirroringsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            PacketMirroringsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of packetMirrorings."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListPacketMirroringsRequest>,
        ) -> Result<tonic::Response<super::PacketMirroringAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified PacketMirroring resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeletePacketMirroringRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified PacketMirroring resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetPacketMirroringRequest>,
        ) -> Result<tonic::Response<super::PacketMirroring>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::PacketMirroringList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchPacketMirroringRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsPacketMirroringRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PacketMirrorings/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod projects_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Projects API."]
    #[derive(Debug, Clone)]
    pub struct ProjectsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> ProjectsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ProjectsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            ProjectsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Disable this project as a shared VPC host project."]
        pub async fn disable_xpn_host(
            &mut self,
            request: impl tonic::IntoRequest<super::DisableXpnHostProjectRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/DisableXpnHost",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/DisableXpnResource",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Enable this project as a shared VPC host project."]
        pub async fn enable_xpn_host(
            &mut self,
            request: impl tonic::IntoRequest<super::EnableXpnHostProjectRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/EnableXpnHost",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/EnableXpnResource",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified Project resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetProjectRequest>,
        ) -> Result<tonic::Response<super::Project>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Projects/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Project>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/GetXpnHost",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::ProjectsGetXpnResources>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/GetXpnResources",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::XpnHostList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/ListXpnHosts",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Moves a persistent disk from one zone to another."]
        pub async fn move_disk(
            &mut self,
            request: impl tonic::IntoRequest<super::MoveDiskProjectRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Projects/MoveDisk");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Moves an instance and its attached persistent disks from one zone to another."]
        pub async fn move_instance(
            &mut self,
            request: impl tonic::IntoRequest<super::MoveInstanceProjectRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/MoveInstance",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/SetCommonInstanceMetadata",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/SetDefaultNetworkTier",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Enables the usage export feature and sets the usage 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Projects/SetUsageExportBucket",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod public_advertised_prefixes_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The PublicAdvertisedPrefixes API."]
    #[derive(Debug, Clone)]
    pub struct PublicAdvertisedPrefixesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> PublicAdvertisedPrefixesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> PublicAdvertisedPrefixesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            PublicAdvertisedPrefixesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified PublicAdvertisedPrefix"]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeletePublicAdvertisedPrefixeRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified PublicAdvertisedPrefix resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetPublicAdvertisedPrefixeRequest>,
        ) -> Result<tonic::Response<super::PublicAdvertisedPrefix>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists the PublicAdvertisedPrefixes for a project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListPublicAdvertisedPrefixesRequest>,
        ) -> Result<tonic::Response<super::PublicAdvertisedPrefixList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchPublicAdvertisedPrefixeRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicAdvertisedPrefixes/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod public_delegated_prefixes_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The PublicDelegatedPrefixes API."]
    #[derive(Debug, Clone)]
    pub struct PublicDelegatedPrefixesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> PublicDelegatedPrefixesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> PublicDelegatedPrefixesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            PublicDelegatedPrefixesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListPublicDelegatedPrefixesRequest>,
        ) -> Result<tonic::Response<super::PublicDelegatedPrefixAggregatedList>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified PublicDelegatedPrefix in the given region."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeletePublicDelegatedPrefixeRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified PublicDelegatedPrefix resource in the given region."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetPublicDelegatedPrefixeRequest>,
        ) -> Result<tonic::Response<super::PublicDelegatedPrefix>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists the PublicDelegatedPrefixes for a project in the given region."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListPublicDelegatedPrefixesRequest>,
        ) -> Result<tonic::Response<super::PublicDelegatedPrefixList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchPublicDelegatedPrefixeRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.PublicDelegatedPrefixes/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_autoscalers_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionAutoscalers API."]
    #[derive(Debug, Clone)]
    pub struct RegionAutoscalersClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionAutoscalersClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionAutoscalersClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionAutoscalersClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified autoscaler."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionAutoscalerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified autoscaler."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionAutoscalerRequest>,
        ) -> Result<tonic::Response<super::Autoscaler>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of autoscalers contained within the specified region."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionAutoscalersRequest>,
        ) -> Result<tonic::Response<super::RegionAutoscalerList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates an autoscaler in the specified project using the data included in the request. 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::PatchRegionAutoscalerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionAutoscalers/Update",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_backend_services_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionBackendServices API."]
    #[derive(Debug, Clone)]
    pub struct RegionBackendServicesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionBackendServicesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionBackendServicesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionBackendServicesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified regional BackendService resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionBackendServiceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified regional BackendService resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionBackendServiceRequest>,
        ) -> Result<tonic::Response<super::BackendService>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Gets the most recent health check results for this regional BackendService."]
        pub async fn get_health(
            &mut self,
            request: impl tonic::IntoRequest<super::GetHealthRegionBackendServiceRequest>,
        ) -> Result<tonic::Response<super::BackendServiceGroupHealth>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/GetHealth",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::BackendServiceList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionBackendServices/Update",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_commitments_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionCommitments API."]
    #[derive(Debug, Clone)]
    pub struct RegionCommitmentsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionCommitmentsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionCommitmentsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionCommitmentsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of commitments by region."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListRegionCommitmentsRequest>,
        ) -> Result<tonic::Response<super::CommitmentAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCommitments/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified commitment resource. Gets a list of available commitments by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionCommitmentRequest>,
        ) -> Result<tonic::Response<super::Commitment>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCommitments/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCommitments/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of commitments contained within the specified region."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionCommitmentsRequest>,
        ) -> Result<tonic::Response<super::CommitmentList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionCommitments/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_disk_types_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionDiskTypes API."]
    #[derive(Debug, Clone)]
    pub struct RegionDiskTypesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionDiskTypesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionDiskTypesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionDiskTypesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Returns the specified regional disk type. Gets a list of available disk types by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionDiskTypeRequest>,
        ) -> Result<tonic::Response<super::DiskType>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDiskTypes/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of regional disk types available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionDiskTypesRequest>,
        ) -> Result<tonic::Response<super::RegionDiskTypeList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDiskTypes/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_disks_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionDisks API."]
    #[derive(Debug, Clone)]
    pub struct RegionDisksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionDisksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionDisksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionDisksClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/AddResourcePolicies",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates a snapshot of this regional disk."]
        pub async fn create_snapshot(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateSnapshotRegionDiskRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/CreateSnapshot",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 any snapshots previously made from the disk. You must separately delete snapshots."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionDiskRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.RegionDisks/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns a specified regional persistent disk."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionDiskRequest>,
        ) -> Result<tonic::Response<super::Disk>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.RegionDisks/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.RegionDisks/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of persistent disks contained within the specified region."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionDisksRequest>,
        ) -> Result<tonic::Response<super::DiskList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.RegionDisks/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Removes resource policies from a regional disk."]
        pub async fn remove_resource_policies(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveResourcePoliciesRegionDiskRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/RemoveResourcePolicies",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Resizes the specified regional persistent disk."]
        pub async fn resize(
            &mut self,
            request: impl tonic::IntoRequest<super::ResizeRegionDiskRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.RegionDisks/Resize");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the labels on the target regional disk."]
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsRegionDiskRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/SetLabels",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsRegionDiskRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionDisks/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_health_check_services_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionHealthCheckServices API."]
    #[derive(Debug, Clone)]
    pub struct RegionHealthCheckServicesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionHealthCheckServicesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionHealthCheckServicesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionHealthCheckServicesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified regional HealthCheckService."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionHealthCheckServiceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified regional HealthCheckService resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionHealthCheckServiceRequest>,
        ) -> Result<tonic::Response<super::HealthCheckService>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::HealthCheckServicesList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified regional HealthCheckService resource with the data included in the request. 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::PatchRegionHealthCheckServiceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthCheckServices/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_health_checks_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionHealthChecks API."]
    #[derive(Debug, Clone)]
    pub struct RegionHealthChecksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionHealthChecksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionHealthChecksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionHealthChecksClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified HealthCheck resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionHealthCheckRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionHealthCheckRequest>,
        ) -> Result<tonic::Response<super::HealthCheck>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of HealthCheck resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionHealthChecksRequest>,
        ) -> Result<tonic::Response<super::HealthCheckList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates a HealthCheck resource in the specified project using the data included in the request. 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::PatchRegionHealthCheckRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionHealthChecks/Update",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_instance_group_managers_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionInstanceGroupManagers API."]
    #[derive(Debug, Clone)]
    pub struct RegionInstanceGroupManagersClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionInstanceGroupManagersClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionInstanceGroupManagersClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionInstanceGroupManagersClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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 the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE 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 the listmanagedinstances 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/AbandonInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Apply updates to selected instances the managed instance group."]
        pub async fn apply_updates_to_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest,
            >,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/ApplyUpdatesToInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates instances with per-instance configs 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 the creating or actions with the listmanagedinstances method."]
        pub async fn create_instances(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateInstancesRegionInstanceGroupManagerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/CreateInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 the targetSize 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 the deleting action with the listmanagedinstances 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/DeleteInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes selected per-instance configs for the managed instance group."]
        pub async fn delete_per_instance_configs(
            &mut self,
            request: impl tonic::IntoRequest<
                super::DeletePerInstanceConfigsRegionInstanceGroupManagerRequest,
            >,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/DeletePerInstanceConfigs",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns all of the details about the specified managed instance group."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionInstanceGroupManagerRequest>,
        ) -> Result<tonic::Response<super::InstanceGroupManager>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances."]
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertRegionInstanceGroupManagerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::RegionInstanceGroupManagerList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported."]
        pub async fn list_errors(
            &mut self,
            request: impl tonic::IntoRequest<super::ListErrorsRegionInstanceGroupManagersRequest>,
        ) -> Result<
            tonic::Response<super::RegionInstanceGroupManagersListErrorsResponse>,
            tonic::Status,
        > {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListErrors",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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."]
        pub async fn list_managed_instances(
            &mut self,
            request: impl tonic::IntoRequest<
                super::ListManagedInstancesRegionInstanceGroupManagersRequest,
            >,
        ) -> Result<
            tonic::Response<super::RegionInstanceGroupManagersListInstancesResponse>,
            tonic::Status,
        > {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListManagedInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists all of the per-instance configs 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,
            >,
        ) -> Result<
            tonic::Response<super::RegionInstanceGroupManagersListInstanceConfigsResp>,
            tonic::Status,
        > {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/ListPerInstanceConfigs",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 supports PATCH semantics and uses the JSON 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, see Updating instances in a MIG."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionInstanceGroupManagerRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Inserts or patches per-instance configs 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,
            >,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/PatchPerInstanceConfigs",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 its currentAction 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/RecreateInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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 the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/Resize",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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,
            >,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/SetInstanceTemplate",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/SetTargetPools",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Inserts or updates per-instance configs 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,
            >,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroupManagers/UpdatePerInstanceConfigs",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_instance_groups_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionInstanceGroups API."]
    #[derive(Debug, Clone)]
    pub struct RegionInstanceGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionInstanceGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionInstanceGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionInstanceGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Returns the specified instance group resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionInstanceGroupRequest>,
        ) -> Result<tonic::Response<super::InstanceGroup>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroups/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of instance group resources contained within the specified region."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionInstanceGroupsRequest>,
        ) -> Result<tonic::Response<super::RegionInstanceGroupList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroups/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::RegionInstanceGroupsListInstances>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroups/ListInstances",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the named ports for the specified regional instance group."]
        pub async fn set_named_ports(
            &mut self,
            request: impl tonic::IntoRequest<super::SetNamedPortsRegionInstanceGroupRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstanceGroups/SetNamedPorts",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_instances_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionInstances API."]
    #[derive(Debug, Clone)]
    pub struct RegionInstancesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionInstancesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionInstancesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionInstancesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionInstances/BulkInsert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_network_endpoint_groups_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionNetworkEndpointGroups API."]
    #[derive(Debug, Clone)]
    pub struct RegionNetworkEndpointGroupsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionNetworkEndpointGroupsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionNetworkEndpointGroupsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionNetworkEndpointGroupsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionNetworkEndpointGroupRequest>,
        ) -> Result<tonic::Response<super::NetworkEndpointGroup>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates a network endpoint 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::InsertRegionNetworkEndpointGroupRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::NetworkEndpointGroupList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNetworkEndpointGroups/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_notification_endpoints_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionNotificationEndpoints API."]
    #[derive(Debug, Clone)]
    pub struct RegionNotificationEndpointsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionNotificationEndpointsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionNotificationEndpointsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionNotificationEndpointsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified NotificationEndpoint in the given region"]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionNotificationEndpointRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNotificationEndpoints/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified NotificationEndpoint resource in the given region."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionNotificationEndpointRequest>,
        ) -> Result<tonic::Response<super::NotificationEndpoint>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNotificationEndpoints/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNotificationEndpoints/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists the NotificationEndpoints for a project in the given region."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionNotificationEndpointsRequest>,
        ) -> Result<tonic::Response<super::NotificationEndpointList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionNotificationEndpoints/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_operations_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionOperations API."]
    #[derive(Debug, Clone)]
    pub struct RegionOperationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionOperationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionOperationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionOperationsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified region-specific Operations resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionOperationRequest>,
        ) -> Result<tonic::Response<super::DeleteRegionOperationResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionOperations/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the specified region-specific Operations resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionOperationRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionOperations/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of Operation resources contained within the specified region."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionOperationsRequest>,
        ) -> Result<tonic::Response<super::OperationList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionOperations/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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: - 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionOperations/Wait",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_ssl_certificates_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionSslCertificates API."]
    #[derive(Debug, Clone)]
    pub struct RegionSslCertificatesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionSslCertificatesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionSslCertificatesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionSslCertificatesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified SslCertificate resource in the region."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionSslCertificateRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslCertificates/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::SslCertificate>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslCertificates/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslCertificates/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::SslCertificateList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionSslCertificates/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_target_http_proxies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionTargetHttpProxies API."]
    #[derive(Debug, Clone)]
    pub struct RegionTargetHttpProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionTargetHttpProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionTargetHttpProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionTargetHttpProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified TargetHttpProxy resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionTargetHttpProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpProxies/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified TargetHttpProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionTargetHttpProxyRequest>,
        ) -> Result<tonic::Response<super::TargetHttpProxy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpProxies/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpProxies/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::TargetHttpProxyList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpProxies/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes the URL map for TargetHttpProxy."]
        pub async fn set_url_map(
            &mut self,
            request: impl tonic::IntoRequest<super::SetUrlMapRegionTargetHttpProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpProxies/SetUrlMap",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_target_https_proxies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionTargetHttpsProxies API."]
    #[derive(Debug, Clone)]
    pub struct RegionTargetHttpsProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionTargetHttpsProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionTargetHttpsProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionTargetHttpsProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified TargetHttpsProxy resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionTargetHttpsProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionTargetHttpsProxyRequest>,
        ) -> Result<tonic::Response<super::TargetHttpsProxy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::TargetHttpsProxyList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Replaces SslCertificates for TargetHttpsProxy."]
        pub async fn set_ssl_certificates(
            &mut self,
            request: impl tonic::IntoRequest<super::SetSslCertificatesRegionTargetHttpsProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/SetSslCertificates",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes the URL map for TargetHttpsProxy."]
        pub async fn set_url_map(
            &mut self,
            request: impl tonic::IntoRequest<super::SetUrlMapRegionTargetHttpsProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionTargetHttpsProxies/SetUrlMap",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod region_url_maps_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The RegionUrlMaps API."]
    #[derive(Debug, Clone)]
    pub struct RegionUrlMapsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionUrlMapsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionUrlMapsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionUrlMapsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified UrlMap resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRegionUrlMapRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionUrlMapRequest>,
        ) -> Result<tonic::Response<super::UrlMap>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.RegionUrlMaps/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::UrlMapList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.RegionUrlMaps/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRegionUrlMapRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified UrlMap resource with the data included in the request."]
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateRegionUrlMapRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Update",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::UrlMapsValidateResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.RegionUrlMaps/Validate",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod regions_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Regions API."]
    #[derive(Debug, Clone)]
    pub struct RegionsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RegionsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RegionsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RegionsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Returns the specified Region resource. Gets a list of available regions by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRegionRequest>,
        ) -> Result<tonic::Response<super::Region>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Regions/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of region resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRegionsRequest>,
        ) -> Result<tonic::Response<super::RegionList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Regions/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod reservations_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Reservations API."]
    #[derive(Debug, Clone)]
    pub struct ReservationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> ReservationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ReservationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            ReservationsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of reservations."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListReservationsRequest>,
        ) -> Result<tonic::Response<super::ReservationAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified reservation."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteReservationRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves information about the specified reservation."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetReservationRequest>,
        ) -> Result<tonic::Response<super::Reservation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Reservations/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates a new reservation. For more information, read Reserving zonal resources."]
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertReservationRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::ReservationList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Reservations/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Resizes the reservation (applicable to standalone reservations only). For more information, read Modifying reservations."]
        pub async fn resize(
            &mut self,
            request: impl tonic::IntoRequest<super::ResizeReservationRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/Resize",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsReservationRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Reservations/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod resource_policies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The ResourcePolicies API."]
    #[derive(Debug, Clone)]
    pub struct ResourcePoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> ResourcePoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ResourcePoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            ResourcePoliciesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of resource policies."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListResourcePoliciesRequest>,
        ) -> Result<tonic::Response<super::ResourcePolicyAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified resource policy."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteResourcePolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves all information of the specified resource policy."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetResourcePolicyRequest>,
        ) -> Result<tonic::Response<super::ResourcePolicy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Creates a new resource policy."]
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertResourcePolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::ResourcePolicyList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsResourcePolicyRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ResourcePolicies/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod routers_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Routers API."]
    #[derive(Debug, Clone)]
    pub struct RoutersClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RoutersClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RoutersClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RoutersClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of routers."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListRoutersRequest>,
        ) -> Result<tonic::Response<super::RouterAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified Router resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRouterRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routers/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified Router resource. Gets a list of available routers by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRouterRequest>,
        ) -> Result<tonic::Response<super::Router>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routers/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves runtime Nat mapping information of VM endpoints."]
        pub async fn get_nat_mapping_info(
            &mut self,
            request: impl tonic::IntoRequest<super::GetNatMappingInfoRoutersRequest>,
        ) -> Result<tonic::Response<super::VmEndpointNatMappingsList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/GetNatMappingInfo",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves runtime information of the specified router."]
        pub async fn get_router_status(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRouterStatusRouterRequest>,
        ) -> Result<tonic::Response<super::RouterStatusResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Routers/GetRouterStatus",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routers/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of Router resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRoutersRequest>,
        ) -> Result<tonic::Response<super::RouterList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routers/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRouterRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routers/Patch");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router."]
        pub async fn preview(
            &mut self,
            request: impl tonic::IntoRequest<super::PreviewRouterRequest>,
        ) -> Result<tonic::Response<super::RoutersPreviewResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routers/Preview");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified Router resource with the data included in the request. This method conforms to PUT 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routers/Update");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod routes_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Routes API."]
    #[derive(Debug, Clone)]
    pub struct RoutesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> RoutesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> RoutesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            RoutesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified Route resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteRouteRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routes/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified Route resource. Gets a list of available routes by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRouteRequest>,
        ) -> Result<tonic::Response<super::Route>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routes/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routes/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of Route resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListRoutesRequest>,
        ) -> Result<tonic::Response<super::RouteList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Routes/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod security_policies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The SecurityPolicies API."]
    #[derive(Debug, Clone)]
    pub struct SecurityPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> SecurityPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SecurityPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            SecurityPoliciesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Inserts a rule into a security policy."]
        pub async fn add_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::AddRuleSecurityPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/AddRule",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified policy."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteSecurityPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " List all of the ordered rules present in a single specified policy."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSecurityPolicyRequest>,
        ) -> Result<tonic::Response<super::SecurityPolicy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Gets a rule at the specified priority."]
        pub async fn get_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::GetRuleSecurityPolicyRequest>,
        ) -> Result<tonic::Response<super::SecurityPolicyRule>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/GetRule",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " List all the policies that have been configured for the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListSecurityPoliciesRequest>,
        ) -> Result<tonic::Response<super::SecurityPolicyList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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,
            >,
        ) -> Result<
            tonic::Response<super::SecurityPoliciesListPreconfiguredExpressionSetsResponse>,
            tonic::Status,
        > {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/ListPreconfiguredExpressionSets",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified policy with the data included in the request. 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches a rule at the specified priority."]
        pub async fn patch_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchRuleSecurityPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/PatchRule",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes a rule at the specified priority."]
        pub async fn remove_rule(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveRuleSecurityPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SecurityPolicies/RemoveRule",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod service_attachments_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The ServiceAttachments API."]
    #[derive(Debug, Clone)]
    pub struct ServiceAttachmentsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> ServiceAttachmentsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ServiceAttachmentsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            ServiceAttachmentsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListServiceAttachmentsRequest>,
        ) -> Result<tonic::Response<super::ServiceAttachmentAggregatedList>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified ServiceAttachment in the given scope"]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteServiceAttachmentRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified ServiceAttachment resource in the given scope."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetServiceAttachmentRequest>,
        ) -> Result<tonic::Response<super::ServiceAttachment>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists the ServiceAttachments for a project in the given scope."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListServiceAttachmentsRequest>,
        ) -> Result<tonic::Response<super::ServiceAttachmentList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchServiceAttachmentRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsServiceAttachmentRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ServiceAttachments/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod snapshots_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Snapshots API."]
    #[derive(Debug, Clone)]
    pub struct SnapshotsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> SnapshotsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SnapshotsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            SnapshotsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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, see Deleting snapshots."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteSnapshotRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Snapshots/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSnapshotRequest>,
        ) -> Result<tonic::Response<super::Snapshot>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Snapshots/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of Snapshot resources contained within the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListSnapshotsRequest>,
        ) -> Result<tonic::Response<super::SnapshotList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Snapshots/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation."]
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsSnapshotRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/SetLabels",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsSnapshotRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Snapshots/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod ssl_certificates_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The SslCertificates API."]
    #[derive(Debug, Clone)]
    pub struct SslCertificatesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> SslCertificatesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SslCertificatesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            SslCertificatesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves the list of all SslCertificate resources, regional and global, available to the specified project."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListSslCertificatesRequest>,
        ) -> Result<tonic::Response<super::SslCertificateAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslCertificates/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified SslCertificate resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteSslCertificateRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslCertificates/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSslCertificateRequest>,
        ) -> Result<tonic::Response<super::SslCertificate>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslCertificates/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslCertificates/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of SslCertificate resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListSslCertificatesRequest>,
        ) -> Result<tonic::Response<super::SslCertificateList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslCertificates/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod ssl_policies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The SslPolicies API."]
    #[derive(Debug, Clone)]
    pub struct SslPoliciesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> SslPoliciesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SslPoliciesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            SslPoliciesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.SslPolicies/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists all of the ordered rules present in a single specified policy."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSslPolicyRequest>,
        ) -> Result<tonic::Response<super::SslPolicy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.SslPolicies/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request."]
        pub async fn insert(
            &mut self,
            request: impl tonic::IntoRequest<super::InsertSslPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.SslPolicies/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::SslPoliciesList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.SslPolicies/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::SslPoliciesListAvailableFeaturesResponse>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.SslPolicies/ListAvailableFeatures",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified SSL policy with the data included in the request."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchSslPolicyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.SslPolicies/Patch");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod subnetworks_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Subnetworks API."]
    #[derive(Debug, Clone)]
    pub struct SubnetworksClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> SubnetworksClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> SubnetworksClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            SubnetworksClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of subnetworks."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListSubnetworksRequest>,
        ) -> Result<tonic::Response<super::SubnetworkAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified subnetwork."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteSubnetworkRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Subnetworks/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/ExpandIpCidrRange",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified subnetwork. Gets a list of available subnetworks list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetSubnetworkRequest>,
        ) -> Result<tonic::Response<super::Subnetwork>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Subnetworks/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/GetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Subnetworks/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of subnetworks available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListSubnetworksRequest>,
        ) -> Result<tonic::Response<super::SubnetworkList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Subnetworks/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves an aggregated list of all usable subnetworks in the project."]
        pub async fn list_usable(
            &mut self,
            request: impl tonic::IntoRequest<super::ListUsableSubnetworksRequest>,
        ) -> Result<tonic::Response<super::UsableSubnetworksAggregatedList>, tonic::Status>
        {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/ListUsable",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Subnetworks/Patch");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Policy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/SetIamPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/SetPrivateIpGoogleAccess",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsSubnetworkRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.Subnetworks/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod target_grpc_proxies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The TargetGrpcProxies API."]
    #[derive(Debug, Clone)]
    pub struct TargetGrpcProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> TargetGrpcProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetGrpcProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            TargetGrpcProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified TargetGrpcProxy in the given scope"]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetGrpcProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetGrpcProxies/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified TargetGrpcProxy resource in the given scope."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetGrpcProxyRequest>,
        ) -> Result<tonic::Response<super::TargetGrpcProxy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetGrpcProxies/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetGrpcProxies/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Lists the TargetGrpcProxies for a project in the given scope."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetGrpcProxiesRequest>,
        ) -> Result<tonic::Response<super::TargetGrpcProxyList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetGrpcProxies/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchTargetGrpcProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetGrpcProxies/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod target_http_proxies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The TargetHttpProxies API."]
    #[derive(Debug, Clone)]
    pub struct TargetHttpProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> TargetHttpProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetHttpProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            TargetHttpProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListTargetHttpProxiesRequest>,
        ) -> Result<tonic::Response<super::TargetHttpProxyAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified TargetHttpProxy resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetHttpProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetHttpProxyRequest>,
        ) -> Result<tonic::Response<super::TargetHttpProxy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of TargetHttpProxy resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetHttpProxiesRequest>,
        ) -> Result<tonic::Response<super::TargetHttpProxyList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchTargetHttpProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes the URL map for TargetHttpProxy."]
        pub async fn set_url_map(
            &mut self,
            request: impl tonic::IntoRequest<super::SetUrlMapTargetHttpProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpProxies/SetUrlMap",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod target_https_proxies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The TargetHttpsProxies API."]
    #[derive(Debug, Clone)]
    pub struct TargetHttpsProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> TargetHttpsProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetHttpsProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            TargetHttpsProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListTargetHttpsProxiesRequest>,
        ) -> Result<tonic::Response<super::TargetHttpsProxyAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified TargetHttpsProxy resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetHttpsProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified TargetHttpsProxy resource. Gets a list of available target HTTPS proxies by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetHttpsProxyRequest>,
        ) -> Result<tonic::Response<super::TargetHttpsProxy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of TargetHttpsProxy resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetHttpsProxiesRequest>,
        ) -> Result<tonic::Response<super::TargetHttpsProxyList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules."]
        pub async fn patch(
            &mut self,
            request: impl tonic::IntoRequest<super::PatchTargetHttpsProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/Patch",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the QUIC override policy for TargetHttpsProxy."]
        pub async fn set_quic_override(
            &mut self,
            request: impl tonic::IntoRequest<super::SetQuicOverrideTargetHttpsProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/SetQuicOverride",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Replaces SslCertificates for TargetHttpsProxy."]
        pub async fn set_ssl_certificates(
            &mut self,
            request: impl tonic::IntoRequest<super::SetSslCertificatesTargetHttpsProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/SetSslCertificates",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/SetSslPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes the URL map for TargetHttpsProxy."]
        pub async fn set_url_map(
            &mut self,
            request: impl tonic::IntoRequest<super::SetUrlMapTargetHttpsProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetHttpsProxies/SetUrlMap",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod target_instances_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The TargetInstances API."]
    #[derive(Debug, Clone)]
    pub struct TargetInstancesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> TargetInstancesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetInstancesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            TargetInstancesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of target instances."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListTargetInstancesRequest>,
        ) -> Result<tonic::Response<super::TargetInstanceAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified TargetInstance resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetInstanceRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetInstanceRequest>,
        ) -> Result<tonic::Response<super::TargetInstance>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::TargetInstanceList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetInstances/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod target_pools_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The TargetPools API."]
    #[derive(Debug, Clone)]
    pub struct TargetPoolsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> TargetPoolsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetPoolsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            TargetPoolsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Adds health check URLs to a target pool."]
        pub async fn add_health_check(
            &mut self,
            request: impl tonic::IntoRequest<super::AddHealthCheckTargetPoolRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/AddHealthCheck",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Adds an instance to a target pool."]
        pub async fn add_instance(
            &mut self,
            request: impl tonic::IntoRequest<super::AddInstanceTargetPoolRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/AddInstance",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves an aggregated list of target pools."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListTargetPoolsRequest>,
        ) -> Result<tonic::Response<super::TargetPoolAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified target pool."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetPoolRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.TargetPools/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified target pool. Gets a list of available target pools by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetPoolRequest>,
        ) -> Result<tonic::Response<super::TargetPool>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.TargetPools/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::TargetPoolInstanceHealth>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/GetHealth",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.TargetPools/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::TargetPoolList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.TargetPools/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Removes health check URL from a target pool."]
        pub async fn remove_health_check(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveHealthCheckTargetPoolRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/RemoveHealthCheck",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Removes instance URL from a target pool."]
        pub async fn remove_instance(
            &mut self,
            request: impl tonic::IntoRequest<super::RemoveInstanceTargetPoolRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/RemoveInstance",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes a backup target pool's configurations."]
        pub async fn set_backup(
            &mut self,
            request: impl tonic::IntoRequest<super::SetBackupTargetPoolRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetPools/SetBackup",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod target_ssl_proxies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The TargetSslProxies API."]
    #[derive(Debug, Clone)]
    pub struct TargetSslProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> TargetSslProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetSslProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            TargetSslProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified TargetSslProxy resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetSslProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetSslProxyRequest>,
        ) -> Result<tonic::Response<super::TargetSslProxy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of TargetSslProxy resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetSslProxiesRequest>,
        ) -> Result<tonic::Response<super::TargetSslProxyList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes the BackendService for TargetSslProxy."]
        pub async fn set_backend_service(
            &mut self,
            request: impl tonic::IntoRequest<super::SetBackendServiceTargetSslProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/SetBackendService",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes the ProxyHeaderType for TargetSslProxy."]
        pub async fn set_proxy_header(
            &mut self,
            request: impl tonic::IntoRequest<super::SetProxyHeaderTargetSslProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/SetProxyHeader",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes SslCertificates for TargetSslProxy."]
        pub async fn set_ssl_certificates(
            &mut self,
            request: impl tonic::IntoRequest<super::SetSslCertificatesTargetSslProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/SetSslCertificates",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the SSL 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::SetSslPolicyTargetSslProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetSslProxies/SetSslPolicy",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod target_tcp_proxies_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The TargetTcpProxies API."]
    #[derive(Debug, Clone)]
    pub struct TargetTcpProxiesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> TargetTcpProxiesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetTcpProxiesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            TargetTcpProxiesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified TargetTcpProxy resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetTcpProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetTcpProxyRequest>,
        ) -> Result<tonic::Response<super::TargetTcpProxy>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of TargetTcpProxy resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListTargetTcpProxiesRequest>,
        ) -> Result<tonic::Response<super::TargetTcpProxyList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes the BackendService for TargetTcpProxy."]
        pub async fn set_backend_service(
            &mut self,
            request: impl tonic::IntoRequest<super::SetBackendServiceTargetTcpProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/SetBackendService",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Changes the ProxyHeaderType for TargetTcpProxy."]
        pub async fn set_proxy_header(
            &mut self,
            request: impl tonic::IntoRequest<super::SetProxyHeaderTargetTcpProxyRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetTcpProxies/SetProxyHeader",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod target_vpn_gateways_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The TargetVpnGateways API."]
    #[derive(Debug, Clone)]
    pub struct TargetVpnGatewaysClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> TargetVpnGatewaysClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> TargetVpnGatewaysClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            TargetVpnGatewaysClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of target VPN gateways."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListTargetVpnGatewaysRequest>,
        ) -> Result<tonic::Response<super::TargetVpnGatewayAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified target VPN gateway."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteTargetVpnGatewayRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetTargetVpnGatewayRequest>,
        ) -> Result<tonic::Response<super::TargetVpnGateway>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/Get",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/Insert",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::TargetVpnGatewayList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.TargetVpnGateways/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod url_maps_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The UrlMaps API."]
    #[derive(Debug, Clone)]
    pub struct UrlMapsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> UrlMapsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> UrlMapsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            UrlMapsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves the list of all UrlMap resources, regional and global, available to the specified project."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListUrlMapsRequest>,
        ) -> Result<tonic::Response<super::UrlMapsAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified UrlMap resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteUrlMapRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.UrlMaps/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetUrlMapRequest>,
        ) -> Result<tonic::Response<super::UrlMap>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.UrlMaps/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.UrlMaps/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.UrlMaps/InvalidateCache",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of UrlMap resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListUrlMapsRequest>,
        ) -> Result<tonic::Response<super::UrlMapList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.UrlMaps/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Patches the specified UrlMap resource with the data included in the request. 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::PatchUrlMapRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.UrlMaps/Patch");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Updates the specified UrlMap resource with the data included in the request."]
        pub async fn update(
            &mut self,
            request: impl tonic::IntoRequest<super::UpdateUrlMapRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.UrlMaps/Update");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::UrlMapsValidateResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.UrlMaps/Validate");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod vpn_gateways_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The VpnGateways API."]
    #[derive(Debug, Clone)]
    pub struct VpnGatewaysClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> VpnGatewaysClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> VpnGatewaysClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            VpnGatewaysClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of VPN gateways."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListVpnGatewaysRequest>,
        ) -> Result<tonic::Response<super::VpnGatewayAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified VPN gateway."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteVpnGatewayRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.VpnGateways/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetVpnGatewayRequest>,
        ) -> Result<tonic::Response<super::VpnGateway>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.VpnGateways/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the status for the specified VPN gateway."]
        pub async fn get_status(
            &mut self,
            request: impl tonic::IntoRequest<super::GetStatusVpnGatewayRequest>,
        ) -> Result<tonic::Response<super::VpnGatewaysGetStatusResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/GetStatus",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.VpnGateways/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::VpnGatewayList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.VpnGateways/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation."]
        pub async fn set_labels(
            &mut self,
            request: impl tonic::IntoRequest<super::SetLabelsVpnGatewayRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/SetLabels",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns permissions that a caller has on the specified resource."]
        pub async fn test_iam_permissions(
            &mut self,
            request: impl tonic::IntoRequest<super::TestIamPermissionsVpnGatewayRequest>,
        ) -> Result<tonic::Response<super::TestPermissionsResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnGateways/TestIamPermissions",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod vpn_tunnels_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The VpnTunnels API."]
    #[derive(Debug, Clone)]
    pub struct VpnTunnelsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> VpnTunnelsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> VpnTunnelsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            VpnTunnelsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Retrieves an aggregated list of VPN tunnels."]
        pub async fn aggregated_list(
            &mut self,
            request: impl tonic::IntoRequest<super::AggregatedListVpnTunnelsRequest>,
        ) -> Result<tonic::Response<super::VpnTunnelAggregatedList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.VpnTunnels/AggregatedList",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Deletes the specified VpnTunnel resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteVpnTunnelRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.VpnTunnels/Delete");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetVpnTunnelRequest>,
        ) -> Result<tonic::Response<super::VpnTunnel>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.VpnTunnels/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.VpnTunnels/Insert");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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>,
        ) -> Result<tonic::Response<super::VpnTunnelList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.VpnTunnels/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod zone_operations_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The ZoneOperations API."]
    #[derive(Debug, Clone)]
    pub struct ZoneOperationsClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> ZoneOperationsClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ZoneOperationsClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            ZoneOperationsClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Deletes the specified zone-specific Operations resource."]
        pub async fn delete(
            &mut self,
            request: impl tonic::IntoRequest<super::DeleteZoneOperationRequest>,
        ) -> Result<tonic::Response<super::DeleteZoneOperationResponse>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneOperations/Delete",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the specified zone-specific Operations resource."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetZoneOperationRequest>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path =
                http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.ZoneOperations/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves a list of Operation resources contained within the specified zone."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListZoneOperationsRequest>,
        ) -> Result<tonic::Response<super::OperationList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneOperations/List",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " 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: - 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>,
        ) -> Result<tonic::Response<super::Operation>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.compute.v1.ZoneOperations/Wait",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}
#[doc = r" Generated client implementations."]
pub mod zones_client {
    #![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
    use tonic::codegen::*;
    #[doc = " The Zones API."]
    #[derive(Debug, Clone)]
    pub struct ZonesClient<T> {
        inner: tonic::client::Grpc<T>,
    }
    impl<T> ZonesClient<T>
    where
        T: tonic::client::GrpcService<tonic::body::BoxBody>,
        T::ResponseBody: Body + Send + 'static,
        T::Error: Into<StdError>,
        <T::ResponseBody as Body>::Error: Into<StdError> + Send,
    {
        pub fn new(inner: T) -> Self {
            let inner = tonic::client::Grpc::new(inner);
            Self { inner }
        }
        pub fn with_interceptor<F>(
            inner: T,
            interceptor: F,
        ) -> ZonesClient<InterceptedService<T, F>>
        where
            F: tonic::service::Interceptor,
            T: tonic::codegen::Service<
                http::Request<tonic::body::BoxBody>,
                Response = http::Response<
                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
                >,
            >,
            <T as tonic::codegen::Service<http::Request<tonic::body::BoxBody>>>::Error:
                Into<StdError> + Send + Sync,
        {
            ZonesClient::new(InterceptedService::new(inner, interceptor))
        }
        #[doc = r" Compress requests with `gzip`."]
        #[doc = r""]
        #[doc = r" This requires the server to support it otherwise it might respond with an"]
        #[doc = r" error."]
        pub fn send_gzip(mut self) -> Self {
            self.inner = self.inner.send_gzip();
            self
        }
        #[doc = r" Enable decompressing responses with `gzip`."]
        pub fn accept_gzip(mut self) -> Self {
            self.inner = self.inner.accept_gzip();
            self
        }
        #[doc = " Returns the specified Zone resource. Gets a list of available zones by making a list() request."]
        pub async fn get(
            &mut self,
            request: impl tonic::IntoRequest<super::GetZoneRequest>,
        ) -> Result<tonic::Response<super::Zone>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Zones/Get");
            self.inner.unary(request.into_request(), path, codec).await
        }
        #[doc = " Retrieves the list of Zone resources available to the specified project."]
        pub async fn list(
            &mut self,
            request: impl tonic::IntoRequest<super::ListZonesRequest>,
        ) -> Result<tonic::Response<super::ZoneList>, tonic::Status> {
            self.inner.ready().await.map_err(|e| {
                tonic::Status::new(
                    tonic::Code::Unknown,
                    format!("Service was not ready: {}", e.into()),
                )
            })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static("/google.cloud.compute.v1.Zones/List");
            self.inner.unary(request.into_request(), path, codec).await
        }
    }
}