Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [MapsRouteOptimization] Add support for generating route tokens #7694

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified MapsRouteOptimization/metadata/V1/RouteOptimizationService.php
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@
*
* This method is a Long Running Operation (LRO). The inputs for optimization
* (`OptimizeToursRequest` messages) and outputs (`OptimizeToursResponse`
* messages) are read/written from/to Cloud Storage in user-specified
* messages) are read from and written to Cloud Storage in user-specified
* format. Like the `OptimizeTours` method, each `OptimizeToursRequest`
* contains a `ShipmentModel` and returns an `OptimizeToursResponse`
* containing `ShipmentRoute`s, which are a set of routes to be performed by
* vehicles minimizing the overall cost.
* containing `ShipmentRoute` fields, which are a set of routes to be
* performed by vehicles minimizing the overall cost.
*
* The user can poll `operations.get` to check the status of the LRO:
*
* If the LRO's `done` field is false, then at least one request is still
* If the LRO `done` field is false, then at least one request is still
* being processed. Other requests may have completed successfully and their
* results are available in GCS.
* results are available in Cloud Storage.
*
* If the LRO's `done` field is true, then all requests have been processed.
* Any successfully processed requests will have their results available in
* GCS. Any requests that failed will not have their results available in
* GCS. If the LRO's `error` field is set, then it contains the error from
* one of the failed requests.
* Cloud Storage. Any requests that failed will not have their results
* available in Cloud Storage. If the LRO's `error` field is set, then it
* contains the error from one of the failed requests.
*
* @param string $parent Target project and location to make a call.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,23 +241,23 @@ public function __call($method, $args)
*
* This method is a Long Running Operation (LRO). The inputs for optimization
* (`OptimizeToursRequest` messages) and outputs (`OptimizeToursResponse`
* messages) are read/written from/to Cloud Storage in user-specified
* messages) are read from and written to Cloud Storage in user-specified
* format. Like the `OptimizeTours` method, each `OptimizeToursRequest`
* contains a `ShipmentModel` and returns an `OptimizeToursResponse`
* containing `ShipmentRoute`s, which are a set of routes to be performed by
* vehicles minimizing the overall cost.
* containing `ShipmentRoute` fields, which are a set of routes to be
* performed by vehicles minimizing the overall cost.
*
* The user can poll `operations.get` to check the status of the LRO:
*
* If the LRO's `done` field is false, then at least one request is still
* If the LRO `done` field is false, then at least one request is still
* being processed. Other requests may have completed successfully and their
* results are available in GCS.
* results are available in Cloud Storage.
*
* If the LRO's `done` field is true, then all requests have been processed.
* Any successfully processed requests will have their results available in
* GCS. Any requests that failed will not have their results available in
* GCS. If the LRO's `error` field is set, then it contains the error from
* one of the failed requests.
* Cloud Storage. Any requests that failed will not have their results
* available in Cloud Storage. If the LRO's `error` field is set, then it
* contains the error from one of the failed requests.
*
* The async variant is {@see RouteOptimizationClient::batchOptimizeToursAsync()} .
*
Expand Down
8 changes: 4 additions & 4 deletions MapsRouteOptimization/src/V1/OptimizeToursRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading