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

src.datapipelines.v1.PipelineArgs.scala Maven / Gradle / Ivy

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

final case class PipelineArgs private(
  displayName: besom.types.Output[String],
  location: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  pipelineSources: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  project: besom.types.Output[scala.Option[String]],
  scheduleInfo: besom.types.Output[scala.Option[besom.api.googlenative.datapipelines.v1.inputs.GoogleCloudDatapipelinesV1ScheduleSpecArgs]],
  schedulerServiceAccountEmail: besom.types.Output[scala.Option[String]],
  state: besom.types.Output[besom.api.googlenative.datapipelines.v1.enums.PipelineState],
  `type`: besom.types.Output[besom.api.googlenative.datapipelines.v1.enums.PipelineType],
  workload: besom.types.Output[scala.Option[besom.api.googlenative.datapipelines.v1.inputs.GoogleCloudDatapipelinesV1WorkloadArgs]]
)

object PipelineArgs:
  def apply(
    displayName: besom.types.Input[String],
    location: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    pipelineSources: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    scheduleInfo: besom.types.Input.Optional[besom.api.googlenative.datapipelines.v1.inputs.GoogleCloudDatapipelinesV1ScheduleSpecArgs] = scala.None,
    schedulerServiceAccountEmail: besom.types.Input.Optional[String] = scala.None,
    state: besom.types.Input[besom.api.googlenative.datapipelines.v1.enums.PipelineState],
    `type`: besom.types.Input[besom.api.googlenative.datapipelines.v1.enums.PipelineType],
    workload: besom.types.Input.Optional[besom.api.googlenative.datapipelines.v1.inputs.GoogleCloudDatapipelinesV1WorkloadArgs] = scala.None
  )(using besom.types.Context): PipelineArgs =
    new PipelineArgs(
      displayName = displayName.asOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      pipelineSources = pipelineSources.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      scheduleInfo = scheduleInfo.asOptionOutput(isSecret = false),
      schedulerServiceAccountEmail = schedulerServiceAccountEmail.asOptionOutput(isSecret = false),
      state = state.asOutput(isSecret = false),
      `type` = `type`.asOutput(isSecret = false),
      workload = workload.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy