Class: Google::Apis::FirestoreV1beta1::ReadWrite
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FirestoreV1beta1::ReadWrite
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firestore_v1beta1/classes.rb,
 generated/google/apis/firestore_v1beta1/representations.rb,
 generated/google/apis/firestore_v1beta1/representations.rb
Overview
Options for a transaction that can be used to read and write documents.
Instance Attribute Summary collapse
- 
  
    
      #retry_transaction  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An optional transaction to retry. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ReadWrite 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ReadWrite. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReadWrite
Returns a new instance of ReadWrite
| 1254 1255 1256 | # File 'generated/google/apis/firestore_v1beta1/classes.rb', line 1254 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#retry_transaction ⇒ String
An optional transaction to retry.
Corresponds to the JSON property retryTransaction
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 1252 1253 1254 | # File 'generated/google/apis/firestore_v1beta1/classes.rb', line 1252 def retry_transaction @retry_transaction end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1259 1260 1261 | # File 'generated/google/apis/firestore_v1beta1/classes.rb', line 1259 def update!(**args) @retry_transaction = args[:retry_transaction] if args.key?(:retry_transaction) end |