Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::TypedValue (v0.7.1)

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 or false.

#bool_value=

def bool_value=(value) -> ::Boolean
Parameter
  • value (::Boolean) — A Boolean value: true or false.
Returns
  • (::Boolean) — A Boolean value: true or false.

#distribution_value

def distribution_value() -> ::Google::Api::Distribution
Returns

#distribution_value=

def distribution_value=(value) -> ::Google::Api::Distribution
Parameter
Returns

#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.