Cloud Firestore V1 API - Class Google::Cloud::Firestore::V1::BeginTransactionRequest (v0.6.0)

Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::BeginTransactionRequest.

The request for Firestore.BeginTransaction.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#database

def database() -> ::String
Returns
  • (::String) — Required. The database name. In the format: projects/{project_id}/databases/{database_id}.

#database=

def database=(value) -> ::String
Parameter
  • value (::String) — Required. The database name. In the format: projects/{project_id}/databases/{database_id}.
Returns
  • (::String) — Required. The database name. In the format: projects/{project_id}/databases/{database_id}.

#options

def options() -> ::Google::Cloud::Firestore::V1::TransactionOptions
Returns

#options=

def options=(value) -> ::Google::Cloud::Firestore::V1::TransactionOptions
Parameter
Returns