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 @@ -44,7 +44,7 @@

from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore

from google.cloud.optimization_v1.types import async_model, fleet_routing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore

from google.cloud.optimization_v1.types import async_model, fleet_routing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
from google.auth import credentials as ga_credentials # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
from google.longrunning import operations_pb2
from google.protobuf import json_format
import grpc # type: ignore
from requests import __version__ as requests_version
Expand Down
11 changes: 5 additions & 6 deletions google/cloud/optimization_v1/types/fleet_routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,7 @@ class ShipmentModel(proto.Message):
1970 (i.e. seconds: 0, nanos: 0) is used as default.
global_end_time (google.protobuf.timestamp_pb2.Timestamp):
If unset, 00:00:00 UTC, January 1, 1971 (i.e.
seconds: 31536000, nanos: 0)
is used as default.
seconds: 31536000, nanos: 0) is used as default.
global_duration_cost_per_hour (float):
The "global duration" of the overall plan is the difference
between the earliest effective start time and the latest
Expand Down Expand Up @@ -1338,10 +1337,10 @@ class Shipment(proto.Message):

class VisitRequest(proto.Message):
r"""Request for a visit which can be done by a vehicle: it has a
geo-location
(or two, see below), opening and closing times represented by
time windows, and a service duration time (time spent by the
vehicle once it has arrived to pickup or drop off goods).
geo-location (or two, see below), opening and closing times
represented by time windows, and a service duration time (time
spent by the vehicle once it has arrived to pickup or drop off
goods).

Attributes:
arrival_location (google.type.latlng_pb2.LatLng):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/gapic/optimization_v1/test_fleet_routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
import google.auth
from google.auth import credentials as ga_credentials
from google.auth.exceptions import MutualTLSChannelError
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.oauth2 import service_account
from google.protobuf import duration_pb2 # type: ignore
from google.protobuf import json_format
Expand Down