Class: Google::Apis::FirestoreV1beta1::BeginTransactionRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1beta1::BeginTransactionRequest
- 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
The request for Firestore.BeginTransaction.
Instance Attribute Summary collapse
-
#options ⇒ Google::Apis::FirestoreV1beta1::TransactionOptions
Options for creating a new transaction.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BeginTransactionRequest
constructor
A new instance of BeginTransactionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BeginTransactionRequest
Returns a new instance of BeginTransactionRequest.
201 202 203 |
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#options ⇒ Google::Apis::FirestoreV1beta1::TransactionOptions
Options for creating a new transaction.
Corresponds to the JSON property options
199 200 201 |
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 199 def @options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
206 207 208 |
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 206 def update!(**args) @options = args[:options] if args.key?(:options) end |