Class: Google::Cloud::Monitoring::V3::TypedValue

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#bool_value::Boolean

Returns A Boolean value: true or false.

Returns:

  • (::Boolean)

    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.

Returns:



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.

Returns:

  • (::Float)

    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.

Returns:

  • (::Integer)

    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.

Returns:

  • (::String)

    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