googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsData
/
src
/
V1alpha
/
QuotaStatus.php
googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsData
/
src
/
V1alpha
Last commit date
CohortsRange
3 years ago
DimensionExpression
3 years ago
Filter
3 years ago
Gapic
3 years ago
OrderBy
3 years ago
resources
3 years ago
AlphaAnalyticsDataClient.php
3 years ago
AlphaAnalyticsDataGrpcClient.php
3 years ago
BatchRunPivotReportsRequest.php
3 years ago
BatchRunPivotReportsResponse.php
3 years ago
BatchRunReportsRequest.php
3 years ago
BatchRunReportsResponse.php
3 years ago
Cohort.php
3 years ago
CohortReportSettings.php
3 years ago
CohortSpec.php
3 years ago
CohortsRange.php
3 years ago
DateRange.php
3 years ago
Dimension.php
3 years ago
DimensionExpression.php
3 years ago
DimensionHeader.php
3 years ago
DimensionMetadata.php
3 years ago
DimensionValue.php
3 years ago
Entity.php
3 years ago
Filter.php
3 years ago
FilterExpression.php
3 years ago
FilterExpressionList.php
3 years ago
GetMetadataRequest.php
3 years ago
Metadata.php
3 years ago
Metric.php
3 years ago
MetricAggregation.php
3 years ago
MetricHeader.php
3 years ago
MetricMetadata.php
3 years ago
MetricType.php
3 years ago
MetricValue.php
3 years ago
NumericValue.php
3 years ago
OrderBy.php
3 years ago
Pivot.php
3 years ago
PivotDimensionHeader.php
3 years ago
PivotHeader.php
3 years ago
PropertyQuota.php
3 years ago
QuotaStatus.php
3 years ago
ResponseMetaData.php
3 years ago
Row.php
3 years ago
RunPivotReportRequest.php
3 years ago
RunPivotReportResponse.php
3 years ago
RunRealtimeReportRequest.php
3 years ago
RunRealtimeReportResponse.php
3 years ago
RunReportRequest.php
3 years ago
RunReportResponse.php
3 years ago
gapic_metadata.json
3 years ago
QuotaStatus.php
102 lines
| 1 | <?php |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: google/analytics/data/v1alpha/data.proto |
| 4 | |
| 5 | namespace Google\Analytics\Data\V1alpha; |
| 6 | |
| 7 | use Google\Protobuf\Internal\GPBType; |
| 8 | use Google\Protobuf\Internal\RepeatedField; |
| 9 | use Google\Protobuf\Internal\GPBUtil; |
| 10 | |
| 11 | /** |
| 12 | * Current state for a particular quota group. |
| 13 | * |
| 14 | * Generated from protobuf message <code>google.analytics.data.v1alpha.QuotaStatus</code> |
| 15 | */ |
| 16 | class QuotaStatus extends \Google\Protobuf\Internal\Message |
| 17 | { |
| 18 | /** |
| 19 | * Quota consumed by this request. |
| 20 | * |
| 21 | * Generated from protobuf field <code>int32 consumed = 1;</code> |
| 22 | */ |
| 23 | private $consumed = 0; |
| 24 | /** |
| 25 | * Quota remaining after this request. |
| 26 | * |
| 27 | * Generated from protobuf field <code>int32 remaining = 2;</code> |
| 28 | */ |
| 29 | private $remaining = 0; |
| 30 | |
| 31 | /** |
| 32 | * Constructor. |
| 33 | * |
| 34 | * @param array $data { |
| 35 | * Optional. Data for populating the Message object. |
| 36 | * |
| 37 | * @type int $consumed |
| 38 | * Quota consumed by this request. |
| 39 | * @type int $remaining |
| 40 | * Quota remaining after this request. |
| 41 | * } |
| 42 | */ |
| 43 | public function __construct($data = NULL) { |
| 44 | \GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); |
| 45 | parent::__construct($data); |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Quota consumed by this request. |
| 50 | * |
| 51 | * Generated from protobuf field <code>int32 consumed = 1;</code> |
| 52 | * @return int |
| 53 | */ |
| 54 | public function getConsumed() |
| 55 | { |
| 56 | return $this->consumed; |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * Quota consumed by this request. |
| 61 | * |
| 62 | * Generated from protobuf field <code>int32 consumed = 1;</code> |
| 63 | * @param int $var |
| 64 | * @return $this |
| 65 | */ |
| 66 | public function setConsumed($var) |
| 67 | { |
| 68 | GPBUtil::checkInt32($var); |
| 69 | $this->consumed = $var; |
| 70 | |
| 71 | return $this; |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Quota remaining after this request. |
| 76 | * |
| 77 | * Generated from protobuf field <code>int32 remaining = 2;</code> |
| 78 | * @return int |
| 79 | */ |
| 80 | public function getRemaining() |
| 81 | { |
| 82 | return $this->remaining; |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * Quota remaining after this request. |
| 87 | * |
| 88 | * Generated from protobuf field <code>int32 remaining = 2;</code> |
| 89 | * @param int $var |
| 90 | * @return $this |
| 91 | */ |
| 92 | public function setRemaining($var) |
| 93 | { |
| 94 | GPBUtil::checkInt32($var); |
| 95 | $this->remaining = $var; |
| 96 | |
| 97 | return $this; |
| 98 | } |
| 99 | |
| 100 | } |
| 101 | |
| 102 |