AsyncModelConfig

Information for solving one optimization model asynchronously.

JSON representation
{
  "displayName": string,
  "inputConfig": {
    object (InputConfig)
  },
  "outputConfig": {
    object (OutputConfig)
  },
  "enableCheckpoints": boolean
}
Fields
displayName

string

User defined model name, can be used as alias by users to keep track of models.

inputConfig

object (InputConfig)

Required. Information about the input model.

outputConfig

object (OutputConfig)

Required. The desired output location information.

enableCheckpoints

boolean

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 (DataFormat),

  // Union field source can be only one of the following:
  "gcsSource": {
    object (GcsSource)
  }
  // End of list of possible types for union field source.
}
Fields
dataFormat

enum (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

object (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

string

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 (DataFormat),

  // Union field destination can be only one of the following:
  "gcsDestination": {
    object (GcsDestination)
  }
  // End of list of possible types for union field destination.
}
Fields
dataFormat

enum (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

object (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

string

Required. URI of the Google Cloud Storage location.