Exports feature values from all the entities of a target EntityType.
Endpoint
posthttps://{service-endpoint}/v1beta1/{entityType}:exportFeatureValues
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
entityType
string
Required. The resource name of the EntityType from which to export feature values. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}
Request body
The request body contains data with the following structure:
Required. Specifies destination location and format.
Required. Selects Features to export values of.
Per-feature export settings.
mode
Union type
mode
can be only one of the following:Exports the latest feature values of all entities of the EntityType within a time range.
Exports all historical values of all entities of the EntityType within a time range
Response body
If successful, the response body contains an instance of Operation
.
SnapshotExport
Describes exporting the latest feature values of all entities of the EntityType between [startTime, snapshotTime].
Exports feature values as of this timestamp. If not set, retrieve values as of now. timestamp, if present, must not have higher than millisecond precision.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
Excludes feature values with feature generation timestamp before this timestamp. If not set, retrieve oldest values kept in feature Store. timestamp, if present, must not have higher than millisecond precision.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
JSON representation |
---|
{ "snapshotTime": string, "startTime": string } |
FullExport
Describes exporting all historical feature values of all entities of the EntityType between [startTime, endTime].
Excludes feature values with feature generation timestamp before this timestamp. If not set, retrieve oldest values kept in feature Store. timestamp, if present, must not have higher than millisecond precision.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
Exports feature values as of this timestamp. If not set, retrieve values as of now. timestamp, if present, must not have higher than millisecond precision.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
JSON representation |
---|
{ "startTime": string, "endTime": string } |