Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now available in preview.

Module: google.appengine.datastore.cloud_datastore_validator

Validators for v1 datastore protocol buffers.

This module is internal and should not be used by client applications.

Classes

class ValidationError: Raised when validation fails.

Functions

get_entity_validator(...): Validator for entities and keys.

get_query_validator(...): Validator for queries.

get_service_validator(...): Returns a validator for v1 service request/response protos.

ALLOCATE_KEY_ID Instance of google.appengine.datastore.cloud_datastore_validator._ValidationConstraint
DELETE Instance of google.appengine.datastore.cloud_datastore_validator._ValidationConstraint
KEY_IN_VALUE Instance of google.appengine.datastore.cloud_datastore_validator._ValidationConstraint
READ Instance of google.appengine.datastore.cloud_datastore_validator._ValidationConstraint
READ_ENTITY_IN_VALUE Instance of google.appengine.datastore.cloud_datastore_validator._ValidationConstraint
UPDATE Instance of google.appengine.datastore.cloud_datastore_validator._ValidationConstraint
UPSERT Instance of google.appengine.datastore.cloud_datastore_validator._ValidationConstraint
UPSERT_ENTITY_IN_VALUE Instance of google.appengine.datastore.cloud_datastore_validator._ValidationConstraint
WRITE_ENTITY_IN_VALUE Instance of google.appengine.datastore.cloud_datastore_validator._ValidationConstraint