Class DetectionsResource
The "detections" collection of methods.
Inherited Members
Namespace: Google.Apis.Translate.v2
Assembly: Google.Apis.Translate.v2.dll
Syntax
public class DetectionsResource
Constructors
DetectionsResource(IClientService)
Constructs a new resource.
Declaration
public DetectionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Detect(DetectLanguageRequest)
Detects the language of text within a request.
Declaration
public virtual DetectionsResource.DetectRequest Detect(DetectLanguageRequest body)
Parameters
Type | Name | Description |
---|---|---|
DetectLanguageRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
DetectionsResource.DetectRequest |
List(Repeatable<string>)
Detects the language of text within a request.
Declaration
public virtual DetectionsResource.ListRequest List(Repeatable<string> q)
Parameters
Type | Name | Description |
---|---|---|
Repeatable<string> | q | The input text upon which to perform language detection. Repeat this parameter to perform language detection on multiple text inputs. |
Returns
Type | Description |
---|---|
DetectionsResource.ListRequest |