Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

The percentile result. Currently supported percentiles are 50th, 90th, and 99th.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult.



14744
14745
14746
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 14744

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#p50Float

The 50th percentile value. Corresponds to the JSON property p50

Returns:

  • (Float)


14732
14733
14734
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 14732

def p50
  @p50
end

#p90Float

The 90th percentile value. Corresponds to the JSON property p90

Returns:

  • (Float)


14737
14738
14739
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 14737

def p90
  @p90
end

#p99Float

The 99th percentile value. Corresponds to the JSON property p99

Returns:

  • (Float)


14742
14743
14744
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 14742

def p99
  @p99
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14749
14750
14751
14752
14753
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 14749

def update!(**args)
  @p50 = args[:p50] if args.key?(:p50)
  @p90 = args[:p90] if args.key?(:p90)
  @p99 = args[:p99] if args.key?(:p99)
end