Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusStats
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
Stats for the requested dimensions: QPS, duration, and error/warning rate
Instance Attribute Summary collapse
-
#dimensions ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusStatsDimensions
Dimensions that these stats have been aggregated on.
-
#duration_in_seconds ⇒ Float
Average duration in seconds.
-
#error_rate ⇒ Float
Average error rate.
-
#qps ⇒ Float
Queries per second.
-
#warning_rate ⇒ Float
Average warning rate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusStats
constructor
A new instance of EnterpriseCrmEventbusStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusStats
Returns a new instance of EnterpriseCrmEventbusStats.
3316 3317 3318 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimensions ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusStatsDimensions
Dimensions that these stats have been aggregated on.
Corresponds to the JSON property dimensions
3294 3295 3296 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3294 def dimensions @dimensions end |
#duration_in_seconds ⇒ Float
Average duration in seconds.
Corresponds to the JSON property durationInSeconds
3299 3300 3301 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3299 def duration_in_seconds @duration_in_seconds end |
#error_rate ⇒ Float
Average error rate.
Corresponds to the JSON property errorRate
3304 3305 3306 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3304 def error_rate @error_rate end |
#qps ⇒ Float
Queries per second.
Corresponds to the JSON property qps
3309 3310 3311 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3309 def qps @qps end |
#warning_rate ⇒ Float
Average warning rate.
Corresponds to the JSON property warningRate
3314 3315 3316 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3314 def warning_rate @warning_rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3321 3322 3323 3324 3325 3326 3327 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3321 def update!(**args) @dimensions = args[:dimensions] if args.key?(:dimensions) @duration_in_seconds = args[:duration_in_seconds] if args.key?(:duration_in_seconds) @error_rate = args[:error_rate] if args.key?(:error_rate) @qps = args[:qps] if args.key?(:qps) @warning_rate = args[:warning_rate] if args.key?(:warning_rate) end |