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

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

package besom.api.googlenative.bigquery.v2

final case class TableIamPolicyArgs private(
  auditConfigs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.bigquery.v2.inputs.AuditConfigArgs]]],
  bindings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.bigquery.v2.inputs.BindingArgs]]],
  datasetId: besom.types.Output[String],
  etag: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  tableId: besom.types.Output[String],
  updateMask: besom.types.Output[scala.Option[String]],
  version: besom.types.Output[scala.Option[Int]]
)

object TableIamPolicyArgs:
  def apply(
    auditConfigs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.bigquery.v2.inputs.AuditConfigArgs]]] = scala.None,
    bindings: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.bigquery.v2.inputs.BindingArgs]]] = scala.None,
    datasetId: besom.types.Input[String],
    etag: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    tableId: besom.types.Input[String],
    updateMask: besom.types.Input.Optional[String] = scala.None,
    version: besom.types.Input.Optional[Int] = scala.None
  )(using besom.types.Context): TableIamPolicyArgs =
    new TableIamPolicyArgs(
      auditConfigs = auditConfigs.asOptionOutput(isSecret = false),
      bindings = bindings.asOptionOutput(isSecret = false),
      datasetId = datasetId.asOutput(isSecret = false),
      etag = etag.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      tableId = tableId.asOutput(isSecret = false),
      updateMask = updateMask.asOptionOutput(isSecret = false),
      version = version.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy