Class: Google::Firestore::V1::Precondition

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

Overview

A precondition on a document, used for conditional operations.

Instance Attribute Summary collapse

Instance Attribute Details

#existstrue, false

Returns When set to true, the target document must exist. When set to false, the target document must not exist.

Returns:

  • (true, false)

    When set to true, the target document must exist. When set to false, the target document must not exist.



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

class Precondition; end

#update_timeGoogle::Protobuf::Timestamp

Returns When set, the target document must exist and have been last updated at that time.

Returns:



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

class Precondition; end