Google Cloud Ai Platform V1 Client - Class FeatureSpec (0.23.0)

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

Defines the Feature value(s) to import.

Generated from protobuf message google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec

Namespace

Google \ Cloud \ AIPlatform \ V1 \ ImportFeatureValuesRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ id string

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

↳ source_field string

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.

getId

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

Returns
TypeDescription
string

setId

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceField

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.

Returns
TypeDescription
string

setSourceField

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this