Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::Model.
API proto representing a trained machine learning model.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when the model training finished and can be used for prediction.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Output only. Timestamp when the model training finished and can be used for prediction.
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when the model training finished and can be used for prediction.
#dataset_id
def dataset_id() -> ::String
- (::String) — Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
#dataset_id=
def dataset_id=(value) -> ::String
- value (::String) — Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
- (::String) — Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
#deployment_state
def deployment_state() -> ::Google::Cloud::AutoML::V1beta1::Model::DeploymentState
- (::Google::Cloud::AutoML::V1beta1::Model::DeploymentState) — Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
#deployment_state=
def deployment_state=(value) -> ::Google::Cloud::AutoML::V1beta1::Model::DeploymentState
- value (::Google::Cloud::AutoML::V1beta1::Model::DeploymentState) — Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
- (::Google::Cloud::AutoML::V1beta1::Model::DeploymentState) — Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
#display_name
def display_name() -> ::String
- (::String) — 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.
#display_name=
def display_name=(value) -> ::String
- value (::String) — 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.
- (::String) — 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.
#image_classification_model_metadata
def image_classification_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata
-
(::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata) — Metadata for image classification models.
Note: The following fields are mutually exclusive:
image_classification_model_metadata
,translation_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_classification_model_metadata=
def image_classification_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata
-
value (::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata) — Metadata for image classification models.
Note: The following fields are mutually exclusive:
image_classification_model_metadata
,translation_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata) — Metadata for image classification models.
Note: The following fields are mutually exclusive:
image_classification_model_metadata
,translation_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_object_detection_model_metadata
def image_object_detection_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata
-
(::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata) — Metadata for image object detection models.
Note: The following fields are mutually exclusive:
image_object_detection_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_object_detection_model_metadata=
def image_object_detection_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata
-
value (::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata) — Metadata for image object detection models.
Note: The following fields are mutually exclusive:
image_object_detection_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata) — Metadata for image object detection models.
Note: The following fields are mutually exclusive:
image_object_detection_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#name
def name() -> ::String
-
(::String) — Output only. Resource name of the model.
Format:
projects/{project_id}/locations/{location_id}/models/{model_id}
#name=
def name=(value) -> ::String
-
value (::String) — Output only. Resource name of the model.
Format:
projects/{project_id}/locations/{location_id}/models/{model_id}
-
(::String) — Output only. Resource name of the model.
Format:
projects/{project_id}/locations/{location_id}/models/{model_id}
#tables_model_metadata
def tables_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::TablesModelMetadata
-
(::Google::Cloud::AutoML::V1beta1::TablesModelMetadata) — Metadata for Tables models.
Note: The following fields are mutually exclusive:
tables_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tables_model_metadata=
def tables_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::TablesModelMetadata
-
value (::Google::Cloud::AutoML::V1beta1::TablesModelMetadata) — Metadata for Tables models.
Note: The following fields are mutually exclusive:
tables_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::TablesModelMetadata) — Metadata for Tables models.
Note: The following fields are mutually exclusive:
tables_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_classification_model_metadata
def text_classification_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata
-
(::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata) — Metadata for text classification models.
Note: The following fields are mutually exclusive:
text_classification_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_classification_model_metadata=
def text_classification_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata
-
value (::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata) — Metadata for text classification models.
Note: The following fields are mutually exclusive:
text_classification_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata) — Metadata for text classification models.
Note: The following fields are mutually exclusive:
text_classification_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_extraction_model_metadata
def text_extraction_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata
-
(::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata) — Metadata for text extraction models.
Note: The following fields are mutually exclusive:
text_extraction_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_extraction_model_metadata=
def text_extraction_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata
-
value (::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata) — Metadata for text extraction models.
Note: The following fields are mutually exclusive:
text_extraction_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata) — Metadata for text extraction models.
Note: The following fields are mutually exclusive:
text_extraction_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_sentiment_model_metadata
def text_sentiment_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata
-
(::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata) — Metadata for text sentiment models.
Note: The following fields are mutually exclusive:
text_sentiment_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text_sentiment_model_metadata=
def text_sentiment_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata
-
value (::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata) — Metadata for text sentiment models.
Note: The following fields are mutually exclusive:
text_sentiment_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata) — Metadata for text sentiment models.
Note: The following fields are mutually exclusive:
text_sentiment_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#translation_model_metadata
def translation_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata
-
(::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata) — Metadata for translation models.
Note: The following fields are mutually exclusive:
translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#translation_model_metadata=
def translation_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata
-
value (::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata) — Metadata for translation models.
Note: The following fields are mutually exclusive:
translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata) — Metadata for translation models.
Note: The following fields are mutually exclusive:
translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this model was last updated.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Output only. Timestamp when this model was last updated.
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this model was last updated.
#video_classification_model_metadata
def video_classification_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata
-
(::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata) — Metadata for video classification models.
Note: The following fields are mutually exclusive:
video_classification_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_classification_model_metadata=
def video_classification_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata
-
value (::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata) — Metadata for video classification models.
Note: The following fields are mutually exclusive:
video_classification_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata) — Metadata for video classification models.
Note: The following fields are mutually exclusive:
video_classification_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_object_tracking_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_object_tracking_model_metadata
def video_object_tracking_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata
-
(::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata) — Metadata for video object tracking models.
Note: The following fields are mutually exclusive:
video_object_tracking_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_object_tracking_model_metadata=
def video_object_tracking_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata
-
value (::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata) — Metadata for video object tracking models.
Note: The following fields are mutually exclusive:
video_object_tracking_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata) — Metadata for video object tracking models.
Note: The following fields are mutually exclusive:
video_object_tracking_model_metadata
,translation_model_metadata
,image_classification_model_metadata
,text_classification_model_metadata
,image_object_detection_model_metadata
,video_classification_model_metadata
,text_extraction_model_metadata
,tables_model_metadata
,text_sentiment_model_metadata
. If a field in that set is populated, all other fields in the set will automatically be cleared.