Skip to content

Commit c503005

Browse files
feat: add default sensors for RawLocation & SupplementalLocation (#11934)
- [ ] 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>
1 parent bb98456 commit c503005

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

packages/google-maps-fleetengine-delivery/google/maps/fleetengine_delivery/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-maps-fleetengine-delivery/google/maps/fleetengine_delivery_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-maps-fleetengine-delivery/google/maps/fleetengine_delivery_v1/types/common.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ class DeliveryVehicleLocation(proto.Message):
232232
raw_location_time (google.protobuf.timestamp_pb2.Timestamp):
233233
Timestamp associated with the raw location.
234234
raw_location_sensor (google.maps.fleetengine_delivery_v1.types.DeliveryVehicleLocationSensor):
235-
Source of the raw location.
235+
Source of the raw location. Defaults to ``GPS``.
236236
raw_location_accuracy (google.protobuf.wrappers_pb2.DoubleValue):
237237
Accuracy of ``raw_location`` as a radius, in meters.
238238
supplemental_location (google.type.latlng_pb2.LatLng):
@@ -242,7 +242,8 @@ class DeliveryVehicleLocation(proto.Message):
242242
Timestamp associated with the supplemental
243243
location.
244244
supplemental_location_sensor (google.maps.fleetengine_delivery_v1.types.DeliveryVehicleLocationSensor):
245-
Source of the supplemental location.
245+
Source of the supplemental location. Defaults to
246+
``CUSTOMER_SUPPLIED_LOCATION``.
246247
supplemental_location_accuracy (google.protobuf.wrappers_pb2.DoubleValue):
247248
Accuracy of ``supplemental_location`` as a radius, in
248249
meters.

packages/google-maps-fleetengine-delivery/noxfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@
2929

3030
BLACK_VERSION = "black[jupyter]==23.7.0"
3131
ISORT_VERSION = "isort==5.11.0"
32+
3233
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3334

35+
3436
DEFAULT_PYTHON_VERSION = "3.9"
3537

3638
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"]
@@ -89,6 +91,7 @@ def lint(session):
8991
"--check",
9092
*LINT_PATHS,
9193
)
94+
9295
session.run("flake8", "google", "tests")
9396

9497

0 commit comments

Comments
 (0)