Class: Google::Cloud::Monitoring::V3::TypedValue
- Inherits:
-
Object
- Object
- Google::Cloud::Monitoring::V3::TypedValue
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/monitoring/v3/common.rb
Overview
A single strongly-typed value.
Instance Attribute Summary collapse
-
#bool_value ⇒ ::Boolean
A Boolean value:
true
orfalse
. -
#distribution_value ⇒ ::Google::Api::Distribution
A distribution value.
-
#double_value ⇒ ::Float
A 64-bit double-precision floating-point number.
-
#int64_value ⇒ ::Integer
A 64-bit integer.
-
#string_value ⇒ ::String
A variable-length string value.
Instance Attribute Details
#bool_value ⇒ ::Boolean
Returns A Boolean value: true
or false
.
42 43 44 45 |
# File 'proto_docs/google/monitoring/v3/common.rb', line 42 class TypedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#distribution_value ⇒ ::Google::Api::Distribution
Returns A distribution value.
42 43 44 45 |
# File 'proto_docs/google/monitoring/v3/common.rb', line 42 class TypedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#double_value ⇒ ::Float
Returns A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.
42 43 44 45 |
# File 'proto_docs/google/monitoring/v3/common.rb', line 42 class TypedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#int64_value ⇒ ::Integer
Returns A 64-bit integer. Its range is approximately ±9.2x1018.
42 43 44 45 |
# File 'proto_docs/google/monitoring/v3/common.rb', line 42 class TypedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#string_value ⇒ ::String
Returns A variable-length string value.
42 43 44 45 |
# File 'proto_docs/google/monitoring/v3/common.rb', line 42 class TypedValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |