Resource: PredictionResult
PredictionResult is the result of using a model to create predictions.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "state": enum ( |
| Fields | |
|---|---|
name |
Output only. The resource name of the PredictionResult. format: |
createTime |
Output only. The timestamp of creation of this resource. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The timestamp of the most recent update of this resource. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Labels An object containing a list of |
state |
Output only. State of the PredictionResult (creating, active, deleting, etc.) |
dataset |
Required. The resource name of the Dataset to do predictions on Format: |
model |
Required. The resource name of the Model to use to use to make predictions Format: |
endTime |
Required. Specifies the latest time from which data is used to generate features for predictions. This time should be no later than the end of the Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
predictionPeriods |
The number of consecutive months to produce predictions for, ending with the last full month prior to |
outputs |
Required. Where to write the output of the predictions. |
lineOfBusiness |
Output only. The line of business (Retail/Commercial) this prediction is for. Determined by Model, cannot be set by user. |
satisfiesPzi |
Output only. [Output Only] Reserved for future use. |
satisfiesPzs |
Output only. [Output Only] Reserved for future use. |
State
The possible states of a resource.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
State is unspecified, should not occur. |
CREATING |
The resource has not finished being created. |
ACTIVE |
The resource is active/ready to be used. |
UPDATING |
The resource is in the process of being updated. |
DELETING |
The resource is in the process of being deleted. |
Outputs
Outputs is a list of places where the operation will write results.
| JSON representation |
|---|
{ "predictionDestination": { object ( |
| Fields | |
|---|---|
predictionDestination |
Required. The location to output the predictions. |
explainabilityDestination |
The location to output explainability information. If not specified no explainability data will be output. |
BigQueryDestination
BigQueryDestination is a wrapper for BigQuery output information.
| JSON representation |
|---|
{
"tableUri": string,
"writeDisposition": enum ( |
| Fields | |
|---|---|
tableUri |
Optional. BigQuery URI to a table, must be of the form bq://projectId.bqDatasetId.tableId. Note that the BigQuery dataset must already exist. VPC-SC restrictions apply. |
writeDisposition |
Required. Whether or not to overwrite the destination table. By default the table won't be overwritten and an error will be returned if the table exists and contains data. |
WriteDisposition
WriteDisposition controls the behavior when the destination table already exists.
| Enums | |
|---|---|
WRITE_DISPOSITION_UNSPECIFIED |
Default behavior is the same as WRITE_EMPTY. |
WRITE_EMPTY |
If the table already exists and contains data, an error is returned. |
WRITE_TRUNCATE |
If the table already exists, the data will be overwritten. |
Methods |
|
|---|---|
|
Create a PredictionResult. |
|
Deletes a PredictionResult. |
|
Export governance information for a PredictionResult resource. |
|
Gets a PredictionResult. |
|
List PredictionResults. |
|
Updates the parameters of a single PredictionResult. |