Class: Google::Cloud::Firestore::V1::StructuredQuery::Projection

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/firestore/v1/query.rb

Overview

The projection of document's fields to return.

Instance Attribute Summary collapse

Instance Attribute Details

#fields::Array<::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference>

Returns The fields to return.

If empty, all fields are returned. To only return the name of the document, use ['__name__'].

Returns:



367
368
369
370
# File 'proto_docs/google/firestore/v1/query.rb', line 367

class Projection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end