Send feedback
  
   
 
  
    
      Cloud Datastore API 
  
  
  
   
  
    
  
  
    
    
    
    
      Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.
      
        Service: datastore.googleapis.com 
        The Service name datastore.googleapis.com is needed to create RPC client stubs.
       
      
        
        
          
            
               
            
              
                Methods 
               
             
            
              
                
                  AllocateIds  
                
                  Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted. 
               
              
                
                  BeginTransaction  
                
                  Begins a new transaction. 
               
              
                
                  Commit  
                
                  Commits a transaction, optionally creating, deleting or modifying some entities. 
               
              
                
                  Lookup  
                
                  Looks up entities by key. 
               
              
                
                  ReserveIds  
                
                  Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore. 
               
              
                
                  Rollback  
                
                  Rolls back a transaction. 
               
              
                
                  RunAggregationQuery  
                
                  Runs an aggregation query. 
               
              
                
                  RunQuery  
                
                  Queries for entities. 
               
             
          
         
       
      
        
        
          
            
               
            
              
                Methods 
               
             
            
              
                
                  AllocateIds  
                
                  Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted. 
               
              
                
                  BeginTransaction  
                
                  Begins a new transaction. 
               
              
                
                  Commit  
                
                  Commits a transaction, optionally creating, deleting or modifying some entities. 
               
              
                
                  Lookup  
                
                  Looks up entities by key. 
               
              
                
                  ReserveIds  
                
                  Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore. 
               
              
                
                  Rollback  
                
                  Rolls back a transaction. 
               
              
                
                  RunAggregationQuery  
                
                  Runs an aggregation query. 
               
              
                
                  RunQuery  
                
                  Queries for entities. 
               
             
          
         
       
      
        
        
          
            
               
            
              
                Methods 
               
             
            
              
                
                  CancelOperation  
                
                  Starts asynchronous cancellation on a long-running operation. 
               
              
                
                  DeleteOperation  
                
                  Deletes a long-running operation. 
               
              
                
                  GetOperation  
                
                  Gets the latest state of a long-running operation. 
               
              
                
                  ListOperations  
                
                  Lists operations that match the specified filter in the request. 
               
              
                
                  WaitOperation  
                
                  Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. 
               
             
          
         
       
     
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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-09-08 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-08 UTC."],[],[]]