Package | Description |
---|---|
com.google.cloud.logging |
A client for Cloud Logging - Real-time log management and analysis.
|
com.google.cloud.logging.v2 |
A client to Cloud Logging API
|
com.google.logging.v2 |
Modifier and Type | Method and Description |
---|---|
LogName |
LogDestinationName.toLogName(String logId)
Creates a
LogEntry object for given log ID. |
Modifier and Type | Method and Description |
---|---|
static LogDestinationName |
LogDestinationName.fromLogName(LogName logName)
Creates a
LogDestinationName object from given LogName . |
Modifier and Type | Method and Description |
---|---|
void |
LoggingClient.deleteLog(LogName logName)
Deletes all the log entries in a log for the _Default Log Bucket.
|
WriteLogEntriesResponse |
LoggingClient.writeLogEntries(LogName logName,
com.google.api.MonitoredResource resource,
Map<String,String> labels,
List<LogEntry> entries)
Writes log entries to Logging.
|
Modifier and Type | Method and Description |
---|---|
LogName |
LogName.Builder.build() |
LogName |
LogName.OrganizationLogBuilder.build() |
LogName |
LogName.FolderLogBuilder.build() |
LogName |
LogName.BillingAccountLogBuilder.build() |
static LogName |
LogName.of(String project,
String log) |
static LogName |
LogName.ofBillingAccountLogName(String billingAccount,
String log) |
static LogName |
LogName.ofFolderLogName(String folder,
String log) |
static LogName |
LogName.ofOrganizationLogName(String organization,
String log) |
static LogName |
LogName.ofProjectLogName(String project,
String log) |
static LogName |
LogName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<LogName> |
LogName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
LogName.toStringList(List<LogName> values) |
Copyright © 2023 Google LLC. All rights reserved.