Cloud Logging Service, gRPC: LogGroupService.Get
Returns the specified log group.
To get the list of all available log groups, make a List request.
gRPC request
rpc Get (GetLogGroupRequest) returns (LogGroup)
GetLogGroupRequest
{
"logGroupId": "string"
}
Field |
Description |
logGroupId |
string Required field. ID of the log group to return. To get a log group ID make a LogGroupService.List request. |
LogGroup
{
"id": "string",
"folderId": "string",
"cloudId": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"status": "Status",
"retentionPeriod": "google.protobuf.Duration",
"dataStream": "string"
}
Field |
Description |
id |
string Log group ID. |
folderId |
string Log group folder ID. |
cloudId |
string Log group cloud ID. |
createdAt |
Log group creation time. |
name |
string Log group name. |
description |
string Log group description. |
labels |
string Log group labels. |
status |
enum Status Status of the log group.
|
retentionPeriod |
Log group entry retention period. Entries will be present in group during this period. |
dataStream |
string Data stream name |