- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- SdkLogEvent
- LogLevel
- Try it!
Full name: projects.locations.instances.legacySdk.legacyAddAgentLogs
Legacy RPC for add agent logs.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The AddAgentLogs request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:addAgentLogs |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"legacyPayload": [
{
object ( |
Fields | |
---|---|
legacyPayload[] |
Required. The log events. |
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
SdkLogEvent
The LogEvent message.
JSON representation |
---|
{
"module": string,
"eventId": integer,
"message": string,
"actorIdentifier": string,
"agentComponentType": string,
"agentComponentName": string,
"taskId": string,
"creationTimeUnixGmt": number,
"taskType": string,
"actor": string,
"level": enum ( |
Fields | |
---|---|
module |
Optional. The module. |
eventId |
Optional. The event id. |
message |
Optional. The message. |
actorIdentifier |
Required. The actor identifier. |
agentComponentType |
Optional. The agent component type. |
agentComponentName |
Optional. The agent component name. |
taskId |
Optional. The task id. |
creationTimeUnixGmt |
Output only. The creation time in unix gmt. |
taskType |
Optional. The task type. |
actor |
Optional. The actor. |
level |
Required. The log level. |
LogLevel
LogLevel enum.
Enums | |
---|---|
DEBUG |
Debug. |
INFO |
Info. |
WARN |
Warn. |
ERROR |
Error. |
ALERT |
Alert. |
VERBOSE |
Verbose. |