Class RunQueryRequest (2.5.0)

public sealed class RunQueryRequest : IMessage<RunQueryRequest>, IEquatable<RunQueryRequest>, IDeepCloneable<RunQueryRequest>, IBufferMessage, IMessage

The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].

Inheritance

Object > RunQueryRequest

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

RunQueryRequest()

public RunQueryRequest()

RunQueryRequest(RunQueryRequest)

public RunQueryRequest(RunQueryRequest other)
Parameter
NameDescription
otherRunQueryRequest

Properties

ConsistencySelectorCase

public RunQueryRequest.ConsistencySelectorOneofCase ConsistencySelectorCase { get; }
Property Value
TypeDescription
RunQueryRequest.ConsistencySelectorOneofCase

NewTransaction

public TransactionOptions NewTransaction { get; set; }

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.

Property Value
TypeDescription
TransactionOptions

Parent

public string Parent { get; set; }

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

Property Value
TypeDescription
String

QueryTypeCase

public RunQueryRequest.QueryTypeOneofCase QueryTypeCase { get; }
Property Value
TypeDescription
RunQueryRequest.QueryTypeOneofCase

ReadTime

public Timestamp ReadTime { get; set; }

Reads documents as they were at the given time. This may not be older than 270 seconds.

Property Value
TypeDescription
Timestamp

StructuredQuery

public StructuredQuery StructuredQuery { get; set; }

A structured query.

Property Value
TypeDescription
StructuredQuery

Transaction

public ByteString Transaction { get; set; }

Reads documents in a transaction.

Property Value
TypeDescription
ByteString