Skip to content

Commit

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

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 577885102

Source-Link:
googleapis/googleapis@b6a7fba

Source-Link:
googleapis/googleapis-gen@f045ef6
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtZmxlZXRlbmdpbmUvLk93bEJvdC55YW1sIiwiaCI6ImYwNDVlZjY3M2U4ZGFkZWU3NTYzMWZiMWQ1NTQzYzI2YWY0YzAzMmQifQ==

---------

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 e101a37 commit bb98456
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 @@ -463,7 +463,7 @@ class VehicleLocation(proto.Message):
raw_location_time (google.protobuf.timestamp_pb2.Timestamp):
Timestamp associated with the raw location.
raw_location_sensor (google.maps.fleetengine_v1.types.LocationSensor):
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 @@ -473,7 +473,8 @@ class VehicleLocation(proto.Message):
Timestamp associated with the supplemental
location.
supplemental_location_sensor (google.maps.fleetengine_v1.types.LocationSensor):
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/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 bb98456

Please sign in to comment.