Class: Google::Cloud::AutoML::V1beta1::Model
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1beta1::Model
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/automl/v1beta1/model.rb
Overview
API proto representing a trained machine learning model.
Defined Under Namespace
Modules: DeploymentState
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
Output only.
-
#dataset_id ⇒ ::String
Required.
-
#deployment_state ⇒ ::Google::Cloud::AutoML::V1beta1::Model::DeploymentState
Output only.
-
#display_name ⇒ ::String
Required.
-
#image_classification_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata
Metadata for image classification models.
-
#image_object_detection_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata
Metadata for image object detection models.
-
#name ⇒ ::String
Output only.
-
#tables_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::TablesModelMetadata
Metadata for Tables models.
-
#text_classification_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata
Metadata for text classification models.
-
#text_extraction_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata
Metadata for text extraction models.
-
#text_sentiment_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata
Metadata for text sentiment models.
-
#translation_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata
Metadata for translation models.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
Output only.
-
#video_classification_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata
Metadata for video classification models.
-
#video_object_tracking_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata
Metadata for video object tracking models.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns Output only. Timestamp when the model training finished and can be used for prediction.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#dataset_id ⇒ ::String
Returns Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#deployment_state ⇒ ::Google::Cloud::AutoML::V1beta1::Model::DeploymentState
Returns Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#display_name ⇒ ::String
Returns 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.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#image_classification_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata
Returns Metadata for image classification models.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#image_object_detection_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata
Returns Metadata for image object detection models.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#name ⇒ ::String
Returns Output only. Resource name of the model.
Format: projects/{project_id}/locations/{location_id}/models/{model_id}
.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#tables_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::TablesModelMetadata
Returns Metadata for Tables models.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#text_classification_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata
Returns Metadata for text classification models.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#text_extraction_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata
Returns Metadata for text extraction models.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#text_sentiment_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata
Returns Metadata for text sentiment models.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#translation_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata
Returns Metadata for translation models.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns Output only. Timestamp when this model was last updated.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#video_classification_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata
Returns Metadata for video classification models.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |
#video_object_tracking_model_metadata ⇒ ::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata
Returns Metadata for video object tracking models.
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76 class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Deployment state of the model. module DeploymentState # Should not be used, an un-set enum has this value by default. DEPLOYMENT_STATE_UNSPECIFIED = 0 # Model is deployed. DEPLOYED = 1 # Model is not deployed. UNDEPLOYED = 2 end end |