ContentModeratorClient Interface

Definition

The interface for ContentModeratorClient class.

public interface ContentModeratorClient

Methods

acceptLanguage()

Gets Gets or sets the preferred language for the response..

baseUrl()

Gets Supported Azure regions for Content Moderator endpoints. Possible values include: 'westus.api.cognitive.microsoft.com', 'westus2.api.cognitive.microsoft.com', 'eastus.api.cognitive.microsoft.com', 'eastus2.api.cognitive.microsoft.com', 'westcentralus.api.cognitive.microsoft.com', 'southcentralus.api.cognitive.microsoft.com', 'westeurope.api.cognitive.microsoft.com', 'northeurope.api.cognitive.microsoft.com', 'southeastasia.api.cognitive.microsoft.com', 'eastasia.api.cognitive.microsoft.com', 'australiaeast.api.cognitive.microsoft.com', 'brazilsouth.api.cognitive.microsoft.com', 'contentmoderatortest.azure-api.net'.

generateClientRequestId()

Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..

getAzureClient()

Gets the AzureClient used for long running operations.

imageModerations()

Gets the ImageModerations object to access its operations.

listManagementImageLists()

Gets the ListManagementImageLists object to access its operations.

listManagementImages()

Gets the ListManagementImages object to access its operations.

listManagementTermLists()

Gets the ListManagementTermLists object to access its operations.

listManagementTerms()

Gets the ListManagementTerms object to access its operations.

longRunningOperationRetryTimeout()

Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..

restClient()

Gets the REST client.

reviews()

Gets the Reviews object to access its operations.

textModerations()

Gets the TextModerations object to access its operations.

userAgent()

Gets the User-Agent header for the client.

withAcceptLanguage(String acceptLanguage)

Sets Gets or sets the preferred language for the response..

withBaseUrl(AzureRegionBaseUrl baseUrl)

Sets Supported Azure regions for Content Moderator endpoints. Possible values include: 'westus.api.cognitive.microsoft.com', 'westus2.api.cognitive.microsoft.com', 'eastus.api.cognitive.microsoft.com', 'eastus2.api.cognitive.microsoft.com', 'westcentralus.api.cognitive.microsoft.com', 'southcentralus.api.cognitive.microsoft.com', 'westeurope.api.cognitive.microsoft.com', 'northeurope.api.cognitive.microsoft.com', 'southeastasia.api.cognitive.microsoft.com', 'eastasia.api.cognitive.microsoft.com', 'australiaeast.api.cognitive.microsoft.com', 'brazilsouth.api.cognitive.microsoft.com', 'contentmoderatortest.azure-api.net'.

withGenerateClientRequestId(boolean generateClientRequestId)

Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..

withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)

Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..

Applies to