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 StatusException if the API failed with a Status message. Throws a ServiceException for any other failure.

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);
}