Class: Google::Cloud::Firestore::V1::Value

Inherits:
Object
  • Object
show all
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

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.

Returns:



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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::Float)

    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.

Returns:



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.

Returns:

  • (::Integer)

    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.

Returns:



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.

Returns:



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

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:



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