REST Resource: organizations.environments.apis.revisions.debugsessions

Resource: DebugSession

JSON representation
{
  "name": string,
  "validity": integer,
  "count": integer,
  "tracesize": integer,
  "filter": string,
  "timeout": string,
  "createTime": string
}
Fields
name

string

A unique ID for this DebugSession.

validity

integer

Optional. The length of time, in seconds, that this debug session is valid, starting from when it's received in the control plane. Min = 1, Max = 15, Default = 10.

count

integer

Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10.

tracesize

integer

Optional. The maximum number of bytes captured from the response payload. Min = 0, Max = 5120, Default = 5120.

filter

string

Optional. A conditional statement which is evaluated against the request message to determine if it should be traced. Syntax matches that of on API Proxy bundle flow Condition.

timeout

string (int64 format)

Optional. The time in seconds after which this DebugSession should end. This value will override the value in query param, if both are provided.

createTime

string (Timestamp format)

Output only. The first transaction creation timestamp, recorded by UAP.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

create

Creates a debug session for a deployed API Proxy revision.

deleteData

Deletes the data from a debug session.

get

Retrieves a debug session.

list

Lists debug sessions that are currently active in the given API Proxy revision.