FakeMatchService constructor
FakeMatchService({
- Future<
FindNeighborsResponse> findNeighbors(- FindNeighborsRequest request
- Future<
ReadIndexDatapointsResponse> readIndexDatapoints(- ReadIndexDatapointsRequest request
- Future<
ListLocationsResponse> listLocations(- ListLocationsRequest request
- Future<
Location> getLocation(- GetLocationRequest request
- Future<
Policy> setIamPolicy(- SetIamPolicyRequest request
- Future<
Policy> getIamPolicy(- GetIamPolicyRequest request
- Future<
TestIamPermissionsResponse> testIamPermissions(- TestIamPermissionsRequest request
- Future<
ListOperationsResponse> listOperations(- ListOperationsRequest request
- Future<
Operation< getOperation<T, S> >T extends ProtoMessage, S extends ProtoMessage>( - Operation<
T, S> request
- Operation<
- Future<
void> deleteOperation(- DeleteOperationRequest request
- Future<
void> cancelOperation(- CancelOperationRequest request
- Future<
Operation< waitOperation(ProtoMessage, ProtoMessage> >- WaitOperationRequest request
Implementation
FakeMatchService({
Future<FindNeighborsResponse> Function(FindNeighborsRequest request)?
findNeighbors,
Future<ReadIndexDatapointsResponse> Function(
ReadIndexDatapointsRequest request,
)?
readIndexDatapoints,
Future<ListLocationsResponse> Function(ListLocationsRequest request)?
listLocations,
Future<Location> Function(GetLocationRequest request)? getLocation,
Future<Policy> Function(SetIamPolicyRequest request)? setIamPolicy,
Future<Policy> Function(GetIamPolicyRequest request)? getIamPolicy,
Future<TestIamPermissionsResponse> Function(
TestIamPermissionsRequest request,
)?
testIamPermissions,
Future<ListOperationsResponse> Function(ListOperationsRequest request)?
listOperations,
Future<Operation<T, S>> Function<
T extends ProtoMessage,
S extends ProtoMessage
>(Operation<T, S> request)?
getOperation,
Future<void> Function(DeleteOperationRequest request)? deleteOperation,
Future<void> Function(CancelOperationRequest request)? cancelOperation,
Future<Operation> Function(WaitOperationRequest request)? waitOperation,
}) : _findNeighbors = findNeighbors,
_readIndexDatapoints = readIndexDatapoints,
_listLocations = listLocations,
_getLocation = getLocation,
_setIamPolicy = setIamPolicy,
_getIamPolicy = getIamPolicy,
_testIamPermissions = testIamPermissions,
_listOperations = listOperations,
_getOperation = getOperation,
_deleteOperation = deleteOperation,
_cancelOperation = cancelOperation,
_waitOperation = waitOperation;