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

src.recaptchaenterprise.v1.KeyArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.recaptchaenterprise.v1

final case class KeyArgs private(
  androidSettings: besom.types.Output[scala.Option[besom.api.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsArgs]],
  displayName: besom.types.Output[String],
  iosSettings: besom.types.Output[scala.Option[besom.api.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1IosKeySettingsArgs]],
  labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  name: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  testingOptions: besom.types.Output[scala.Option[besom.api.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1TestingOptionsArgs]],
  wafSettings: besom.types.Output[scala.Option[besom.api.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1WafSettingsArgs]],
  webSettings: besom.types.Output[scala.Option[besom.api.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1WebKeySettingsArgs]]
)

object KeyArgs:
  def apply(
    androidSettings: besom.types.Input.Optional[besom.api.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsArgs] = scala.None,
    displayName: besom.types.Input[String],
    iosSettings: besom.types.Input.Optional[besom.api.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1IosKeySettingsArgs] = scala.None,
    labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    testingOptions: besom.types.Input.Optional[besom.api.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1TestingOptionsArgs] = scala.None,
    wafSettings: besom.types.Input.Optional[besom.api.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1WafSettingsArgs] = scala.None,
    webSettings: besom.types.Input.Optional[besom.api.googlenative.recaptchaenterprise.v1.inputs.GoogleCloudRecaptchaenterpriseV1WebKeySettingsArgs] = scala.None
  )(using besom.types.Context): KeyArgs =
    new KeyArgs(
      androidSettings = androidSettings.asOptionOutput(isSecret = false),
      displayName = displayName.asOutput(isSecret = false),
      iosSettings = iosSettings.asOptionOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      testingOptions = testingOptions.asOptionOutput(isSecret = false),
      wafSettings = wafSettings.asOptionOutput(isSecret = false),
      webSettings = webSettings.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy