public abstract static class LoggingServiceV2Grpc.LoggingServiceV2ImplBase
extends java.lang.Object
implements io.grpc.BindableService
Service for ingesting and querying logs.
Constructor and Description |
---|
LoggingServiceV2ImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
deleteLog(DeleteLogRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes all the log entries in a log.
|
void |
listLogEntries(ListLogEntriesRequest request,
io.grpc.stub.StreamObserver<ListLogEntriesResponse> responseObserver)
Lists log entries.
|
void |
listLogs(ListLogsRequest request,
io.grpc.stub.StreamObserver<ListLogsResponse> responseObserver)
Lists the logs in projects, organizations, folders, or billing accounts.
|
void |
listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request,
io.grpc.stub.StreamObserver<ListMonitoredResourceDescriptorsResponse> responseObserver)
Lists the descriptors for monitored resource types used by Stackdriver
Logging.
|
void |
writeLogEntries(WriteLogEntriesRequest request,
io.grpc.stub.StreamObserver<WriteLogEntriesResponse> responseObserver)
## Log entry resources
Writes log entries to Stackdriver Logging.
|
public void deleteLog(DeleteLogRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
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.
public void writeLogEntries(WriteLogEntriesRequest request, io.grpc.stub.StreamObserver<WriteLogEntriesResponse> responseObserver)
## Log entry resources Writes log entries to Stackdriver Logging. This API method is the only way to send log entries to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver Logging agent (fluentd) and all logging libraries configured to use Stackdriver Logging.
public void listLogEntries(ListLogEntriesRequest request, io.grpc.stub.StreamObserver<ListLogEntriesResponse> responseObserver)
Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see [Exporting Logs](/logging/docs/export).
public void listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request, io.grpc.stub.StreamObserver<ListMonitoredResourceDescriptorsResponse> responseObserver)
Lists the descriptors for monitored resource types used by Stackdriver Logging.
public void listLogs(ListLogsRequest request, io.grpc.stub.StreamObserver<ListLogsResponse> responseObserver)
Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService