Class: Google::Apis::FirestoreV1beta1::BeginTransactionRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BeginTransactionRequest

Returns a new instance of BeginTransactionRequest.



150
151
152
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 150

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#optionsGoogle::Apis::FirestoreV1beta1::TransactionOptions

Options for creating a new transaction. Corresponds to the JSON property options



148
149
150
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 148

def options
  @options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



155
156
157
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 155

def update!(**args)
  @options = args[:options] if args.key?(:options)
end