DebugSessionArgs

data class DebugSessionArgs(val apiId: Output<String>? = null, val count: Output<Int>? = null, val environmentId: Output<String>? = null, val filter: Output<String>? = null, val name: Output<String>? = null, val organizationId: Output<String>? = null, val revisionId: Output<String>? = null, val timeout: Output<String>? = null, val tracesize: Output<Int>? = null, val validity: Output<Int>? = null) : ConvertibleToJava<DebugSessionArgs>

Creates a debug session for a deployed API Proxy revision. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Constructors

Link copied to clipboard
fun DebugSessionArgs(apiId: Output<String>? = null, count: Output<Int>? = null, environmentId: Output<String>? = null, filter: Output<String>? = null, name: Output<String>? = null, organizationId: Output<String>? = null, revisionId: Output<String>? = null, timeout: Output<String>? = null, tracesize: Output<Int>? = null, validity: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): DebugSessionArgs

Properties

Link copied to clipboard
val apiId: Output<String>? = null
Link copied to clipboard
val count: Output<Int>? = null

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

Link copied to clipboard
val environmentId: Output<String>? = null
Link copied to clipboard
val filter: Output<String>? = null

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.

Link copied to clipboard
val name: Output<String>? = null

A unique ID for this DebugSession.

Link copied to clipboard
val organizationId: Output<String>? = null
Link copied to clipboard
val revisionId: Output<String>? = null
Link copied to clipboard
val timeout: Output<String>? = null

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

Link copied to clipboard
val tracesize: Output<Int>? = null

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

Link copied to clipboard
val validity: Output<Int>? = null

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.