TextModerationScreenTextOptionalParams interface
Optional Parameters.
- Extends
autocorrect | Autocorrect text. Default value: false. |
classify | Classify input. Default value: false. |
language | Language of the text. |
list |
The list Id. |
pII | Detect personal identifiable information. Default value: false. |
abort |
The signal which can be used to abort requests. |
custom |
User defined custom request headers that will be applied before the request is sent. |
on |
Callback which fires upon download progress. |
on |
Callback which fires upon upload progress. |
timeout | The number of milliseconds a request can take before automatically being terminated. |
Autocorrect text. Default value: false.
autocorrect?: boolean
Property Value
boolean
Classify input. Default value: false.
classify?: boolean
Property Value
boolean
Language of the text.
language?: string
Property Value
string
The list Id.
listId?: string
Property Value
string
Detect personal identifiable information. Default value: false.
pII?: boolean
Property Value
boolean
The signal which can be used to abort requests.
abortSignal?: AbortSignalLike
Property Value
Inherited From msRest.RequestOptionsBase.abortSignal
User defined custom request headers that will be applied before the request is sent.
customHeaders?: {[key: string]: string}
Property Value
{[key: string]: string}
Inherited From msRest.RequestOptionsBase.customHeaders
Callback which fires upon download progress.
onDownloadProgress?: (progress: TransferProgressEvent) => void
Property Value
(progress: TransferProgressEvent) => void
Inherited From msRest.RequestOptionsBase.onDownloadProgress
Callback which fires upon upload progress.
onUploadProgress?: (progress: TransferProgressEvent) => void
Property Value
(progress: TransferProgressEvent) => void
Inherited From msRest.RequestOptionsBase.onUploadProgress
The number of milliseconds a request can take before automatically being terminated.
timeout?: number
Property Value
number
Inherited From msRest.RequestOptionsBase.timeout