Class: Google::Apis::AnalyticsdataV1beta::PropertyQuota
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::PropertyQuota
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#concurrent_requests ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
-
#potentially_thresholded_requests_per_hour ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
-
#server_errors_per_project_per_hour ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
-
#tokens_per_day ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
-
#tokens_per_hour ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
-
#tokens_per_project_per_hour ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PropertyQuota
constructor
A new instance of PropertyQuota.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PropertyQuota
Returns a new instance of PropertyQuota.
1434 1435 1436 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1434 def initialize(**args) update!(**args) end |
Instance Attribute Details
#concurrent_requests ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
Corresponds to the JSON property concurrentRequests
1407 1408 1409 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1407 def concurrent_requests @concurrent_requests end |
#potentially_thresholded_requests_per_hour ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
Corresponds to the JSON property potentiallyThresholdedRequestsPerHour
1412 1413 1414 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1412 def potentially_thresholded_requests_per_hour @potentially_thresholded_requests_per_hour end |
#server_errors_per_project_per_hour ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
Corresponds to the JSON property serverErrorsPerProjectPerHour
1417 1418 1419 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1417 def server_errors_per_project_per_hour @server_errors_per_project_per_hour end |
#tokens_per_day ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
Corresponds to the JSON property tokensPerDay
1422 1423 1424 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1422 def tokens_per_day @tokens_per_day end |
#tokens_per_hour ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
Corresponds to the JSON property tokensPerHour
1427 1428 1429 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1427 def tokens_per_hour @tokens_per_hour end |
#tokens_per_project_per_hour ⇒ Google::Apis::AnalyticsdataV1beta::QuotaStatus
Current state for a particular quota group.
Corresponds to the JSON property tokensPerProjectPerHour
1432 1433 1434 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1432 def tokens_per_project_per_hour @tokens_per_project_per_hour end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1439 1440 1441 1442 1443 1444 1445 1446 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1439 def update!(**args) @concurrent_requests = args[:concurrent_requests] if args.key?(:concurrent_requests) @potentially_thresholded_requests_per_hour = args[:potentially_thresholded_requests_per_hour] if args.key?(:potentially_thresholded_requests_per_hour) @server_errors_per_project_per_hour = args[:server_errors_per_project_per_hour] if args.key?(:server_errors_per_project_per_hour) @tokens_per_day = args[:tokens_per_day] if args.key?(:tokens_per_day) @tokens_per_hour = args[:tokens_per_hour] if args.key?(:tokens_per_hour) @tokens_per_project_per_hour = args[:tokens_per_project_per_hour] if args.key?(:tokens_per_project_per_hour) end |