Skip to content

Commit

Permalink
feat: add default sensors for RawLocation & SupplementalLocation (#11934
Browse files Browse the repository at this point in the history
)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 577891844

Source-Link:
googleapis/googleapis@4984f71

Source-Link:
googleapis/googleapis-gen@f173287
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtZmxlZXRlbmdpbmUtZGVsaXZlcnkvLk93bEJvdC55YW1sIiwiaCI6ImYxNzMyODdjNjFiMWU3MTE2NGYwYjI4OGU3MTMxZGRjMTdjY2Q1M2EifQ==

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Oct 30, 2023
1 parent bb98456 commit c503005
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ class DeliveryVehicleLocation(proto.Message):
raw_location_time (google.protobuf.timestamp_pb2.Timestamp):
Timestamp associated with the raw location.
raw_location_sensor (google.maps.fleetengine_delivery_v1.types.DeliveryVehicleLocationSensor):
Source of the raw location.
Source of the raw location. Defaults to ``GPS``.
raw_location_accuracy (google.protobuf.wrappers_pb2.DoubleValue):
Accuracy of ``raw_location`` as a radius, in meters.
supplemental_location (google.type.latlng_pb2.LatLng):
Expand All @@ -242,7 +242,8 @@ class DeliveryVehicleLocation(proto.Message):
Timestamp associated with the supplemental
location.
supplemental_location_sensor (google.maps.fleetengine_delivery_v1.types.DeliveryVehicleLocationSensor):
Source of the supplemental location.
Source of the supplemental location. Defaults to
``CUSTOMER_SUPPLIED_LOCATION``.
supplemental_location_accuracy (google.protobuf.wrappers_pb2.DoubleValue):
Accuracy of ``supplemental_location`` as a radius, in
meters.
Expand Down
3 changes: 3 additions & 0 deletions packages/google-maps-fleetengine-delivery/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@

BLACK_VERSION = "black[jupyter]==23.7.0"
ISORT_VERSION = "isort==5.11.0"

LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]


DEFAULT_PYTHON_VERSION = "3.9"

UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"]
Expand Down Expand Up @@ -89,6 +91,7 @@ def lint(session):
"--check",
*LINT_PATHS,
)

session.run("flake8", "google", "tests")


Expand Down

0 comments on commit c503005

Please sign in to comment.