Uses of Class
com.google.cloud.logging.LogDestinationName
-
Packages that use LogDestinationName Package Description com.google.cloud.logging A client for Cloud Logging - Real-time log management and analysis. -
-
Uses of LogDestinationName in com.google.cloud.logging
Methods in com.google.cloud.logging that return LogDestinationName Modifier and Type Method Description static LogDestinationName
LogDestinationName. billingAccount(String id)
Returns an option which sets and validates project ID resource name for log entries.static LogDestinationName
LogDestinationName. folder(String id)
Returns an option which sets and validates project ID resource name for log entries.static LogDestinationName
LogDestinationName. fromLogName(LogName logName)
Creates aLogDestinationName
object from givenLogName
.LogDestinationName
LogEntry. getDestination()
Returns the log path destination name type associated with log entry.static LogDestinationName
LogDestinationName. organization(String id)
Returns an option which sets and validates project ID resource name for log entries.static LogDestinationName
LogDestinationName. project(String id)
Returns an option which sets and validates project ID resource name for log entries.Methods in com.google.cloud.logging with parameters of type LogDestinationName Modifier and Type Method Description default boolean
Logging. deleteLog(String log, LogDestinationName destination)
Deletes a log and all its log entries for given log destination (see 'logName' parameter in https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry).default com.google.api.core.ApiFuture<Boolean>
Logging. deleteLogAsync(String log, LogDestinationName destination)
Sends a request for deleting a log and all its log entries for given log destination (see 'logName' parameter in https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry).static Logging.WriteOption
Logging.WriteOption. destination(LogDestinationName destination)
Returns an option to specify a log destination resource path (seeLogDestinationName
for details)LogEntry.Builder
LogEntry.Builder. setDestination(LogDestinationName destination)
Sets the log path destination name type associated with the log entry.Constructors in com.google.cloud.logging with parameters of type LogDestinationName Constructor Description LoggingHandler(String log, LoggingOptions options, com.google.cloud.MonitoredResource monitoredResource, List<LoggingEnhancer> enhancers, LogDestinationName destination)
Creates a handler that publishes messages to Cloud Logging.
-