Cloud Logging Service, REST: Sink methods
A set of methods for managing log sinks.
JSON Representation
{
"id": "string",
"folderId": "string",
"cloudId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"serviceAccountId": "string",
// includes only one of the fields `yds`, `s3`
"yds": {
"streamName": "string"
},
"s3": {
"bucket": "string",
"prefix": "string"
},
// end of the list of possible fields
}
Field | Description |
---|---|
id | string Sink ID. |
folderId | string Sink folder ID. |
cloudId | string Sink cloud ID. |
createdAt | string (date-time) Sink creation time. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
name | string Sink name. |
description | string Sink description. |
labels | object Sink labels. |
serviceAccountId | string Logs will be written to the sink on behalf of this service account |
yds | object Yandex data stream includes only one of the fields yds , s3 |
yds. streamName |
string Fully qualified name of data stream The maximum string length in characters is 512. |
s3 | object Object storage includes only one of the fields yds , s3 |
s3. bucket |
string Object storage bucket Value must match the regular expression |
s3. prefix |
string Prefix to use for saved log object names The maximum string length in characters is 1024. |
Methods
Method | Description |
---|---|
create | Creates a sink in the specified folder. |
delete | Deletes the specified sink. |
get | Returns the specified sink. |
list | Retrieves the list of sinks in the specified folder. |
listAccessBindings | Lists existing access bindings for the specified sink. |
listOperations | Lists operations for the specified sink. |
setAccessBindings | Sets access bindings for the specified sink. |
update | Updates the specified sink. |
updateAccessBindings | Updates access bindings for the specified sink. |