Class DetectionsResource.ListRequest
Detects the language of text within a request.
Inheritance
DetectionsResource.ListRequest
Inherited Members
Namespace: Google.Apis.Translate.v2
Assembly: Google.Apis.Translate.v2.dll
Syntax
public class DetectionsResource.ListRequest : TranslateBaseServiceRequest<DetectionsListResponse>, IClientServiceRequest<DetectionsListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, Repeatable<string>)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, Repeatable<string> q)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Repeatable<string> | q |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.MethodName
Q
The input text upon which to perform language detection. Repeat this parameter to perform language detection on multiple text inputs.
Declaration
[RequestParameter("q", RequestParameterType.Query)]
public virtual Repeatable<string> Q { get; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.RestPath
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()