Package | Description |
---|---|
com.google.cloud.logging |
A client for Cloud Logging - Real-time log management and analysis.
|
Modifier and Type | Method and Description |
---|---|
Sink |
Sink.Builder.build() |
Sink |
Logging.create(SinkInfo sink)
Creates a new sink.
|
Sink |
Logging.getSink(String sink)
Returns the requested sink or
null if not found. |
Sink |
Sink.reload()
Fetches current sink's latest information.
|
Sink |
Sink.update()
Updates current sink.
|
Sink |
Logging.update(SinkInfo sink)
Updates a sink or creates one if it does not exist.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.core.ApiFuture<Sink> |
Logging.createAsync(SinkInfo sink)
Sends a request for creating a sink.
|
com.google.api.core.ApiFuture<Sink> |
Logging.getSinkAsync(String sink)
Sends a request for getting a sink.
|
com.google.api.gax.paging.Page<Sink> |
Logging.listSinks(Logging.ListOption... options)
Lists the sinks.
|
com.google.api.core.ApiFuture<com.google.api.gax.paging.AsyncPage<Sink>> |
Logging.listSinksAsync(Logging.ListOption... options)
Sends a request for listing sinks.
|
com.google.api.core.ApiFuture<Sink> |
Sink.reloadAsync()
Sends a request to fetch current sink's latest information.
|
com.google.api.core.ApiFuture<Sink> |
Sink.updateAsync()
Sends a request to update current sink.
|
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.