Google Cloud Optimization V1 Client - Class BatchOptimizeToursRequest (0.3.4)

Reference documentation and code samples for the Google Cloud Optimization V1 Client class BatchOptimizeToursRequest.

Request to batch optimize tours as an asynchronous operation.

Each input file should contain one OptimizeToursRequest, and each output file will contain one OptimizeToursResponse. The request contains information to read/write and parse the files. All the input and output files should be under the same project.

Generated from protobuf message google.cloud.optimization.v1.BatchOptimizeToursRequest

Namespace

Google \ Cloud \ Optimization \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Target project and location to make a call. Format: projects/{project-id}/locations/{location-id}. If no location is specified, a region will be chosen automatically.

↳ model_configs array<Google\Cloud\Optimization\V1\BatchOptimizeToursRequest\AsyncModelConfig>

Required. Input/Output information each purchase model, such as file paths and data formats.

getParent

Required. Target project and location to make a call.

Format: projects/{project-id}/locations/{location-id}. If no location is specified, a region will be chosen automatically.

Returns
TypeDescription
string

setParent

Required. Target project and location to make a call.

Format: projects/{project-id}/locations/{location-id}. If no location is specified, a region will be chosen automatically.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getModelConfigs

Required. Input/Output information each purchase model, such as file paths and data formats.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setModelConfigs

Required. Input/Output information each purchase model, such as file paths and data formats.

Parameter
NameDescription
var array<Google\Cloud\Optimization\V1\BatchOptimizeToursRequest\AsyncModelConfig>
Returns
TypeDescription
$this