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
{
"exportId": "string"
}
Field |
Description |
exportId |
string Required field. ID of the export to return. To get a export ID make a ExportService.List request. |
Export
{
"id": "string",
"folderId": "string",
"cloudId": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"groupId": "string",
"sinkId": "string",
"params": {
"resourceTypes": [
"string"
],
"resourceIds": [
"string"
],
"streamNames": [
"string"
],
"levels": [
"Level"
],
"filter": "string"
}
}
Field |
Description |
id |
string Export ID. |
folderId |
string Export folder ID. |
cloudId |
string Export cloud ID. |
createdAt |
Export creation time. |
name |
string Export name. |
description |
string Export description. |
labels |
string Export lables. |
groupId |
string Group logs are exported from. |
sinkId |
string Sink logs are exported to. |
params |
Parameters of logs filtration. |
ExportParams
Field |
Description |
resourceTypes[] |
string |
resourceIds[] |
string |
streamNames[] |
string |
levels[] |
enum Level
|
filter |
string |