Class MockAsyncObjectDescriptorConnection (2.46.0-rc)

Functions

metadata() const

Returns, if available, the object metadata associated with this descriptor.

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Returns
Type Description
absl::optional< google::storage::v2::Object >

Read(ReadParams)

Starts a new range read in the current descriptor.

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
p ReadParams
Returns
Type Description
std::unique_ptr< AsyncReaderConnection >

MakeSubsequentStream()

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Returns
Type Description
void

options() const

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Returns
Type Description
Options