Show / Hide Table of Contents

Class Model

A trained translation model.

Inheritance
object
Model
Implements
IDirectResponseSchema
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.v3.Data
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class Model : IDirectResponseSchema

Properties

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. Timestamp when the model resource was created, which is also when the training started.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Dataset

The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}

Declaration
[JsonProperty("dataset")]
public virtual string Dataset { get; set; }
Property Value
Type Description
string

DisplayName

The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Name

The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

SourceLanguageCode

Output only. The BCP-47 language code of the source language.

Declaration
[JsonProperty("sourceLanguageCode")]
public virtual string SourceLanguageCode { get; set; }
Property Value
Type Description
string

TargetLanguageCode

Output only. The BCP-47 language code of the target language.

Declaration
[JsonProperty("targetLanguageCode")]
public virtual string TargetLanguageCode { get; set; }
Property Value
Type Description
string

TestExampleCount

Output only. Number of examples (sentence pairs) used to test the model.

Declaration
[JsonProperty("testExampleCount")]
public virtual int? TestExampleCount { get; set; }
Property Value
Type Description
int?

TrainExampleCount

Output only. Number of examples (sentence pairs) used to train the model.

Declaration
[JsonProperty("trainExampleCount")]
public virtual int? TrainExampleCount { get; set; }
Property Value
Type Description
int?

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. Timestamp when this model was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

ValidateExampleCount

Output only. Number of examples (sentence pairs) used to validate the model.

Declaration
[JsonProperty("validateExampleCount")]
public virtual int? ValidateExampleCount { get; set; }
Property Value
Type Description
int?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX