LoggingServiceV2Client class
Service for ingesting and querying logs.
- Annotations
-
- @GrpcServiceName.new('google.logging.v2.LoggingServiceV2')
Constructors
-
LoggingServiceV2Client(ClientChannel channel, {CallOptions? options, Iterable<
ClientInterceptor> ? interceptors})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$createCall<
Q, R> (ClientMethod< Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R> -
inherited
-
$createStreamingCall<
Q, R> (ClientMethod< Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R> -
inherited
-
$createUnaryCall<
Q, R> (ClientMethod< Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R> -
inherited
-
deleteLog(
DeleteLogRequest request, {CallOptions? options}) → ResponseFuture< Empty> - 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.
-
listLogEntries(
ListLogEntriesRequest request, {CallOptions? options}) → ResponseFuture< ListLogEntriesResponse> - 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.
-
listLogs(
ListLogsRequest request, {CallOptions? options}) → ResponseFuture< ListLogsResponse> - Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
-
listMonitoredResourceDescriptors(
ListMonitoredResourceDescriptorsRequest request, {CallOptions? options}) → ResponseFuture< ListMonitoredResourceDescriptorsResponse> - Lists the descriptors for monitored resource types used by Logging.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
tailLogEntries(
Stream< TailLogEntriesRequest> request, {CallOptions? options}) → ResponseStream<TailLogEntriesResponse> - Streaming read of log entries as they are ingested. Until the stream is terminated, it will continue reading logs.
-
toString(
) → String -
A string representation of this object.
inherited
-
writeLogEntries(
WriteLogEntriesRequest request, {CallOptions? options}) → ResponseFuture< WriteLogEntriesResponse> - 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)
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultHost → const String
- The hostname for this service.
-
oauthScopes
→ const List<
String> - OAuth scopes needed for the client.