View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalLocationConstraint (google_api_content_warehouse v0.4.0)

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

  • amenities (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalAmenities.t, default: nil) - LINT.IfChange
  • chainMember (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalChainMemberConstraint.t, default: nil) -
  • cuisine (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalCuisineConstraint.t, default: nil) -
  • evcsConnectorConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationConnectorConstraint.t, default: nil) - Used for populating ElectricVehicleConnectorRefinement from QBF go/evcs-qbf-connector
  • evcsPaymentConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationPaymentConstraint.t, default: nil) - Used for populating ElectricVehiclePaymentRefinement from QBF go/evcs-qbf-payment
  • evcsSpeedConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationSpeedConstraint.t, default: nil) -
  • gcidConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalGcidConstraint.t, 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).
  • healthInsurance (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHealthInsuranceConstraint.t, default: nil) - Used for health insurance filter populator.
  • hyperReliableData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableData.t, default: nil) - Some constraints are also hyper-reliable, such as [brunch] and [coffee].
  • menuItem (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalMenuItem.t, default: nil) -
  • new (type: boolean(), default: nil) -
  • numBytes (type: integer(), default: nil) -
  • open24Hours (type: boolean(), default: nil) -
  • price (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalPriceConstraint.t, default: nil) -
  • quality (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint.t, default: nil) -
  • rooms (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalRoomConstraint.t, default: nil) -
  • scalableAttribute (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalScalableAttribute.t, default: nil) -
  • service (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalServiceConstraint.t, default: nil) -
  • startByte (type: integer(), default: nil) - The span, in the raw input, which corresponds to this constraint, expressed as a byte offset and byte size.
  • text (type: String.t, default: nil) -
  • ungroundedConstraint (type: boolean(), default: nil) - Experimental, may change.
  • unspecified (type: boolean(), default: nil) - Used to remove all constraints, e.g. [forget all the filters]
  • vaccineType (type: String.t, default: nil) - Used for vaccine refinement: go/covid-vaccine-refinement.
  • visitHistory (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalVisitHistoryConstraint.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.