Class Model
API proto representing a trained machine learning model.
Inheritance
Inherited Members
Namespace: Google.Cloud.AutoML.V1
Assembly: Google.Cloud.AutoML.V1.dll
Syntax
public sealed class Model : IMessage<Model>, IEquatable<Model>, IDeepCloneable<Model>, IBufferMessage, IMessage
Constructors
Model()
Declaration
public Model()
Model(Model)
Declaration
public Model(Model other)
Parameters
Type | Name | Description |
---|---|---|
Model | other |
Properties
CreateTime
Output only. Timestamp when the model training finished and can be used for prediction.
Declaration
public Timestamp CreateTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |
DatasetId
Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
Declaration
public string DatasetId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DeploymentState
Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
Declaration
public Model.Types.DeploymentState DeploymentState { get; set; }
Property Value
Type | Description |
---|---|
Model.Types.DeploymentState |
DisplayName
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.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Etag
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
Declaration
public string Etag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ImageClassificationModelMetadata
Metadata for image classification models.
Declaration
public ImageClassificationModelMetadata ImageClassificationModelMetadata { get; set; }
Property Value
Type | Description |
---|---|
ImageClassificationModelMetadata |
ImageObjectDetectionModelMetadata
Metadata for image object detection models.
Declaration
public ImageObjectDetectionModelMetadata ImageObjectDetectionModelMetadata { get; set; }
Property Value
Type | Description |
---|---|
ImageObjectDetectionModelMetadata |
Labels
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.
Declaration
public MapField<string, string> Labels { get; }
Property Value
Type | Description |
---|---|
MapField<System.String, System.String> |
ModelMetadataCase
Declaration
public Model.ModelMetadataOneofCase ModelMetadataCase { get; }
Property Value
Type | Description |
---|---|
Model.ModelMetadataOneofCase |
ModelName
Declaration
public ModelName ModelName { get; set; }
Property Value
Type | Description |
---|---|
ModelName |
Name
Output only. Resource name of the model.
Format: projects/{project_id}/locations/{location_id}/models/{model_id}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TextClassificationModelMetadata
Metadata for text classification models.
Declaration
public TextClassificationModelMetadata TextClassificationModelMetadata { get; set; }
Property Value
Type | Description |
---|---|
TextClassificationModelMetadata |
TextExtractionModelMetadata
Metadata for text extraction models.
Declaration
public TextExtractionModelMetadata TextExtractionModelMetadata { get; set; }
Property Value
Type | Description |
---|---|
TextExtractionModelMetadata |
TextSentimentModelMetadata
Metadata for text sentiment models.
Declaration
public TextSentimentModelMetadata TextSentimentModelMetadata { get; set; }
Property Value
Type | Description |
---|---|
TextSentimentModelMetadata |
TranslationModelMetadata
Metadata for translation models.
Declaration
public TranslationModelMetadata TranslationModelMetadata { get; set; }
Property Value
Type | Description |
---|---|
TranslationModelMetadata |
UpdateTime
Output only. Timestamp when this model was last updated.
Declaration
public Timestamp UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |