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

src.managedidentities.v1beta1.PeeringArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.managedidentities.v1beta1

final case class PeeringArgs private(
  authorizedNetwork: besom.types.Output[String],
  domainResource: besom.types.Output[String],
  labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  peeringId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]]
)

object PeeringArgs:
  def apply(
    authorizedNetwork: besom.types.Input[String],
    domainResource: besom.types.Input[String],
    labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    peeringId: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): PeeringArgs =
    new PeeringArgs(
      authorizedNetwork = authorizedNetwork.asOutput(isSecret = false),
      domainResource = domainResource.asOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      peeringId = peeringId.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy