Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaNumericValue
- 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
-
#double_value ⇒ Float
Double value Corresponds to the JSON property
doubleValue
. -
#int64_value ⇒ Fixnum
Integer value Corresponds to the JSON property
int64Value
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaNumericValue
constructor
A new instance of GoogleAnalyticsAdminV1alphaNumericValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaNumericValue
Returns a new instance of GoogleAnalyticsAdminV1alphaNumericValue.
4716 4717 4718 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4716 def initialize(**args) update!(**args) end |
Instance Attribute Details
#double_value ⇒ Float
Double value
Corresponds to the JSON property doubleValue
4709 4710 4711 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4709 def double_value @double_value end |
#int64_value ⇒ Fixnum
Integer value
Corresponds to the JSON property int64Value
4714 4715 4716 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4714 def int64_value @int64_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4721 4722 4723 4724 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4721 def update!(**args) @double_value = args[:double_value] if args.key?(:double_value) @int64_value = args[:int64_value] if args.key?(:int64_value) end |