Structs§

  • Defines an aggregation that produces a single result.
  • Datastore query for running an aggregation over a Query.
  • 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.
  • A batch of aggregation results produced by an aggregation query.
  • The request for Datastore.AllocateIds.
  • The response for Datastore.AllocateIds.
  • An array value.
  • 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.
  • The request for Datastore.BeginTransaction.
  • The response for Datastore.BeginTransaction.
  • The request for Datastore.Commit.
  • The response for Datastore.Commit.
  • A filter that merges multiple other filters using the given operator.
  • Count of entities that match the query. The COUNT(*) aggregation function operates on the entire entity so it does not require a field reference.
  • Central instance to access all Datastore related resource activities
  • A Datastore data object. Must not exceed 1 MiB - 4 bytes.
  • The result of fetching an entity from Datastore.
  • A holder for any type of filter.
  • A binding parameter for a GQL query.
  • 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.
  • A representation of a kind.
  • An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
  • The request for Datastore.Lookup.
  • The response for Datastore.Lookup.
  • A mutation to apply to an entity.
  • The result of applying a mutation.
  • 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.
  • 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.
  • Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.
  • Begins a new transaction.
  • Commits a transaction, optionally creating, deleting or modifying some entities.
  • Looks up entities by key.
  • A builder providing access to all methods supported on project resources. It is not used directly, but through the Datastore hub.
  • Prevents the supplied keys’ IDs from being auto-allocated by Cloud Datastore.
  • Rolls back a transaction.
  • Runs an aggregation query.
  • Queries for entities.
  • A representation of a property in a projection.
  • A filter on a specific property.
  • The desired order for a specific property.
  • A reference to a property relative to the kind expressions.
  • A query for entities.
  • A batch of results produced by a query.
  • Options specific to read-only transactions.
  • The options shared by read requests.
  • Options specific to read / write transactions.
  • The request for Datastore.ReserveIds.
  • The response for Datastore.ReserveIds.
  • The request for Datastore.Rollback.
  • The response for Datastore.Rollback. (an empty message).
  • The request for Datastore.RunAggregationQuery.
  • The response for Datastore.RunAggregationQuery.
  • The request for Datastore.RunQuery.
  • The response for Datastore.RunQuery.
  • 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.
  • Options for beginning a new transaction. Transactions can be created explicitly with calls to Datastore.BeginTransaction or implicitly by setting ReadOptions.new_transaction in read requests.
  • A message that can hold any of the supported value types and associated metadata.

Enums§