Class: Google::Apis::AnalyticsdataV1alpha::PropertyQuota
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::PropertyQuota
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/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::AnalyticsdataV1alpha::QuotaStatus
Current state for a particular quota group.
-
#server_errors_per_project_per_hour ⇒ Google::Apis::AnalyticsdataV1alpha::QuotaStatus
Current state for a particular quota group.
-
#tokens_per_day ⇒ Google::Apis::AnalyticsdataV1alpha::QuotaStatus
Current state for a particular quota group.
-
#tokens_per_hour ⇒ Google::Apis::AnalyticsdataV1alpha::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.
1200 1201 1202 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1200 def initialize(**args) update!(**args) end |
Instance Attribute Details
#concurrent_requests ⇒ Google::Apis::AnalyticsdataV1alpha::QuotaStatus
Current state for a particular quota group.
Corresponds to the JSON property concurrentRequests
1183 1184 1185 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1183 def concurrent_requests @concurrent_requests end |
#server_errors_per_project_per_hour ⇒ Google::Apis::AnalyticsdataV1alpha::QuotaStatus
Current state for a particular quota group.
Corresponds to the JSON property serverErrorsPerProjectPerHour
1188 1189 1190 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1188 def server_errors_per_project_per_hour @server_errors_per_project_per_hour end |
#tokens_per_day ⇒ Google::Apis::AnalyticsdataV1alpha::QuotaStatus
Current state for a particular quota group.
Corresponds to the JSON property tokensPerDay
1193 1194 1195 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1193 def tokens_per_day @tokens_per_day end |
#tokens_per_hour ⇒ Google::Apis::AnalyticsdataV1alpha::QuotaStatus
Current state for a particular quota group.
Corresponds to the JSON property tokensPerHour
1198 1199 1200 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1198 def tokens_per_hour @tokens_per_hour end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1205 1206 1207 1208 1209 1210 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 1205 def update!(**args) @concurrent_requests = args[:concurrent_requests] if args.key?(:concurrent_requests) @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) end |