Cloud Logging Service, REST: LogGroup methods
A set of methods for managing log groups.
JSON Representation
{
"id": "string",
"folderId": "string",
"cloudId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"status": "string",
"retentionPeriod": "string",
"dataStream": "string"
}
Field | Description |
---|---|
id | string Log group ID. |
folderId | string Log group folder ID. |
cloudId | string Log group cloud ID. |
createdAt | string (date-time) Log group 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 Log group name. |
description | string Log group description. |
labels | object Log group labels. |
status | string Status of the log group. Possible log group statuses.
Should never occur. - CREATING: Log group is creating.
|
retentionPeriod | string Log group entry retention period. Entries will be present in group during this period. |
dataStream | string Data stream name |
Methods
Method | Description |
---|---|
create | Creates a log group in the specified folder. |
delete | Deletes the specified log group. |
get | Returns the specified log group. |
list | Retrieves the list of log groups in the specified folder. |
listAccessBindings | Lists existing access bindings for the specified log group. |
listOperations | Lists operations for the specified log group. |
listResources | Retrieves the resources (type and IDs) in the specified log group. |
setAccessBindings | Sets access bindings for the specified log group. |
stats | Returns stats for the specified log group. |
update | Updates the specified log group. |
updateAccessBindings | Updates access bindings for the specified log group. |