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

src.cloudtasks.v2beta3.QueueArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.cloudtasks.v2beta3

final case class QueueArgs private(
  appEngineHttpQueue: besom.types.Output[scala.Option[besom.api.googlenative.cloudtasks.v2beta3.inputs.AppEngineHttpQueueArgs]],
  httpTarget: besom.types.Output[scala.Option[besom.api.googlenative.cloudtasks.v2beta3.inputs.HttpTargetArgs]],
  location: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  rateLimits: besom.types.Output[scala.Option[besom.api.googlenative.cloudtasks.v2beta3.inputs.RateLimitsArgs]],
  retryConfig: besom.types.Output[scala.Option[besom.api.googlenative.cloudtasks.v2beta3.inputs.RetryConfigArgs]],
  stackdriverLoggingConfig: besom.types.Output[scala.Option[besom.api.googlenative.cloudtasks.v2beta3.inputs.StackdriverLoggingConfigArgs]],
  taskTtl: besom.types.Output[scala.Option[String]],
  tombstoneTtl: besom.types.Output[scala.Option[String]],
  `type`: besom.types.Output[scala.Option[besom.api.googlenative.cloudtasks.v2beta3.enums.QueueType]]
)

object QueueArgs:
  def apply(
    appEngineHttpQueue: besom.types.Input.Optional[besom.api.googlenative.cloudtasks.v2beta3.inputs.AppEngineHttpQueueArgs] = scala.None,
    httpTarget: besom.types.Input.Optional[besom.api.googlenative.cloudtasks.v2beta3.inputs.HttpTargetArgs] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    rateLimits: besom.types.Input.Optional[besom.api.googlenative.cloudtasks.v2beta3.inputs.RateLimitsArgs] = scala.None,
    retryConfig: besom.types.Input.Optional[besom.api.googlenative.cloudtasks.v2beta3.inputs.RetryConfigArgs] = scala.None,
    stackdriverLoggingConfig: besom.types.Input.Optional[besom.api.googlenative.cloudtasks.v2beta3.inputs.StackdriverLoggingConfigArgs] = scala.None,
    taskTtl: besom.types.Input.Optional[String] = scala.None,
    tombstoneTtl: besom.types.Input.Optional[String] = scala.None,
    `type`: besom.types.Input.Optional[besom.api.googlenative.cloudtasks.v2beta3.enums.QueueType] = scala.None
  )(using besom.types.Context): QueueArgs =
    new QueueArgs(
      appEngineHttpQueue = appEngineHttpQueue.asOptionOutput(isSecret = false),
      httpTarget = httpTarget.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      rateLimits = rateLimits.asOptionOutput(isSecret = false),
      retryConfig = retryConfig.asOptionOutput(isSecret = false),
      stackdriverLoggingConfig = stackdriverLoggingConfig.asOptionOutput(isSecret = false),
      taskTtl = taskTtl.asOptionOutput(isSecret = false),
      tombstoneTtl = tombstoneTtl.asOptionOutput(isSecret = false),
      `type` = `type`.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy