
src.dialogflow.v3.ExperimentArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.dialogflow.v3
final case class ExperimentArgs private(
agentId: besom.types.Output[String],
createTime: besom.types.Output[scala.Option[String]],
definition: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3ExperimentDefinitionArgs]],
description: besom.types.Output[scala.Option[String]],
displayName: besom.types.Output[String],
endTime: besom.types.Output[scala.Option[String]],
environmentId: besom.types.Output[String],
experimentLength: besom.types.Output[scala.Option[String]],
lastUpdateTime: besom.types.Output[scala.Option[String]],
location: besom.types.Output[scala.Option[String]],
name: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
result: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3ExperimentResultArgs]],
rolloutConfig: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3RolloutConfigArgs]],
rolloutFailureReason: besom.types.Output[scala.Option[String]],
rolloutState: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3RolloutStateArgs]],
startTime: besom.types.Output[scala.Option[String]],
state: besom.types.Output[scala.Option[besom.api.googlenative.dialogflow.v3.enums.ExperimentState]],
variantsHistory: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3VariantsHistoryArgs]]]
)
object ExperimentArgs:
def apply(
agentId: besom.types.Input[String],
createTime: besom.types.Input.Optional[String] = scala.None,
definition: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3ExperimentDefinitionArgs] = scala.None,
description: besom.types.Input.Optional[String] = scala.None,
displayName: besom.types.Input[String],
endTime: besom.types.Input.Optional[String] = scala.None,
environmentId: besom.types.Input[String],
experimentLength: besom.types.Input.Optional[String] = scala.None,
lastUpdateTime: besom.types.Input.Optional[String] = scala.None,
location: besom.types.Input.Optional[String] = scala.None,
name: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
result: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3ExperimentResultArgs] = scala.None,
rolloutConfig: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3RolloutConfigArgs] = scala.None,
rolloutFailureReason: besom.types.Input.Optional[String] = scala.None,
rolloutState: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3RolloutStateArgs] = scala.None,
startTime: besom.types.Input.Optional[String] = scala.None,
state: besom.types.Input.Optional[besom.api.googlenative.dialogflow.v3.enums.ExperimentState] = scala.None,
variantsHistory: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3VariantsHistoryArgs]]] = scala.None
)(using besom.types.Context): ExperimentArgs =
new ExperimentArgs(
agentId = agentId.asOutput(isSecret = false),
createTime = createTime.asOptionOutput(isSecret = false),
definition = definition.asOptionOutput(isSecret = false),
description = description.asOptionOutput(isSecret = false),
displayName = displayName.asOutput(isSecret = false),
endTime = endTime.asOptionOutput(isSecret = false),
environmentId = environmentId.asOutput(isSecret = false),
experimentLength = experimentLength.asOptionOutput(isSecret = false),
lastUpdateTime = lastUpdateTime.asOptionOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
result = result.asOptionOutput(isSecret = false),
rolloutConfig = rolloutConfig.asOptionOutput(isSecret = false),
rolloutFailureReason = rolloutFailureReason.asOptionOutput(isSecret = false),
rolloutState = rolloutState.asOptionOutput(isSecret = false),
startTime = startTime.asOptionOutput(isSecret = false),
state = state.asOptionOutput(isSecret = false),
variantsHistory = variantsHistory.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[ExperimentArgs] =
besom.internal.Encoder.derived[ExperimentArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[ExperimentArgs] =
besom.internal.ArgsEncoder.derived[ExperimentArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy