Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusStats
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
Stats for the requested dimensions: QPS, duration, and error/warning rate
Instance Attribute Summary collapse
-
#dimensions ⇒ Google::Apis::IntegrationsV1::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.
3529 3530 3531 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimensions ⇒ Google::Apis::IntegrationsV1::EnterpriseCrmEventbusStatsDimensions
Dimensions that these stats have been aggregated on.
Corresponds to the JSON property dimensions
3507 3508 3509 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3507 def dimensions @dimensions end |
#duration_in_seconds ⇒ Float
Average duration in seconds.
Corresponds to the JSON property durationInSeconds
3512 3513 3514 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3512 def duration_in_seconds @duration_in_seconds end |
#error_rate ⇒ Float
Average error rate.
Corresponds to the JSON property errorRate
3517 3518 3519 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3517 def error_rate @error_rate end |
#qps ⇒ Float
Queries per second.
Corresponds to the JSON property qps
3522 3523 3524 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3522 def qps @qps end |
#warning_rate ⇒ Float
Average warning rate.
Corresponds to the JSON property warningRate
3527 3528 3529 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3527 def warning_rate @warning_rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3534 3535 3536 3537 3538 3539 3540 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 3534 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 |