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

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

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

final case class EntityArgs private(
  asset: besom.types.Output[String],
  dataPath: besom.types.Output[String],
  dataPathPattern: besom.types.Output[scala.Option[String]],
  description: besom.types.Output[scala.Option[String]],
  displayName: besom.types.Output[scala.Option[String]],
  etag: besom.types.Output[scala.Option[String]],
  format: besom.types.Output[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1StorageFormatArgs],
  id: besom.types.Output[String],
  lakeId: besom.types.Output[String],
  location: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  schema: besom.types.Output[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1SchemaArgs],
  system: besom.types.Output[besom.api.googlenative.dataplex.v1.enums.EntitySystem],
  `type`: besom.types.Output[besom.api.googlenative.dataplex.v1.enums.EntityType],
  zone: besom.types.Output[scala.Option[String]]
)

object EntityArgs:
  def apply(
    asset: besom.types.Input[String],
    dataPath: besom.types.Input[String],
    dataPathPattern: besom.types.Input.Optional[String] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    displayName: besom.types.Input.Optional[String] = scala.None,
    etag: besom.types.Input.Optional[String] = scala.None,
    format: besom.types.Input[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1StorageFormatArgs],
    id: besom.types.Input[String],
    lakeId: besom.types.Input[String],
    location: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    schema: besom.types.Input[besom.api.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1SchemaArgs],
    system: besom.types.Input[besom.api.googlenative.dataplex.v1.enums.EntitySystem],
    `type`: besom.types.Input[besom.api.googlenative.dataplex.v1.enums.EntityType],
    zone: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): EntityArgs =
    new EntityArgs(
      asset = asset.asOutput(isSecret = false),
      dataPath = dataPath.asOutput(isSecret = false),
      dataPathPattern = dataPathPattern.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      displayName = displayName.asOptionOutput(isSecret = false),
      etag = etag.asOptionOutput(isSecret = false),
      format = format.asOutput(isSecret = false),
      id = id.asOutput(isSecret = false),
      lakeId = lakeId.asOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      schema = schema.asOutput(isSecret = false),
      system = system.asOutput(isSecret = false),
      `type` = `type`.asOutput(isSecret = false),
      zone = zone.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy