exactMatch = $exactMatch; } /** * @return string */ public function getExactMatch() { return $this->exactMatch; } /** * Specifies that the QueryParameterMatcher matches if request contains query * parameter, irrespective of whether the parameter has a value or not. Only * one of exact_match, regex_match, or present_match must be set. * * @param bool $presentMatch */ public function setPresentMatch($presentMatch) { $this->presentMatch = $presentMatch; } /** * @return bool */ public function getPresentMatch() { return $this->presentMatch; } /** * The name of the query parameter to match. * * @param string $queryParameter */ public function setQueryParameter($queryParameter) { $this->queryParameter = $queryParameter; } /** * @return string */ public function getQueryParameter() { return $this->queryParameter; } /** * The value of the query parameter must match the regular expression * specified by regex_match. For regular expression grammar, please see * https://github.com/google/re2/wiki/Syntax Only one of exact_match, * regex_match, or present_match must be set. * * @param string $regexMatch */ public function setRegexMatch($regexMatch) { $this->regexMatch = $regexMatch; } /** * @return string */ public function getRegexMatch() { return $this->regexMatch; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(HttpRouteQueryParameterMatch::class, 'Google_Service_NetworkServices_HttpRouteQueryParameterMatch');