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

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

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

final case class TargetTcpProxyArgs private(
  description: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  proxyBind: besom.types.Output[scala.Option[Boolean]],
  proxyHeader: besom.types.Output[scala.Option[besom.api.googlenative.compute.v1.enums.TargetTcpProxyProxyHeader]],
  requestId: besom.types.Output[scala.Option[String]],
  service: besom.types.Output[scala.Option[String]]
)

object TargetTcpProxyArgs:
  def apply(
    description: besom.types.Input.Optional[String] = 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,
    proxyHeader: besom.types.Input.Optional[besom.api.googlenative.compute.v1.enums.TargetTcpProxyProxyHeader] = scala.None,
    requestId: besom.types.Input.Optional[String] = scala.None,
    service: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): TargetTcpProxyArgs =
    new TargetTcpProxyArgs(
      description = description.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      proxyBind = proxyBind.asOptionOutput(isSecret = false),
      proxyHeader = proxyHeader.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false),
      service = service.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy