📄 Source: GoogleRE2.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\TrafficDirectorService;
class GoogleRE2 extends \Google\Model
{
/**
* This field controls the RE2 "program size" which is a rough estimate of how
* complex a compiled regex is to evaluate. A regex that has a program size
* greater than the configured value will fail to compile. In this case, the
* configured max program size can be increased or the regex can be
* simplified. If not specified, the default is 100. This field is deprecated;
* regexp validation should be performed on the management server instead of
* being done by each individual client. .. note:: Although this field is
* deprecated, the program size will still be checked against the global
* ``re2.max_program_size.error_level`` runtime value.
*
* @deprecated
* @var string
*/
public $maxProgramSize;
/**
* This field controls the RE2 "program size" which is a rough estimate of how
* complex a compiled regex is to evaluate. A regex that has a program size
* greater than the configured value will fail to compile. In this case, the
* configured max program size can be increased or the regex can be
* simplified. If not specified, the default is 100. This field is deprecated;
* regexp validation should be performed on the management server instead of
* being done by each individual client. .. note:: Although this field is
* deprecated, the program size will still be checked against the global
* ``re2.max_program_size.error_level`` runtime value.
*
* @deprecated
* @param string $maxProgramSize
*/
public function setMaxProgramSize($maxProgramSize)
{
$this->maxProgramSize = $maxProgramSize;
}
/**
* @deprecated
* @return string
*/
public function getMaxProgramSize()
{
return $this->maxProgramSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleRE2::class, 'Google_Service_TrafficDirectorService_GoogleRE2');
← Back