Show / Hide Table of Contents

Class Query

A query for entities.

Inheritance
System.Object
Query
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Datastore.v1.Data
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class Query : IDirectResponseSchema

Properties

DistinctOn

The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned).

Declaration
[JsonProperty("distinctOn")]
public virtual IList<PropertyReference> DistinctOn { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<PropertyReference>

EndCursor

An ending point for the query results. Query cursors are returned in query result batches and can only be used to limit the same query.

Declaration
[JsonProperty("endCursor")]
public virtual string EndCursor { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Filter

The filter to apply.

Declaration
[JsonProperty("filter")]
public virtual Filter Filter { get; set; }
Property Value
Type Description
Filter

Kind

The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.

Declaration
[JsonProperty("kind")]
public virtual IList<KindExpression> Kind { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<KindExpression>

Limit

The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.

Declaration
[JsonProperty("limit")]
public virtual int? Limit { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Offset

The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.

Declaration
[JsonProperty("offset")]
public virtual int? Offset { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Order

The order to apply to the query results (if empty, order is unspecified).

Declaration
[JsonProperty("order")]
public virtual IList<PropertyOrder> Order { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<PropertyOrder>

Projection

The projection to return. Defaults to returning all properties.

Declaration
[JsonProperty("projection")]
public virtual IList<Projection> Projection { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Projection>

StartCursor

A starting point for the query results. Query cursors are returned in query result batches and can only be used to continue the same query.

Declaration
[JsonProperty("startCursor")]
public virtual string StartCursor { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
Back to top