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 oneOptimizeToursRequest, and each output
file will contain oneOptimizeToursResponse. 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 messagegoogle.cloud.optimization.v1.BatchOptimizeToursRequest
Namespace
Google \ Cloud \ Optimization \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Optimization V1 Client - Class BatchOptimizeToursRequest (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-optimization/latest/V1.BatchOptimizeToursRequest)\n- [1.0.4](/php/docs/reference/cloud-optimization/1.0.4/V1.BatchOptimizeToursRequest)\n- [0.7.0](/php/docs/reference/cloud-optimization/0.7.0/V1.BatchOptimizeToursRequest)\n- [0.6.5](/php/docs/reference/cloud-optimization/0.6.5/V1.BatchOptimizeToursRequest)\n- [0.5.1](/php/docs/reference/cloud-optimization/0.5.1/V1.BatchOptimizeToursRequest)\n- [0.4.0](/php/docs/reference/cloud-optimization/0.4.0/V1.BatchOptimizeToursRequest)\n- [0.3.4](/php/docs/reference/cloud-optimization/0.3.4/V1.BatchOptimizeToursRequest)\n- [0.2.0](/php/docs/reference/cloud-optimization/0.2.0/V1.BatchOptimizeToursRequest)\n- [0.1.9](/php/docs/reference/cloud-optimization/0.1.9/V1.BatchOptimizeToursRequest) \nReference documentation and code samples for the Google Cloud Optimization V1 Client class BatchOptimizeToursRequest.\n\nRequest to batch optimize tours as an asynchronous operation.\n\nEach input file should contain one `OptimizeToursRequest`, and each output\nfile will contain one `OptimizeToursResponse`. The request contains\ninformation to read/write and parse the files. All the input and output files\nshould be under the same project.\n\nGenerated from protobuf message `google.cloud.optimization.v1.BatchOptimizeToursRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Optimization \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Target project and location to make a call.\n\nFormat: `projects/{project-id}/locations/{location-id}`.\nIf no location is specified, a region will be chosen automatically.\n\n### setParent\n\nRequired. Target project and location to make a call.\n\nFormat: `projects/{project-id}/locations/{location-id}`.\nIf no location is specified, a region will be chosen automatically.\n\n### getModelConfigs\n\nRequired. Input/Output information each purchase model, such as file paths\nand data formats.\n\n### setModelConfigs\n\nRequired. Input/Output information each purchase model, such as file paths\nand data formats."]]