Uses of Class
com.google.cloud.logging.SinkInfo
Packages that use SinkInfo
Package
Description
A client for Cloud Logging - Real-time log management and analysis.
-
Uses of SinkInfo in com.google.cloud.logging
Subclasses of SinkInfo in com.google.cloud.loggingModifier and TypeClassDescriptionclassCloud Logging sinks can be used to control the export of your logs.Methods in com.google.cloud.logging that return SinkInfoModifier and TypeMethodDescriptionabstract SinkInfoSinkInfo.Builder.build()Creates aSinkInfoobject for this builder.static SinkInfoSinkInfo.of(String name, SinkInfo.Destination destination) Creates aSinkInfoobject given the name of the sink and its destination.Methods in com.google.cloud.logging with parameters of type SinkInfoModifier and TypeMethodDescriptionCreates a new sink.com.google.api.core.ApiFuture<Sink>Logging.createAsync(SinkInfo sink) Sends a request for creating a sink.Updates a sink or creates one if it does not exist.com.google.api.core.ApiFuture<Sink>Logging.updateAsync(SinkInfo sink) Sends a request for updating a sink (or creating it, if it does not exist).