Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::TypedValue.
A single strongly-typed value.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bool_value
def bool_value() -> ::Boolean
Returns
-
(::Boolean) — A Boolean value:
true
orfalse
.
#bool_value=
def bool_value=(value) -> ::Boolean
Parameter
-
value (::Boolean) — A Boolean value:
true
orfalse
.
Returns
-
(::Boolean) — A Boolean value:
true
orfalse
.
#distribution_value
def distribution_value() -> ::Google::Api::Distribution
Returns
- (::Google::Api::Distribution) — A distribution value.
#distribution_value=
def distribution_value=(value) -> ::Google::Api::Distribution
Parameter
- value (::Google::Api::Distribution) — A distribution value.
Returns
- (::Google::Api::Distribution) — A distribution value.
#double_value
def double_value() -> ::Float
Returns
- (::Float) — A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.
#double_value=
def double_value=(value) -> ::Float
Parameter
- value (::Float) — A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.
Returns
- (::Float) — A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.
#int64_value
def int64_value() -> ::Integer
Returns
- (::Integer) — A 64-bit integer. Its range is approximately ±9.2x1018.
#int64_value=
def int64_value=(value) -> ::Integer
Parameter
- value (::Integer) — A 64-bit integer. Its range is approximately ±9.2x1018.
Returns
- (::Integer) — A 64-bit integer. Its range is approximately ±9.2x1018.
#string_value
def string_value() -> ::String
Returns
- (::String) — A variable-length string value.
#string_value=
def string_value=(value) -> ::String
Parameter
- value (::String) — A variable-length string value.
Returns
- (::String) — A variable-length string value.