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

src.cloudtasks.v2.QueueArgs.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 QueueArgs private(
  appEngineRoutingOverride: besom.types.Output[scala.Option[besom.api.googlenative.cloudtasks.v2.inputs.AppEngineRoutingArgs]],
  httpTarget: besom.types.Output[scala.Option[besom.api.googlenative.cloudtasks.v2.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.v2.inputs.RateLimitsArgs]],
  retryConfig: besom.types.Output[scala.Option[besom.api.googlenative.cloudtasks.v2.inputs.RetryConfigArgs]],
  stackdriverLoggingConfig: besom.types.Output[scala.Option[besom.api.googlenative.cloudtasks.v2.inputs.StackdriverLoggingConfigArgs]]
)

object QueueArgs:
  def apply(
    appEngineRoutingOverride: besom.types.Input.Optional[besom.api.googlenative.cloudtasks.v2.inputs.AppEngineRoutingArgs] = scala.None,
    httpTarget: besom.types.Input.Optional[besom.api.googlenative.cloudtasks.v2.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.v2.inputs.RateLimitsArgs] = scala.None,
    retryConfig: besom.types.Input.Optional[besom.api.googlenative.cloudtasks.v2.inputs.RetryConfigArgs] = scala.None,
    stackdriverLoggingConfig: besom.types.Input.Optional[besom.api.googlenative.cloudtasks.v2.inputs.StackdriverLoggingConfigArgs] = scala.None
  )(using besom.types.Context): QueueArgs =
    new QueueArgs(
      appEngineRoutingOverride = appEngineRoutingOverride.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)
    )

  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