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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/firestore/v1/firestore.rb

Overview

The request for Firestore.Commit.

Instance Attribute Summary collapse

Instance Attribute Details

#database::String

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



316
317
318
319
# File 'proto_docs/google/firestore/v1/firestore.rb', line 316

class CommitRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#transaction::String

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.



316
317
318
319
# File 'proto_docs/google/firestore/v1/firestore.rb', line 316

class CommitRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#writes::Array<::Google::Cloud::Firestore::V1::Write>

Returns The writes to apply.

Always executed atomically and in order.

Returns:



316
317
318
319
# File 'proto_docs/google/firestore/v1/firestore.rb', line 316

class CommitRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end