class Google::Apis::AnalyticsdataV1beta::NumericValue

To represent a number.

Attributes

double_value[RW]

Double value Corresponds to the JSON property `doubleValue` @return [Float]

int64_value[RW]

Integer value Corresponds to the JSON property `int64Value` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 1132
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 1137
def update!(**args)
  @double_value = args[:double_value] if args.key?(:double_value)
  @int64_value = args[:int64_value] if args.key?(:int64_value)
end