GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint
Table of Contents ▼
Jump to a specific part of the page:
Description
Quality constraints about the establishment. In the future we can add to this message Zagat ratings, user reviews, etc. Next ID: 6.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
best
(type:boolean()
, default:nil
)
- -
highlyRated
(type:boolean()
, default:nil
)
- -
starType
(type:String.t
, default:nil
)
- -
stars
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings
, default:nil
)
- -
unspecified
(type:boolean()
, default:nil
)
- The user mentioned something about quality, but didn't mention a specific constraint. This is used to indicate an intent to remove all quality constraints, in queries like [forget the rating].
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint{
best: boolean() | nil,
highlyRated: boolean() | nil,
starType: String.t() | nil,
stars: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings.t() | nil,
unspecified: boolean() | nil
}
best: boolean() | nil,
highlyRated: boolean() | nil,
starType: String.t() | nil,
stars: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings.t() | nil,
unspecified: boolean() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint