Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::Target::QueryTarget.
A target specified by a query.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — The parent resource name. In the format:
projects/{project_id}/databases/{database_id}/documents
orprojects/{project_id}/databases/{database_id}/documents/{document_path}
. For example:projects/my-project/databases/my-database/documents
orprojects/my-project/databases/my-database/documents/chatrooms/my-chatroom
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — The parent resource name. In the format:
projects/{project_id}/databases/{database_id}/documents
orprojects/{project_id}/databases/{database_id}/documents/{document_path}
. For example:projects/my-project/databases/my-database/documents
orprojects/my-project/databases/my-database/documents/chatrooms/my-chatroom
Returns
-
(::String) — The parent resource name. In the format:
projects/{project_id}/databases/{database_id}/documents
orprojects/{project_id}/databases/{database_id}/documents/{document_path}
. For example:projects/my-project/databases/my-database/documents
orprojects/my-project/databases/my-database/documents/chatrooms/my-chatroom
#structured_query
def structured_query() -> ::Google::Cloud::Firestore::V1::StructuredQuery
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery) — A structured query.
#structured_query=
def structured_query=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery
Parameter
- value (::Google::Cloud::Firestore::V1::StructuredQuery) — A structured query.
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery) — A structured query.