Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1MetricValue

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1MetricValue

Returns a new instance of GooglePlayDeveloperReportingV1beta1MetricValue.



903
904
905
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 903

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

Instance Attribute Details

#decimal_valueGoogle::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. [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 decimalValue



891
892
893
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 891

def decimal_value
  @decimal_value
end

#decimal_value_confidence_intervalGoogle::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval

Represents the confidence interval of a metric. Corresponds to the JSON property decimalValueConfidenceInterval



896
897
898
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 896

def decimal_value_confidence_interval
  @decimal_value_confidence_interval
end

#metricString

Name of the metric. Corresponds to the JSON property metric

Returns:

  • (String)


901
902
903
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 901

def metric
  @metric
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



908
909
910
911
912
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 908

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