listLogEntries method

Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs.

Throws a http.ClientException if there were problems communicating with the API service. Throws a ServiceException if the API method failed for any reason.

Implementation

Future<ListLogEntriesResponse> listLogEntries(
  ListLogEntriesRequest request,
) async {
  final url = Uri.https(_host, '/v2/entries:list');
  final response = await _client.post(url, body: request);
  return ListLogEntriesResponse.fromJson(response);
}