Package | Description |
---|---|
com.google.cloud.logging.v2 |
A client to Cloud Logging API
|
com.google.logging.v2 |
Modifier and Type | Method and Description |
---|---|
LogExclusion |
ConfigClient.createExclusion(ProjectName parent,
LogExclusion exclusion)
Creates a new exclusion in the _Default sink in a specified parent resource.
|
LogMetric |
MetricsClient.createLogMetric(ProjectName parent,
LogMetric metric)
Creates a logs-based metric.
|
LogSink |
ConfigClient.createSink(ProjectName parent,
LogSink sink)
Creates a sink that exports specified log entries to a destination.
|
ConfigClient.ListExclusionsPagedResponse |
ConfigClient.listExclusions(ProjectName parent)
Lists all the exclusions on the _Default sink in a parent resource.
|
MetricsClient.ListLogMetricsPagedResponse |
MetricsClient.listLogMetrics(ProjectName parent)
Lists logs-based metrics.
|
LoggingClient.ListLogsPagedResponse |
LoggingClient.listLogs(ProjectName parent)
Lists the logs in projects, organizations, folders, or billing accounts.
|
ConfigClient.ListSinksPagedResponse |
ConfigClient.listSinks(ProjectName parent)
Lists sinks.
|
Modifier and Type | Method and Description |
---|---|
ProjectName |
ProjectName.Builder.build() |
static ProjectName |
ProjectName.of(String project) |
static ProjectName |
ProjectName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<ProjectName> |
ProjectName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
ProjectName.toStringList(List<ProjectName> values) |
Copyright © 2023 Google LLC. All rights reserved.