public sealed class Model : IMessage<Model>, IEquatable<Model>, IDeepCloneable<Model>, IBufferMessage, IMessage
API proto representing a trained machine learning model.
Namespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
Model()
public Model()
Model(Model)
public Model(Model other)
Parameter | |
---|---|
Name | Description |
other | Model |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Timestamp when the model training finished and can be used for prediction.
Property Value | |
---|---|
Type | Description |
Timestamp |
DatasetId
public string DatasetId { get; set; }
Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
Property Value | |
---|---|
Type | Description |
String |
DeploymentState
public Model.Types.DeploymentState DeploymentState { get; set; }
Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
Property Value | |
---|---|
Type | Description |
Model.Types.DeploymentState |
DisplayName
public string DisplayName { get; set; }
Required. 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. It must start with a letter.
Property Value | |
---|---|
Type | Description |
String |
Etag
public string Etag { get; set; }
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
Property Value | |
---|---|
Type | Description |
String |
ImageClassificationModelMetadata
public ImageClassificationModelMetadata ImageClassificationModelMetadata { get; set; }
Metadata for image classification models.
Property Value | |
---|---|
Type | Description |
ImageClassificationModelMetadata |
ImageObjectDetectionModelMetadata
public ImageObjectDetectionModelMetadata ImageObjectDetectionModelMetadata { get; set; }
Metadata for image object detection models.
Property Value | |
---|---|
Type | Description |
ImageObjectDetectionModelMetadata |
Labels
public MapField<string, string> Labels { get; }
Optional. The labels with user-defined metadata to organize your model.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
See https://goo.gl/xmQnxf for more information on and examples of labels.
Property Value | |
---|---|
Type | Description |
MapField<String, String> |
ModelMetadataCase
public Model.ModelMetadataOneofCase ModelMetadataCase { get; }
Property Value | |
---|---|
Type | Description |
Model.ModelMetadataOneofCase |
ModelName
public ModelName ModelName { get; set; }
Property Value | |
---|---|
Type | Description |
ModelName |
Name
public string Name { get; set; }
Output only. Resource name of the model.
Format: projects/{project_id}/locations/{location_id}/models/{model_id}
Property Value | |
---|---|
Type | Description |
String |
TextClassificationModelMetadata
public TextClassificationModelMetadata TextClassificationModelMetadata { get; set; }
Metadata for text classification models.
Property Value | |
---|---|
Type | Description |
TextClassificationModelMetadata |
TextExtractionModelMetadata
public TextExtractionModelMetadata TextExtractionModelMetadata { get; set; }
Metadata for text extraction models.
Property Value | |
---|---|
Type | Description |
TextExtractionModelMetadata |
TextSentimentModelMetadata
public TextSentimentModelMetadata TextSentimentModelMetadata { get; set; }
Metadata for text sentiment models.
Property Value | |
---|---|
Type | Description |
TextSentimentModelMetadata |
TranslationModelMetadata
public TranslationModelMetadata TranslationModelMetadata { get; set; }
Metadata for translation models.
Property Value | |
---|---|
Type | Description |
TranslationModelMetadata |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Timestamp when this model was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |