Google Cloud Ai Platform V1 Client - Class FeatureSpec (1.9.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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this