TraceSinkArgs

data class TraceSinkArgs(val name: Output<String>? = null, val outputConfig: Output<OutputConfigArgs>? = null, val project: Output<String>? = null) : ConvertibleToJava<TraceSinkArgs>

Creates a sink that exports trace spans to a destination. The export of newly-ingested traces begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export traces only from the resource owning the sink (the 'parent').

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, outputConfig: Output<OutputConfigArgs>? = null, project: Output<String>? = null)

Properties

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

The canonical sink resource name, unique within the project. Must be of the form: projects/PROJECT_NUMBER/traceSinks/SINK_ID. E.g.: "projects/12345/traceSinks/my-project-trace-sink". Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

Link copied to clipboard
val outputConfig: Output<OutputConfigArgs>? = null

The export destination.

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

Functions

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