Reference documentation and code samples for the Google Analytics Admin V1beta 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.v1beta.AccessQuota
Namespace
Google \ Analytics \ Admin \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ tokens_per_day |
AccessQuotaStatus
Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens. |
↳ tokens_per_hour |
AccessQuotaStatus
Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas. |
↳ concurrent_requests |
AccessQuotaStatus
Properties can use up to 50 concurrent requests. |
↳ server_errors_per_project_per_hour |
AccessQuotaStatus
Properties and cloud project pairs can have up to 50 server errors per hour. |
↳ tokens_per_project_per_hour |
AccessQuotaStatus
Properties can use up to 25% of their tokens per project per hour. This amounts to Analytics 360 Properties can use 12,500 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas. |
getTokensPerDay
Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens.
Returns | |
---|---|
Type | Description |
AccessQuotaStatus|null |
hasTokensPerDay
clearTokensPerDay
setTokensPerDay
Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens.
Parameter | |
---|---|
Name | Description |
var |
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 all of the hourly, daily, and per project hourly quotas.
Returns | |
---|---|
Type | Description |
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 all of the hourly, daily, and per project hourly quotas.
Parameter | |
---|---|
Name | Description |
var |
AccessQuotaStatus
|
Returns | |
---|---|
Type | Description |
$this |
getConcurrentRequests
Properties can use up to 50 concurrent requests.
Returns | |
---|---|
Type | Description |
AccessQuotaStatus|null |
hasConcurrentRequests
clearConcurrentRequests
setConcurrentRequests
Properties can use up to 50 concurrent requests.
Parameter | |
---|---|
Name | Description |
var |
AccessQuotaStatus
|
Returns | |
---|---|
Type | Description |
$this |
getServerErrorsPerProjectPerHour
Properties and cloud project pairs can have up to 50 server errors per hour.
Returns | |
---|---|
Type | Description |
AccessQuotaStatus|null |
hasServerErrorsPerProjectPerHour
clearServerErrorsPerProjectPerHour
setServerErrorsPerProjectPerHour
Properties and cloud project pairs can have up to 50 server errors per hour.
Parameter | |
---|---|
Name | Description |
var |
AccessQuotaStatus
|
Returns | |
---|---|
Type | Description |
$this |
getTokensPerProjectPerHour
Properties can use up to 25% of their tokens per project per hour. This amounts to Analytics 360 Properties can use 12,500 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas.
Returns | |
---|---|
Type | Description |
AccessQuotaStatus|null |
hasTokensPerProjectPerHour
clearTokensPerProjectPerHour
setTokensPerProjectPerHour
Properties can use up to 25% of their tokens per project per hour. This amounts to Analytics 360 Properties can use 12,500 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas.
Parameter | |
---|---|
Name | Description |
var |
AccessQuotaStatus
|
Returns | |
---|---|
Type | Description |
$this |