|
|
|
@ -214,4 +214,73 @@ message Task { |
|
|
|
|
// `CLOSED`. |
|
|
|
|
JourneySharingInfo journey_sharing_info = 8 |
|
|
|
|
[(google.api.field_behavior) = OUTPUT_ONLY]; |
|
|
|
|
|
|
|
|
|
// The configuration for task tracking that specifies which data elements are |
|
|
|
|
// visible to the end users under what circumstances. |
|
|
|
|
TaskTrackingViewConfig task_tracking_view_config = 13; |
|
|
|
|
|
|
|
|
|
// A list of custom Task attributes. Each attribute must have a unique key. |
|
|
|
|
repeated TaskAttribute attributes = 15; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// The configuration message that defines when a data element of a Task should |
|
|
|
|
// be visible to the end users. |
|
|
|
|
message TaskTrackingViewConfig { |
|
|
|
|
// The option message that defines when a data element should be visible to |
|
|
|
|
// the end users. |
|
|
|
|
message VisibilityOption { |
|
|
|
|
oneof visibility_option { |
|
|
|
|
// This data element is visible to the end users if the remaining stop |
|
|
|
|
// count <= remaining_stop_count_threshold. |
|
|
|
|
int32 remaining_stop_count_threshold = 1; |
|
|
|
|
|
|
|
|
|
// This data element is visible to the end users if the ETA to the stop |
|
|
|
|
// <= duration_until_estimated_arrival_time_threshold. |
|
|
|
|
google.protobuf.Duration duration_until_estimated_arrival_time_threshold = |
|
|
|
|
2; |
|
|
|
|
|
|
|
|
|
// This data element is visible to the end users if the remaining |
|
|
|
|
// driving distance in meters <= |
|
|
|
|
// remaining_driving_distance_meters_threshold. |
|
|
|
|
int32 remaining_driving_distance_meters_threshold = 3; |
|
|
|
|
|
|
|
|
|
// If set to true, this data element is always visible to the end users |
|
|
|
|
// with no thresholds. This field cannot be set to false. |
|
|
|
|
bool always = 4; |
|
|
|
|
|
|
|
|
|
// If set to true, this data element is always hidden from the end users |
|
|
|
|
// with no thresholds. This field cannot be set to false. |
|
|
|
|
bool never = 5; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// The field that specifies when route polyline points can be visible. If this |
|
|
|
|
// field is not specified, the project level default visibility configuration |
|
|
|
|
// for this data will be used. |
|
|
|
|
VisibilityOption route_polyline_points_visibility = 1; |
|
|
|
|
|
|
|
|
|
// The field that specifies when estimated arrival time can be visible. If |
|
|
|
|
// this field is not specified, the project level default visibility |
|
|
|
|
// configuration for this data will be used. |
|
|
|
|
VisibilityOption estimated_arrival_time_visibility = 2; |
|
|
|
|
|
|
|
|
|
// The field that specifies when estimated task completion time can be |
|
|
|
|
// visible. If this field is not specified, the project level default |
|
|
|
|
// visibility configuration for this data will be used. |
|
|
|
|
VisibilityOption estimated_task_completion_time_visibility = 3; |
|
|
|
|
|
|
|
|
|
// The field that specifies when remaining driving distance can be visible. If |
|
|
|
|
// this field is not specified, the project level default visibility |
|
|
|
|
// configuration for this data will be used. |
|
|
|
|
VisibilityOption remaining_driving_distance_visibility = 4; |
|
|
|
|
|
|
|
|
|
// The field that specifies when remaining stop count can be visible. If this |
|
|
|
|
// field is not specified, the project level default visibility configuration |
|
|
|
|
// for this data will be used. |
|
|
|
|
VisibilityOption remaining_stop_count_visibility = 5; |
|
|
|
|
|
|
|
|
|
// The field that specifies when vehicle location can be visible. If this |
|
|
|
|
// field is not specified, the project level default visibility configuration |
|
|
|
|
// for this data will be used. |
|
|
|
|
VisibilityOption vehicle_location_visibility = 6; |
|
|
|
|
} |
|
|
|
|