← All changes
|
includes/sdk/google/google/common-protos/src/Api/MetricRule.php
+7
-7
1.2.12
→
1.4.2
View file →
| @@ -1,13 +1,13 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 4 | 4 | # source: google/api/quota.proto |
| 5 | -namespace Dudlewebs\WPMCS\Google\Api; | |
| 5 | +namespace Dudlewebs\WPMCS\GCP\Google\Api; | |
| 6 | 6 | |
| 7 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType; | |
| 8 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\RepeatedField; | |
| 9 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBUtil; | |
| 7 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType; | |
| 8 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBUtil; | |
| 9 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\RepeatedField; | |
| 10 | 10 | /** |
| 11 | 11 | * Bind API methods to metrics. Binding a method to a metric causes that |
| 12 | 12 | * metric's configured quota behaviors to apply to the method call. |
| 13 | 13 | * |
| @@ -12,9 +12,9 @@ | ||
| 12 | 12 | * metric's configured quota behaviors to apply to the method call. |
| 13 | 13 | * |
| 14 | 14 | * Generated from protobuf message <code>google.api.MetricRule</code> |
| 15 | 15 | */ |
| 16 | -class MetricRule extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message | |
| 16 | +class MetricRule extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message | |
| 17 | 17 | { |
| 18 | 18 | /** |
| 19 | 19 | * Selects the methods to which this rule applies. |
| 20 | 20 | * Refer to [selector][google.api.DocumentationRule.selector] for syntax |
| @@ -52,9 +52,9 @@ | ||
| 52 | 52 | * } |
| 53 | 53 | */ |
| 54 | 54 | public function __construct($data = NULL) |
| 55 | 55 | { |
| 56 | - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Quota::initOnce(); | |
| 56 | + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Quota::initOnce(); | |
| 57 | 57 | parent::__construct($data); |
| 58 | 58 | } |
| 59 | 59 | /** |
| 60 | 60 | * Selects the methods to which this rule applies. |
| @@ -109,9 +109,9 @@ | ||
| 109 | 109 | * @return $this |
| 110 | 110 | */ |
| 111 | 111 | public function setMetricCosts($var) |
| 112 | 112 | { |
| 113 | - $arr = GPBUtil::checkMapField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::INT64); | |
| 113 | + $arr = GPBUtil::checkMapField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::INT64); | |
| 114 | 114 | $this->metric_costs = $arr; |
| 115 | 115 | return $this; |
| 116 | 116 | } |
| 117 | 117 | } |