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

src.compute.beta.RouteArgs.scala Maven / Gradle / Ivy

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

final case class RouteArgs private(
  description: besom.types.Output[scala.Option[String]],
  destRange: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  network: besom.types.Output[scala.Option[String]],
  nextHopGateway: besom.types.Output[scala.Option[String]],
  nextHopIlb: besom.types.Output[scala.Option[String]],
  nextHopInstance: besom.types.Output[scala.Option[String]],
  nextHopIp: besom.types.Output[scala.Option[String]],
  nextHopNetwork: besom.types.Output[scala.Option[String]],
  nextHopVpnTunnel: besom.types.Output[scala.Option[String]],
  priority: besom.types.Output[scala.Option[Int]],
  project: besom.types.Output[scala.Option[String]],
  requestId: besom.types.Output[scala.Option[String]],
  tags: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]]
)

object RouteArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    destRange: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    network: besom.types.Input.Optional[String] = scala.None,
    nextHopGateway: besom.types.Input.Optional[String] = scala.None,
    nextHopIlb: besom.types.Input.Optional[String] = scala.None,
    nextHopInstance: besom.types.Input.Optional[String] = scala.None,
    nextHopIp: besom.types.Input.Optional[String] = scala.None,
    nextHopNetwork: besom.types.Input.Optional[String] = scala.None,
    nextHopVpnTunnel: besom.types.Input.Optional[String] = scala.None,
    priority: besom.types.Input.Optional[Int] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    requestId: besom.types.Input.Optional[String] = scala.None,
    tags: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None
  )(using besom.types.Context): RouteArgs =
    new RouteArgs(
      description = description.asOptionOutput(isSecret = false),
      destRange = destRange.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      network = network.asOptionOutput(isSecret = false),
      nextHopGateway = nextHopGateway.asOptionOutput(isSecret = false),
      nextHopIlb = nextHopIlb.asOptionOutput(isSecret = false),
      nextHopInstance = nextHopInstance.asOptionOutput(isSecret = false),
      nextHopIp = nextHopIp.asOptionOutput(isSecret = false),
      nextHopNetwork = nextHopNetwork.asOptionOutput(isSecret = false),
      nextHopVpnTunnel = nextHopVpnTunnel.asOptionOutput(isSecret = false),
      priority = priority.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false),
      tags = tags.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy