Class: Google::Apis::DatastoreV1::CommitResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DatastoreV1::CommitResponse
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/datastore_v1/classes.rb,
generated/google/apis/datastore_v1/representations.rb,
generated/google/apis/datastore_v1/representations.rb 
Overview
The response for Datastore.Commit.
Instance Attribute Summary collapse
- 
  
    
      #index_updates  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The number of index entries updated during the commit, or zero if none were updated.
 - 
  
    
      #mutation_results  ⇒ Array<Google::Apis::DatastoreV1::MutationResult> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The result of performing the mutations.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CommitResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CommitResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CommitResponse
Returns a new instance of CommitResponse
      187 188 189  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 187 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#index_updates ⇒ Fixnum
The number of index entries updated during the commit, or zero if none were
updated.
Corresponds to the JSON property indexUpdates
      179 180 181  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 179 def index_updates @index_updates end  | 
  
#mutation_results ⇒ Array<Google::Apis::DatastoreV1::MutationResult>
The result of performing the mutations.
The i-th mutation result corresponds to the i-th mutation in the request.
Corresponds to the JSON property mutationResults
      185 186 187  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 185 def mutation_results @mutation_results end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      192 193 194 195  | 
    
      # File 'generated/google/apis/datastore_v1/classes.rb', line 192 def update!(**args) @index_updates = args[:index_updates] if args.key?(:index_updates) @mutation_results = args[:mutation_results] if args.key?(:mutation_results) end  |