Google Cloud Ai Platform V1 Client - Class DeleteEntityTypeRequest (0.28.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
NameDescription
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
TypeDescription
string

setName

Required. The name of the EntityType to be deleted.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\AIPlatform\V1\DeleteEntityTypeRequest

static::buildFromNameForce

Parameters
NameDescription
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
TypeDescription
Google\Cloud\AIPlatform\V1\DeleteEntityTypeRequest