-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
TranslationTarget.cs
36 lines (31 loc) · 1.23 KB
/
TranslationTarget.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core;
namespace Azure.AI.Translation.Document
{
[CodeGenModel("TargetInput")]
public partial class TranslationTarget
{
[CodeGenMember("StorageSource")]
internal string StorageSource { get; set; }
/// <summary>
/// Location of the container with your documents.
/// See the service documentation for the supported SAS permissions for accessing
/// target storage containers/blobs: <a href="https://aka.ms/azsdk/documenttranslation/sas-permissions"/>.
/// </summary>
[CodeGenMember("TargetUrl")]
public Uri TargetUri { get; }
/// <summary>
/// Language code to translate documents to. For supported languages see
/// <a href="https://docs.microsoft.com/azure/cognitive-services/translator/language-support#translate"/>.
/// </summary>
[CodeGenMember("Language")]
public string LanguageCode { get; }
/// <summary>
/// Category / custom model ID for using custom translation.
/// </summary>
[CodeGenMember("Category")]
public string CategoryId { get; set; }
}
}