Information for solving one optimization model asynchronously.
JSON representation |
---|
{ "displayName": string, "inputConfig": { object ( |
Fields | |
---|---|
displayName |
User defined model name, can be used as alias by users to keep track of models. |
inputConfig |
Required. Information about the input model. |
outputConfig |
Required. The desired output location information. |
enableCheckpoints |
If this is set, the model will be solved in the checkpoint mode. In this mode, the input model can have a deadline longer than 30 mins without the risk of interruption. The model will be solved in multiple short-running stages. Each stage generates an intermediate checkpoint and stores it in the user's Cloud Storage buckets. The checkpoint mode should be preferred over allowLargeDeadlineDespiteInterruptionRisk since it prevents the risk of interruption. |
InputConfig
The desired input location information.
JSON representation |
---|
{ "dataFormat": enum ( |
Fields | |
---|---|
dataFormat |
The input data format that used to store the model in Cloud Storage. |
Union field source . The location of the input model in cloud storage. Required. source can be only one of the following: |
|
gcsSource |
The Google Cloud Storage location to read the input from. This must be a single file. |
GcsSource
The Google Cloud Storage location where the input file will be read from.
JSON representation |
---|
{ "uri": string } |
Fields | |
---|---|
uri |
Required. URI of the Google Cloud Storage location. |
DataFormat
Data formats for input and output files.
Enums | |
---|---|
DATA_FORMAT_UNSPECIFIED |
Default value. |
JSON |
Input data in json format. |
STRING |
Input data in string format. |
OutputConfig
The desired output location.
JSON representation |
---|
{ "dataFormat": enum ( |
Fields | |
---|---|
dataFormat |
The output data format that used to store the results in Cloud Storage. |
Union field destination . The location of the output result in cloud storage. Required. destination can be only one of the following: |
|
gcsDestination |
The Google Cloud Storage location to write the output to. |
GcsDestination
The Google Cloud Storage location where the output file will be written to.
JSON representation |
---|
{ "uri": string } |
Fields | |
---|---|
uri |
Required. URI of the Google Cloud Storage location. |