- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- SdkConnectorLogPackage
- SdkConnectorLogRecord
- LogRecordType
- DataCategoryEnum
- Try it!
Full name: projects.locations.instances.legacySdk.legacyAddAgentConnectorLogs
Legacy RPC for add agent connector logs.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The AddAgentConnectorLogs request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:addAgentConnectorLogs |
Query parameters
Parameters | |
---|---|
agentIdentifier |
Required. The instance of the legacy sdk. |
connectorIdentifier |
Required. The connector identifier. |
Request body
The request body contains an instance of SdkConnectorLogPackage
.
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.
SdkConnectorLogPackage
ConnectorLogPackage message.
JSON representation |
---|
{
"logItems": [
{
object ( |
Fields | |
---|---|
logItems[] |
Optional. Log items. |
identifier |
Optional. Connector identifier. |
connectorIdentifier |
Optional. Connector identifier. |
debugOutput |
Optional. Debug output. |
SdkConnectorLogRecord
ConnectorLogRecord message.
JSON representation |
---|
{ "timeStampUnixMs": string, "message": string, "connectorIdentifier": string, "originalSourceFileName": string, "environment": string, "sourceSystemName": string, "recordType": enum ( |
Fields | |
---|---|
timeStampUnixMs |
Optional. Time stamp unix ms. |
message |
Optional. Message. |
connectorIdentifier |
Optional. Connector identifier. |
originalSourceFileName |
Optional. Original source file name. |
environment |
Optional. Environment. |
sourceSystemName |
Optional. Source system name. |
recordType |
Optional. Record type. |
resultPackageItemsCount |
Result package items count. |
exceptionMessage |
Exception message. |
resultDataType |
Optional. Result data type. |
LogRecordType
LogRecordType enum.
Enums | |
---|---|
INFO |
Info. |
DEBUG |
Debug. |
WARN |
Warn. |
ERROR |
Error. |
FATAL |
Fatal. |
DataCategoryEnum
DataCategoryEnum enum.
Enums | |
---|---|
ALERT |
Alert. |
EVENT |
Event. |
CASE |
Case. |
ENTITY |
Entity. |
FILE |
File. |
USER |
User. |
GROUP |
Group. |
ASSET |
Asset. |
CUSTOM |
Custom. |