Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::StructuredQuery::Projection.
The projection of document's fields to return.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#fields
def fields() -> ::Array<::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference>
-
(::Array<::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference>) — The fields to return.
If empty, all fields are returned. To only return the name of the document, use
['__name__']
.
#fields=
def fields=(value) -> ::Array<::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference>
-
value (::Array<::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference>) — The fields to return.
If empty, all fields are returned. To only return the name of the document, use
['__name__']
.
-
(::Array<::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference>) — The fields to return.
If empty, all fields are returned. To only return the name of the document, use
['__name__']
.