{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-dialogflow/json-schema/google-dialogflow-google-cloud-dialogflow-cx-v3-security-settings-schema.json",
  "title": "GoogleCloudDialogflowCxV3SecuritySettings",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-dialogflow-security-settings-api-openapi.yml#/components/schemas/GoogleCloudDialogflowCxV3SecuritySettings",
  "type": "object",
  "properties": {
    "insightsExportSettings": {
      "$ref": "#/$defs/GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings"
    },
    "redactionScope": {
      "type": "string",
      "enum": [
        "REDACTION_SCOPE_UNSPECIFIED",
        "REDACT_DISK_STORAGE"
      ],
      "x-enumDescriptions": [
        "",
        ""
      ]
    },
    "name": {
      "type": "string"
    },
    "audioExportSettings": {
      "$ref": "#/$defs/GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings"
    },
    "displayName": {
      "type": "string"
    },
    "deidentifyTemplate": {
      "type": "string"
    },
    "inspectTemplate": {
      "type": "string"
    },
    "purgeDataTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "PURGE_DATA_TYPE_UNSPECIFIED",
          "DIALOGFLOW_HISTORY"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      }
    },
    "retentionWindowDays": {
      "type": "integer",
      "format": "int32"
    },
    "redactionStrategy": {
      "type": "string",
      "enum": [
        "REDACTION_STRATEGY_UNSPECIFIED",
        "REDACT_WITH_SERVICE"
      ],
      "x-enumDescriptions": [
        "",
        ""
      ]
    },
    "retentionStrategy": {
      "type": "string",
      "enum": [
        "RETENTION_STRATEGY_UNSPECIFIED",
        "REMOVE_AFTER_CONVERSATION"
      ],
      "x-enumDescriptions": [
        "",
        ""
      ]
    }
  },
  "$defs": {
    "GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings": {
      "type": "object",
      "properties": {
        "enableAudioRedaction": {
          "type": "boolean"
        },
        "gcsBucket": {
          "type": "string"
        },
        "audioFormat": {
          "type": "string",
          "enum": [
            "AUDIO_FORMAT_UNSPECIFIED",
            "MULAW",
            "MP3",
            "OGG"
          ],
          "x-enumDescriptions": [
            "",
            "",
            "",
            ""
          ]
        },
        "storeTtsAudio": {
          "type": "boolean"
        },
        "audioExportPattern": {
          "type": "string"
        }
      }
    },
    "GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings": {
      "type": "object",
      "properties": {
        "enableInsightsExport": {
          "type": "boolean"
        }
      }
    }
  }
}