Class: Google::Firestore::V1beta1::Precondition

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/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.



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

class Precondition; end

#update_timeGoogle::Protobuf::Timestamp

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

Returns:



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

class Precondition; end