Uses of Class
com.google.cloud.logging.LogDestinationName
Packages that use LogDestinationName
Package
Description
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 LogDestinationNameModifier and TypeMethodDescriptionstatic LogDestinationNameLogDestinationName.billingAccount(String id) Returns an option which sets and validates project ID resource name for log entries.static LogDestinationNameReturns an option which sets and validates project ID resource name for log entries.static LogDestinationNameLogDestinationName.fromLogName(LogName logName) Creates aLogDestinationNameobject from givenLogName.LogEntry.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 LogDestinationNameReturns an option which sets and validates project ID resource name for log entries.Methods in com.google.cloud.logging with parameters of type LogDestinationNameModifier and TypeMethodDescriptiondefault 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.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 LogDestinationNameModifierConstructorDescriptionLoggingHandler(String log, LoggingOptions options, com.google.cloud.MonitoredResource monitoredResource, List<LoggingEnhancer> enhancers, LogDestinationName destination) Creates a handler that publishes messages to Cloud Logging.