Google Cloud Ai Platform V1 Client - Class DeleteModelVersionRequest (0.24.0)

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

Request message for ModelService.DeleteModelVersion.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the model version to be deleted, with a version ID explicitly included. Example: projects/{project}/locations/{location}/models/{model}@1234

getName

Required. The name of the model version to be deleted, with a version ID explicitly included.

Example: projects/{project}/locations/{location}/models/{model}@1234

Returns
TypeDescription
string

setName

Required. The name of the model version to be deleted, with a version ID explicitly included.

Example: projects/{project}/locations/{location}/models/{model}@1234

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the model version to be deleted, with a version ID explicitly included.

Example: projects/{project}/locations/{location}/models/{model}@1234 Please see Google\Cloud\AIPlatform\V1\ModelServiceClient::modelName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\DeleteModelVersionRequest