Package | Description |
---|---|
com.google.cloud.logging |
A client for Cloud Logging - Real-time log management and analysis.
|
Modifier and Type | Class and Description |
---|---|
class |
Sink
Cloud Logging sinks can be used to control the export of your logs.
|
Modifier and Type | Method and Description |
---|---|
abstract SinkInfo |
SinkInfo.Builder.build()
Creates a
SinkInfo object for this builder. |
static SinkInfo |
SinkInfo.of(String name,
SinkInfo.Destination destination)
Creates a
SinkInfo object given the name of the sink and its destination. |
Modifier and Type | Method and Description |
---|---|
Sink |
Logging.create(SinkInfo sink)
Creates a new sink.
|
com.google.api.core.ApiFuture<Sink> |
Logging.createAsync(SinkInfo sink)
Sends a request for creating a sink.
|
Sink |
Logging.update(SinkInfo sink)
Updates a sink or creates one if it does not exist.
|
com.google.api.core.ApiFuture<Sink> |
Logging.updateAsync(SinkInfo sink)
Sends a request for updating a sink (or creating it, if it does not exist).
|
Copyright © 2023 Google LLC. All rights reserved.