Google Cloud Ai Platform V1 Client - Class DeleteModelRequest (0.16.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DeleteModelRequest.

Request message for ModelService.DeleteModel.

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

Methods

build

Parameter
Name Description
name string

Required. The name of the Model resource to be deleted. Format: projects/{project}/locations/{___location}/models/{model} Please see {@see \Google\Cloud\AIPlatform\V1\ModelServiceClient::modelName()} for help formatting this field.

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

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the Model resource to be deleted. Format: projects/{project}/locations/{___location}/models/{model}

getName

Required. The name of the Model resource to be deleted.

Format: projects/{project}/locations/{___location}/models/{model}

Returns
Type Description
string

setName

Required. The name of the Model resource to be deleted.

Format: projects/{project}/locations/{___location}/models/{model}

Parameter
Name Description
var string
Returns
Type Description
$this