
src.ml.v1.GetTrialArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.ml.v1
final case class GetTrialArgs private(
location: besom.types.Output[String],
project: besom.types.Output[scala.Option[String]],
studyId: besom.types.Output[String],
trialId: besom.types.Output[String]
)
object GetTrialArgs:
def apply(
location: besom.types.Input[String],
project: besom.types.Input.Optional[String] = scala.None,
studyId: besom.types.Input[String],
trialId: besom.types.Input[String]
)(using besom.types.Context): GetTrialArgs =
new GetTrialArgs(
location = location.asOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
studyId = studyId.asOutput(isSecret = false),
trialId = trialId.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetTrialArgs] =
besom.internal.Encoder.derived[GetTrialArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetTrialArgs] =
besom.internal.ArgsEncoder.derived[GetTrialArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy