Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DimensionValue
- Inherits:
-
Object
- Object
- Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DimensionValue
- 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 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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1DimensionValue
constructor
A new instance of GooglePlayDeveloperReportingV1alpha1DimensionValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1DimensionValue
Returns a new instance of GooglePlayDeveloperReportingV1alpha1DimensionValue.
225 226 227 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ String
Name of the dimension.
Corresponds to the JSON property dimension
213 214 215 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 213 def dimension @dimension end |
#int64_value ⇒ Fixnum
Actual value, represented as an int64.
Corresponds to the JSON property int64Value
218 219 220 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 218 def int64_value @int64_value end |
#string_value ⇒ String
Actual value, represented as a string.
Corresponds to the JSON property stringValue
223 224 225 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 223 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
230 231 232 233 234 |
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 230 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) end |