Reference documentation and code samples for the Google Analytics Admin V1alpha Client class AccessQuota.
Current state of all quotas for this Analytics property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors.
Generated from protobuf message google.analytics.admin.v1alpha.AccessQuota
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ tokens_per_day |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus
Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens. |
↳ tokens_per_hour |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus
Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas. |
↳ concurrent_requests |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus
Properties can use up to 50 concurrent requests. |
↳ server_errors_per_project_per_hour |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus
Properties and cloud project pairs can have up to 50 server errors per hour. |
getTokensPerDay
Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens.
Returns | |
---|---|
Type | Description |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null |
hasTokensPerDay
clearTokensPerDay
setTokensPerDay
Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens.
Parameter | |
---|---|
Name | Description |
var |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus
|
Returns | |
---|---|
Type | Description |
$this |
getTokensPerHour
Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas.
Returns | |
---|---|
Type | Description |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null |
hasTokensPerHour
clearTokensPerHour
setTokensPerHour
Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas.
Parameter | |
---|---|
Name | Description |
var |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus
|
Returns | |
---|---|
Type | Description |
$this |
getConcurrentRequests
Properties can use up to 50 concurrent requests.
Returns | |
---|---|
Type | Description |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null |
hasConcurrentRequests
clearConcurrentRequests
setConcurrentRequests
Properties can use up to 50 concurrent requests.
Parameter | |
---|---|
Name | Description |
var |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus
|
Returns | |
---|---|
Type | Description |
$this |
getServerErrorsPerProjectPerHour
Properties and cloud project pairs can have up to 50 server errors per hour.
Returns | |
---|---|
Type | Description |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null |
hasServerErrorsPerProjectPerHour
clearServerErrorsPerProjectPerHour
setServerErrorsPerProjectPerHour
Properties and cloud project pairs can have up to 50 server errors per hour.
Parameter | |
---|---|
Name | Description |
var |
Google\Analytics\Admin\V1alpha\AccessQuotaStatus
|
Returns | |
---|---|
Type | Description |
$this |