Class Model (2.6.0)

public sealed class Model : IMessage<Model>, IEquatable<Model>, IDeepCloneable<Model>, IBufferMessage, IMessage

API proto representing a trained machine learning model.

Inheritance

Object > Model

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

Model()

public Model()

Model(Model)

public Model(Model other)
Parameter
NameDescription
otherModel

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp when the model training finished and can be used for prediction.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

ImageClassificationModelMetadata

public ImageClassificationModelMetadata ImageClassificationModelMetadata { get; set; }

Metadata for image classification models.

Property Value
TypeDescription
ImageClassificationModelMetadata

ImageObjectDetectionModelMetadata

public ImageObjectDetectionModelMetadata ImageObjectDetectionModelMetadata { get; set; }

Metadata for image object detection models.

Property Value
TypeDescription
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
TypeDescription
MapField<String, String>

ModelMetadataCase

public Model.ModelMetadataOneofCase ModelMetadataCase { get; }
Property Value
TypeDescription
Model.ModelMetadataOneofCase

ModelName

public ModelName ModelName { get; set; }

ModelName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
String

TextClassificationModelMetadata

public TextClassificationModelMetadata TextClassificationModelMetadata { get; set; }

Metadata for text classification models.

Property Value
TypeDescription
TextClassificationModelMetadata

TextExtractionModelMetadata

public TextExtractionModelMetadata TextExtractionModelMetadata { get; set; }

Metadata for text extraction models.

Property Value
TypeDescription
TextExtractionModelMetadata

TextSentimentModelMetadata

public TextSentimentModelMetadata TextSentimentModelMetadata { get; set; }

Metadata for text sentiment models.

Property Value
TypeDescription
TextSentimentModelMetadata

TranslationModelMetadata

public TranslationModelMetadata TranslationModelMetadata { get; set; }

Metadata for translation models.

Property Value
TypeDescription
TranslationModelMetadata

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp when this model was last updated.

Property Value
TypeDescription
Timestamp