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 LogDestinationNameLogDestinationName. billingAccount(String id)Returns an option which sets and validates project ID resource name for log entries.static LogDestinationNameLogDestinationName. folder(String id)Returns an option which sets and validates project ID resource name for log entries.static LogDestinationNameLogDestinationName. fromLogName(LogName logName)Creates aLogDestinationNameobject from givenLogName.LogDestinationNameLogEntry. getDestination()Returns the log path destination name type associated with log entry.static LogDestinationNameLogDestinationName. organization(String id)Returns an option which sets and validates project ID resource name for log entries.static LogDestinationNameLogDestinationName. 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 booleanLogging. 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.WriteOptionLogging.WriteOption. destination(LogDestinationName destination)Returns an option to specify a log destination resource path (seeLogDestinationNamefor details)LogEntry.BuilderLogEntry.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.
-