Google Cloud Ai Platform V1 Client - Class ImportFeatureValuesRequest (0.10.0)

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

Request message for FeaturestoreService.ImportFeatureValues.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ avro_source Google\Cloud\AIPlatform\V1\AvroSource
↳ bigquery_source Google\Cloud\AIPlatform\V1\BigQuerySource
↳ csv_source Google\Cloud\AIPlatform\V1\CsvSource
↳ feature_time_field string

Source column that holds the Feature timestamp for all Feature values in each entity.

↳ feature_time Google\Protobuf\Timestamp

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

↳ entity_type string

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

↳ entity_id_field string

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

↳ feature_specs array<Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest\FeatureSpec>

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

↳ disable_online_serving bool

If set, data will not be imported for online serving. This is typically used for backfilling, where Feature generation timestamps are not in the timestamp range needed for online serving.

↳ worker_count int

Specifies the number of workers that are used to write data to the Featurestore. Consider the online serving capacity that you require to achieve the desired import throughput without interfering with online serving. The value must be positive, and less than or equal to 100. If not set, defaults to using 1 worker. The low count ensures minimal impact on online serving performance.

↳ disable_ingestion_analysis bool

If true, API doesn't start ingestion analysis pipeline.

getAvroSource

Generated from protobuf field .google.cloud.aiplatform.v1.AvroSource avro_source = 2;

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

hasAvroSource

setAvroSource

Generated from protobuf field .google.cloud.aiplatform.v1.AvroSource avro_source = 2;

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

getBigquerySource

Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;

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

hasBigquerySource

setBigquerySource

Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;

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

getCsvSource

Generated from protobuf field .google.cloud.aiplatform.v1.CsvSource csv_source = 4;

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

hasCsvSource

setCsvSource

Generated from protobuf field .google.cloud.aiplatform.v1.CsvSource csv_source = 4;

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

getFeatureTimeField

Source column that holds the Feature timestamp for all Feature values in each entity.

Generated from protobuf field string feature_time_field = 6;

Returns
TypeDescription
string

hasFeatureTimeField

setFeatureTimeField

Source column that holds the Feature timestamp for all Feature values in each entity.

Generated from protobuf field string feature_time_field = 6;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFeatureTime

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

Generated from protobuf field .google.protobuf.Timestamp feature_time = 7;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasFeatureTime

setFeatureTime

Single Feature timestamp for all entities being imported. The timestamp must not have higher than millisecond precision.

Generated from protobuf field .google.protobuf.Timestamp feature_time = 7;

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEntityType

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setEntityType

Required. The resource name of the EntityType grouping the Features for which values are being imported. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}

Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEntityIdField

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

Generated from protobuf field string entity_id_field = 5;

Returns
TypeDescription
string

setEntityIdField

Source column that holds entity IDs. If not provided, entity IDs are extracted from the column named entity_id.

Generated from protobuf field string entity_id_field = 5;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFeatureSpecs

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFeatureSpecs

Required. Specifications defining which Feature values to import from the entity. The request fails if no feature_specs are provided, and having multiple feature_specs for one Feature is not allowed.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest\FeatureSpec>
Returns
TypeDescription
$this

getDisableOnlineServing

If set, data will not be imported for online serving. This is typically used for backfilling, where Feature generation timestamps are not in the timestamp range needed for online serving.

Generated from protobuf field bool disable_online_serving = 9;

Returns
TypeDescription
bool

setDisableOnlineServing

If set, data will not be imported for online serving. This is typically used for backfilling, where Feature generation timestamps are not in the timestamp range needed for online serving.

Generated from protobuf field bool disable_online_serving = 9;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getWorkerCount

Specifies the number of workers that are used to write data to the Featurestore. Consider the online serving capacity that you require to achieve the desired import throughput without interfering with online serving. The value must be positive, and less than or equal to 100.

If not set, defaults to using 1 worker. The low count ensures minimal impact on online serving performance.

Generated from protobuf field int32 worker_count = 11;

Returns
TypeDescription
int

setWorkerCount

Specifies the number of workers that are used to write data to the Featurestore. Consider the online serving capacity that you require to achieve the desired import throughput without interfering with online serving. The value must be positive, and less than or equal to 100.

If not set, defaults to using 1 worker. The low count ensures minimal impact on online serving performance.

Generated from protobuf field int32 worker_count = 11;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDisableIngestionAnalysis

If true, API doesn't start ingestion analysis pipeline.

Generated from protobuf field bool disable_ingestion_analysis = 12;

Returns
TypeDescription
bool

setDisableIngestionAnalysis

If true, API doesn't start ingestion analysis pipeline.

Generated from protobuf field bool disable_ingestion_analysis = 12;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string

getFeatureTimeSource

Returns
TypeDescription
string