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

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.

Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field string source_field = 2;

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.

Generated from protobuf field string source_field = 2;

Parameter
Name Description
var string
Returns
Type Description
$this