Google Cloud Ai Platform V1 Client - Class CreateEntityTypeRequest (0.21.0)

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

Request message for FeaturestoreService.CreateEntityType.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

↳ entity_type Google\Cloud\AIPlatform\V1\EntityType

The EntityType to create.

↳ entity_type_id string

Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name. This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number. The value must be unique within a featurestore.

getParent

Required. The resource name of the Featurestore to create EntityTypes.

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

Returns
TypeDescription
string

setParent

Required. The resource name of the Featurestore to create EntityTypes.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEntityType

The EntityType to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\EntityType|null

hasEntityType

clearEntityType

setEntityType

The EntityType to create.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\EntityType
Returns
TypeDescription
$this

getEntityTypeId

Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number. The value must be unique within a featurestore.

Returns
TypeDescription
string

setEntityTypeId

Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number. The value must be unique within a featurestore.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore} Please see Google\Cloud\AIPlatform\V1\FeaturestoreServiceClient::featurestoreName() for help formatting this field.

entityType Google\Cloud\AIPlatform\V1\EntityType

The EntityType to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CreateEntityTypeRequest

static::buildFromParentEntityTypeEntityTypeId

Parameters
NameDescription
parent string

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore} Please see Google\Cloud\AIPlatform\V1\FeaturestoreServiceClient::featurestoreName() for help formatting this field.

entityType Google\Cloud\AIPlatform\V1\EntityType

The EntityType to create.

entityTypeId string

Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within a featurestore.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CreateEntityTypeRequest