AiEndpointPredictRequestResponseLoggingConfigArgs

data class AiEndpointPredictRequestResponseLoggingConfigArgs(val bigqueryDestination: Output<AiEndpointPredictRequestResponseLoggingConfigBigqueryDestinationArgs>? = null, val enabled: Output<Boolean>? = null, val samplingRate: Output<Double>? = null) : ConvertibleToJava<AiEndpointPredictRequestResponseLoggingConfigArgs>

Constructors

constructor(bigqueryDestination: Output<AiEndpointPredictRequestResponseLoggingConfigBigqueryDestinationArgs>? = null, enabled: Output<Boolean>? = null, samplingRate: Output<Double>? = null)

Properties

Link copied to clipboard

BigQuery table for logging. If only given a project, a new dataset will be created with name logging_<endpoint-display-name>_<endpoint-id> where will be made BigQuery-dataset-name compatible (e.g. most special characters will become underscores). If no table name is given, a new table will be created with name request_response_logging Structure is documented below.

Link copied to clipboard
val enabled: Output<Boolean>? = null

If logging is enabled or not.

Link copied to clipboard
val samplingRate: Output<Double>? = null

Percentage of requests to be logged, expressed as a fraction in range(0,1]

Functions

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