Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DimensionValue
- Inherits:
-
Object
- Object
- Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1DimensionValue
- 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 single dimension.
Instance Attribute Summary collapse
-
#dimension ⇒ String
Name of the dimension.
-
#int64_value ⇒ Fixnum
Actual value, represented as an int64.
-
#string_value ⇒ String
Actual value, represented as a string.
-
#value_label ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1DimensionValue
constructor
A new instance of GooglePlayDeveloperReportingV1beta1DimensionValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1DimensionValue
Returns a new instance of GooglePlayDeveloperReportingV1beta1DimensionValue.
435 436 437 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 435 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ String
Name of the dimension.
Corresponds to the JSON property dimension
414 415 416 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 414 def dimension @dimension end |
#int64_value ⇒ Fixnum
Actual value, represented as an int64.
Corresponds to the JSON property int64Value
419 420 421 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 419 def int64_value @int64_value end |
#string_value ⇒ String
Actual value, represented as a string.
Corresponds to the JSON property stringValue
424 425 426 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 424 def string_value @string_value end |
#value_label ⇒ String
Optional. Human-friendly label for the value, always in English. For example, '
Spain' for the 'ES' country code. Whereas the dimension value is stable, this
value label is subject to change. Do not assume that the (value, value_label)
relationship is stable. For example, the ISO country code 'MK' changed its
name recently to 'North Macedonia'.
Corresponds to the JSON property valueLabel
433 434 435 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 433 def value_label @value_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
440 441 442 443 444 445 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 440 def update!(**args) @dimension = args[:dimension] if args.key?(:dimension) @int64_value = args[:int64_value] if args.key?(:int64_value) @string_value = args[:string_value] if args.key?(:string_value) @value_label = args[:value_label] if args.key?(:value_label) end |