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
{
"log_group_id": "string"
}
Field |
Description |
log_group_id |
string Required field. ID of the log group to return. To get a log group ID make a LogGroupService.List request. |
LogGroup
{
"id": "string",
"folder_id": "string",
"cloud_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"status": "Status",
"retention_period": "google.protobuf.Duration",
"data_stream": "string"
}
Field |
Description |
id |
string Log group ID. |
folder_id |
string Log group folder ID. |
cloud_id |
string Log group cloud ID. |
created_at |
Log group creation time. |
name |
string Log group name. |
description |
string Log group description. |
labels |
object (map<string, string>) Log group labels. |
status |
enum Status Status of the log group.
|
retention_period |
Log group entry retention period. Entries will be present in group during this period. |
data_stream |
string Data stream name |