Google Cloud Ai Platform V1 Client - Class DeleteEntityTypeRequest (0.10.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

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}

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setName

Required. The name of the EntityType to be deleted.

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

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

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.)

Generated from protobuf field bool force = 2;

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.)

Generated from protobuf field bool force = 2;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this