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: "/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{predictionResult}" | 
| createTime | 
 Output only. The timestamp of creation of this resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:  | 
| updateTime | 
 Output only. The timestamp of the most recent update of this resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. 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: "/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{datasetId}" | 
| model | 
 Required. The resource name of the Model to use to use to make predictions Format: "/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}" | 
| 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  A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. 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. | 
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 to overwrite or not 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. |