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 beta-rev20220726-2.0.0)












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 from 1 to 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 from 1 to 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. Not supported when the URL map is bound to a target gRPC proxy.
        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. Not supported when the URL map is bound to a target gRPC proxy.
        Parameters:
        ignoreCase - ignoreCase or null for none
      • getMetadataFilters

        public List<MetadataFilter> getMetadataFilters()
        Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if 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 metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
        Returns:
        value or null for none
      • setMetadataFilters

        public HttpRouteRuleMatch setMetadataFilters(List<MetadataFilter> metadataFilters)
        Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if 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 metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
        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 from 1 to 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 from 1 to 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. Not supported when the URL map is bound to a target gRPC proxy.
        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. Not supported when the URL map is bound to a target gRPC proxy.
        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 more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.
        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 more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.
        Parameters:
        regexMatch - regexMatch or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy