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.
3384 3385 3386 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3384 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
3362 3363 3364 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3362 def dimensions @dimensions end |
#duration_in_seconds ⇒ Float
Average duration in seconds.
Corresponds to the JSON property durationInSeconds
3367 3368 3369 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3367 def duration_in_seconds @duration_in_seconds end |
#error_rate ⇒ Float
Average error rate.
Corresponds to the JSON property errorRate
3372 3373 3374 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3372 def error_rate @error_rate end |
#qps ⇒ Float
Queries per second.
Corresponds to the JSON property qps
3377 3378 3379 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3377 def qps @qps end |
#warning_rate ⇒ Float
Average warning rate.
Corresponds to the JSON property warningRate
3382 3383 3384 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3382 def warning_rate @warning_rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3389 3390 3391 3392 3393 3394 3395 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3389 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 |