📂 File Browser

AgentAI/vendor/google/apiclient-services/src/NetworkServices
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 AuthzExtension.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 EndpointMatcher.php
▶ Open 📄 View Source
🐘 EndpointMatcherMetadataLabelMatcher.php
▶ Open 📄 View Source
🐘 EndpointMatcherMetadataLabelMatcherMetadataLabels.php
▶ Open 📄 View Source
🐘 EndpointPolicy.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 ExtensionChain.php
▶ Open 📄 View Source
🐘 ExtensionChainExtension.php
▶ Open 📄 View Source
🐘 ExtensionChainMatchCondition.php
▶ Open 📄 View Source
🐘 Gateway.php
▶ Open 📄 View Source
🐘 GatewayRouteView.php
▶ Open 📄 View Source
🐘 GrpcRoute.php
▶ Open 📄 View Source
🐘 GrpcRouteDestination.php
▶ Open 📄 View Source
🐘 GrpcRouteFaultInjectionPolicy.php
▶ Open 📄 View Source
🐘 GrpcRouteFaultInjectionPolicyAbort.php
▶ Open 📄 View Source
🐘 GrpcRouteFaultInjectionPolicyDelay.php
▶ Open 📄 View Source
🐘 GrpcRouteHeaderMatch.php
▶ Open 📄 View Source
🐘 GrpcRouteMethodMatch.php
▶ Open 📄 View Source
🐘 GrpcRouteRetryPolicy.php
▶ Open 📄 View Source
🐘 GrpcRouteRouteAction.php
▶ Open 📄 View Source
🐘 GrpcRouteRouteMatch.php
▶ Open 📄 View Source
🐘 GrpcRouteRouteRule.php
▶ Open 📄 View Source
🐘 GrpcRouteStatefulSessionAffinityPolicy.php
▶ Open 📄 View Source
🐘 HttpRoute.php
▶ Open 📄 View Source
🐘 HttpRouteCorsPolicy.php
▶ Open 📄 View Source
🐘 HttpRouteDestination.php
▶ Open 📄 View Source
🐘 HttpRouteFaultInjectionPolicy.php
▶ Open 📄 View Source
🐘 HttpRouteFaultInjectionPolicyAbort.php
▶ Open 📄 View Source
🐘 HttpRouteFaultInjectionPolicyDelay.php
▶ Open 📄 View Source
🐘 HttpRouteHeaderMatch.php
▶ Open 📄 View Source
🐘 HttpRouteHeaderMatchIntegerRange.php
▶ Open 📄 View Source
🐘 HttpRouteHeaderModifier.php
▶ Open 📄 View Source
🐘 HttpRouteHttpDirectResponse.php
▶ Open 📄 View Source
🐘 HttpRouteQueryParameterMatch.php
▶ Open 📄 View Source
🐘 HttpRouteRedirect.php
▶ Open 📄 View Source
🐘 HttpRouteRequestMirrorPolicy.php
▶ Open 📄 View Source
🐘 HttpRouteRetryPolicy.php
▶ Open 📄 View Source
🐘 HttpRouteRouteAction.php
▶ Open 📄 View Source
🐘 HttpRouteRouteMatch.php
▶ Open 📄 View Source
🐘 HttpRouteRouteRule.php
▶ Open 📄 View Source
🐘 HttpRouteStatefulSessionAffinityPolicy.php
▶ Open 📄 View Source
🐘 HttpRouteURLRewrite.php
▶ Open 📄 View Source
🐘 LbEdgeExtension.php
▶ Open 📄 View Source
🐘 LbRouteExtension.php
▶ Open 📄 View Source
🐘 LbTrafficExtension.php
▶ Open 📄 View Source
🐘 ListAuthzExtensionsResponse.php
▶ Open 📄 View Source
🐘 ListEndpointPoliciesResponse.php
▶ Open 📄 View Source
🐘 ListGatewayRouteViewsResponse.php
▶ Open 📄 View Source
🐘 ListGatewaysResponse.php
▶ Open 📄 View Source
🐘 ListGrpcRoutesResponse.php
▶ Open 📄 View Source
🐘 ListHttpRoutesResponse.php
▶ Open 📄 View Source
🐘 ListLbEdgeExtensionsResponse.php
▶ Open 📄 View Source
🐘 ListLbRouteExtensionsResponse.php
▶ Open 📄 View Source
🐘 ListLbTrafficExtensionsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMeshRouteViewsResponse.php
▶ Open 📄 View Source
🐘 ListMeshesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListServiceBindingsResponse.php
▶ Open 📄 View Source
🐘 ListServiceLbPoliciesResponse.php
▶ Open 📄 View Source
🐘 ListTcpRoutesResponse.php
▶ Open 📄 View Source
🐘 ListTlsRoutesResponse.php
▶ Open 📄 View Source
🐘 ListWasmPluginVersionsResponse.php
▶ Open 📄 View Source
🐘 ListWasmPluginsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LoggingConfig.php
▶ Open 📄 View Source
🐘 Mesh.php
▶ Open 📄 View Source
🐘 MeshRouteView.php
▶ Open 📄 View Source
🐘 NetworkservicesEmpty.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 RetryFilterPerRouteConfig.php
▶ Open 📄 View Source
🐘 ServiceBinding.php
▶ Open 📄 View Source
🐘 ServiceLbPolicy.php
▶ Open 📄 View Source
🐘 ServiceLbPolicyAutoCapacityDrain.php
▶ Open 📄 View Source
🐘 ServiceLbPolicyFailoverConfig.php
▶ Open 📄 View Source
🐘 ServiceLbPolicyIsolationConfig.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TcpRoute.php
▶ Open 📄 View Source
🐘 TcpRouteRouteAction.php
▶ Open 📄 View Source
🐘 TcpRouteRouteDestination.php
▶ Open 📄 View Source
🐘 TcpRouteRouteMatch.php
▶ Open 📄 View Source
🐘 TcpRouteRouteRule.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TlsRoute.php
▶ Open 📄 View Source
🐘 TlsRouteRouteAction.php
▶ Open 📄 View Source
🐘 TlsRouteRouteDestination.php
▶ Open 📄 View Source
🐘 TlsRouteRouteMatch.php
▶ Open 📄 View Source
🐘 TlsRouteRouteRule.php
▶ Open 📄 View Source
🐘 TrafficPortSelector.php
▶ Open 📄 View Source
🐘 WasmPlugin.php
▶ Open 📄 View Source
🐘 WasmPluginLogConfig.php
▶ Open 📄 View Source
🐘 WasmPluginUsedBy.php
▶ Open 📄 View Source
🐘 WasmPluginVersion.php
▶ Open 📄 View Source
🐘 WasmPluginVersionDetails.php
▶ Open 📄 View Source

📄 Source: HttpRouteHeaderMatch.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\NetworkServices;

class HttpRouteHeaderMatch extends \Google\Model
{
  /**
   * The value of the header should match exactly the content of exact_match.
   *
   * @var string
   */
  public $exactMatch;
  /**
   * The name of the HTTP header to match against.
   *
   * @var string
   */
  public $header;
  /**
   * If specified, the match result will be inverted before checking. Default
   * value is set to false.
   *
   * @var bool
   */
  public $invertMatch;
  /**
   * The value of the header must start with the contents of prefix_match.
   *
   * @var string
   */
  public $prefixMatch;
  /**
   * A header with header_name must exist. The match takes place whether or not
   * the header has a value.
   *
   * @var bool
   */
  public $presentMatch;
  protected $rangeMatchType = HttpRouteHeaderMatchIntegerRange::class;
  protected $rangeMatchDataType = '';
  /**
   * The value of the header must match the regular expression specified in
   * regex_match. For regular expression grammar, please see:
   * https://github.com/google/re2/wiki/Syntax
   *
   * @var string
   */
  public $regexMatch;
  /**
   * The value of the header must end with the contents of suffix_match.
   *
   * @var string
   */
  public $suffixMatch;

  /**
   * The value of the header should match exactly the content of exact_match.
   *
   * @param string $exactMatch
   */
  public function setExactMatch($exactMatch)
  {
    $this->exactMatch = $exactMatch;
  }
  /**
   * @return string
   */
  public function getExactMatch()
  {
    return $this->exactMatch;
  }
  /**
   * The name of the HTTP header to match against.
   *
   * @param string $header
   */
  public function setHeader($header)
  {
    $this->header = $header;
  }
  /**
   * @return string
   */
  public function getHeader()
  {
    return $this->header;
  }
  /**
   * If specified, the match result will be inverted before checking. Default
   * value is set to false.
   *
   * @param bool $invertMatch
   */
  public function setInvertMatch($invertMatch)
  {
    $this->invertMatch = $invertMatch;
  }
  /**
   * @return bool
   */
  public function getInvertMatch()
  {
    return $this->invertMatch;
  }
  /**
   * The value of the header must start with the contents of prefix_match.
   *
   * @param string $prefixMatch
   */
  public function setPrefixMatch($prefixMatch)
  {
    $this->prefixMatch = $prefixMatch;
  }
  /**
   * @return string
   */
  public function getPrefixMatch()
  {
    return $this->prefixMatch;
  }
  /**
   * A header with header_name must exist. The match takes place whether or not
   * the header has a value.
   *
   * @param bool $presentMatch
   */
  public function setPresentMatch($presentMatch)
  {
    $this->presentMatch = $presentMatch;
  }
  /**
   * @return bool
   */
  public function getPresentMatch()
  {
    return $this->presentMatch;
  }
  /**
   * If specified, the rule will match if the request header value is within the
   * range.
   *
   * @param HttpRouteHeaderMatchIntegerRange $rangeMatch
   */
  public function setRangeMatch(HttpRouteHeaderMatchIntegerRange $rangeMatch)
  {
    $this->rangeMatch = $rangeMatch;
  }
  /**
   * @return HttpRouteHeaderMatchIntegerRange
   */
  public function getRangeMatch()
  {
    return $this->rangeMatch;
  }
  /**
   * The value of the header must match the regular expression specified in
   * regex_match. For regular expression grammar, please see:
   * https://github.com/google/re2/wiki/Syntax
   *
   * @param string $regexMatch
   */
  public function setRegexMatch($regexMatch)
  {
    $this->regexMatch = $regexMatch;
  }
  /**
   * @return string
   */
  public function getRegexMatch()
  {
    return $this->regexMatch;
  }
  /**
   * The value of the header must end with the contents of suffix_match.
   *
   * @param string $suffixMatch
   */
  public function setSuffixMatch($suffixMatch)
  {
    $this->suffixMatch = $suffixMatch;
  }
  /**
   * @return string
   */
  public function getSuffixMatch()
  {
    return $this->suffixMatch;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpRouteHeaderMatch::class, 'Google_Service_NetworkServices_HttpRouteHeaderMatch');
← Back