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

src.bigquery.v2.TableArgs.scala Maven / Gradle / Ivy

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

final case class TableArgs private(
  biglakeConfiguration: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.BigLakeConfigurationArgs]],
  clustering: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.ClusteringArgs]],
  datasetId: besom.types.Output[String],
  description: besom.types.Output[scala.Option[String]],
  encryptionConfiguration: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.EncryptionConfigurationArgs]],
  expirationTime: besom.types.Output[scala.Option[String]],
  externalDataConfiguration: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.ExternalDataConfigurationArgs]],
  friendlyName: besom.types.Output[scala.Option[String]],
  labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  materializedView: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.MaterializedViewDefinitionArgs]],
  maxStaleness: besom.types.Output[scala.Option[String]],
  model: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.ModelDefinitionArgs]],
  project: besom.types.Output[scala.Option[String]],
  rangePartitioning: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.RangePartitioningArgs]],
  requirePartitionFilter: besom.types.Output[scala.Option[Boolean]],
  resourceTags: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  schema: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.TableSchemaArgs]],
  tableConstraints: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.TableConstraintsArgs]],
  tableReference: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.TableReferenceArgs]],
  timePartitioning: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.TimePartitioningArgs]],
  view: besom.types.Output[scala.Option[besom.api.googlenative.bigquery.v2.inputs.ViewDefinitionArgs]]
)

object TableArgs:
  def apply(
    biglakeConfiguration: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.BigLakeConfigurationArgs] = scala.None,
    clustering: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.ClusteringArgs] = scala.None,
    datasetId: besom.types.Input[String],
    description: besom.types.Input.Optional[String] = scala.None,
    encryptionConfiguration: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.EncryptionConfigurationArgs] = scala.None,
    expirationTime: besom.types.Input.Optional[String] = scala.None,
    externalDataConfiguration: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.ExternalDataConfigurationArgs] = scala.None,
    friendlyName: besom.types.Input.Optional[String] = scala.None,
    labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    materializedView: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.MaterializedViewDefinitionArgs] = scala.None,
    maxStaleness: besom.types.Input.Optional[String] = scala.None,
    model: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.ModelDefinitionArgs] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    rangePartitioning: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.RangePartitioningArgs] = scala.None,
    requirePartitionFilter: besom.types.Input.Optional[Boolean] = scala.None,
    resourceTags: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    schema: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.TableSchemaArgs] = scala.None,
    tableConstraints: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.TableConstraintsArgs] = scala.None,
    tableReference: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.TableReferenceArgs] = scala.None,
    timePartitioning: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.TimePartitioningArgs] = scala.None,
    view: besom.types.Input.Optional[besom.api.googlenative.bigquery.v2.inputs.ViewDefinitionArgs] = scala.None
  )(using besom.types.Context): TableArgs =
    new TableArgs(
      biglakeConfiguration = biglakeConfiguration.asOptionOutput(isSecret = false),
      clustering = clustering.asOptionOutput(isSecret = false),
      datasetId = datasetId.asOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      encryptionConfiguration = encryptionConfiguration.asOptionOutput(isSecret = false),
      expirationTime = expirationTime.asOptionOutput(isSecret = false),
      externalDataConfiguration = externalDataConfiguration.asOptionOutput(isSecret = false),
      friendlyName = friendlyName.asOptionOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      materializedView = materializedView.asOptionOutput(isSecret = false),
      maxStaleness = maxStaleness.asOptionOutput(isSecret = false),
      model = model.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      rangePartitioning = rangePartitioning.asOptionOutput(isSecret = false),
      requirePartitionFilter = requirePartitionFilter.asOptionOutput(isSecret = false),
      resourceTags = resourceTags.asOptionOutput(isSecret = false),
      schema = schema.asOptionOutput(isSecret = false),
      tableConstraints = tableConstraints.asOptionOutput(isSecret = false),
      tableReference = tableReference.asOptionOutput(isSecret = false),
      timePartitioning = timePartitioning.asOptionOutput(isSecret = false),
      view = view.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