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

src.bigquery.v2.JobArgs.scala Maven / Gradle / Ivy

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

final case class JobArgs private(
  configuration: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.JobConfigurationArgs]],
  jobReference: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.JobReferenceArgs]],
  project: besom.types.Output[scala.Option[String]],
  source: besom.types.Output[scala.Option[besom.types.AssetOrArchive]]
)

object JobArgs:
  def apply(
    configuration: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.JobConfigurationArgs] = scala.None,
    jobReference: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.JobReferenceArgs] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    source: besom.types.Input.Optional[besom.types.AssetOrArchive] = scala.None
  )(using besom.types.Context): JobArgs =
    new JobArgs(
      configuration = configuration.asOptionOutput(isSecret = false),
      jobReference = jobReference.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      source = source.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy