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

src.dataplex.v1.PartitionArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.dataplex.v1

final case class PartitionArgs private(
  entityId: besom.types.Output[String],
  etag: besom.types.Output[scala.Option[String]],
  lakeId: besom.types.Output[String],
  location: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  values: besom.types.Output[scala.collection.immutable.List[String]],
  zone: besom.types.Output[scala.Option[String]]
)

object PartitionArgs:
  def apply(
    entityId: besom.types.Input[String],
    etag: besom.types.Input.Optional[String] = scala.None,
    lakeId: besom.types.Input[String],
    location: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    values: besom.types.Input[scala.collection.immutable.List[besom.types.Input[String]]],
    zone: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): PartitionArgs =
    new PartitionArgs(
      entityId = entityId.asOutput(isSecret = false),
      etag = etag.asOptionOutput(isSecret = false),
      lakeId = lakeId.asOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      values = values.asOutput(isSecret = false),
      zone = zone.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy