LoggingServiceV2GrpcClient
class LoggingServiceV2GrpcClient extends BaseStub
Service for ingesting and querying logs.
Methods
No description
Deletes all the log entries in a log.
Writes log entries to Stackdriver Logging.
Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see Exporting Logs.
Lists the descriptors for monitored resource types used by Stackdriver Logging.
Lists the logs in projects, organizations, folders, or billing accounts.
Details
at line 31
__construct(string $hostname, array $opts, Channel $channel = null)
at line 44
DeleteLog(DeleteLogRequest $argument, array $metadata = [], array $options = [])
Deletes all the log entries in a log.
The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.
at line 58
WriteLogEntries(WriteLogEntriesRequest $argument, array $metadata = [], array $options = [])
Writes log entries to Stackdriver Logging.
at line 74
ListLogEntries(ListLogEntriesRequest $argument, array $metadata = [], array $options = [])
Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see Exporting Logs.
at line 89
ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest $argument, array $metadata = [], array $options = [])
Lists the descriptors for monitored resource types used by Stackdriver Logging.
at line 104
ListLogs(ListLogsRequest $argument, array $metadata = [], array $options = [])
Lists the logs in projects, organizations, folders, or billing accounts.
Only logs that have entries are listed.