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

src.dataflow.v1b3.GetJobArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.dataflow.v1b3

final case class GetJobArgs private(
  jobId: besom.types.Output[String],
  location: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  view: besom.types.Output[scala.Option[String]]
)

object GetJobArgs:
  def apply(
    jobId: besom.types.Input[String],
    location: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    view: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GetJobArgs =
    new GetJobArgs(
      jobId = jobId.asOutput(isSecret = false),
      location = location.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      view = view.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy