Class TranslateService
The Translate Service.
Inheritance
System.Object
Google.Apis.Services.BaseClientService
TranslateService
Implements
Google.Apis.Services.IClientService
System.IDisposable
Inherited Members
Google.Apis.Services.BaseClientService.DefaultMaxUrlLength
Google.Apis.Services.BaseClientService.CreateBackOffHandler()
Google.Apis.Services.BaseClientService.SetRequestSerailizedContent(System.Net.Http.HttpRequestMessage, System.Object)
Google.Apis.Services.BaseClientService.SerializeObject(System.Object)
Google.Apis.Services.BaseClientService.DeserializeResponse<T>(System.Net.Http.HttpResponseMessage)
Google.Apis.Services.BaseClientService.DeserializeError(System.Net.Http.HttpResponseMessage)
Google.Apis.Services.BaseClientService.Dispose()
Google.Apis.Services.BaseClientService.BaseUriOverride
Google.Apis.Services.BaseClientService.HttpClient
Google.Apis.Services.BaseClientService.HttpClientInitializer
Google.Apis.Services.BaseClientService.GZipEnabled
Google.Apis.Services.BaseClientService.ApiKey
Google.Apis.Services.BaseClientService.ApplicationName
Google.Apis.Services.BaseClientService.Serializer
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 TranslateService : BaseClientService, IClientService, IDisposable
Constructors
TranslateService()
Constructs a new service.
Declaration
public TranslateService()
TranslateService(BaseClientService.Initializer)
Constructs a new service.
Declaration
public TranslateService(BaseClientService.Initializer initializer)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.BaseClientService.Initializer | initializer | The service initializer. |
Fields
DiscoveryVersionUsed
The discovery version used to generate this service.
Declaration
public static DiscoveryVersion DiscoveryVersionUsed
Field Value
Type | Description |
---|---|
Google.Apis.Discovery.DiscoveryVersion |
Version
The API version.
Declaration
public const string Version = "v2"
Field Value
Type | Description |
---|---|
System.String |
Properties
BasePath
Gets the service base path.
Declaration
public override string BasePath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Services.BaseClientService.BasePath
BaseUri
Gets the service base URI.
Declaration
public override string BaseUri { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Services.BaseClientService.BaseUri
BatchPath
Gets the batch base path; null
if unspecified.
Declaration
public override string BatchPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Services.BaseClientService.BatchPath
BatchUri
Gets the batch base URI; null
if unspecified.
Declaration
public override string BatchUri { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Services.BaseClientService.BatchUri
Detections
Gets the Detections resource.
Declaration
public virtual DetectionsResource Detections { get; }
Property Value
Type | Description |
---|---|
DetectionsResource |
Features
Gets the service supported features.
Declaration
public override IList<string> Features { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
Overrides
Google.Apis.Services.BaseClientService.Features
Languages
Gets the Languages resource.
Declaration
public virtual LanguagesResource Languages { get; }
Property Value
Type | Description |
---|---|
LanguagesResource |
Name
Gets the service name.
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Services.BaseClientService.Name
Translations
Gets the Translations resource.
Declaration
public virtual TranslationsResource Translations { get; }
Property Value
Type | Description |
---|---|
TranslationsResource |
Implements
Google.Apis.Services.IClientService
System.IDisposable