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

src.logging.v2.FolderExclusionArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.logging.v2

final case class FolderExclusionArgs private(
  description: besom.types.Output[scala.Option[String]],
  disabled: besom.types.Output[scala.Option[Boolean]],
  filter: besom.types.Output[String],
  folderId: besom.types.Output[String],
  name: besom.types.Output[scala.Option[String]]
)

object FolderExclusionArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    disabled: besom.types.Input.Optional[Boolean] = scala.None,
    filter: besom.types.Input[String],
    folderId: besom.types.Input[String],
    name: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): FolderExclusionArgs =
    new FolderExclusionArgs(
      description = description.asOptionOutput(isSecret = false),
      disabled = disabled.asOptionOutput(isSecret = false),
      filter = filter.asOutput(isSecret = false),
      folderId = folderId.asOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy