Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::TypedValue.
TypedValue represents the value of the metric based on data type.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#double_value
def double_value() -> ::Float-
(::Float) — The value of the metric as double.
Note: The following fields are mutually exclusive:
double_value,int64_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#double_value=
def double_value=(value) -> ::Float-
value (::Float) — The value of the metric as double.
Note: The following fields are mutually exclusive:
double_value,int64_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — The value of the metric as double.
Note: The following fields are mutually exclusive:
double_value,int64_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int64_value
def int64_value() -> ::Integer-
(::Integer) — The value of the metric as int.
Note: The following fields are mutually exclusive:
int64_value,double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int64_value=
def int64_value=(value) -> ::Integer-
value (::Integer) — The value of the metric as int.
Note: The following fields are mutually exclusive:
int64_value,double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — The value of the metric as int.
Note: The following fields are mutually exclusive:
int64_value,double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.