Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaNumericValue
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaNumericValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/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) ⇒ GoogleAnalyticsAdminV1betaNumericValue
constructor
A new instance of GoogleAnalyticsAdminV1betaNumericValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaNumericValue
Returns a new instance of GoogleAnalyticsAdminV1betaNumericValue.
1904 1905 1906 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1904 def initialize(**args) update!(**args) end |
Instance Attribute Details
#double_value ⇒ Float
Double value
Corresponds to the JSON property doubleValue
1897 1898 1899 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1897 def double_value @double_value end |
#int64_value ⇒ Fixnum
Integer value
Corresponds to the JSON property int64Value
1902 1903 1904 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1902 def int64_value @int64_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1909 1910 1911 1912 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 1909 def update!(**args) @double_value = args[:double_value] if args.key?(:double_value) @int64_value = args[:int64_value] if args.key?(:int64_value) end |