Share via


TextModerationScreenTextOptionalParams interface

Optional Parameters.

Extends

Properties

autocorrect

Autocorrect text. Default value: false.

classify

Classify input. Default value: false.

language

Language of the text.

listId

The list Id.

pII

Detect personal identifiable information. Default value: false.

Inherited Properties

abortSignal

The signal which can be used to abort requests.

customHeaders

User defined custom request headers that will be applied before the request is sent.

onDownloadProgress

Callback which fires upon download progress.

onUploadProgress

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.

TypeScript
autocorrect?: boolean

Property Value

boolean

classify

Classify input. Default value: false.

TypeScript
classify?: boolean

Property Value

boolean

language

Language of the text.

TypeScript
language?: string

Property Value

string

listId

The list Id.

TypeScript
listId?: string

Property Value

string

pII

Detect personal identifiable information. Default value: false.

TypeScript
pII?: boolean

Property Value

boolean

Inherited Property Details

abortSignal

The signal which can be used to abort requests.

TypeScript
abortSignal?: AbortSignalLike

Property Value

Inherited From msRest.RequestOptionsBase.abortSignal

customHeaders

User defined custom request headers that will be applied before the request is sent.

TypeScript
customHeaders?: {[key: string]: string}

Property Value

{[key: string]: string}

Inherited From msRest.RequestOptionsBase.customHeaders

onDownloadProgress

Callback which fires upon download progress.

TypeScript
onDownloadProgress?: (progress: TransferProgressEvent) => void

Property Value

(progress: TransferProgressEvent) => void

Inherited From msRest.RequestOptionsBase.onDownloadProgress

onUploadProgress

Callback which fires upon upload progress.

TypeScript
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.

TypeScript
timeout?: number

Property Value

number

Inherited From msRest.RequestOptionsBase.timeout