Note: The following fields are mutually exclusive: image_classification_model_deployment_metadata, image_object_detection_model_deployment_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: image_classification_model_deployment_metadata, image_object_detection_model_deployment_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: image_classification_model_deployment_metadata, image_object_detection_model_deployment_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: image_object_detection_model_deployment_metadata, image_classification_model_deployment_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: image_object_detection_model_deployment_metadata, image_classification_model_deployment_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: image_object_detection_model_deployment_metadata, image_classification_model_deployment_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.
#name
defname()->::String
Returns
(::String) — Required. Resource name of the model to deploy.
#name=
defname=(value)->::String
Parameter
value (::String) — Required. Resource name of the model to deploy.
Returns
(::String) — Required. Resource name of the model to deploy.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::DeployModelRequest (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-automl-v1/1.3.0/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-automl-v1/1.2.1/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-automl-v1/1.1.0/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-automl-v1/1.0.1/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-automl-v1/0.10.0/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [0.9.2](/ruby/docs/reference/google-cloud-automl-v1/0.9.2/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-automl-v1/0.8.0/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-automl-v1/0.7.0/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-automl-v1/0.6.0/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [0.5.1](/ruby/docs/reference/google-cloud-automl-v1/0.5.1/Google-Cloud-AutoML-V1-DeployModelRequest)\n- [0.4.8](/ruby/docs/reference/google-cloud-automl-v1/0.4.8/Google-Cloud-AutoML-V1-DeployModelRequest) \nReference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::DeployModelRequest.\n\nRequest message for [AutoMl.DeployModel](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-AutoML-Client#Google__Cloud__AutoML__V1__AutoML__Client_deploy_model_instance_ \"Google::Cloud::AutoML::V1::AutoML::Client#deploy_model (method)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #image_classification_model_deployment_metadata\n\n def image_classification_model_deployment_metadata() -\u003e ::Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata\n\n**Returns**\n\n- ([::Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata](./Google-Cloud-AutoML-V1-ImageClassificationModelDeploymentMetadata)) --- Model deployment metadata specific to Image Classification.\n\n\n Note: The following fields are mutually exclusive: `image_classification_model_deployment_metadata`, `image_object_detection_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #image_classification_model_deployment_metadata=\n\n def image_classification_model_deployment_metadata=(value) -\u003e ::Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata\n\n**Parameter**\n\n- **value** ([::Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata](./Google-Cloud-AutoML-V1-ImageClassificationModelDeploymentMetadata)) --- Model deployment metadata specific to Image Classification.\n\n\nNote: The following fields are mutually exclusive: `image_classification_model_deployment_metadata`, `image_object_detection_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata](./Google-Cloud-AutoML-V1-ImageClassificationModelDeploymentMetadata)) --- Model deployment metadata specific to Image Classification.\n\n\n Note: The following fields are mutually exclusive: `image_classification_model_deployment_metadata`, `image_object_detection_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #image_object_detection_model_deployment_metadata\n\n def image_object_detection_model_deployment_metadata() -\u003e ::Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata\n\n**Returns**\n\n- ([::Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata](./Google-Cloud-AutoML-V1-ImageObjectDetectionModelDeploymentMetadata)) --- Model deployment metadata specific to Image Object Detection.\n\n\n Note: The following fields are mutually exclusive: `image_object_detection_model_deployment_metadata`, `image_classification_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #image_object_detection_model_deployment_metadata=\n\n def image_object_detection_model_deployment_metadata=(value) -\u003e ::Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata\n\n**Parameter**\n\n- **value** ([::Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata](./Google-Cloud-AutoML-V1-ImageObjectDetectionModelDeploymentMetadata)) --- Model deployment metadata specific to Image Object Detection.\n\n\nNote: The following fields are mutually exclusive: `image_object_detection_model_deployment_metadata`, `image_classification_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata](./Google-Cloud-AutoML-V1-ImageObjectDetectionModelDeploymentMetadata)) --- Model deployment metadata specific to Image Object Detection.\n\n\n Note: The following fields are mutually exclusive: `image_object_detection_model_deployment_metadata`, `image_classification_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Resource name of the model to deploy.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Resource name of the model to deploy. \n**Returns**\n\n- (::String) --- Required. Resource name of the model to deploy."]]