ContentModeratorClient class
- Extends
コンストラクター
| Content |
ContentModeratorClient クラスの新しいインスタンスを初期化します。 |
プロパティ
| image |
|
| list |
|
| list |
|
| list |
|
| list |
|
| reviews | |
| text |
継承されたプロパティ
| credentials | |
| endpoint |
継承されたメソッド
| send |
指定された OperationSpec を使用して設定された HTTP 要求を送信します。 |
| send |
指定された httpRequest を送信します。 |
コンストラクターの詳細
ContentModeratorClient(ServiceClientCredentials, string, ServiceClientOptions)
ContentModeratorClient クラスの新しいインスタンスを初期化します。
new ContentModeratorClient(credentials: ServiceClientCredentials, endpoint: string, options?: ServiceClientOptions)
パラメーター
- credentials
- ServiceClientCredentials
クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。
- endpoint
-
string
サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://westus.api.cognitive.microsoft.com)。
- options
- ServiceClientOptions
パラメーター のオプション
プロパティの詳細
imageModeration
listManagementImage
listManagementImageLists
listManagementTerm
listManagementTermLists
reviews
textModeration
継承されたプロパティの詳細
credentials
credentials: ServiceClientCredentials
プロパティ値
endpoint
継承済みメソッドの詳細
sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)
指定された OperationSpec を使用して設定された HTTP 要求を送信します。
function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>
パラメーター
- operationArguments
- OperationArguments
HTTP 要求のテンプレート値が設定される引数。
- operationSpec
- OperationSpec
httpRequest の設定に使用する OperationSpec。
- callback
-
ServiceCallback<any>
応答を受信したときに呼び出すコールバック。
戻り値
Promise<RestResponse>
sendRequest(RequestPrepareOptions | WebResourceLike)
指定された httpRequest を送信します。
function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>
パラメーター
- options
戻り値
Promise<HttpOperationResponse>