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:



344
345
346
347
# File 'proto_docs/google/firestore/v1/query.rb', line 344

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