Class LanguagesResource.ListRequest
Returns a list of supported languages for translation.
Inheritance
LanguagesResource.ListRequest
Inherited Members
Namespace: Google.Apis.Translate.v2
Assembly: Google.Apis.Translate.v2.dll
Syntax
public class LanguagesResource.ListRequest : TranslateBaseServiceRequest<LanguagesListResponse>, IClientServiceRequest<LanguagesListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
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.LanguagesListResponse>.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.LanguagesListResponse>.MethodName
Model
The model type for which supported languages should be returned.
Declaration
[RequestParameter("model", RequestParameterType.Query)]
public virtual string Model { get; set; }
Property Value
Type | Description |
---|---|
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.LanguagesListResponse>.RestPath
Target
The language to use to return localized, human readable names of supported languages.
Declaration
[RequestParameter("target", RequestParameterType.Query)]
public virtual string Target { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()