Skip to content

Commit

Permalink
docs: mark TerminalPointId as deprecated
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 633635378
  • Loading branch information
Google APIs authored and Copybara-Service committed May 14, 2024
1 parent e3a34df commit 584e0de
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions google/maps/fleetengine/v1/fleetengine.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ option java_package = "google.maps.fleetengine.v1";
option objc_class_prefix = "CFE";
option ruby_package = "Google::Maps::FleetEngine::V1";

// Identifies a terminal point.
// Deprecated: TerminalPoints are no longer supported in Fleet Engine. Use
// `TerminalLocation.point` instead.
message TerminalPointId {
option deprecated = true;

// Deprecated.
oneof Id {
// Deprecated.
Expand All @@ -42,19 +45,19 @@ message TerminalPointId {
string generated_id = 3 [deprecated = true];
}

// Unique ID of the terminal point.
string value = 4;
// Deprecated.
string value = 4 [deprecated = true];
}

// Describes the location of a waypoint.
message TerminalLocation {
// Required. Denotes the location of a trip waypoint.
google.type.LatLng point = 1 [(google.api.field_behavior) = REQUIRED];

// ID of the terminal point.
TerminalPointId terminal_point_id = 2;
// Deprecated: Specify the `point` field instead.
TerminalPointId terminal_point_id = 2 [deprecated = true];

// Deprecated.
// Deprecated: Specify the `point` field instead.
string access_point_id = 3 [deprecated = true];

// Deprecated.
Expand Down

0 comments on commit 584e0de

Please sign in to comment.