123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Crypt::RewrapManyDataKeyResult

Relationships & Source Files
Inherits: Object
Defined in: lib/mongo/crypt/rewrap_many_data_key_result.rb

Overview

Represent result of the rewrap many data ke operation.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(bulk_write_result) ⇒ 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.

[ GitHub ]

  
# 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_result (readonly)

[ GitHub ]

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

attr_reader :bulk_write_result