TextModerationScreenTextOptionalParams interface
Optional Parameters.
- Extends
Properties
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. |
Inherited Properties
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. |
Property Details
autocorrect
Autocorrect text. Default value: false.
autocorrect?: boolean
Property Value
boolean
classify
Classify input. Default value: false.
classify?: boolean
Property Value
boolean
language
Language of the text.
language?: string
Property Value
string
listId
The list Id.
listId?: string
Property Value
string
pII
Detect personal identifiable information. Default value: false.
pII?: boolean
Property Value
boolean
Inherited Property Details
abortSignal
The signal which can be used to abort requests.
abortSignal?: AbortSignalLike
Property Value
Inherited From msRest.RequestOptionsBase.abortSignal
customHeaders
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
onDownloadProgress
Callback which fires upon download progress.
onDownloadProgress?: (progress: TransferProgressEvent) => void
Property Value
(progress: TransferProgressEvent) => void
Inherited From msRest.RequestOptionsBase.onDownloadProgress
onUploadProgress
Callback which fires upon upload progress.
onUploadProgress?: (progress: TransferProgressEvent) => void
Property Value
(progress: TransferProgressEvent) => void
Inherited From msRest.RequestOptionsBase.onUploadProgress
timeout
The number of milliseconds a request can take before automatically being terminated.
timeout?: number
Property Value
number
Inherited From msRest.RequestOptionsBase.timeout