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

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

Overview

A precondition on a document, used for conditional operations.

Instance Attribute Summary collapse

Instance Attribute Details

#exists::Boolean

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

Returns:

  • (::Boolean)

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



47
48
49
50
# File 'proto_docs/google/firestore/v1/common.rb', line 47

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

#update_time::Google::Protobuf::Timestamp

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

Returns:



47
48
49
50
# File 'proto_docs/google/firestore/v1/common.rb', line 47

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