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

src.firebasehosting.v1beta1.DomainArgs.scala Maven / Gradle / Ivy

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

final case class DomainArgs private(
  domainName: besom.types.Output[String],
  domainRedirect: besom.types.Output[scala.Option[besom.api.googlenative.firebasehosting.v1beta1.inputs.DomainRedirectArgs]],
  project: besom.types.Output[scala.Option[String]],
  site: besom.types.Output[String],
  siteId: besom.types.Output[String]
)

object DomainArgs:
  def apply(
    domainName: besom.types.Input[String],
    domainRedirect: besom.types.Input.Optional[besom.api.googlenative.firebasehosting.v1beta1.inputs.DomainRedirectArgs] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    site: besom.types.Input[String],
    siteId: besom.types.Input[String]
  )(using besom.types.Context): DomainArgs =
    new DomainArgs(
      domainName = domainName.asOutput(isSecret = false),
      domainRedirect = domainRedirect.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      site = site.asOutput(isSecret = false),
      siteId = siteId.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy