Google Cloud Datastore v1 API - Class RunQueryResponse (4.9.0)

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

Reference documentation and code samples for the Google Cloud Datastore v1 API class RunQueryResponse.

The response for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].

Inheritance

object > RunQueryResponse

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

RunQueryResponse()

public RunQueryResponse()

RunQueryResponse(RunQueryResponse)

public RunQueryResponse(RunQueryResponse other)
Parameter
NameDescription
otherRunQueryResponse

Properties

Batch

public QueryResultBatch Batch { get; set; }

A batch of query results (always present).

Property Value
TypeDescription
QueryResultBatch

ExplainMetrics

public ExplainMetrics ExplainMetrics { get; set; }

Query explain metrics. This is only present when the [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options] is provided, and it is sent only once with the last response in the stream.

Property Value
TypeDescription
ExplainMetrics

Query

public Query Query { get; set; }

The parsed form of the GqlQuery from the request, if it was set.

Property Value
TypeDescription
Query

Transaction

public ByteString Transaction { get; set; }

The identifier of the transaction that was started as part of this RunQuery request.

Set only when [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] was set in [RunQueryRequest.read_options][google.datastore.v1.RunQueryRequest.read_options].

Property Value
TypeDescription
ByteString