Show / Hide Table of Contents

Class DetectionsResource

The "detections" collection of methods.

Inheritance
System.Object
DetectionsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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
Google.Apis.Services.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
Google.Apis.Util.Repeatable<System.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
In This Article
Back to top