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+.



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

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.



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

class CommitRequest; end

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

Returns The writes to apply.

Always executed atomically and in order.

Returns:



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

class CommitRequest; end