Method: legacySdk.legacyAddAgentConnectorLogs

Full name: projects.locations.instances.legacySdk.legacyAddAgentConnectorLogs

Legacy RPC for add agent connector logs.

HTTP request


Path parameters

Parameters
instance

string

Required. The AddAgentConnectorLogs request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:addAgentConnectorLogs

Query parameters

Parameters
agentIdentifier

string

Required. The instance of the legacy sdk.

connectorIdentifier

string

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 (SdkConnectorLogRecord)
    }
  ],
  "identifier": string,
  "connectorIdentifier": string,
  "debugOutput": string
}
Fields
logItems[]

object (SdkConnectorLogRecord)

Optional. Log items.

identifier

string

Optional. Connector identifier.

connectorIdentifier

string

Optional. Connector identifier.

debugOutput

string

Optional. Debug output.

SdkConnectorLogRecord

ConnectorLogRecord message.

JSON representation
{
  "timeStampUnixMs": string,
  "message": string,
  "connectorIdentifier": string,
  "originalSourceFileName": string,
  "environment": string,
  "sourceSystemName": string,
  "recordType": enum (LogRecordType),
  "resultPackageItemsCount": integer,
  "exceptionMessage": string,
  "resultDataType": enum (DataCategoryEnum)
}
Fields
timeStampUnixMs

string (int64 format)

Optional. Time stamp unix ms.

message

string

Optional. Message.

connectorIdentifier

string

Optional. Connector identifier.

originalSourceFileName

string

Optional. Original source file name.

environment

string

Optional. Environment.

sourceSystemName

string

Optional. Source system name.

recordType

enum (LogRecordType)

Optional. Record type.

resultPackageItemsCount

integer

Result package items count.

exceptionMessage

string

Exception message.

resultDataType

enum (DataCategoryEnum)

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.