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

src.dlp.v2.DlpJobArgs.scala Maven / Gradle / Ivy

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

final case class DlpJobArgs private(
  inspectJob: besom.types.Output[scala.Option[besom.api.googlenative.dlp.v2.inputs.GooglePrivacyDlpV2InspectJobConfigArgs]],
  jobId: besom.types.Output[scala.Option[String]],
  location: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  riskJob: besom.types.Output[scala.Option[besom.api.googlenative.dlp.v2.inputs.GooglePrivacyDlpV2RiskAnalysisJobConfigArgs]]
)

object DlpJobArgs:
  def apply(
    inspectJob: besom.types.Input.Optional[besom.api.googlenative.dlp.v2.inputs.GooglePrivacyDlpV2InspectJobConfigArgs] = scala.None,
    jobId: besom.types.Input.Optional[String] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    riskJob: besom.types.Input.Optional[besom.api.googlenative.dlp.v2.inputs.GooglePrivacyDlpV2RiskAnalysisJobConfigArgs] = scala.None
  )(using besom.types.Context): DlpJobArgs =
    new DlpJobArgs(
      inspectJob = inspectJob.asOptionOutput(isSecret = false),
      jobId = jobId.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      riskJob = riskJob.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy