Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue

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

Overview

To represent a number.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaNumericValue

Returns a new instance of GoogleAnalyticsAdminV1alphaNumericValue.



3619
3620
3621
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3619

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

Instance Attribute Details

#double_valueFloat

Double value Corresponds to the JSON property doubleValue

Returns:

  • (Float)


3612
3613
3614
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3612

def double_value
  @double_value
end

#int64_valueFixnum

Integer value Corresponds to the JSON property int64Value

Returns:

  • (Fixnum)


3617
3618
3619
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3617

def int64_value
  @int64_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3624
3625
3626
3627
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 3624

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