Class: Google::Apis::SpannerV1::RollbackRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SpannerV1::RollbackRequest
 
- 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 request for Rollback.
Instance Attribute Summary collapse
- 
  
    
      #transaction_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RollbackRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RollbackRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RollbackRequest
Returns a new instance of RollbackRequest
| 2196 2197 2198 | # File 'generated/google/apis/spanner_v1/classes.rb', line 2196 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#transaction_id ⇒ String
Required. The transaction to roll back.
Corresponds to the JSON property transactionId
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 2194 2195 2196 | # File 'generated/google/apis/spanner_v1/classes.rb', line 2194 def transaction_id @transaction_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2201 2202 2203 | # File 'generated/google/apis/spanner_v1/classes.rb', line 2201 def update!(**args) @transaction_id = args[:transaction_id] if args.key?(:transaction_id) end |