← All changes
|
includes/sdk/google/google/common-protos/src/Api/Billing.php
+10
-10
1.2.4
→
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/billing.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 | * Billing related configuration of the service. |
| 12 | 12 | * The following example shows how to configure monitored resources and metrics |
| 13 | 13 | * for billing, `consumer_destinations` is the only supported destination and |
| @@ -39,9 +39,9 @@ | ||
| 39 | 39 | * - library.googleapis.com/book/borrowed_count |
| 40 | 40 | * |
| 41 | 41 | * Generated from protobuf message <code>google.api.Billing</code> |
| 42 | 42 | */ |
| 43 | -class Billing extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message | |
| 43 | +class Billing extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message | |
| 44 | 44 | { |
| 45 | 45 | /** |
| 46 | 46 | * Billing configurations for sending metrics to the consumer project. |
| 47 | 47 | * There can be multiple consumer destinations per service, each one must have |
| @@ -56,9 +56,9 @@ | ||
| 56 | 56 | * |
| 57 | 57 | * @param array $data { |
| 58 | 58 | * Optional. Data for populating the Message object. |
| 59 | 59 | * |
| 60 | - * @type array<\Google\Api\Billing\BillingDestination>|\Google\Protobuf\Internal\RepeatedField $consumer_destinations | |
| 60 | + * @type \Google\Api\Billing\BillingDestination[] $consumer_destinations | |
| 61 | 61 | * Billing configurations for sending metrics to the consumer project. |
| 62 | 62 | * There can be multiple consumer destinations per service, each one must have |
| 63 | 63 | * a different monitored resource type. A metric can be used in at most |
| 64 | 64 | * one consumer destination. |
| @@ -65,9 +65,9 @@ | ||
| 65 | 65 | * } |
| 66 | 66 | */ |
| 67 | 67 | public function __construct($data = NULL) |
| 68 | 68 | { |
| 69 | - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Billing::initOnce(); | |
| 69 | + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Billing::initOnce(); | |
| 70 | 70 | parent::__construct($data); |
| 71 | 71 | } |
| 72 | 72 | /** |
| 73 | 73 | * Billing configurations for sending metrics to the consumer project. |
| @@ -75,9 +75,9 @@ | ||
| 75 | 75 | * a different monitored resource type. A metric can be used in at most |
| 76 | 76 | * one consumer destination. |
| 77 | 77 | * |
| 78 | 78 | * Generated from protobuf field <code>repeated .google.api.Billing.BillingDestination consumer_destinations = 8;</code> |
| 79 | - * @return \Google\Protobuf\Internal\RepeatedField | |
| 79 | + * @return RepeatedField<\Google\Api\Billing\BillingDestination> | |
| 80 | 80 | */ |
| 81 | 81 | public function getConsumerDestinations() |
| 82 | 82 | { |
| 83 | 83 | return $this->consumer_destinations; |
| @@ -88,14 +88,14 @@ | ||
| 88 | 88 | * a different monitored resource type. A metric can be used in at most |
| 89 | 89 | * one consumer destination. |
| 90 | 90 | * |
| 91 | 91 | * Generated from protobuf field <code>repeated .google.api.Billing.BillingDestination consumer_destinations = 8;</code> |
| 92 | - * @param array<\Google\Api\Billing\BillingDestination>|\Google\Protobuf\Internal\RepeatedField $var | |
| 92 | + * @param \Google\Api\Billing\BillingDestination[] $var | |
| 93 | 93 | * @return $this |
| 94 | 94 | */ |
| 95 | 95 | public function setConsumerDestinations($var) |
| 96 | 96 | { |
| 97 | - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\Billing\BillingDestination::class); | |
| 97 | + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\Billing\BillingDestination::class); | |
| 98 | 98 | $this->consumer_destinations = $arr; |
| 99 | 99 | return $this; |
| 100 | 100 | } |
| 101 | 101 | } |