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 contain another array value.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 class Value; end |
#boolean_value ⇒ true, false
Returns A boolean value.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 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.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 class Value; end |
#double_value ⇒ Float
Returns A double value.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 class Value; end |
#geo_point_value ⇒ Google::Type::LatLng
Returns A geo point value representing a point on the surface of Earth.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 class Value; end |
#integer_value ⇒ Integer
Returns An integer value.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 class Value; end |
#map_value ⇒ Google::Firestore::V1beta1::MapValue
Returns A map value.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 class Value; end |
#null_value ⇒ Google::Protobuf::NullValue
Returns A null value.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 class Value; end |
#reference_value ⇒ String
Returns A reference to a document. For example: +projects/project_id/databases/database_id/documents/document_path+.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 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.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 class Value; end |
#timestamp_value ⇒ Google::Protobuf::Timestamp
Returns A timestamp value.
Precise only to microseconds. When stored, any additional precision is rounded down.
114 |
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb', line 114 class Value; end |