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

Namespace

Google \ Cloud \ AIPlatform \ V1

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.

Returns
TypeDescription
string

hasFeatureTimeField

setFeatureTimeField

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

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.

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.

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}

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}

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.

Returns
TypeDescription
string

setEntityIdField

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

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.

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.

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.

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.

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.

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDisableIngestionAnalysis

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

Returns
TypeDescription
bool

setDisableIngestionAnalysis

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string

getFeatureTimeSource

Returns
TypeDescription
string

static::build

Parameter
NameDescription
entityType 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} Please see Google\Cloud\AIPlatform\V1\FeaturestoreServiceClient::entityTypeName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest