Google Cloud Ai Platform V1 Client - Class DeleteReasoningEngineRequest (1.23.0)

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

Request message for ReasoningEngineService.DeleteReasoningEngine.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the ReasoningEngine resource to be deleted. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}

↳ force bool

Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources.

getName

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

Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}

Returns
Type Description
string

setName

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

Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}

Parameter
Name Description
var string
Returns
Type Description
$this

getForce

Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources.

Returns
Type Description
bool

setForce

Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the ReasoningEngine resource to be deleted. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} Please see ReasoningEngineServiceClient::reasoningEngineName() for help formatting this field.

Returns
Type Description
DeleteReasoningEngineRequest