Logs
class Logs extends Resource (View source)
The "logs" collection of methods.
Typical usage is:
$loggingService = new Google\Service\Logging(...);
$logs = $loggingService->logs;
Methods
Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.
Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. (logs.listLogs)
Details
LoggingEmpty
delete(string $logName, array $optParams = [])
Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.
(logs.delete)
ListLogsResponse
listLogs(string $parent, array $optParams = [])
Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. (logs.listLogs)