404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.220.241.63: ~ $
<?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;

/**
 * Bind API methods to metrics. Binding a method to a metric causes that
 * metric's configured quota, billing, and monitoring behaviors to apply to the
 * method call.
 * Used by metric-based quotas only.
 *
 * Generated from protobuf message <code>google.api.MetricRule</code>
 */
class MetricRule 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 = '';
    /**
     * Metrics to update when the selected methods are called, and the associated
     * cost applied to each metric.
     * The key of the map is the metric name, and the values are the amount
     * increased for the metric against which the quota limits are defined.
     * The value must not be negative.
     *
     * Generated from protobuf field <code>map<string, int64> metric_costs = 2;</code>
     */
    private $metric_costs;

    /**
     * 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 array|\Google\Protobuf\Internal\MapField $metric_costs
     *           Metrics to update when the selected methods are called, and the associated
     *           cost applied to each metric.
     *           The key of the map is the metric name, and the values are the amount
     *           increased for the metric against which the quota limits are defined.
     *           The value must not be negative.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Api\Quota::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;
    }

    /**
     * Metrics to update when the selected methods are called, and the associated
     * cost applied to each metric.
     * The key of the map is the metric name, and the values are the amount
     * increased for the metric against which the quota limits are defined.
     * The value must not be negative.
     *
     * Generated from protobuf field <code>map<string, int64> metric_costs = 2;</code>
     * @return \Google\Protobuf\Internal\MapField
     */
    public function getMetricCosts()
    {
        return $this->metric_costs;
    }

    /**
     * Metrics to update when the selected methods are called, and the associated
     * cost applied to each metric.
     * The key of the map is the metric name, and the values are the amount
     * increased for the metric against which the quota limits are defined.
     * The value must not be negative.
     *
     * Generated from protobuf field <code>map<string, int64> metric_costs = 2;</code>
     * @param array|\Google\Protobuf\Internal\MapField $var
     * @return $this
     */
    public function setMetricCosts($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::INT64);
        $this->metric_costs = $arr;

        return $this;
    }

}


Filemanager

Name Type Size Permission Actions
BackendRule Folder 0755
Billing Folder 0755
Distribution Folder 0755
Expr Folder 0755
LabelDescriptor Folder 0755
Logging Folder 0755
MetricDescriptor Folder 0755
Monitoring Folder 0755
Property Folder 0755
ResourceDescriptor Folder 0755
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