Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricValue
- Inherits:
-
Object
- Object
- Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/playdeveloperreporting_v1beta1/classes.rb,
lib/google/apis/playdeveloperreporting_v1beta1/representations.rb,
lib/google/apis/playdeveloperreporting_v1beta1/representations.rb
Overview
Represents the value of a metric.
Instance Attribute Summary collapse
-
#decimal_value ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDecimal
A representation of a decimal value, such as 2.5.
-
#decimal_value_confidence_interval ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval
Represents the confidence interval of a metric.
-
#metric ⇒ String
Name of the metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1MetricValue
constructor
A new instance of GooglePlayDeveloperReportingV1beta1MetricValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1MetricValue
Returns a new instance of GooglePlayDeveloperReportingV1beta1MetricValue.
938 939 940 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 938 def initialize(**args) update!(**args) end |
Instance Attribute Details
#decimal_value ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GoogleTypeDecimal
A representation of a decimal value, such as 2.5. Clients may convert values
into language-native decimal formats, such as Java's BigDecimal or
Python's decimal.Decimal.
Corresponds to the JSON property decimalValue
926 927 928 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 926 def decimal_value @decimal_value end |
#decimal_value_confidence_interval ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval
Represents the confidence interval of a metric.
Corresponds to the JSON property decimalValueConfidenceInterval
931 932 933 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 931 def decimal_value_confidence_interval @decimal_value_confidence_interval end |
#metric ⇒ String
Name of the metric.
Corresponds to the JSON property metric
936 937 938 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 936 def metric @metric end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
943 944 945 946 947 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 943 def update!(**args) @decimal_value = args[:decimal_value] if args.key?(:decimal_value) @decimal_value_confidence_interval = args[:decimal_value_confidence_interval] if args.key?(:decimal_value_confidence_interval) @metric = args[:metric] if args.key?(:metric) end |