Class: Google::Apis::SpannerV1::CommitResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SpannerV1::CommitResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/spanner_v1/classes.rb,
 generated/google/apis/spanner_v1/representations.rb,
 generated/google/apis/spanner_v1/representations.rb
Overview
The response for Commit.
Instance Attribute Summary collapse
- 
  
    
      #commit_timestamp  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Cloud Spanner timestamp at which the transaction committed. 
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
| 505 506 507 | # File 'generated/google/apis/spanner_v1/classes.rb', line 505 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#commit_timestamp ⇒ String
The Cloud Spanner timestamp at which the transaction committed.
Corresponds to the JSON property commitTimestamp
| 503 504 505 | # File 'generated/google/apis/spanner_v1/classes.rb', line 503 def @commit_timestamp end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 510 511 512 | # File 'generated/google/apis/spanner_v1/classes.rb', line 510 def update!(**args) @commit_timestamp = args[:commit_timestamp] if args.key?(:commit_timestamp) end |