Class: Google::Firestore::V1beta1::Value
- Inherits:
-
Object
- Object
- Google::Firestore::V1beta1::Value
- Defined in:
- lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb
Overview
A message that can hold any of the supported value types.
Instance Attribute Summary collapse
-
#array_value ⇒ Google::Firestore::V1beta1::ArrayValue
An array value.
-
#boolean_value ⇒ true, false
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::Firestore::V1beta1::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::Firestore::V1beta1::ArrayValue
Returns An array value.
Cannot directly contain another array value, though can contain an map which contains another array.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; end |
#boolean_value ⇒ true, false
Returns A boolean value.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; 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.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; end |
#double_value ⇒ Float
Returns A double value.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; end |
#geo_point_value ⇒ Google::Type::LatLng
Returns A geo point value representing a point on the surface of Earth.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; end |
#integer_value ⇒ Integer
Returns An integer value.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; end |
#map_value ⇒ Google::Firestore::V1beta1::MapValue
Returns A map value.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; end |
#null_value ⇒ Google::Protobuf::NullValue
Returns A null value.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; end |
#reference_value ⇒ String
Returns A reference to a document. For example: +projects/{project_id}/databases/{database_id}/documents/{document_path}+.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; 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.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; end |
#timestamp_value ⇒ Google::Protobuf::Timestamp
Returns A timestamp value.
Precise only to microseconds. When stored, any additional precision is rounded down.
115 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 115 class Value; end |