Class: Google::Protobuf::Value
- Inherits:
-
Object
- Object
- Google::Protobuf::Value
- Defined in:
- lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb
Overview
+Value+ represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of that variants, absence of any variant indicates an error.
The JSON representation for +Value+ is JSON value.
Instance Attribute Summary collapse
-
#bool_value ⇒ true, false
Represents a boolean value.
-
#list_value ⇒ Google::Protobuf::ListValue
Represents a repeated +Value+.
-
#null_value ⇒ Google::Protobuf::NullValue
Represents a null value.
-
#number_value ⇒ Float
Represents a double value.
-
#string_value ⇒ String
Represents a string value.
-
#struct_value ⇒ Google::Protobuf::Struct
Represents a structured value.
Instance Attribute Details
#bool_value ⇒ true, false
Returns Represents a boolean value.
54 |
# File 'lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb', line 54 class Value; end |
#list_value ⇒ Google::Protobuf::ListValue
Returns Represents a repeated +Value+.
54 |
# File 'lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb', line 54 class Value; end |
#null_value ⇒ Google::Protobuf::NullValue
Returns Represents a null value.
54 |
# File 'lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb', line 54 class Value; end |
#number_value ⇒ Float
Returns Represents a double value.
54 |
# File 'lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb', line 54 class Value; end |
#string_value ⇒ String
Returns Represents a string value.
54 |
# File 'lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb', line 54 class Value; end |
#struct_value ⇒ Google::Protobuf::Struct
Returns Represents a structured value.
54 |
# File 'lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb', line 54 class Value; end |