Class: Google::Cloud::Firestore::V1::Value
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::V1::Value
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/firestore/v1/document.rb
Overview
A message that can hold any of the supported value types.
Instance Attribute Summary collapse
-
#array_value ⇒ ::Google::Cloud::Firestore::V1::ArrayValue
An array value.
-
#boolean_value ⇒ ::Boolean
A boolean value.
-
#bytes_value ⇒ ::String
A bytes value.
-
#double_value ⇒ ::Float
A double value.
-
#geo_point_value ⇒ ::Google::Type::LatLng
A geo point value representing a point on the surface of Earth.
-
#integer_value ⇒ ::Integer
An integer value.
-
#map_value ⇒ ::Google::Cloud::Firestore::V1::MapValue
A map value.
-
#null_value ⇒ ::Google::Protobuf::NullValue
A null value.
-
#reference_value ⇒ ::String
A reference to a document.
-
#string_value ⇒ ::String
A string value.
-
#timestamp_value ⇒ ::Google::Protobuf::Timestamp
A timestamp value.
Instance Attribute Details
#array_value ⇒ ::Google::Cloud::Firestore::V1::ArrayValue
Returns An array value.
Cannot directly contain another array value, though can contain an map which contains another array.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#boolean_value ⇒ ::Boolean
Returns A boolean value.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#bytes_value ⇒ ::String
Returns A bytes value.
Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#double_value ⇒ ::Float
Returns A double value.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#geo_point_value ⇒ ::Google::Type::LatLng
Returns A geo point value representing a point on the surface of Earth.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#integer_value ⇒ ::Integer
Returns An integer value.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#map_value ⇒ ::Google::Cloud::Firestore::V1::MapValue
Returns A map value.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#null_value ⇒ ::Google::Protobuf::NullValue
Returns A null value.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#reference_value ⇒ ::String
Returns A reference to a document. For example:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#string_value ⇒ ::String
Returns A string value.
The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#timestamp_value ⇒ ::Google::Protobuf::Timestamp
Returns A timestamp value.
Precise only to microseconds. When stored, any additional precision is rounded down.
133 134 135 136 |
# File 'proto_docs/google/firestore/v1/document.rb', line 133 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |