Cloud AutoML V1 Client - Class DeleteModelRequest (2.0.0)

Reference documentation and code samples for the Cloud AutoML V1 Client class DeleteModelRequest.

Request message for AutoMl.DeleteModel.

Generated from protobuf message google.cloud.automl.v1.DeleteModelRequest

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name of the model being deleted.

getName

Required. Resource name of the model being deleted.

Returns
Type Description
string

setName

Required. Resource name of the model being deleted.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Resource name of the model being deleted. Please see Google\Cloud\AutoMl\V1\AutoMlClient::modelName() for help formatting this field.

Returns
Type Description
Google\Cloud\AutoMl\V1\DeleteModelRequest