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

src.cloudtasks.v2.GetTaskArgs.scala Maven / Gradle / Ivy

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

final case class GetTaskArgs private(
  location: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  queueId: besom.types.Output[String],
  responseView: besom.types.Output[scala.Option[String]],
  taskId: besom.types.Output[String]
)

object GetTaskArgs:
  def apply(
    location: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    queueId: besom.types.Input[String],
    responseView: besom.types.Input.Optional[String] = scala.None,
    taskId: besom.types.Input[String]
  )(using besom.types.Context): GetTaskArgs =
    new GetTaskArgs(
      location = location.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      queueId = queueId.asOutput(isSecret = false),
      responseView = responseView.asOptionOutput(isSecret = false),
      taskId = taskId.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy