Class: Mongo::Crypt::RewrapManyDataKeyResult

Inherits:
Object
  • Object
show all
Defined in:
lib/mongo/crypt/rewrap_many_data_key_result.rb

Overview

Represent result of the rewrap many data ke operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bulk_write_result) ⇒ RewrapManyDataKeyResult

Returns a new instance of RewrapManyDataKeyResult.

Parameters:

  • bulk_write_result (BulkWrite::Result | nil)

    The result of the bulk write operation used to update the key vault collection with rewrapped data keys.



32
33
34
# File 'lib/mongo/crypt/rewrap_many_data_key_result.rb', line 32

def initialize(bulk_write_result)
  @bulk_write_result = bulk_write_result
end

Instance Attribute Details

#bulk_write_resultObject (readonly)



27
28
29
# File 'lib/mongo/crypt/rewrap_many_data_key_result.rb', line 27

def bulk_write_result
  @bulk_write_result
end