public static final class LoggingServiceV2Grpc.LoggingServiceV2FutureStub extends AbstractFutureStub<LoggingServiceV2Grpc.LoggingServiceV2FutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service LoggingServiceV2.
Service for ingesting and querying logs.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > LoggingServiceV2Grpc.LoggingServiceV2FutureStubMethods
build(Channel channel, CallOptions callOptions)
protected LoggingServiceV2Grpc.LoggingServiceV2FutureStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
LoggingServiceV2Grpc.LoggingServiceV2FutureStub |
deleteLog(DeleteLogRequest request)
public ListenableFuture<Empty> deleteLog(DeleteLogRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
DeleteLogRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
listLogEntries(ListLogEntriesRequest request)
public ListenableFuture<ListLogEntriesResponse> listLogEntries(ListLogEntriesRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
ListLogEntriesRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListLogEntriesResponse> |
listLogs(ListLogsRequest request)
public ListenableFuture<ListLogsResponse> listLogs(ListLogsRequest request)
Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
Parameter | |
---|---|
Name | Description |
request |
ListLogsRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListLogsResponse> |
listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request)
public ListenableFuture<ListMonitoredResourceDescriptorsResponse> listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request)
Lists the descriptors for monitored resource types used by Logging.
Parameter | |
---|---|
Name | Description |
request |
ListMonitoredResourceDescriptorsRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListMonitoredResourceDescriptorsResponse> |
writeLogEntries(WriteLogEntriesRequest request)
public ListenableFuture<WriteLogEntriesResponse> writeLogEntries(WriteLogEntriesRequest request)
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)
Parameter | |
---|---|
Name | Description |
request |
WriteLogEntriesRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<WriteLogEntriesResponse> |