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.
3397 3398 3399 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3397 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
3375 3376 3377 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3375 def dimensions @dimensions end |
#duration_in_seconds ⇒ Float
Average duration in seconds.
Corresponds to the JSON property durationInSeconds
3380 3381 3382 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3380 def duration_in_seconds @duration_in_seconds end |
#error_rate ⇒ Float
Average error rate.
Corresponds to the JSON property errorRate
3385 3386 3387 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3385 def error_rate @error_rate end |
#qps ⇒ Float
Queries per second.
Corresponds to the JSON property qps
3390 3391 3392 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3390 def qps @qps end |
#warning_rate ⇒ Float
Average warning rate.
Corresponds to the JSON property warningRate
3395 3396 3397 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3395 def warning_rate @warning_rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3402 3403 3404 3405 3406 3407 3408 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3402 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 |