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

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

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

final case class BucketViewArgs private(
  bucketId: besom.types.Output[String],
  description: besom.types.Output[scala.Option[String]],
  filter: besom.types.Output[scala.Option[String]],
  location: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  viewId: besom.types.Output[String]
)

object BucketViewArgs:
  def apply(
    bucketId: besom.types.Input[String],
    description: besom.types.Input.Optional[String] = scala.None,
    filter: besom.types.Input.Optional[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,
    viewId: besom.types.Input[String]
  )(using besom.types.Context): BucketViewArgs =
    new BucketViewArgs(
      bucketId = bucketId.asOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      filter = filter.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      viewId = viewId.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy