Show / Hide Table of Contents

Class DetectionsResource.DetectRequest

Detects the language of text within a request.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<DetectionsListResponse>
TranslateBaseServiceRequest<DetectionsListResponse>
DetectionsResource.DetectRequest
Implements
IClientServiceRequest<DetectionsListResponse>
IClientServiceRequest
Inherited Members
TranslateBaseServiceRequest<DetectionsListResponse>.Xgafv
TranslateBaseServiceRequest<DetectionsListResponse>.AccessToken
TranslateBaseServiceRequest<DetectionsListResponse>.Alt
TranslateBaseServiceRequest<DetectionsListResponse>.BearerToken
TranslateBaseServiceRequest<DetectionsListResponse>.Callback
TranslateBaseServiceRequest<DetectionsListResponse>.Fields
TranslateBaseServiceRequest<DetectionsListResponse>.Key
TranslateBaseServiceRequest<DetectionsListResponse>.OauthToken
TranslateBaseServiceRequest<DetectionsListResponse>.Pp
TranslateBaseServiceRequest<DetectionsListResponse>.PrettyPrint
TranslateBaseServiceRequest<DetectionsListResponse>.QuotaUser
TranslateBaseServiceRequest<DetectionsListResponse>.UploadType
TranslateBaseServiceRequest<DetectionsListResponse>.UploadProtocol
ClientServiceRequest<DetectionsListResponse>.Execute()
ClientServiceRequest<DetectionsListResponse>.ExecuteAsStream()
ClientServiceRequest<DetectionsListResponse>.ExecuteAsync()
ClientServiceRequest<DetectionsListResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<DetectionsListResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<DetectionsListResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<DetectionsListResponse>.CreateRequest(bool?)
ClientServiceRequest<DetectionsListResponse>.GenerateRequestUri()
ClientServiceRequest<DetectionsListResponse>.GetDefaultETagAction(string)
ClientServiceRequest<DetectionsListResponse>.ETagAction
ClientServiceRequest<DetectionsListResponse>.ModifyRequest
ClientServiceRequest<DetectionsListResponse>.ValidateParameters
ClientServiceRequest<DetectionsListResponse>.ApiVersion
ClientServiceRequest<DetectionsListResponse>.RequestParameters
ClientServiceRequest<DetectionsListResponse>.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.v2
Assembly: Google.Apis.Translate.v2.dll
Syntax
public class DetectionsResource.DetectRequest : TranslateBaseServiceRequest<DetectionsListResponse>, IClientServiceRequest<DetectionsListResponse>, IClientServiceRequest

Constructors

DetectRequest(IClientService, DetectLanguageRequest)

Constructs a new Detect request.

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

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

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

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.GetBody()

InitParameters()

Initializes Detect parameter list.

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

Implements

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