Class RunQueryRequest (4.2.0)

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

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

Inheritance

Object > RunQueryRequest

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

RunQueryRequest()

public RunQueryRequest()

RunQueryRequest(RunQueryRequest)

public RunQueryRequest(RunQueryRequest other)
Parameter
NameDescription
otherRunQueryRequest

Properties

DatabaseId

public string DatabaseId { get; set; }

The ID of the database against which to make the request.

'(default)' is not allowed; please use empty string '' to refer the default database.

Property Value
TypeDescription
String

GqlQuery

public GqlQuery GqlQuery { get; set; }

The GQL query to run. This query must be a non-aggregation query.

Property Value
TypeDescription
GqlQuery

PartitionId

public PartitionId PartitionId { get; set; }

Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.

Property Value
TypeDescription
PartitionId

ProjectId

public string ProjectId { get; set; }

Required. The ID of the project against which to make the request.

Property Value
TypeDescription
String

Query

public Query Query { get; set; }

The query to run.

Property Value
TypeDescription
Query

QueryTypeCase

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

ReadOptions

public ReadOptions ReadOptions { get; set; }

The options for this query.

Property Value
TypeDescription
ReadOptions