Class TranslateService
The Translate Service.
Inherited Members
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 |
---|---|---|
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 |
---|---|
System.String |
Properties
BasePath
Gets the service base path.
Declaration
public override string BasePath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
BaseUri
Gets the service base URI.
Declaration
public override string BaseUri { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
BatchPath
Gets the batch base path; null
if unspecified.
Declaration
public override string BatchPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
BatchUri
Gets the batch base URI; null
if unspecified.
Declaration
public override string BatchUri { get; }
Property Value
Type | Description |
---|---|
System.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<System.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 |
---|---|
System.String |
Overrides
Translations
Gets the Translations resource.
Declaration
public virtual TranslationsResource Translations { get; }
Property Value
Type | Description |
---|---|
TranslationsResource |
Implements
System.IDisposable