Skip to main content
Google Cloud
Documentation Technology areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Costs and usage management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
  • Migration
Related sites
  • Google Cloud Home
  • Free Trial and Free Tier
  • Architecture Center
  • Blog
  • Contact Sales
  • Google Cloud Developer Center
  • Google Developer Center
  • Google Cloud Marketplace
  • Google Cloud Marketplace Documentation
  • Google Cloud Skills Boost
  • Google Cloud Solution Center
  • Google Cloud Support
  • Google Cloud Tech Youtube Channel
/
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어
Console Sign in
  • App Engine
Guides Reference Resources
Contact Us Start free
Google Cloud
  • Documentation
    • Guides
    • Reference
    • Resources
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Related sites
    • More
  • Console
  • Contact Us
  • Start free
  • App Engine standard environment
  • App Engine home
  • Standard environment overview
  • Choose a language and environment
  • Discover standard environment runtimes
  • Go runtime
    • Overview
    • Build an app
    • Upgrade an existing app
    • Migrate from the first-generation to the second-generation runtimes
  • Java runtime
    • Overview
    • Build an app
      • Overview
      • Create your project
      • Write your web service
      • Deploy your web service
    • Upgrade an existing app
    • Re-package a WAR file
    • Migrate from the first-generation to the second-generation runtimes
  • Node.js runtime
    • Overview
    • Build an app
      • Overview
      • Create your project
      • Write your web service
      • Deploy your web service
      • Update your web service
      • View logs
  • PHP runtime
    • Overview
    • Build an app
    • Upgrade an existing app
    • Migrate from the first-generation to the second-generation runtimes
  • Python runtime
    • Overview
    • Build an app
      • Overview
      • Create your project
      • Write your web service
      • Deploy your web service
      • Handle data
      • Add Firebase
      • Authenticate users
      • Personalize data
      • Clean up
    • Upgrade an existing app
      • Overview
      • Migrate from the first-generation to the second-generation runtimes
        • Migrate to Python 3 runtime
        • Migrate legacy bundled services
        • Prepare configuration files for the Python 3 environment
        • Test and deploy your app
  • Ruby runtime
    • Overview
    • Create an app
  • Get started
  • Set up your environment
    • Set up your development environment
    • Set up optional tools for Java
      • Apache Maven
        • Using Maven and the App Engine plugin
        • Maven Plugin goals and parameters
      • Gradle
        • Use the App Engine plugin
        • Tasks and properties
    • Set up your Cloud project
  • Grant access
    • Set up access control
    • View roles that grant access to App Engine
    • Configure service accounts
    • Google-managed service agent
  • Design your app
    • Structure web services
    • Host a static website
    • Communicate between your services
    • Handle requests
    • Route requests
  • Define configuration files
    • Go
      • Define runtime settings
      • Specify dependencies
    • Java
      • Define runtime settings
      • Specify dependencies
    • Node.js
      • Define runtime settings
      • Specify dependencies
      • Run a custom build step
    • PHP
      • Define runtime settings
      • Specify dependencies
    • Python
      • Define runtime settings
      • Specify dependencies
    • Ruby
      • Define runtime settings
      • Specify dependencies
  • Test and deploy your app
  • Test on the local development server
    • Using the local development server
    • Command options
    • Using the local development server after end of support
  • Configure your app
  • Set up networking
    • Map custom domains
    • Secure custom domains with SSL
    • Secure your app with minimum TLS
    • Virtual private cloud (VPC)
      • Connect to a VPC network
      • Connect to a Shared VPC network
      • Shared VPC with connectors in service projects
      • Shared VPC with connectors in the host project
    • Set up a static outbound IP address
  • Store data and files
    • Overview
    • Use Cloud Firestore in Datastore mode
    • Use Cloud SQL
    • Use Cloud Storage (cloud file hosting)
    • Store and serve static files
    • Read and write temporary files
  • Cache data with Memorystore
  • Create triggers
    • Write and respond to Pub/Sub messages
    • Send messages with third-party services
  • Secure your app
    • Overview
    • Specify Ingress and Egress settings
    • Understand firewalls
    • Create firewall rules
    • Authenticate users
  • Operate and maintain
  • Manage instances
  • Label resources
  • Manage your app's traffic
    • Migrate traffic
    • Split traffic
  • Schedule cron jobs
  • Run asynchronous tasks
  • Configure warmup requests
  • Automate tasks
  • Get started with the Admin API
  • Monitor, log, and debug
  • Access audit logs
  • Write and view logs
  • Monitor and alerts latency
  • Understand Performance with Cloud Profiler
  • Access legacy bundled services
  • Overview
  • Go 1.12+
  • Java 11+
  • PHP 7/8
  • Python 3
    • Overview
    • Blobstore overview
    • Deferred overview
    • Mail overview
  • Available APIs
    • Overview
    • App Identity
    • Blobstore
    • Capabilities
    • Datastore
      • Overview
      • Client library concepts
        • API overview
        • Asynchronous operation
        • Callbacks
        • Creating, retrieving, updating, and deleting entities
        • Creating and using entity keys
        • Entity, properties and keys
        • Entity property reference
        • Indexes
        • Metadata
        • Projection queries
        • Queries
        • Query cursors
        • Query data consistency
        • Query restrictions
        • Retrieving query results
        • Statistics
        • Structuring data for strong consistency
        • Transactions
      • Managing Datastore from the Console
        • Overview
        • Viewing Datastore Statistics
      • Configuring Datastore indexes
    • Images
    • Mail
      • Mail API Overview
      • Bulk mail guidelines
      • Sending mail
      • Receiving mail
      • Receiving bounce notification
      • Mail with headers or attachments
    • Memcache
      • Memcache Overview
      • Using Memcache
      • Memcache Examples
      • Memcache Audit Logs
    • Modules
    • Namespaces API
      • Namespaces API Overview
      • Multitenancy with Namespaces
    • NDB Client Library for Cloud Datastore
      • Overview
      • Administration
      • Asynchronous operation
      • Caching
      • Creating, retrieving, updating, and deleting entities
      • Creating entity models
      • Creating and using entity keys
      • Configuring Datastore indexes
      • Projection queries
      • Queries
      • Transactions
      • Writing property subclasses
      • NDB Client Library Reference
        • Entity Property Reference
        • Context
        • Exceptions
        • Functions
        • Future
        • Key
        • Metadata
        • Model
        • PolyModel
        • Query
    • Search
      • Documents and indexes
      • Query strings
      • Query and sorting options
      • Handling search results
      • Faceted search
      • Best practices
      • Using the local development server
      • Reference for Python
        • Cursor
        • Document
        • Facet Classes
        • FacetOptions
        • FacetRange
        • FacetRefinement
        • FacetResult
        • FacetResultValue
        • Field Classes
        • FieldExpression
        • GeoPoint
        • GetResponse
        • Index
        • MatchScorer
        • Query
        • QueryOptions
        • RescoringMatchScorer
        • ScoredDocument
        • SearchResults
        • SortExpression
        • SortOptions
        • Functions
        • Exceptions
    • Task Queues
      • Task Queue Overview
      • Using Push Queues
        • Using Push Queues
        • Creating Push Queues
        • Creating Push Tasks
        • Creating Task Handlers
        • Deleting Tasks and Queues
        • Retrying Failed Push Tasks
        • Testing Push Queues in the Development Server
      • Using Pull Queues
        • Using Pull Queues
        • Creating Pull Queues
        • Creating Pull Tasks
        • Leasing Pull Tasks
    • URL Fetch
      • Outbound requests
      • Issue HTTP(S) requests
    • Users
      • Overview
      • User objects
      • Login URLs
      • Admin users
  • Migration center
  • Migration resources
  • Troubleshoot
  • Introduction
  • Deployment
  • Serving
  • Elevated latency
  • Connectivity
  • Community resources
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Costs and usage management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
  • Migration
  • Google Cloud Home
  • Free Trial and Free Tier
  • Architecture Center
  • Blog
  • Contact Sales
  • Google Cloud Developer Center
  • Google Developer Center
  • Google Cloud Marketplace
  • Google Cloud Marketplace Documentation
  • Google Cloud Skills Boost
  • Google Cloud Solution Center
  • Google Cloud Support
  • Google Cloud Tech Youtube Channel
  • Home
  • App Engine
  • Documentation
  • Standard Environment

NDB Administration
Stay organized with collections Save and categorize content based on your preferences.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-05 UTC.

  • Why Google

    • Choosing Google Cloud
    • Trust and security
    • Modern Infrastructure Cloud
    • Multicloud
    • Global infrastructure
    • Customers and case studies
    • Analyst reports
    • Whitepapers
  • Products and pricing

    • See all products
    • See all solutions
    • Google Cloud for Startups
    • Google Cloud Marketplace
    • Google Cloud pricing
    • Contact sales
  • Support

    • Google Cloud Community
    • Support
    • Release Notes
    • System status
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Google Cloud documentation
    • Code samples
    • Cloud Architecture Center
    • Training and Certification
    • Developer Center
  • Engage

    • Blog
    • Events
    • X (Twitter)
    • Google Cloud on YouTube
    • Google Cloud Tech on YouTube
    • Become a Partner
    • Google Cloud Affiliate Program
    • Press Corner
  • About Google
  • Privacy
  • Site terms
  • Google Cloud terms
  • Manage cookies
  • Our third decade of climate action: join us
  • Sign up for the Google Cloud newsletter Subscribe
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어