
src.batch.v1.JobArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.batch.v1
final case class JobArgs private(
allocationPolicy: besom.types.Output[scala.Option[besom.api.googlenative.batch.v1.inputs.AllocationPolicyArgs]],
jobId: besom.types.Output[scala.Option[String]],
labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
location: besom.types.Output[scala.Option[String]],
logsPolicy: besom.types.Output[scala.Option[besom.api.googlenative.batch.v1.inputs.LogsPolicyArgs]],
notifications: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.batch.v1.inputs.JobNotificationArgs]]],
priority: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
requestId: besom.types.Output[scala.Option[String]],
taskGroups: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.batch.v1.inputs.TaskGroupArgs]]
)
object JobArgs:
def apply(
allocationPolicy: besom.types.Input.Optional[besom.api.googlenative.batch.v1.inputs.AllocationPolicyArgs] = scala.None,
jobId: besom.types.Input.Optional[String] = scala.None,
labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
location: besom.types.Input.Optional[String] = scala.None,
logsPolicy: besom.types.Input.Optional[besom.api.googlenative.batch.v1.inputs.LogsPolicyArgs] = scala.None,
notifications: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.batch.v1.inputs.JobNotificationArgs]]] = scala.None,
priority: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
requestId: besom.types.Input.Optional[String] = scala.None,
taskGroups: besom.types.Input[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.batch.v1.inputs.TaskGroupArgs]]]
)(using besom.types.Context): JobArgs =
new JobArgs(
allocationPolicy = allocationPolicy.asOptionOutput(isSecret = false),
jobId = jobId.asOptionOutput(isSecret = false),
labels = labels.asOptionOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
logsPolicy = logsPolicy.asOptionOutput(isSecret = false),
notifications = notifications.asOptionOutput(isSecret = false),
priority = priority.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
requestId = requestId.asOptionOutput(isSecret = false),
taskGroups = taskGroups.asOutput(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