createSink method

ResponseFuture<LogSink> createSink(
  1. CreateSinkRequest request, {
  2. CallOptions? options,
})

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.

Implementation

$grpc.ResponseFuture<$0.LogSink> createSink(
  $0.CreateSinkRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$createSink, request, options: options);
}