Cloud Logging Service, gRPC: LogGroupService.ListResources
Retrieves the resources (type and IDs) in the specified log group.
gRPC request
rpc ListResources (ListResourcesRequest) returns (ListResourcesResponse)
ListResourcesRequest
{
"log_group_id": "string",
"type": "string"
}
|
Field |
Description |
|
log_group_id |
string Required field. ID of the log group to list resources for. The maximum string length in characters is 64. |
|
type |
string Resource type to return resources for. The maximum string length in characters is 256. |
ListResourcesResponse
{
"resources": [
{
"type": "string",
"ids": [
"string"
]
}
]
}
|
Field |
Description |
|
resources[] |
List of resources present in log group. |
LogGroupResource
Log group resource.
|
Field |
Description |
|
type |
string Resource type. |
|
ids[] |
string List of resource IDs with the same resource type. |