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

src.dlp.v2.DiscoveryConfigArgs.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 DiscoveryConfigArgs private(
  actions: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dlp.v2.inputs.GooglePrivacyDlpV2DataProfileActionArgs]]],
  configId: besom.types.Output[scala.Option[String]],
  displayName: besom.types.Output[scala.Option[String]],
  inspectTemplates: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  location: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  orgConfig: besom.types.Output[scala.Option[besom.api.googlenative.dlp.v2.inputs.GooglePrivacyDlpV2OrgConfigArgs]],
  project: besom.types.Output[scala.Option[String]],
  status: besom.types.Output[besom.api.googlenative.dlp.v2.enums.DiscoveryConfigStatus],
  targets: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.dlp.v2.inputs.GooglePrivacyDlpV2DiscoveryTargetArgs]]]
)

object DiscoveryConfigArgs:
  def apply(
    actions: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.dlp.v2.inputs.GooglePrivacyDlpV2DataProfileActionArgs]]] = scala.None,
    configId: besom.types.Input.Optional[String] = scala.None,
    displayName: besom.types.Input.Optional[String] = scala.None,
    inspectTemplates: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    orgConfig: besom.types.Input.Optional[besom.api.googlenative.dlp.v2.inputs.GooglePrivacyDlpV2OrgConfigArgs] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    status: besom.types.Input[besom.api.googlenative.dlp.v2.enums.DiscoveryConfigStatus],
    targets: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.dlp.v2.inputs.GooglePrivacyDlpV2DiscoveryTargetArgs]]] = scala.None
  )(using besom.types.Context): DiscoveryConfigArgs =
    new DiscoveryConfigArgs(
      actions = actions.asOptionOutput(isSecret = false),
      configId = configId.asOptionOutput(isSecret = false),
      displayName = displayName.asOptionOutput(isSecret = false),
      inspectTemplates = inspectTemplates.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      orgConfig = orgConfig.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      status = status.asOutput(isSecret = false),
      targets = targets.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy