Cloud AutoML V1beta1 Client - Class DeployModelRequest (1.4.17)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class DeployModelRequest.

Request message for AutoMl.DeployModel.

Generated from protobuf message google.cloud.automl.v1beta1.DeployModelRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ image_object_detection_model_deployment_metadata Google\Cloud\AutoMl\V1beta1\ImageObjectDetectionModelDeploymentMetadata

Model deployment metadata specific to Image Object Detection.

↳ image_classification_model_deployment_metadata Google\Cloud\AutoMl\V1beta1\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
TypeDescription
Google\Cloud\AutoMl\V1beta1\ImageObjectDetectionModelDeploymentMetadata|null

hasImageObjectDetectionModelDeploymentMetadata

setImageObjectDetectionModelDeploymentMetadata

Model deployment metadata specific to Image Object Detection.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\ImageObjectDetectionModelDeploymentMetadata
Returns
TypeDescription
$this

getImageClassificationModelDeploymentMetadata

Model deployment metadata specific to Image Classification.

Returns
TypeDescription
Google\Cloud\AutoMl\V1beta1\ImageClassificationModelDeploymentMetadata|null

hasImageClassificationModelDeploymentMetadata

setImageClassificationModelDeploymentMetadata

Model deployment metadata specific to Image Classification.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1beta1\ImageClassificationModelDeploymentMetadata
Returns
TypeDescription
$this

getName

Required. Resource name of the model to deploy.

Returns
TypeDescription
string

setName

Required. Resource name of the model to deploy.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getModelDeploymentMetadata

Returns
TypeDescription
string