GeostoreVehicleAttributeFilterProto

GoogleApi.ContentWarehouse.V1.Model.GeostoreVehicleAttributeFilterProto


Table of Contents ▼

Jump to a specific part of the page:

Description

A set of vehicle attribute conditionals (ex: weight >= 20T && num_trailers = 2) used to define a slice of all possible vehicles. This can be useful for filtering one or more vehicles by a predicate.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. axleCount (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreCountComparisonProto), default: nil)
    - A repeated value here is treated as an AND operation. This allows for ranges to be represented by two values (ex: "count < 4" AND "count >= 2" means "2 <= count < 4").
  2. hasTrailer (type: boolean(), default: nil)
    - Whether the applied vehicle types have a trailer attached to them.
  3. hazardousGoods (type: list(String.t), default: nil)
    - List of prohibited hazardous goods for a vehicle to carry. A repeated value here is treated as an OR operation, meaning that they may not carry ANY of the goods listed.
  4. numTrailers (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreCountComparisonProto), default: nil)
    - A repeated value here is treated as an AND operation. This allows for ranges to be represented by two values (ex: "count <= 4" AND "count > 2" means "2 < count <= 4").
  5. trailerLength (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreDimensionComparisonProto), default: nil)
    - A repeated value here is treated as an AND operation. This allows for ranges to be represented by two values (ex: "length <= 53ft" AND "length > 48ft" means "48ft < length <= 53ft").
  6. vehicleHeight (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreDimensionComparisonProto), default: nil)
    - A repeated value here is treated as an AND operation. This allows for ranges to be represented by two values (ex: "height > 3m" AND "height <= 5m" means "3m < height <= 5m").
  7. vehicleLength (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreDimensionComparisonProto), default: nil)
    - A repeated value here is treated as an AND operation. This allows for ranges to be represented by two values (ex: "length <= 40m" AND "length > 35m" means "35m < length <= 40m").
  8. vehicleWeight (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreWeightComparisonProto), default: nil)
    - A repeated value here is treated as an AND operation. This allows for ranges to be represented by two values (ex: "weight < 8T" AND "weight >= 3T" means "3T <= weight < 8T").
  9. vehicleWidth (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreDimensionComparisonProto), default: nil)
    - A repeated value here is treated as an AND operation. This allows for ranges to be represented by two values (ex: "width < 4m" AND "width >= 2m" means "2m <= width < 4m").

Type

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreVehicleAttributeFilterProto