NlpSemanticParsingLocalLocationConstraint

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalLocationConstraint


Table of Contents ▼

Jump to a specific part of the page:

Description

All the possible location constraints. This message is associated with a location and can be nested accordingly. E.g., for a compound location the constraint may be associated with the entire location or with either of the two internal locations (loc_1 and loc_2). There is an implicit AND relation between the different constraints. Next ID: 26.

Attributes List

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

View Attributes

Attributes

  1. amenities (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalAmenities, default: nil)
    - LINT.IfChange
  2. chainMember (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalChainMemberConstraint, default: nil)
    -
  3. cuisine (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalCuisineConstraint, default: nil)
    -
  4. evcsConnectorConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationConnectorConstraint, default: nil)
    - Used for populating ElectricVehicleConnectorRefinement from QBF go/evcs-qbf-connector
  5. evcsPaymentConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationPaymentConstraint, default: nil)
    - Used for populating ElectricVehiclePaymentRefinement from QBF go/evcs-qbf-payment
  6. evcsSpeedConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationSpeedConstraint, default: nil)
    -
  7. gcidConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalGcidConstraint, default: nil)
    - Used for GCID filter. Unlike other grammar, for now this is populated in Superroot (currently based on QBLD classification, and an allowlist of GCID).
  8. healthInsurance (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHealthInsuranceConstraint, default: nil)
    - Used for health insurance filter populator.
  9. hyperReliableData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableData, default: nil)
    - Some constraints are also hyper-reliable, such as [brunch] and [coffee].
  10. menuItem (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalMenuItem, default: nil)
    -
  11. new (type: boolean(), default: nil)
    -
  12. numBytes (type: integer(), default: nil)
    -
  13. open24Hours (type: boolean(), default: nil)
    -
  14. price (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalPriceConstraint, default: nil)
    -
  15. quality (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint, default: nil)
    -
  16. rooms (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalRoomConstraint, default: nil)
    -
  17. scalableAttribute (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalScalableAttribute, default: nil)
    -
  18. service (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalServiceConstraint, default: nil)
    -
  19. startByte (type: integer(), default: nil)
    - The span, in the raw input, which corresponds to this constraint, expressed as a byte offset and byte size.
  20. text (type: String.t, default: nil)
    -
  21. ungroundedConstraint (type: boolean(), default: nil)
    - Experimental, may change.
  22. unspecified (type: boolean(), default: nil)
    - Used to remove all constraints, e.g. [forget all the filters]
  23. vaccineType (type: String.t, default: nil)
    - Used for vaccine refinement: go/covid-vaccine-refinement.
  24. visitHistory (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalVisitHistoryConstraint, default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalLocationConstraint{
amenities: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalAmenities.t() | nil,
chainMember: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalChainMemberConstraint.t() | nil,
cuisine: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalCuisineConstraint.t() | nil,
evcsConnectorConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationConnectorConstraint.t() | nil,
evcsPaymentConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationPaymentConstraint.t() | nil,
evcsSpeedConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationSpeedConstraint.t() | nil,
gcidConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalGcidConstraint.t() | nil,
healthInsurance: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHealthInsuranceConstraint.t() | nil,
hyperReliableData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableData.t() | nil,
menuItem: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalMenuItem.t() | nil,
new: boolean() | nil,
numBytes: integer() | nil,
open24Hours: boolean() | nil,
price: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalPriceConstraint.t() | nil,
quality: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint.t() | nil,
rooms: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalRoomConstraint.t() | nil,
scalableAttribute: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalScalableAttribute.t() | nil,
service: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalServiceConstraint.t() | nil,
startByte: integer() | nil,
text: String.t() | nil,
ungroundedConstraint: boolean() | nil,
unspecified: boolean() | nil,
vaccineType: String.t() | nil,
visitHistory: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalVisitHistoryConstraint.t() | nil
}

Function

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

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