Show / Hide Table of Contents

Class DetectionsResource.DetectRequest

Detects the language of text within a request.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<DetectionsListResponse>
TranslateBaseServiceRequest<DetectionsListResponse>
DetectionsResource.DetectRequest
Implements
Google.Apis.Requests.IClientServiceRequest<DetectionsListResponse>
Google.Apis.Requests.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
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 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
Google.Apis.Services.IClientService service
DetectLanguageRequest body

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.DetectionsListResponse>.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.DetectionsListResponse>.MethodName

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.DetectionsListResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Detect parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Translate.v2.TranslateBaseServiceRequest<Google.Apis.Translate.v2.Data.DetectionsListResponse>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top