Cloud Logging Service, gRPC: ExportService.Get
Returns the specified export.
To get the list of all available exports, make a List request.
gRPC request
rpc Get (GetExportRequest) returns (Export)
GetExportRequest
{
"export_id": "string"
}
Field |
Description |
export_id |
string Required field. ID of the export to return. To get a export ID make a ExportService.List request. |
Export
{
"id": "string",
"folder_id": "string",
"cloud_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"group_id": "string",
"sink_id": "string",
"params": {
"resource_types": [
"string"
],
"resource_ids": [
"string"
],
"stream_names": [
"string"
],
"levels": [
"Level"
],
"filter": "string"
}
}
Field |
Description |
id |
string Export ID. |
folder_id |
string Export folder ID. |
cloud_id |
string Export cloud ID. |
created_at |
Export creation time. |
name |
string Export name. |
description |
string Export description. |
labels |
object (map<string, string>) Export lables. |
group_id |
string Group logs are exported from. |
sink_id |
string Sink logs are exported to. |
params |
Parameters of logs filtration. |
ExportParams
Field |
Description |
resource_types[] |
string |
resource_ids[] |
string |
stream_names[] |
string |
levels[] |
enum Level
|
filter |
string |