public sealed class RunQueryRequest : IMessage<RunQueryRequest>, IEquatable<RunQueryRequest>, IDeepCloneable<RunQueryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Datastore v1 API class RunQueryRequest.
The request for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
Implements
IMessageRunQueryRequest, IEquatableRunQueryRequest, IDeepCloneableRunQueryRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Datastore.V1Assembly
Google.Cloud.Datastore.V1.dll
Constructors
RunQueryRequest()
public RunQueryRequest()
RunQueryRequest(RunQueryRequest)
public RunQueryRequest(RunQueryRequest other)
Parameter | |
---|---|
Name | Description |
other |
RunQueryRequest |
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 | |
---|---|
Type | Description |
string |
ExplainOptions
public ExplainOptions ExplainOptions { get; set; }
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
Property Value | |
---|---|
Type | Description |
ExplainOptions |
GqlQuery
public GqlQuery GqlQuery { get; set; }
The GQL query to run. This query must be a non-aggregation query.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
PartitionId |
ProjectId
public string ProjectId { get; set; }
Required. The ID of the project against which to make the request.
Property Value | |
---|---|
Type | Description |
string |
PropertyMask
public PropertyMask PropertyMask { get; set; }
The properties to return. This field must not be set for a projection query.
See [LookupRequest.property_mask][google.datastore.v1.LookupRequest.property_mask].
Property Value | |
---|---|
Type | Description |
PropertyMask |
Query
public Query Query { get; set; }
The query to run.
Property Value | |
---|---|
Type | Description |
Query |
QueryTypeCase
public RunQueryRequest.QueryTypeOneofCase QueryTypeCase { get; }
Property Value | |
---|---|
Type | Description |
RunQueryRequestQueryTypeOneofCase |
ReadOptions
public ReadOptions ReadOptions { get; set; }
The options for this query.
Property Value | |
---|---|
Type | Description |
ReadOptions |