Class Model

API proto representing a trained machine learning model.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes
NameDescription
google.cloud.automl_v1beta1.types.TranslationModelMetadatatranslation_model_metadata
Metadata for translation models. This field is a member of `oneof`_ ``model_metadata``.
google.cloud.automl_v1beta1.types.ImageClassificationModelMetadataimage_classification_model_metadata
Metadata for image classification models. This field is a member of `oneof`_ ``model_metadata``.
google.cloud.automl_v1beta1.types.TextClassificationModelMetadatatext_classification_model_metadata
Metadata for text classification models. This field is a member of `oneof`_ ``model_metadata``.
google.cloud.automl_v1beta1.types.ImageObjectDetectionModelMetadataimage_object_detection_model_metadata
Metadata for image object detection models. This field is a member of `oneof`_ ``model_metadata``.
google.cloud.automl_v1beta1.types.VideoClassificationModelMetadatavideo_classification_model_metadata
Metadata for video classification models. This field is a member of `oneof`_ ``model_metadata``.
google.cloud.automl_v1beta1.types.VideoObjectTrackingModelMetadatavideo_object_tracking_model_metadata
Metadata for video object tracking models. This field is a member of `oneof`_ ``model_metadata``.
google.cloud.automl_v1beta1.types.TextExtractionModelMetadatatext_extraction_model_metadata
Metadata for text extraction models. This field is a member of `oneof`_ ``model_metadata``.
google.cloud.automl_v1beta1.types.TablesModelMetadatatables_model_metadata
Metadata for Tables models. This field is a member of `oneof`_ ``model_metadata``.
google.cloud.automl_v1beta1.types.TextSentimentModelMetadatatext_sentiment_model_metadata
Metadata for text sentiment models. This field is a member of `oneof`_ ``model_metadata``.
strname
Output only. Resource name of the model. Format: ``projects/{project_id}/locations/{location_id}/models/{model_id}``
strdisplay_name
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.
strdataset_id
Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
google.protobuf.timestamp_pb2.Timestampcreate_time
Output only. Timestamp when the model training finished and can be used for prediction.
google.protobuf.timestamp_pb2.Timestampupdate_time
Output only. Timestamp when this model was last updated.
google.cloud.automl_v1beta1.types.Model.DeploymentStatedeployment_state
Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.

Inheritance

builtins.object > proto.message.Message > Model

Classes

DeploymentState

DeploymentState(value)

Deployment state of the model.