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

src.securitycenter.v1.NotificationConfigArgs.scala Maven / Gradle / Ivy

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

final case class NotificationConfigArgs private(
  configId: besom.types.Output[String],
  description: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  pubsubTopic: besom.types.Output[scala.Option[String]],
  streamingConfig: besom.types.Output[scala.Option[besom.api.googlenative.securitycenter.v1.inputs.StreamingConfigArgs]]
)

object NotificationConfigArgs:
  def apply(
    configId: besom.types.Input[String],
    description: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    pubsubTopic: besom.types.Input.Optional[String] = scala.None,
    streamingConfig: besom.types.Input.Optional[besom.api.googlenative.securitycenter.v1.inputs.StreamingConfigArgs] = scala.None
  )(using besom.types.Context): NotificationConfigArgs =
    new NotificationConfigArgs(
      configId = configId.asOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      pubsubTopic = pubsubTopic.asOptionOutput(isSecret = false),
      streamingConfig = streamingConfig.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy