Google Cloud Ai Platform V1 Client - Class CreateFeatureRequest (0.18.0)

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

Request message for FeaturestoreService.CreateFeature.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

↳ feature Google\Cloud\AIPlatform\V1\Feature

Required. The Feature to create.

↳ feature_id string

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

getParent

Required. The resource name of the EntityType to create a Feature.

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

Returns
Type Description
string

setParent

Required. The resource name of the EntityType to create a Feature.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getFeature

Required. The Feature to create.

Returns
Type Description
Google\Cloud\AIPlatform\V1\Feature|null

hasFeature

clearFeature

setFeature

Required. The Feature to create.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\Feature
Returns
Type Description
$this

getFeatureId

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

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

Returns
Type Description
string

setFeatureId

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

feature Google\Cloud\AIPlatform\V1\Feature

Required. The Feature to create.

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

static::buildFromParentFeatureFeatureId

Parameters
Name Description
parent string

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

feature Google\Cloud\AIPlatform\V1\Feature

Required. The Feature to create.

featureId string

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

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

The value must be unique within an EntityType.

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.