updateExperimentRun
inline suspend fun AppConfigClient.updateExperimentRun(crossinline block: UpdateExperimentRunRequest.Builder.() -> Unit): UpdateExperimentRunResponse
Updates a running experiment. Use this operation to increase audience exposure, modify treatment assignment overrides, or update the description of an active experiment run. Audience exposure can only be increased, not decreased.
Samples
// The following UpdateExperimentRun example increases the exposure percentage of a running experiment.
val resp = appConfigClient.updateExperimentRun {
applicationIdentifier = "339ohji"
experimentDefinitionIdentifier = "bsxyd7k"
run = 1
exposurePercentage = 75.0.toFloat()
}Content copied to clipboard