package google.datastore.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service Datastore

datastore.proto:37

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.

message ArrayValue

entity.proto:115

An array value.

Used in: Value

enum CommitRequest.Mode

datastore.proto:198

The modes available for commits.

Used in: CommitRequest

message CompositeFilter

query.proto:167

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

Used in: Filter

enum CompositeFilter.Operator

query.proto:169

A composite filter operator.

Used in: CompositeFilter

message Entity

entity.proto:188

A Datastore data object. An entity is limited to 1 megabyte when stored. That _roughly_ corresponds to a limit of 1 megabyte for the serialized form of this message.

Used in: EntityResult, Mutation, Value

message EntityResult

query.proto:32

The result of fetching an entity from Datastore.

Used in: LookupResponse, QueryResultBatch

enum EntityResult.ResultType

query.proto:38

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`).

Used in: QueryResultBatch

message Filter

query.proto:155

A holder for any type of filter.

Used in: CompositeFilter, Query

message GqlQuery

query.proto:223

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

Used in: RunQueryRequest

message GqlQueryParameter

query.proto:250

A binding parameter for a GQL query.

Used in: GqlQuery

message Key

entity.proto:63

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.

Used in: AllocateIdsRequest, AllocateIdsResponse, Entity, LookupRequest, LookupResponse, Mutation, MutationResult, ReserveIdsRequest, Value

message Key.PathElement

entity.proto:68

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.

Used in: Key

message KindExpression

query.proto:115

A representation of a kind.

Used in: Query

message Mutation

datastore.proto:290

A mutation to apply to an entity.

Used in: CommitRequest

message MutationResult

datastore.proto:328

The result of applying a mutation.

Used in: CommitResponse

message PartitionId

entity.proto:51

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.

Used in: Key, RunQueryRequest

message Projection

query.proto:128

A representation of a property in a projection.

Used in: Query

message PropertyFilter

query.proto:186

A filter on a specific property.

Used in: Filter

enum PropertyFilter.Operator

query.proto:188

A property filter operator.

Used in: PropertyFilter

message PropertyOrder

query.proto:134

The desired order for a specific property.

Used in: Query

enum PropertyOrder.Direction

query.proto:136

The sort direction.

Used in: PropertyOrder

message PropertyReference

query.proto:121

A reference to a property relative to the kind expressions.

Used in: Projection, PropertyFilter, PropertyOrder, Query

message Query

query.proto:72

A query for entities.

Used in: RunQueryRequest, RunQueryResponse

message QueryResultBatch

query.proto:263

A batch of results produced by a query.

Used in: RunQueryResponse

enum QueryResultBatch.MoreResultsType

query.proto:265

The possible values for the `more_results` field.

Used in: QueryResultBatch

message ReadOptions

datastore.proto:346

The options shared by read requests.

Used in: LookupRequest, RunQueryRequest

enum ReadOptions.ReadConsistency

datastore.proto:348

The possible values for read consistencies.

Used in: ReadOptions

message TransactionOptions

datastore.proto:381

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.

Used in: BeginTransactionRequest

message TransactionOptions.ReadOnly

datastore.proto:389

Options specific to read-only transactions.

Used in: TransactionOptions

(message has no fields)

message TransactionOptions.ReadWrite

datastore.proto:383

Options specific to read / write transactions.

Used in: TransactionOptions

message Value

entity.proto:124

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

Used in: ArrayValue, Entity, GqlQueryParameter, PropertyFilter