
src.dataplex.v1.TaskArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.dataplex.v1
final case class TaskArgs private(
description: besom.types.Output[scala.Option[String]],
displayName: besom.types.Output[scala.Option[String]],
executionSpec: besom.types.Output[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1TaskExecutionSpecArgs],
labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
lakeId: besom.types.Output[String],
location: besom.types.Output[scala.Option[String]],
notebook: besom.types.Output[scala.Option[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1TaskNotebookTaskConfigArgs]],
project: besom.types.Output[scala.Option[String]],
spark: besom.types.Output[scala.Option[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1TaskSparkTaskConfigArgs]],
taskId: besom.types.Output[String],
triggerSpec: besom.types.Output[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1TaskTriggerSpecArgs]
)
object TaskArgs:
def apply(
description: besom.types.Input.Optional[String] = scala.None,
displayName: besom.types.Input.Optional[String] = scala.None,
executionSpec: besom.types.Input[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1TaskExecutionSpecArgs],
labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
lakeId: besom.types.Input[String],
location: besom.types.Input.Optional[String] = scala.None,
notebook: besom.types.Input.Optional[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1TaskNotebookTaskConfigArgs] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
spark: besom.types.Input.Optional[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1TaskSparkTaskConfigArgs] = scala.None,
taskId: besom.types.Input[String],
triggerSpec: besom.types.Input[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1TaskTriggerSpecArgs]
)(using besom.types.Context): TaskArgs =
new TaskArgs(
description = description.asOptionOutput(isSecret = false),
displayName = displayName.asOptionOutput(isSecret = false),
executionSpec = executionSpec.asOutput(isSecret = false),
labels = labels.asOptionOutput(isSecret = false),
lakeId = lakeId.asOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
notebook = notebook.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
spark = spark.asOptionOutput(isSecret = false),
taskId = taskId.asOutput(isSecret = false),
triggerSpec = triggerSpec.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[TaskArgs] =
besom.internal.Encoder.derived[TaskArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[TaskArgs] =
besom.internal.ArgsEncoder.derived[TaskArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy