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

src.compute.v1.TargetHttpProxyArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.compute.v1

final case class TargetHttpProxyArgs private(
  description: besom.types.Output[scala.Option[String]],
  httpKeepAliveTimeoutSec: besom.types.Output[scala.Option[Int]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  proxyBind: besom.types.Output[scala.Option[Boolean]],
  requestId: besom.types.Output[scala.Option[String]],
  urlMap: besom.types.Output[scala.Option[String]]
)

object TargetHttpProxyArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    httpKeepAliveTimeoutSec: besom.types.Input.Optional[Int] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    proxyBind: besom.types.Input.Optional[Boolean] = scala.None,
    requestId: besom.types.Input.Optional[String] = scala.None,
    urlMap: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): TargetHttpProxyArgs =
    new TargetHttpProxyArgs(
      description = description.asOptionOutput(isSecret = false),
      httpKeepAliveTimeoutSec = httpKeepAliveTimeoutSec.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      proxyBind = proxyBind.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false),
      urlMap = urlMap.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy