AiEndpointPredictRequestResponseLoggingConfig constructor
const
AiEndpointPredictRequestResponseLoggingConfig({
- Input<
AiEndpointPredictRequestResponseLoggingConfigBigqueryDestination?> ? bigqueryDestination, - Input<
bool?> ? enabled, - Input<
double?> ? samplingRate,
Creates a new AiEndpointPredictRequestResponseLoggingConfig.
bigqueryDestination 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 requestResponseLogging
enabled If logging is enabled or not.
samplingRate Percentage of requests to be logged, expressed as a fraction in range(0,1]
Implementation
const AiEndpointPredictRequestResponseLoggingConfig({
this.bigqueryDestination,
this.enabled,
this.samplingRate,
});