Class RunQueryRequest
The request for Firestore.RunQuery.
Implements
Inherited Members
Namespace: Google.Apis.Firestore.v1beta1.Data
Assembly: Google.Apis.Firestore.v1beta1.dll
Syntax
public class RunQueryRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExplainOptions
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
Declaration
[JsonProperty("explainOptions")]
public virtual ExplainOptions ExplainOptions { get; set; }
Property Value
Type | Description |
---|---|
ExplainOptions |
NewTransaction
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.
Declaration
[JsonProperty("newTransaction")]
public virtual TransactionOptions NewTransaction { get; set; }
Property Value
Type | Description |
---|---|
TransactionOptions |
ReadTime
object representation of ReadTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ReadTimeDateTimeOffset instead.")]
public virtual object ReadTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ReadTimeDateTimeOffset
DateTimeOffset representation of ReadTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ReadTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ReadTimeRaw
Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
Declaration
[JsonProperty("readTime")]
public virtual string ReadTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
StructuredQuery
A structured query.
Declaration
[JsonProperty("structuredQuery")]
public virtual StructuredQuery StructuredQuery { get; set; }
Property Value
Type | Description |
---|---|
StructuredQuery |
Transaction
Run the query within an already active transaction. The value here is the opaque transaction ID to execute the query in.
Declaration
[JsonProperty("transaction")]
public virtual string Transaction { get; set; }
Property Value
Type | Description |
---|---|
string |