Class: Google::Firestore::V1::CommitRequest

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

Overview

The request for Firestore::Commit.

Instance Attribute Summary collapse

Instance Attribute Details

#databaseString

Returns 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}.



239
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 239

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.



239
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 239

class CommitRequest; end

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

Returns The writes to apply.

Always executed atomically and in order.

Returns:



239
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 239

class CommitRequest; end