Class DetectionsResource
The "detections" collection of methods.
Inheritance
object
DetectionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 |