5.3.0 (latest) 5.2.0 5.1.0 5.0.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.5.0 3.4.0 3.3.0 3.2.0

## Classes

### [AggregationQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery)

Datastore query for running an aggregation over a
\[Query\]\[google.datastore.v1.Query\].

### [AggregationQuery.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery.Types)

Container for nested types declared in the AggregationQuery message type.

### [AggregationQuery.Types.Aggregation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery.Types.Aggregation)

Defines an aggregation that produces a single result.

### [AggregationQuery.Types.Aggregation.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery.Types.Aggregation.Types)

Container for nested types declared in the Aggregation message type.

### [AggregationQuery.Types.Aggregation.Types.Avg](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery.Types.Aggregation.Types.Avg)

Average of the values of the requested property.

- Only numeric values will be aggregated. All non-numeric values
  including `NULL` are skipped.

- If the aggregated values contain `NaN`, returns `NaN`. Infinity math
  follows IEEE-754 standards.

- If the aggregated value set is empty, returns `NULL`.

- Always returns the result as a double.

### [AggregationQuery.Types.Aggregation.Types.Count](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery.Types.Aggregation.Types.Count)

Count of entities that match the query.

The `COUNT(*)` aggregation function operates on the entire entity
so it does not require a field reference.

### [AggregationQuery.Types.Aggregation.Types.Sum](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery.Types.Aggregation.Types.Sum)

Sum of the values of the requested property.

- Only numeric values will be aggregated. All non-numeric values
  including `NULL` are skipped.

- If the aggregated values contain `NaN`, returns `NaN`. Infinity math
  follows IEEE-754 standards.

- If the aggregated value set is empty, returns 0.

- Returns a 64-bit integer if all aggregated numbers are integers and the
  sum result does not overflow. Otherwise, the result is returned as a
  double. Note that even if all the aggregated values are integers, the
  result is returned as a double if it cannot fit within a 64-bit signed
  integer. When this occurs, the returned value will lose precision.

- When underflow occurs, floating-point aggregation is non-deterministic.
  This means that running the same query repeatedly without any changes to
  the underlying values could produce slightly different results each
  time. In those cases, values should be stored as integers over
  floating-point numbers.

### [AggregationQueryResults](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQueryResults)

Represents the result of an [AggregationQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery).

### [AggregationResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationResult)

The result of a single bucket from a Datastore aggregation query.

The keys of `aggregate_properties` are the same for all results in an
aggregation query, unlike entity queries which can have different fields
present for each result.

### [AggregationResultBatch](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationResultBatch)

A batch of aggregation results produced by an aggregation query.

### [Aggregations](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Aggregations)

Factory for different types of Aggregations.

### [AllocateIdsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AllocateIdsRequest)

The request for
\[Datastore.AllocateIds\]\[google.datastore.v1.Datastore.AllocateIds\].

### [AllocateIdsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AllocateIdsResponse)

The response for
\[Datastore.AllocateIds\]\[google.datastore.v1.Datastore.AllocateIds\].

### [ArrayValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ArrayValue)

An array value.

### [AsyncLazyDatastoreQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AsyncLazyDatastoreQuery)

A Datastore query which is executed lazily. Iterating over this object will provide a sequence
of entities; alternatively, all the results can be fetched using [GetAllResultsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AsyncLazyDatastoreQuery#Google_Cloud_Datastore_V1_AsyncLazyDatastoreQuery_GetAllResultsAsync),
or for diagnostic use cases the RPC responses can be viewed using [AsResponses()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AsyncLazyDatastoreQuery#Google_Cloud_Datastore_V1_AsyncLazyDatastoreQuery_AsResponses).
The lazy evaluation is important: if you iterate over the query multiple times, it will execute
multiple times, potentially returning different results each time.

### [BeginTransactionRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.BeginTransactionRequest)

The request for
\[Datastore.BeginTransaction\]\[google.datastore.v1.Datastore.BeginTransaction\].

### [BeginTransactionResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.BeginTransactionResponse)

The response for
\[Datastore.BeginTransaction\]\[google.datastore.v1.Datastore.BeginTransaction\].

### [CommitRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.CommitRequest)

The request for \[Datastore.Commit\]\[google.datastore.v1.Datastore.Commit\].

### [CommitRequest.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.CommitRequest.Types)

Container for nested types declared in the CommitRequest message type.

### [CommitResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.CommitResponse)

The response for \[Datastore.Commit\]\[google.datastore.v1.Datastore.Commit\].

### [CompositeFilter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.CompositeFilter)

A filter that merges multiple other filters using the given operator.

### [CompositeFilter.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.CompositeFilter.Types)

Container for nested types declared in the CompositeFilter message type.

### [Datastore](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Datastore)

Each RPC normalizes the partition IDs of the keys in its input entities,
and always returns entities with keys with normalized partition IDs.
This applies to all keys and entities, including those in values, except keys
with both an empty path and an empty or unset partition ID. Normalization of
input keys sets the project ID (if not already set) to the project ID from
the request.

### [Datastore.DatastoreBase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Datastore.DatastoreBase)

Base class for server-side implementations of Datastore

### [Datastore.DatastoreClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Datastore.DatastoreClient)

Client for Datastore

### [DatastoreClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreClient)

Datastore client wrapper, for convenient use.

### [DatastoreClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreClientBuilder)

Builder class for [DatastoreClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreClient) to provide simple configuration of credentials, endpoint etc.

### [DatastoreClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreClientImpl)

Datastore client wrapper implementation, for convenient use.

### [DatastoreConstants](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreConstants)

Constants for use in Datastore.

### [DatastoreDb](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreDb)

An abstraction over [DatastoreClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreClient) to simplify operations. Use the [Create(string, string, DatastoreClient)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreDb#Google_Cloud_Datastore_V1_DatastoreDb_Create_System_String_System_String_Google_Cloud_Datastore_V1_DatastoreClient_)
method to obtain an instance of this class.

### [DatastoreDbBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreDbBuilder)

Builder class for [DatastoreDb](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreDb) to provide simple configuration of credentials, endpoint etc.

### [DatastoreDbImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreDbImpl)

Wrapper around [DatastoreClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreClient) to provide simpler operations.

### [DatastoreQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreQuery)

A Datastore query with additional options for features such as read consistency and profiling.

### [DatastoreQueryResults](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreQueryResults)

A complete set of query results, fetched and stored in memory. Results are
fetched from a [LazyDatastoreQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.LazyDatastoreQuery) or [AsyncLazyDatastoreQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AsyncLazyDatastoreQuery)
until the query-specified limit or end cursor is reached, or no more results are available.

### [DatastoreSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreSettings)

Settings for [DatastoreClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreClient) instances.

### [DatastoreTransaction](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransaction)


Convenience wrapper around a Datastore transaction. All mutation operations ([Insert(IEnumerable\<Entity\>)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransaction#Google_Cloud_Datastore_V1_DatastoreTransaction_Insert_System_Collections_Generic_IEnumerable_Google_Cloud_Datastore_V1_Entity__),
[Delete(IEnumerable\<Key\>)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransaction#Google_Cloud_Datastore_V1_DatastoreTransaction_Delete_System_Collections_Generic_IEnumerable_Google_Cloud_Datastore_V1_Key__), [Update(IEnumerable\<Entity\>)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransaction#Google_Cloud_Datastore_V1_DatastoreTransaction_Update_System_Collections_Generic_IEnumerable_Google_Cloud_Datastore_V1_Entity__) and [Upsert(IEnumerable\<Entity\>)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransaction#Google_Cloud_Datastore_V1_DatastoreTransaction_Upsert_System_Collections_Generic_IEnumerable_Google_Cloud_Datastore_V1_Entity__))
merely add to a list of mutations which are performed in a single [Commit(CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransaction#Google_Cloud_Datastore_V1_DatastoreTransaction_Commit_Google_Api_Gax_Grpc_CallSettings_) or [CommitAsync(CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransaction#Google_Cloud_Datastore_V1_DatastoreTransaction_CommitAsync_Google_Api_Gax_Grpc_CallSettings_)
operation. This means the mutation methods are all synchronous and do not take call settings, as they don't perform any
API operations.

Datastore limits the number of entities that can be modified in a Commit operation, and therefore one transaction. When modifying a large
number of entities, partition the changes into multiple transactions. See
[Datastore limits](https://cloud.google.com/datastore/docs/concepts/limits) for more details on Datastore limits.


Even though transactions aren't inherently related to a specific partition ID, the expected usage is that queries run inside
a transaction are likely to be in a single partition, specified in a [DatastoreDb](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreDb) used to create the transaction.


Disposing of a transaction calls [Rollback(CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransaction#Google_Cloud_Datastore_V1_DatastoreTransaction_Rollback_Google_Api_Gax_Grpc_CallSettings_) if the transaction has not already been committed
or rolled back.


This is an abstract class, implemented by [DatastoreTransactionImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransactionImpl) for production use. Users creating their own
[DatastoreDb](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreDb) subclasses may choose to create fake implementations for testing purposes. There are no abstract
methods in this class; instead, all methods either delegate to another or throw [NotImplementedException](https://learn.microsoft.com/dotnet/api/system.notimplementedexception).

### [DatastoreTransactionImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransactionImpl)

Production implementation of [DatastoreTransaction](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreTransaction), using a [DatastoreClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.DatastoreClient)
to implement the operations.

### [Entity](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Entity)

A Datastore data object.

Must not exceed 1 MiB - 4 bytes.

### [EntityResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.EntityResult)

The result of fetching an entity from Datastore.

### [EntityResult.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.EntityResult.Types)

Container for nested types declared in the EntityResult message type.

### [ExecutionStats](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ExecutionStats)

Execution statistics for the query.

### [ExplainMetrics](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ExplainMetrics)

Explain metrics for the query.

### [ExplainOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ExplainOptions)

Explain options for the query.

### [Filter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Filter)

A holder for any type of filter.

### [FindNearest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.FindNearest)

Nearest Neighbors search config. The ordering provided by FindNearest
supersedes the order_by stage. If multiple documents have the same vector
distance, the returned document order is not guaranteed to be stable between
queries.

### [FindNearest.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.FindNearest.Types)

Container for nested types declared in the FindNearest message type.

### [GqlQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.GqlQuery)

A [GQL
query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).

### [GqlQueryParameter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.GqlQueryParameter)

A binding parameter for a GQL query.

### [Key](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Key)

A unique identifier for an entity.
If a key's partition ID or any of its path kinds or names are
reserved/read-only, the key is reserved/read-only.
A reserved/read-only key is forbidden in certain documented contexts.

### [Key.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Key.Types)

Container for nested types declared in the Key message type.

### [Key.Types.PathElement](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Key.Types.PathElement)

A (kind, ID/name) pair used to construct a key path.

If either name or ID is set, the element is complete.
If neither is set, the element is incomplete.

### [KeyFactory](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.KeyFactory)

Provides a convenient way of producing keys of a specific kind, from a specified parent entity or key,
or for root entities based on a partition ID.

### [KindExpression](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.KindExpression)

A representation of a kind.

### [LazyDatastoreQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.LazyDatastoreQuery)

A Datastore query which is executed lazily. Iterating over this object will provide a sequence
of entities; alternatively, all the results can be fetched using [GetAllResults()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.LazyDatastoreQuery#Google_Cloud_Datastore_V1_LazyDatastoreQuery_GetAllResults),
or for diagnostic use cases the RPC responses can be viewed using [AsResponses()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.LazyDatastoreQuery#Google_Cloud_Datastore_V1_LazyDatastoreQuery_AsResponses).
The lazy evaluation is important: if you iterate over the query multiple times, it will execute
multiple times, potentially returning different results each time.

### [LookupRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.LookupRequest)

The request for \[Datastore.Lookup\]\[google.datastore.v1.Datastore.Lookup\].

### [LookupResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.LookupResponse)

The response for \[Datastore.Lookup\]\[google.datastore.v1.Datastore.Lookup\].

### [Mutation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Mutation)

A mutation to apply to an entity.

### [Mutation.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Mutation.Types)

Container for nested types declared in the Mutation message type.

### [MutationResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.MutationResult)

The result of applying a mutation.

### [PartitionId](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PartitionId)

A partition ID identifies a grouping of entities. The grouping is always
by project and namespace, however the namespace ID may be empty.

A partition ID contains several dimensions:
project ID and namespace ID.

Partition dimensions:

- May be `""`.
- Must be valid UTF-8 bytes.
- Must have values that match regex `[A-Za-z\d\.\-_]{1,100}` If the value of any dimension matches regex `__.*__`, the partition is reserved/read-only. A reserved/read-only partition ID is forbidden in certain documented contexts.

Foreign partition IDs (in which the project ID does
not match the context project ID ) are discouraged.
Reads and writes of foreign partition IDs may fail if the project is not in
an active state.

### [PlanSummary](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PlanSummary)

Planning phase information for the query.

### [Projection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Projection)

A representation of a property in a projection.

### [PropertyFilter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyFilter)

A filter on a specific property.

### [PropertyFilter.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyFilter.Types)

Container for nested types declared in the PropertyFilter message type.

### [PropertyMask](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyMask)

The set of arbitrarily nested property paths used to restrict an operation to
only a subset of properties in an entity.

### [PropertyOrder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyOrder)

The desired order for a specific property.

### [PropertyOrder.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyOrder.Types)

Container for nested types declared in the PropertyOrder message type.

### [PropertyReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyReference)

A reference to a property relative to the kind expressions.

### [PropertyTransform](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyTransform)

A transformation of an entity property.

### [PropertyTransform.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyTransform.Types)

Container for nested types declared in the PropertyTransform message type.

### [Query](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Query)

A query for entities.

The query stages are executed in the following order:

1. kind
2. filter
3. projection
4. order + start_cursor + end_cursor
5. offset
6. limit
7. find_nearest

### [QueryExtensions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.QueryExtensions)

Extension methods around queries.

### [QueryResultBatch](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.QueryResultBatch)

A batch of results produced by a query.

### [QueryResultBatch.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.QueryResultBatch.Types)

Container for nested types declared in the QueryResultBatch message type.

### [ReadOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ReadOptions)

The options shared by read requests.

### [ReadOptions.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ReadOptions.Types)

Container for nested types declared in the ReadOptions message type.

### [RequestOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RequestOptions)

Options for a request.

### [ReserveIdsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ReserveIdsRequest)

The request for
\[Datastore.ReserveIds\]\[google.datastore.v1.Datastore.ReserveIds\].

### [ReserveIdsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ReserveIdsResponse)

The response for
\[Datastore.ReserveIds\]\[google.datastore.v1.Datastore.ReserveIds\].

### [RollbackRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RollbackRequest)

The request for \[Datastore.Rollback\]\[google.datastore.v1.Datastore.Rollback\].

### [RollbackResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RollbackResponse)

The response for
\[Datastore.Rollback\]\[google.datastore.v1.Datastore.Rollback\]. (an empty
message).

### [RunAggregationQueryRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RunAggregationQueryRequest)

The request for
\[Datastore.RunAggregationQuery\]\[google.datastore.v1.Datastore.RunAggregationQuery\].

### [RunAggregationQueryResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RunAggregationQueryResponse)

The response for
\[Datastore.RunAggregationQuery\]\[google.datastore.v1.Datastore.RunAggregationQuery\].

### [RunQueryRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RunQueryRequest)

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

### [RunQueryResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RunQueryResponse)

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

### [TransactionOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.TransactionOptions)

Options for beginning a new transaction.

Transactions can be created explicitly with calls to
\[Datastore.BeginTransaction\]\[google.datastore.v1.Datastore.BeginTransaction\]
or implicitly by setting
\[ReadOptions.new_transaction\]\[google.datastore.v1.ReadOptions.new_transaction\]
in read requests.

### [TransactionOptions.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.TransactionOptions.Types)

Container for nested types declared in the TransactionOptions message type.

### [TransactionOptions.Types.ReadOnly](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.TransactionOptions.Types.ReadOnly)

Options specific to read-only transactions.

### [TransactionOptions.Types.ReadWrite](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.TransactionOptions.Types.ReadWrite)

Options specific to read / write transactions.

### [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value)

A message that can hold any of the supported value types and associated
metadata.

### [ValueExtensions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ValueExtensions)

Extension methods on [Value](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value).

## Enums

### [AggregationQuery.QueryTypeOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery.QueryTypeOneofCase)

Enum of possible cases for the "query_type" oneof.

### [AggregationQuery.Types.Aggregation.OperatorOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.AggregationQuery.Types.Aggregation.OperatorOneofCase)

Enum of possible cases for the "operator" oneof.

### [CommitRequest.TransactionSelectorOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.CommitRequest.TransactionSelectorOneofCase)

Enum of possible cases for the "transaction_selector" oneof.

### [CommitRequest.Types.Mode](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.CommitRequest.Types.Mode)

The modes available for commits.

### [CompositeFilter.Types.Operator](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.CompositeFilter.Types.Operator)

A composite filter operator.

### [EntityResult.Types.ResultType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.EntityResult.Types.ResultType)

Specifies what data the 'entity' field contains.
A `ResultType` is either implied (for example, in `LookupResponse.missing`
from `datastore.proto`, it is always `KEY_ONLY`) or specified by context
(for example, in message `QueryResultBatch`, field `entity_result_type`
specifies a `ResultType` for all the values in field `entity_results`).

### [Filter.FilterTypeOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Filter.FilterTypeOneofCase)

Enum of possible cases for the "filter_type" oneof.

### [FindNearest.Types.DistanceMeasure](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.FindNearest.Types.DistanceMeasure)

The distance measure to use when comparing vectors.

### [GqlQueryParameter.ParameterTypeOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.GqlQueryParameter.ParameterTypeOneofCase)

Enum of possible cases for the "parameter_type" oneof.

### [Key.Types.PathElement.IdTypeOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Key.Types.PathElement.IdTypeOneofCase)

Enum of possible cases for the "id_type" oneof.

### [Mutation.ConflictDetectionStrategyOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Mutation.ConflictDetectionStrategyOneofCase)

Enum of possible cases for the "conflict_detection_strategy" oneof.

### [Mutation.OperationOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Mutation.OperationOneofCase)

Enum of possible cases for the "operation" oneof.

### [Mutation.Types.ConflictResolutionStrategy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Mutation.Types.ConflictResolutionStrategy)

The possible ways to resolve a conflict detected in a mutation.

### [PropertyFilter.Types.Operator](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyFilter.Types.Operator)

A property filter operator.

### [PropertyOrder.Types.Direction](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyOrder.Types.Direction)

The sort direction.

### [PropertyTransform.TransformTypeOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyTransform.TransformTypeOneofCase)

Enum of possible cases for the "transform_type" oneof.

### [PropertyTransform.Types.ServerValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.PropertyTransform.Types.ServerValue)

A value that is calculated by the server.

### [QueryResultBatch.Types.MoreResultsType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.QueryResultBatch.Types.MoreResultsType)

The possible values for the `more_results` field.

### [ReadOptions.ConsistencyTypeOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ReadOptions.ConsistencyTypeOneofCase)

Enum of possible cases for the "consistency_type" oneof.

### [ReadOptions.Types.ReadConsistency](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.ReadOptions.Types.ReadConsistency)

The possible values for read consistencies.

### [RunAggregationQueryRequest.QueryTypeOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RunAggregationQueryRequest.QueryTypeOneofCase)

Enum of possible cases for the "query_type" oneof.

### [RunQueryRequest.QueryTypeOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.RunQueryRequest.QueryTypeOneofCase)

Enum of possible cases for the "query_type" oneof.

### [TransactionOptions.ModeOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.TransactionOptions.ModeOneofCase)

Enum of possible cases for the "mode" oneof.

### [Value.ValueTypeOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.Value.ValueTypeOneofCase)

Enum of possible cases for the "value_type" oneof.