Class TranslateService
The Translate Service.
Inherited Members
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 TranslateService : BaseClientService, IClientService, IDisposable
Constructors
TranslateService()
Constructs a new service.
Declaration
public TranslateService()
TranslateService(Initializer)
Constructs a new service.
Declaration
public TranslateService(BaseClientService.Initializer initializer)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|
DiscoveryVersion |
Version
The API version.
Declaration
public const string Version = "v2"
Field Value
Type | Description |
---|---|
string |
Properties
BasePath
Gets the service base path.
Declaration
public override string BasePath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
BaseUri
Gets the service base URI.
Declaration
public override string BaseUri { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
BatchPath
Gets the batch base path; null
if unspecified.
Declaration
public override string BatchPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
BatchUri
Gets the batch base URI; null
if unspecified.
Declaration
public override string BatchUri { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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<T><string> |
Overrides
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 |
---|---|
string |
Overrides
Translations
Gets the Translations resource.
Declaration
public virtual TranslationsResource Translations { get; }
Property Value
Type | Description |
---|---|
TranslationsResource |
Implements
System.IDisposable