GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributesResponse class
Safety Attribute categories and their associated confidence scores.
Constructors
-
GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributesResponse({required Input<
List< categories, required Input<String> >List< scores})double> > -
Creates a new GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributesResponse.
categoriesThe display names of Safety Attribute categories associated with the generated content. Order matches the Scores.scoresThe confidence scores of the each category, higher value means higher confidence. Order matches the Categories.const -
GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributesResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
categories
→ Input<
List< String> > -
The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scores
→ Input<
List< double> > -
The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited