404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.117.154.75: ~ $
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/backend.proto

namespace Google\Api;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * A backend rule provides configuration for an individual API element.
 *
 * Generated from protobuf message <code>google.api.BackendRule</code>
 */
class BackendRule extends \Google\Protobuf\Internal\Message
{
    /**
     * Selects the methods to which this rule applies.
     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
     *
     * Generated from protobuf field <code>string selector = 1;</code>
     */
    private $selector = '';
    /**
     * The address of the API backend.
     *
     * Generated from protobuf field <code>string address = 2;</code>
     */
    private $address = '';
    /**
     * The number of seconds to wait for a response from a request. The default
     * varies based on the request protocol and deployment environment.
     *
     * Generated from protobuf field <code>double deadline = 3;</code>
     */
    private $deadline = 0.0;
    /**
     * Minimum deadline in seconds needed for this method. Calls having deadline
     * value lower than this will be rejected.
     *
     * Generated from protobuf field <code>double min_deadline = 4;</code>
     */
    private $min_deadline = 0.0;
    /**
     * The number of seconds to wait for the completion of a long running
     * operation. The default is no deadline.
     *
     * Generated from protobuf field <code>double operation_deadline = 5;</code>
     */
    private $operation_deadline = 0.0;
    /**
     * Generated from protobuf field <code>.google.api.BackendRule.PathTranslation path_translation = 6;</code>
     */
    private $path_translation = 0;
    protected $authentication;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $selector
     *           Selects the methods to which this rule applies.
     *           Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
     *     @type string $address
     *           The address of the API backend.
     *     @type float $deadline
     *           The number of seconds to wait for a response from a request. The default
     *           varies based on the request protocol and deployment environment.
     *     @type float $min_deadline
     *           Minimum deadline in seconds needed for this method. Calls having deadline
     *           value lower than this will be rejected.
     *     @type float $operation_deadline
     *           The number of seconds to wait for the completion of a long running
     *           operation. The default is no deadline.
     *     @type int $path_translation
     *     @type string $jwt_audience
     *           The JWT audience is used when generating a JWT ID token for the backend.
     *           This ID token will be added in the HTTP "authorization" header, and sent
     *           to the backend.
     *     @type bool $disable_auth
     *           When disable_auth is false,  a JWT ID token will be generated with the
     *           value from [BackendRule.address][google.api.BackendRule.address] as jwt_audience, overrode to the HTTP
     *           "Authorization" request header and sent to the backend.
     *           When disable_auth is true, a JWT ID token won't be generated and the
     *           original "Authorization" HTTP header will be preserved. If the header is
     *           used to carry the original token and is expected by the backend, this
     *           field must be set to true to preserve the header.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Api\Backend::initOnce();
        parent::__construct($data);
    }

    /**
     * Selects the methods to which this rule applies.
     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
     *
     * Generated from protobuf field <code>string selector = 1;</code>
     * @return string
     */
    public function getSelector()
    {
        return $this->selector;
    }

    /**
     * Selects the methods to which this rule applies.
     * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
     *
     * Generated from protobuf field <code>string selector = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setSelector($var)
    {
        GPBUtil::checkString($var, True);
        $this->selector = $var;

        return $this;
    }

    /**
     * The address of the API backend.
     *
     * Generated from protobuf field <code>string address = 2;</code>
     * @return string
     */
    public function getAddress()
    {
        return $this->address;
    }

    /**
     * The address of the API backend.
     *
     * Generated from protobuf field <code>string address = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setAddress($var)
    {
        GPBUtil::checkString($var, True);
        $this->address = $var;

        return $this;
    }

    /**
     * The number of seconds to wait for a response from a request. The default
     * varies based on the request protocol and deployment environment.
     *
     * Generated from protobuf field <code>double deadline = 3;</code>
     * @return float
     */
    public function getDeadline()
    {
        return $this->deadline;
    }

    /**
     * The number of seconds to wait for a response from a request. The default
     * varies based on the request protocol and deployment environment.
     *
     * Generated from protobuf field <code>double deadline = 3;</code>
     * @param float $var
     * @return $this
     */
    public function setDeadline($var)
    {
        GPBUtil::checkDouble($var);
        $this->deadline = $var;

        return $this;
    }

    /**
     * Minimum deadline in seconds needed for this method. Calls having deadline
     * value lower than this will be rejected.
     *
     * Generated from protobuf field <code>double min_deadline = 4;</code>
     * @return float
     */
    public function getMinDeadline()
    {
        return $this->min_deadline;
    }

    /**
     * Minimum deadline in seconds needed for this method. Calls having deadline
     * value lower than this will be rejected.
     *
     * Generated from protobuf field <code>double min_deadline = 4;</code>
     * @param float $var
     * @return $this
     */
    public function setMinDeadline($var)
    {
        GPBUtil::checkDouble($var);
        $this->min_deadline = $var;

        return $this;
    }

    /**
     * The number of seconds to wait for the completion of a long running
     * operation. The default is no deadline.
     *
     * Generated from protobuf field <code>double operation_deadline = 5;</code>
     * @return float
     */
    public function getOperationDeadline()
    {
        return $this->operation_deadline;
    }

    /**
     * The number of seconds to wait for the completion of a long running
     * operation. The default is no deadline.
     *
     * Generated from protobuf field <code>double operation_deadline = 5;</code>
     * @param float $var
     * @return $this
     */
    public function setOperationDeadline($var)
    {
        GPBUtil::checkDouble($var);
        $this->operation_deadline = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.google.api.BackendRule.PathTranslation path_translation = 6;</code>
     * @return int
     */
    public function getPathTranslation()
    {
        return $this->path_translation;
    }

    /**
     * Generated from protobuf field <code>.google.api.BackendRule.PathTranslation path_translation = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setPathTranslation($var)
    {
        GPBUtil::checkEnum($var, \Google\Api\BackendRule_PathTranslation::class);
        $this->path_translation = $var;

        return $this;
    }

    /**
     * The JWT audience is used when generating a JWT ID token for the backend.
     * This ID token will be added in the HTTP "authorization" header, and sent
     * to the backend.
     *
     * Generated from protobuf field <code>string jwt_audience = 7;</code>
     * @return string
     */
    public function getJwtAudience()
    {
        return $this->readOneof(7);
    }

    /**
     * The JWT audience is used when generating a JWT ID token for the backend.
     * This ID token will be added in the HTTP "authorization" header, and sent
     * to the backend.
     *
     * Generated from protobuf field <code>string jwt_audience = 7;</code>
     * @param string $var
     * @return $this
     */
    public function setJwtAudience($var)
    {
        GPBUtil::checkString($var, True);
        $this->writeOneof(7, $var);

        return $this;
    }

    /**
     * When disable_auth is false,  a JWT ID token will be generated with the
     * value from [BackendRule.address][google.api.BackendRule.address] as jwt_audience, overrode to the HTTP
     * "Authorization" request header and sent to the backend.
     * When disable_auth is true, a JWT ID token won't be generated and the
     * original "Authorization" HTTP header will be preserved. If the header is
     * used to carry the original token and is expected by the backend, this
     * field must be set to true to preserve the header.
     *
     * Generated from protobuf field <code>bool disable_auth = 8;</code>
     * @return bool
     */
    public function getDisableAuth()
    {
        return $this->readOneof(8);
    }

    /**
     * When disable_auth is false,  a JWT ID token will be generated with the
     * value from [BackendRule.address][google.api.BackendRule.address] as jwt_audience, overrode to the HTTP
     * "Authorization" request header and sent to the backend.
     * When disable_auth is true, a JWT ID token won't be generated and the
     * original "Authorization" HTTP header will be preserved. If the header is
     * used to carry the original token and is expected by the backend, this
     * field must be set to true to preserve the header.
     *
     * Generated from protobuf field <code>bool disable_auth = 8;</code>
     * @param bool $var
     * @return $this
     */
    public function setDisableAuth($var)
    {
        GPBUtil::checkBool($var);
        $this->writeOneof(8, $var);

        return $this;
    }

    /**
     * @return string
     */
    public function getAuthentication()
    {
        return $this->whichOneof("authentication");
    }

}


Filemanager

Name Type Size Permission Actions
BackendRule Folder 2755
Billing Folder 2755
Distribution Folder 2755
Expr Folder 2755
LabelDescriptor Folder 2755
Logging Folder 2755
MetricDescriptor Folder 2755
Monitoring Folder 2755
Property Folder 2755
ResourceDescriptor Folder 2755
Advice.php File 1.97 KB 0644
AuthProvider.php File 11.57 KB 0644
AuthRequirement.php File 6.24 KB 0644
Authentication.php File 3.93 KB 0644
AuthenticationRule.php File 5.47 KB 0644
Backend.php File 2.23 KB 0644
BackendRule.php File 10.54 KB 0644
BackendRule_PathTranslation.php File 540 B 0644
Billing.php File 3.57 KB 0644
Billing_BillingDestination.php File 535 B 0644
ChangeType.php File 1.96 KB 0644
ConfigChange.php File 8.64 KB 0644
Context.php File 2.62 KB 0644
ContextRule.php File 4.04 KB 0644
Control.php File 2.01 KB 0644
CustomHttpPattern.php File 2.27 KB 0644
Distribution.php File 14.62 KB 0644
Distribution_BucketOptions.php File 540 B 0644
Distribution_BucketOptions_Explicit.php File 585 B 0644
Distribution_BucketOptions_Exponential.php File 600 B 0644
Distribution_BucketOptions_Linear.php File 575 B 0644
Distribution_Exemplar.php File 515 B 0644
Distribution_Range.php File 500 B 0644
Documentation.php File 10.3 KB 0644
DocumentationRule.php File 5.14 KB 0644
Endpoint.php File 9.03 KB 0644
FieldBehavior.php File 3.19 KB 0644
Http.php File 4.35 KB 0644
HttpBody.php File 5.03 KB 0644
HttpRule.php File 19.88 KB 0644
LabelDescriptor.php File 3.24 KB 0644
LabelDescriptor_ValueType.php File 528 B 0644
LaunchStage.php File 3.72 KB 0644
LogDescriptor.php File 6.62 KB 0644
Logging.php File 5.94 KB 0644
Logging_LoggingDestination.php File 535 B 0644
Metric.php File 3.43 KB 0644
MetricDescriptor.php File 32.77 KB 0644
MetricDescriptor_MetricDescriptorMetadata.php File 609 B 0644
MetricDescriptor_MetricKind.php File 539 B 0644
MetricDescriptor_ValueType.php File 534 B 0644
MetricRule.php File 4.18 KB 0644
MonitoredResource.php File 4.86 KB 0644
MonitoredResourceDescriptor.php File 9.68 KB 0644
MonitoredResourceMetadata.php File 5.37 KB 0644
Monitoring.php File 6.48 KB 0644
Monitoring_MonitoringDestination.php File 568 B 0644
OAuthRequirements.php File 3.62 KB 0644
Page.php File 6.68 KB 0644
ProjectProperties.php File 2.54 KB 0644
Property.php File 3.56 KB 0644
Property_PropertyType.php File 511 B 0644
Quota.php File 5.19 KB 0644
QuotaLimit.php File 34.64 KB 0644
ResourceDescriptor.php File 19.52 KB 0644
ResourceDescriptor_History.php File 536 B 0644
ResourceReference.php File 4.72 KB 0644
RoutingParameter.php File 12.94 KB 0644
RoutingRule.php File 13.58 KB 0644
Service.php File 33.7 KB 0644
SourceInfo.php File 1.87 KB 0644
SystemParameter.php File 3.95 KB 0644
SystemParameterRule.php File 4.41 KB 0644
SystemParameters.php File 5.93 KB 0644
Usage.php File 6.66 KB 0644
UsageRule.php File 6.03 KB 0644