Send feedback
Class LoggingServiceV2Grpc.LoggingServiceV2Stub (3.14.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.14.5 keyboard_arrow_down
public static final class LoggingServiceV2Grpc . LoggingServiceV2Stub extends AbstractAsyncStub<LoggingServiceV2Grpc . LoggingServiceV2Stub >
Service for ingesting and querying logs.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
LoggingServiceV2Grpc.LoggingServiceV2Stub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected LoggingServiceV2Grpc . LoggingServiceV2Stub build ( Channel channel , CallOptions callOptions )
Parameters
Name Description channel
io.grpc.Channel
callOptions
io.grpc.CallOptions
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
deleteLog(DeleteLogRequest request, StreamObserver<Empty> responseObserver)
public void deleteLog ( DeleteLogRequest request , StreamObserver<Empty> responseObserver )
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.
Parameters
listLogEntries(ListLogEntriesRequest request, StreamObserver<ListLogEntriesResponse> responseObserver)
public void listLogEntries ( ListLogEntriesRequest request , StreamObserver<ListLogEntriesResponse> responseObserver )
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 .
Parameters
listLogs(ListLogsRequest request, StreamObserver<ListLogsResponse> responseObserver)
public void listLogs ( ListLogsRequest request , StreamObserver<ListLogsResponse> responseObserver )
Lists the logs in projects, organizations, folders, or billing accounts.
Only logs that have entries are listed.
Parameters
listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request, StreamObserver<ListMonitoredResourceDescriptorsResponse> responseObserver)
public void listMonitoredResourceDescriptors ( ListMonitoredResourceDescriptorsRequest request , StreamObserver<ListMonitoredResourceDescriptorsResponse> responseObserver )
Lists the descriptors for monitored resource types used by Logging.
Parameters
tailLogEntries(StreamObserver<TailLogEntriesResponse> responseObserver)
public StreamObserver<TailLogEntriesRequest> tailLogEntries ( StreamObserver<TailLogEntriesResponse> responseObserver )
Streaming read of log entries as they are ingested. Until the stream is
terminated, it will continue reading logs.
Parameter
Returns
writeLogEntries(WriteLogEntriesRequest request, StreamObserver<WriteLogEntriesResponse> responseObserver)
public void writeLogEntries ( WriteLogEntriesRequest request , StreamObserver<WriteLogEntriesResponse> responseObserver )
Writes log entries to Logging. This API method is the
only way to send log entries to Logging. This method
is used, directly or indirectly, by the Logging agent
(fluentd) and all logging libraries configured to use Logging.
A single request may contain log entries for a maximum of 1000
different resources (projects, organizations, billing accounts or
folders)
Parameters
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]