Show / Hide Table of Contents

Class ProjectsResource.DetectLanguageRequest

Detects the language of text within a request.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<DetectLanguageResponse>
TranslateBaseServiceRequest<DetectLanguageResponse>
ProjectsResource.DetectLanguageRequest
Implements
IClientServiceRequest<DetectLanguageResponse>
IClientServiceRequest
Inherited Members
TranslateBaseServiceRequest<DetectLanguageResponse>.Xgafv
TranslateBaseServiceRequest<DetectLanguageResponse>.AccessToken
TranslateBaseServiceRequest<DetectLanguageResponse>.Alt
TranslateBaseServiceRequest<DetectLanguageResponse>.Callback
TranslateBaseServiceRequest<DetectLanguageResponse>.Fields
TranslateBaseServiceRequest<DetectLanguageResponse>.Key
TranslateBaseServiceRequest<DetectLanguageResponse>.OauthToken
TranslateBaseServiceRequest<DetectLanguageResponse>.PrettyPrint
TranslateBaseServiceRequest<DetectLanguageResponse>.QuotaUser
TranslateBaseServiceRequest<DetectLanguageResponse>.UploadType
TranslateBaseServiceRequest<DetectLanguageResponse>.UploadProtocol
ClientServiceRequest<DetectLanguageResponse>.Execute()
ClientServiceRequest<DetectLanguageResponse>.ExecuteAsStream()
ClientServiceRequest<DetectLanguageResponse>.ExecuteAsync()
ClientServiceRequest<DetectLanguageResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<DetectLanguageResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<DetectLanguageResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<DetectLanguageResponse>.CreateRequest(bool?)
ClientServiceRequest<DetectLanguageResponse>.GenerateRequestUri()
ClientServiceRequest<DetectLanguageResponse>.GetDefaultETagAction(string)
ClientServiceRequest<DetectLanguageResponse>.ETagAction
ClientServiceRequest<DetectLanguageResponse>.ModifyRequest
ClientServiceRequest<DetectLanguageResponse>.ValidateParameters
ClientServiceRequest<DetectLanguageResponse>.ApiVersion
ClientServiceRequest<DetectLanguageResponse>.RequestParameters
ClientServiceRequest<DetectLanguageResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Translate.v3
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class ProjectsResource.DetectLanguageRequest : TranslateBaseServiceRequest<DetectLanguageResponse>, IClientServiceRequest<DetectLanguageResponse>, IClientServiceRequest

Constructors

DetectLanguageRequest(IClientService, DetectLanguageRequest, string)

Constructs a new DetectLanguage request.

Declaration
public DetectLanguageRequest(IClientService service, DetectLanguageRequest body, string parent)
Parameters
Type Name Description
IClientService service
DetectLanguageRequest body
string parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<DetectLanguageResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<DetectLanguageResponse>.MethodName

Parent

Required. Project or location to make a call. Must refer to a caller's project. Format: projects/{project-number-or-id}/locations/{location-id} or projects/{project-number-or-id}. For global calls, use projects/{project-number-or-id}/locations/global or projects/{project-number-or-id}. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<DetectLanguageResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<DetectLanguageResponse>.GetBody()

InitParameters()

Initializes DetectLanguage parameter list.

Declaration
protected override void InitParameters()
Overrides
TranslateBaseServiceRequest<DetectLanguageResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX