Google Cloud Ai Platform V1 Client - Class DeleteEntityTypeRequest (1.11.0)

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

Request message for FeaturestoreService.DeleteEntityTypes.

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

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 EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

↳ force bool

If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)

getName

Required. The name of the EntityType to be deleted.

Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Returns
Type Description
string

setName

Required. The name of the EntityType to be deleted.

Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

Parameter
Name Description
var string
Returns
Type Description
$this

getForce

If set to true, any Features for this EntityType will also be deleted.

(Otherwise, the request will only work if the EntityType has no Features.)

Returns
Type Description
bool

setForce

If set to true, any Features for this EntityType will also be deleted.

(Otherwise, the request will only work if the EntityType has no Features.)

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type} Please see Google\Cloud\AIPlatform\V1\FeaturestoreServiceClient::entityTypeName() for help formatting this field.

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

static::buildFromNameForce

Parameters
Name Description
name string

Required. The name of the EntityType to be deleted. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type} Please see Google\Cloud\AIPlatform\V1\FeaturestoreServiceClient::entityTypeName() for help formatting this field.

force bool

If set to true, any Features for this EntityType will also be deleted. (Otherwise, the request will only work if the EntityType has no Features.)

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