# Google Cloud Ai Platform V1 Client - Class ImportFeatureValuesRequest (1.60.0)

1.60.0 (latest) 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.49.0 1.48.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.1 1.31.0 1.30.0 1.26.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.1 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.39.0 0.38.0 0.37.1 0.32.0 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.26.2 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.13.0 0.12.0 0.11.1 0.10.0 Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ImportFeatureValuesRequest.

Request message for
[FeaturestoreService.ImportFeatureValues](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.Client.FeaturestoreServiceClient#_Google_Cloud_AIPlatform_V1_Client_FeaturestoreServiceClient__importFeatureValues__).

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

## Namespace

Google \\ Cloud \\ AIPlatform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ avro_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.AvroSource` |
| `↳ bigquery_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.BigQuerySource` |
| `↳ csv_source` | `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.CsvSource` |
| `↳ feature_time_field` | `string` Source column that holds the Feature timestamp for all Feature values in each entity. |
| `↳ feature_time` | `https://protobuf.dev/reference/php/api-docs/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<https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.AvroSource|null` |   |

### hasAvroSource

### setAvroSource

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.AvroSource` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBigquerySource

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.BigQuerySource|null` |   |

### hasBigquerySource

### setBigquerySource

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.BigQuerySource` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCsvSource

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.CsvSource|null` |   |

### hasCsvSource

### setCsvSource

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.CsvSource` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFeatureTimeField

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasFeatureTimeField

### setFeatureTimeField

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFeatureTime

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasFeatureTime

### setFeatureTime

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$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** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEntityIdField

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setEntityIdField

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$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** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.ImportFeatureValuesRequest.FeatureSpec>` |   |

### 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** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.ImportFeatureValuesRequest.FeatureSpec>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$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** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$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** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisableIngestionAnalysis

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setDisableIngestionAnalysis

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSource

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### getFeatureTimeSource

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `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 FeaturestoreServiceClient::entityTypeName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.ImportFeatureValuesRequest` |   |