- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's
writerIdentity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.
The URL uses gRPC Transcoding syntax.
Required. The resource in which to create the sink:
Authorization requires the following IAM permission on the specified resource
Optional. Determines the kind of IAM identity returned as
If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
The request body contains an instance of
If successful, the response body contains a newly created instance of
Requires one of the following OAuth scopes:
For more information, see the Authentication Overview.