DebugSessionArgs constructor
Creates a new DebugSessionArgs.
apiId Required.
count Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10.
environmentId Required.
filter 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.
name A unique ID for this DebugSession.
organizationId Required.
revisionId Required.
timeout Optional. The time in seconds after which this DebugSession should end. This value will override the value in query param, if both are provided.
tracesize Optional. The maximum number of bytes captured from the response payload. Min = 0, Max = 5120, Default = 5120.
validity 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.
Implementation
const DebugSessionArgs({
required this.apiId,
this.count,
required this.environmentId,
this.filter,
this.name,
required this.organizationId,
required this.revisionId,
this.timeout,
this.tracesize,
this.validity,
});