class LoggingServiceV2GrpcClient extends BaseStub

Service for ingesting and querying logs.

Methods

__construct(string $hostname, array $opts, Channel $channel = null)

No description

DeleteLog(DeleteLogRequest $argument, array $metadata = [], array $options = [])

Deletes all the log entries in a log.

WriteLogEntries(WriteLogEntriesRequest $argument, array $metadata = [], array $options = [])

Writes log entries to Stackdriver Logging.

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.

ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest $argument, array $metadata = [], array $options = [])

Lists the descriptors for monitored resource types used by Stackdriver Logging.

ListLogs(ListLogsRequest $argument, array $metadata = [], array $options = [])

Lists the logs in projects, organizations, folders, or billing accounts.

Details

at line 31
__construct(string $hostname, array $opts, Channel $channel = null)

Parameters

string $hostname hostname
array $opts channel options
Channel $channel (optional) re-use channel object

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.

Parameters

DeleteLogRequest $argument input argument
array $metadata metadata
array $options call options

at line 58
WriteLogEntries(WriteLogEntriesRequest $argument, array $metadata = [], array $options = [])

Writes log entries to Stackdriver Logging.

Parameters

WriteLogEntriesRequest $argument input argument
array $metadata metadata
array $options call options

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.

Parameters

ListLogEntriesRequest $argument input argument
array $metadata metadata
array $options call options

at line 89
ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest $argument, array $metadata = [], array $options = [])

Lists the descriptors for monitored resource types used by Stackdriver Logging.

Parameters

ListMonitoredResourceDescriptorsRequest $argument input argument
array $metadata metadata
array $options call options

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.

Parameters

ListLogsRequest $argument input argument
array $metadata metadata
array $options call options