Struct google_compute1::api::HttpQueryParameterMatch
source · pub struct HttpQueryParameterMatch {
pub exact_match: Option<String>,
pub name: Option<String>,
pub present_match: Option<bool>,
pub regex_match: Option<String>,
}
Expand description
HttpRouteRuleMatch criteria for a request’s query parameter.
This type is not used in any activity, and only used as part of another schema.
Fields§
§exact_match: Option<String>
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.
name: Option<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.
present_match: Option<bool>
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.
regex_match: Option<String>
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
Trait Implementations§
source§impl Clone for HttpQueryParameterMatch
impl Clone for HttpQueryParameterMatch
source§fn clone(&self) -> HttpQueryParameterMatch
fn clone(&self) -> HttpQueryParameterMatch
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more