public abstract static class ConfigServiceV2Grpc.ConfigServiceV2ImplBase
extends java.lang.Object
implements io.grpc.BindableService
Service for configuring sinks used to export log entries outside of Stackdriver Logging.
Constructor and Description |
---|
ConfigServiceV2ImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
createExclusion(CreateExclusionRequest request,
io.grpc.stub.StreamObserver<LogExclusion> responseObserver)
Creates a new exclusion in a specified parent resource.
|
void |
createSink(CreateSinkRequest request,
io.grpc.stub.StreamObserver<LogSink> responseObserver)
Creates a sink that exports specified log entries to a destination.
|
void |
deleteExclusion(DeleteExclusionRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes an exclusion.
|
void |
deleteSink(DeleteSinkRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes a sink.
|
void |
getExclusion(GetExclusionRequest request,
io.grpc.stub.StreamObserver<LogExclusion> responseObserver)
Gets the description of an exclusion.
|
void |
getSink(GetSinkRequest request,
io.grpc.stub.StreamObserver<LogSink> responseObserver)
Gets a sink.
|
void |
listExclusions(ListExclusionsRequest request,
io.grpc.stub.StreamObserver<ListExclusionsResponse> responseObserver)
Lists all the exclusions in a parent resource.
|
void |
listSinks(ListSinksRequest request,
io.grpc.stub.StreamObserver<ListSinksResponse> responseObserver)
Lists sinks.
|
void |
updateExclusion(UpdateExclusionRequest request,
io.grpc.stub.StreamObserver<LogExclusion> responseObserver)
Changes one or more properties of an existing exclusion.
|
void |
updateSink(UpdateSinkRequest request,
io.grpc.stub.StreamObserver<LogSink> responseObserver)
Updates a sink.
|
public void listSinks(ListSinksRequest request, io.grpc.stub.StreamObserver<ListSinksResponse> responseObserver)
Lists sinks.
public void getSink(GetSinkRequest request, io.grpc.stub.StreamObserver<LogSink> responseObserver)
Gets a sink.
public void createSink(CreateSinkRequest request, io.grpc.stub.StreamObserver<LogSink> responseObserver)
Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's `writer_identity` is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.
public void updateSink(UpdateSinkRequest request, io.grpc.stub.StreamObserver<LogSink> responseObserver)
Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: `destination`, and `filter`. The updated sink might also have a new `writer_identity`; see the `unique_writer_identity` field.
public void deleteSink(DeleteSinkRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes a sink. If the sink has a unique `writer_identity`, then that service account is also deleted.
public void listExclusions(ListExclusionsRequest request, io.grpc.stub.StreamObserver<ListExclusionsResponse> responseObserver)
Lists all the exclusions in a parent resource.
public void getExclusion(GetExclusionRequest request, io.grpc.stub.StreamObserver<LogExclusion> responseObserver)
Gets the description of an exclusion.
public void createExclusion(CreateExclusionRequest request, io.grpc.stub.StreamObserver<LogExclusion> responseObserver)
Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.
public void updateExclusion(UpdateExclusionRequest request, io.grpc.stub.StreamObserver<LogExclusion> responseObserver)
Changes one or more properties of an existing exclusion.
public void deleteExclusion(DeleteExclusionRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes an exclusion.
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService