Class LoggingServiceV2Grpc.LoggingServiceV2BlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<LoggingServiceV2Grpc.LoggingServiceV2BlockingStub>
com.google.logging.v2.LoggingServiceV2Grpc.LoggingServiceV2BlockingStub
Enclosing class:
LoggingServiceV2Grpc

public static final class LoggingServiceV2Grpc.LoggingServiceV2BlockingStub extends io.grpc.stub.AbstractBlockingStub<LoggingServiceV2Grpc.LoggingServiceV2BlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service LoggingServiceV2.
 Service for ingesting and querying logs.
 
  • Method Details

    • build

      protected LoggingServiceV2Grpc.LoggingServiceV2BlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<LoggingServiceV2Grpc.LoggingServiceV2BlockingStub>
    • deleteLog

      public com.google.protobuf.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.
       
    • writeLogEntries

      public 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)
       
    • listLogEntries

      public 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](https://cloud.google.com/logging/docs/export).
       
    • listMonitoredResourceDescriptors

      public ListMonitoredResourceDescriptorsResponse listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request)
       Lists the descriptors for monitored resource types used by Logging.
       
    • listLogs

      public ListLogsResponse listLogs(ListLogsRequest request)
       Lists the logs in projects, organizations, folders, or billing accounts.
       Only logs that have entries are listed.