Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DecimalConfidenceInterval

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

Overview

Represents the confidence interval of a metric.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1DecimalConfidenceInterval

Returns a new instance of GooglePlayDeveloperReportingV1alpha1DecimalConfidenceInterval.



342
343
344
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 342

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

Instance Attribute Details

#lower_boundGoogle::Apis::PlaydeveloperreportingV1alpha1::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. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/ api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python. org/3/library/decimal.html Corresponds to the JSON property lowerBound



331
332
333
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 331

def lower_bound
  @lower_bound
end

#upper_boundGoogle::Apis::PlaydeveloperreportingV1alpha1::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. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/ api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python. org/3/library/decimal.html Corresponds to the JSON property upperBound



340
341
342
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 340

def upper_bound
  @upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



347
348
349
350
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 347

def update!(**args)
  @lower_bound = args[:lower_bound] if args.key?(:lower_bound)
  @upper_bound = args[:upper_bound] if args.key?(:upper_bound)
end