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

src.iap.v1.DestGroupArgs.scala Maven / Gradle / Ivy

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

final case class DestGroupArgs private(
  cidrs: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  fqdns: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  location: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  tunnelDestGroupId: besom.types.Output[String]
)

object DestGroupArgs:
  def apply(
    cidrs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    fqdns: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = 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,
    tunnelDestGroupId: besom.types.Input[String]
  )(using besom.types.Context): DestGroupArgs =
    new DestGroupArgs(
      cidrs = cidrs.asOptionOutput(isSecret = false),
      fqdns = fqdns.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      tunnelDestGroupId = tunnelDestGroupId.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy