Class: Google::Firestore::V1beta1::CommitRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb

Overview

The request for Firestore::Commit.

Instance Attribute Summary collapse

Instance Attribute Details

#databaseString

Returns The database name. In the format: +projects/{project_id}/databases/{database_id}+.

Returns:

  • (String)

    The database name. In the format: +projects/{project_id}/databases/{database_id}+.



238
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 238

class CommitRequest; end

#transactionString

Returns If set, applies all writes in this transaction, and commits it.

Returns:

  • (String)

    If set, applies all writes in this transaction, and commits it.



238
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 238

class CommitRequest; end

#writesArray<Google::Firestore::V1beta1::Write>

Returns The writes to apply.

Always executed atomically and in order.

Returns:



238
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb', line 238

class CommitRequest; end