Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.
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
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,9 @@ async def sample_optimize_tours():
Args:
request (Optional[Union[google.cloud.optimization_v1.types.OptimizeToursRequest, dict]]):
The request object. Request to be given to a tour
optimization solver which defines the shipment model to
solve as well as optimization parameters.
optimization solver which defines the
shipment model to solve as well as
optimization parameters.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -398,10 +399,10 @@ async def sample_batch_optimize_tours():

Args:
request (Optional[Union[google.cloud.optimization_v1.types.BatchOptimizeToursRequest, dict]]):
The request object. 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
The request object. 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.
Expand Down
13 changes: 7 additions & 6 deletions google/cloud/optimization_v1/services/fleet_routing/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,9 @@ def sample_optimize_tours():
Args:
request (Union[google.cloud.optimization_v1.types.OptimizeToursRequest, dict]):
The request object. Request to be given to a tour
optimization solver which defines the shipment model to
solve as well as optimization parameters.
optimization solver which defines the
shipment model to solve as well as
optimization parameters.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -601,10 +602,10 @@ def sample_batch_optimize_tours():

Args:
request (Union[google.cloud.optimization_v1.types.BatchOptimizeToursRequest, dict]):
The request object. 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
The request object. 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ def __call__(
contains information to read/write and parse the files.
All the input and output files should be under the same
project.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -458,7 +457,6 @@ def __call__(
optimization solver which defines the
shipment model to solve as well as
optimization parameters.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down