Class LanguagesResource.ListRequest
Returns a list of supported languages for translation.
Inheritance
System.Object
LanguagesResource.ListRequest
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 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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Translate.v2.TranslateBaseServiceRequest<Google.Apis.Translate.v2.Data.LanguagesListResponse>.InitParameters()