All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.notebooks.v1.ExecutionArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.notebooks.v1

final case class ExecutionArgs private(
  description: besom.types.Output[scala.Option[String]],
  executionId: besom.types.Output[String],
  executionTemplate: besom.types.Output[scala.Option[besom.api.googlenative.notebooks.v1.inputs.ExecutionTemplateArgs]],
  location: besom.types.Output[scala.Option[String]],
  outputNotebookFile: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]]
)

object ExecutionArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    executionId: besom.types.Input[String],
    executionTemplate: besom.types.Input.Optional[besom.api.googlenative.notebooks.v1.inputs.ExecutionTemplateArgs] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    outputNotebookFile: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): ExecutionArgs =
    new ExecutionArgs(
      description = description.asOptionOutput(isSecret = false),
      executionId = executionId.asOutput(isSecret = false),
      executionTemplate = executionTemplate.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      outputNotebookFile = outputNotebookFile.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[ExecutionArgs] =
    besom.internal.Encoder.derived[ExecutionArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[ExecutionArgs] =
    besom.internal.ArgsEncoder.derived[ExecutionArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy