404

[ Avaa Bypassed ]




Upload:

Command:

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

namespace Google\Api;

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

/**
 * Quota configuration helps to achieve fairness and budgeting in service
 * usage.
 * The quota configuration works this way:
 * - The service configuration defines a set of metrics.
 * - For API calls, the quota.metric_rules maps methods to metrics with
 *   corresponding costs.
 * - The quota.limits defines limits on the metrics, which will be used for
 *   quota checks at runtime.
 * An example quota configuration in yaml format:
 *    quota:
 *      limits:
 *      - name: apiWriteQpsPerProject
 *        metric: library.googleapis.com/write_calls
 *        unit: "1/min/{project}"  # rate limit for consumer projects
 *        values:
 *          STANDARD: 10000
 *      # The metric rules bind all methods to the read_calls metric,
 *      # except for the UpdateBook and DeleteBook methods. These two methods
 *      # are mapped to the write_calls metric, with the UpdateBook method
 *      # consuming at twice rate as the DeleteBook method.
 *      metric_rules:
 *      - selector: "*"
 *        metric_costs:
 *          library.googleapis.com/read_calls: 1
 *      - selector: google.example.library.v1.LibraryService.UpdateBook
 *        metric_costs:
 *          library.googleapis.com/write_calls: 2
 *      - selector: google.example.library.v1.LibraryService.DeleteBook
 *        metric_costs:
 *          library.googleapis.com/write_calls: 1
 *  Corresponding Metric definition:
 *      metrics:
 *      - name: library.googleapis.com/read_calls
 *        display_name: Read requests
 *        metric_kind: DELTA
 *        value_type: INT64
 *      - name: library.googleapis.com/write_calls
 *        display_name: Write requests
 *        metric_kind: DELTA
 *        value_type: INT64
 *
 * Generated from protobuf message <code>google.api.Quota</code>
 */
class Quota extends \Google\Protobuf\Internal\Message
{
    /**
     * List of `QuotaLimit` definitions for the service.
     * Used by metric-based quotas only.
     *
     * Generated from protobuf field <code>repeated .google.api.QuotaLimit limits = 3;</code>
     */
    private $limits;
    /**
     * List of `MetricRule` definitions, each one mapping a selected method to one
     * or more metrics.
     * Used by metric-based quotas only.
     *
     * Generated from protobuf field <code>repeated .google.api.MetricRule metric_rules = 4;</code>
     */
    private $metric_rules;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Api\QuotaLimit[]|\Google\Protobuf\Internal\RepeatedField $limits
     *           List of `QuotaLimit` definitions for the service.
     *           Used by metric-based quotas only.
     *     @type \Google\Api\MetricRule[]|\Google\Protobuf\Internal\RepeatedField $metric_rules
     *           List of `MetricRule` definitions, each one mapping a selected method to one
     *           or more metrics.
     *           Used by metric-based quotas only.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Api\Quota::initOnce();
        parent::__construct($data);
    }

    /**
     * List of `QuotaLimit` definitions for the service.
     * Used by metric-based quotas only.
     *
     * Generated from protobuf field <code>repeated .google.api.QuotaLimit limits = 3;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getLimits()
    {
        return $this->limits;
    }

    /**
     * List of `QuotaLimit` definitions for the service.
     * Used by metric-based quotas only.
     *
     * Generated from protobuf field <code>repeated .google.api.QuotaLimit limits = 3;</code>
     * @param \Google\Api\QuotaLimit[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setLimits($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\QuotaLimit::class);
        $this->limits = $arr;

        return $this;
    }

    /**
     * List of `MetricRule` definitions, each one mapping a selected method to one
     * or more metrics.
     * Used by metric-based quotas only.
     *
     * Generated from protobuf field <code>repeated .google.api.MetricRule metric_rules = 4;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getMetricRules()
    {
        return $this->metric_rules;
    }

    /**
     * List of `MetricRule` definitions, each one mapping a selected method to one
     * or more metrics.
     * Used by metric-based quotas only.
     *
     * Generated from protobuf field <code>repeated .google.api.MetricRule metric_rules = 4;</code>
     * @param \Google\Api\MetricRule[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setMetricRules($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\MetricRule::class);
        $this->metric_rules = $arr;

        return $this;
    }

}


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