Class: Google::Cloud::Firestore::V1::RunQueryRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::V1::RunQueryRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/firestore/v1/firestore.rb
Overview
The request for Firestore.RunQuery.
Instance Attribute Summary collapse
-
#new_transaction ⇒ ::Google::Cloud::Firestore::V1::TransactionOptions
Starts a new transaction and reads the documents.
-
#parent ⇒ ::String
Required.
-
#read_time ⇒ ::Google::Protobuf::Timestamp
Reads documents as they were at the given time.
-
#structured_query ⇒ ::Google::Cloud::Firestore::V1::StructuredQuery
A structured query.
-
#transaction ⇒ ::String
Run the query within an already active transaction.
Instance Attribute Details
#new_transaction ⇒ ::Google::Cloud::Firestore::V1::TransactionOptions
Returns Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
369 370 371 372 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 369 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The parent resource name. In the format:
projects/{project_id}/databases/{database_id}/documents
or
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
For example:
projects/my-project/databases/my-database/documents
or
projects/my-project/databases/my-database/documents/chatrooms/my-chatroom
.
369 370 371 372 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 369 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#read_time ⇒ ::Google::Protobuf::Timestamp
Returns Reads documents as they were at the given time. This may not be older than 270 seconds.
369 370 371 372 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 369 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#structured_query ⇒ ::Google::Cloud::Firestore::V1::StructuredQuery
Returns A structured query.
369 370 371 372 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 369 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#transaction ⇒ ::String
Returns Run the query within an already active transaction.
The value here is the opaque transaction ID to execute the query in.
369 370 371 372 |
# File 'proto_docs/google/firestore/v1/firestore.rb', line 369 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |