Cloud AutoML V1 Client - Class DeployModelRequest (2.0.5)

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

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ image_object_detection_model_deployment_metadata
ImageObjectDetectionModelDeploymentMetadata

Model deployment metadata specific to Image Object Detection.

↳ image_classification_model_deployment_metadata
ImageClassificationModelDeploymentMetadata

Model deployment metadata specific to Image Classification.

↳ name
string

Required. Resource name of the model to deploy.

Model deployment metadata specific to Image Object Detection.

Returns
Type
Description

Model deployment metadata specific to Image Object Detection.

Parameter
Name
Description
Returns
Type
Description
$this

Model deployment metadata specific to Image Classification.

Returns
Type
Description

Model deployment metadata specific to Image Classification.

Parameter
Name
Description
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
Returns
Type
Description
string

static::build

Parameter
Name
Description
name
string

Required. Resource name of the model to deploy. Please see AutoMlClient::modelName() for help formatting this field.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: