super(endpoint, GoogleDrivePropertiesHelper.getHelper());
}
@Override
protected Object doInvokeMethod(ApiMethod method, Map<String, Object> properties) throws RuntimeCamelException {
AbstractGoogleClientRequest request = (AbstractGoogleClientRequest) super.doInvokeMethod(method, properties);
try {
return request.execute();
} catch (IOException e) {
throw new RuntimeCamelException(e);
}
}