Reference documentation and code samples for the Cloud AutoML V1 Client class DeployModelRequest.
Request message for AutoMl.DeployModel.
Generated from protobuf message google.cloud.automl.v1.DeployModelRequest
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ image_object_detection_model_deployment_metadata |
Google\Cloud\AutoMl\V1\ImageObjectDetectionModelDeploymentMetadata
Model deployment metadata specific to Image Object Detection. |
↳ image_classification_model_deployment_metadata |
Google\Cloud\AutoMl\V1\ImageClassificationModelDeploymentMetadata
Model deployment metadata specific to Image Classification. |
↳ name |
string
Required. Resource name of the model to deploy. |
getImageObjectDetectionModelDeploymentMetadata
Model deployment metadata specific to Image Object Detection.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\AutoMl\V1\ImageObjectDetectionModelDeploymentMetadata|null |
|
hasImageObjectDetectionModelDeploymentMetadata
setImageObjectDetectionModelDeploymentMetadata
Model deployment metadata specific to Image Object Detection.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\AutoMl\V1\ImageObjectDetectionModelDeploymentMetadata
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getImageClassificationModelDeploymentMetadata
Model deployment metadata specific to Image Classification.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\AutoMl\V1\ImageClassificationModelDeploymentMetadata|null |
|
hasImageClassificationModelDeploymentMetadata
setImageClassificationModelDeploymentMetadata
Model deployment metadata specific to Image Classification.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\AutoMl\V1\ImageClassificationModelDeploymentMetadata
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Required. Resource name of the model to deploy.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Resource name of the model to deploy.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getModelDeploymentMetadata
| Returns | |
|---|---|
| Type | Description |
string |
|