Cloud AutoML V1 Client - Class DeleteModelRequest (1.5.4)

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
NameDescription
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
TypeDescription
string

setName

Required. Resource name of the model being deleted.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

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

Returns
TypeDescription
Google\Cloud\AutoMl\V1\DeleteModelRequest