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

src.biglake.v1.TableArgs.scala Maven / Gradle / Ivy

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

final case class TableArgs private(
  catalogId: besom.types.Output[String],
  databaseId: besom.types.Output[String],
  etag: besom.types.Output[scala.Option[String]],
  hiveOptions: besom.types.Output[scala.Option[besom.api.googlenative.biglake.v1.inputs.HiveTableOptionsArgs]],
  location: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  tableId: besom.types.Output[String],
  `type`: besom.types.Output[scala.Option[besom.api.googlenative.biglake.v1.enums.TableType]]
)

object TableArgs:
  def apply(
    catalogId: besom.types.Input[String],
    databaseId: besom.types.Input[String],
    etag: besom.types.Input.Optional[String] = scala.None,
    hiveOptions: besom.types.Input.Optional[besom.api.googlenative.biglake.v1.inputs.HiveTableOptionsArgs] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    tableId: besom.types.Input[String],
    `type`: besom.types.Input.Optional[besom.api.googlenative.biglake.v1.enums.TableType] = scala.None
  )(using besom.types.Context): TableArgs =
    new TableArgs(
      catalogId = catalogId.asOutput(isSecret = false),
      databaseId = databaseId.asOutput(isSecret = false),
      etag = etag.asOptionOutput(isSecret = false),
      hiveOptions = hiveOptions.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      tableId = tableId.asOutput(isSecret = false),
      `type` = `type`.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy