All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.HttpRouteRuleMatch.html Maven / Gradle / Ivy







HttpRouteRuleMatch (Compute Engine API v1-rev20200104-1.30.8)












com.google.api.services.compute.model

Class HttpRouteRuleMatch

    • Constructor Detail

      • HttpRouteRuleMatch

        public HttpRouteRuleMatch()
    • Method Detail

      • getFullPathMatch

        public String getFullPathMatch()
        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.
        Returns:
        value or null for none
      • setFullPathMatch

        public HttpRouteRuleMatch setFullPathMatch(String fullPathMatch)
        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.
        Parameters:
        fullPathMatch - fullPathMatch or null for none
      • getHeaderMatches

        public List<HttpHeaderMatch> getHeaderMatches()
        Specifies a list of header match criteria, all of which must match corresponding headers in the request.
        Returns:
        value or null for none
      • setHeaderMatches

        public HttpRouteRuleMatch setHeaderMatches(List<HttpHeaderMatch> headerMatches)
        Specifies a list of header match criteria, all of which must match corresponding headers in the request.
        Parameters:
        headerMatches - headerMatches or null for none
      • getIgnoreCase

        public Boolean getIgnoreCase()
        Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch.
        Returns:
        value or null for none
      • setIgnoreCase

        public HttpRouteRuleMatch setIgnoreCase(Boolean ignoreCase)
        Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch.
        Parameters:
        ignoreCase - ignoreCase or null for none
      • getMetadataFilters

        public List<MetadataFilter> getMetadataFilters()
        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. If a match takes place, 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. 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.
        Returns:
        value or null for none
      • setMetadataFilters

        public HttpRouteRuleMatch setMetadataFilters(List<MetadataFilter> metadataFilters)
        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. If a match takes place, 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. 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.
        Parameters:
        metadataFilters - metadataFilters or null for none
      • getPrefixMatch

        public String getPrefixMatch()
        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.
        Returns:
        value or null for none
      • setPrefixMatch

        public HttpRouteRuleMatch setPrefixMatch(String prefixMatch)
        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.
        Parameters:
        prefixMatch - prefixMatch or null for none
      • getQueryParameterMatches

        public List<HttpQueryParameterMatch> getQueryParameterMatches()
        Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.
        Returns:
        value or null for none
      • setQueryParameterMatches

        public HttpRouteRuleMatch setQueryParameterMatches(List<HttpQueryParameterMatch> queryParameterMatches)
        Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.
        Parameters:
        queryParameterMatches - queryParameterMatches or null for none
      • getRegexMatch

        public String getRegexMatch()
        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 en.cppreference.com/w/cpp/regex/ecmascript Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
        Returns:
        value or null for none
      • setRegexMatch

        public HttpRouteRuleMatch setRegexMatch(String regexMatch)
        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 en.cppreference.com/w/cpp/regex/ecmascript Only one of prefixMatch, fullPathMatch or regexMatch must be specified.
        Parameters:
        regexMatch - regexMatch or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy