GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes class

Safety Attribute categories and their associated confidence scores.

Constructors

GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes({Input<List<String>>? categories, Input<List<double>>? scores})
Creates a new GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes. categories The display names of Safety Attribute categories associated with the generated content. Order matches the Scores. scores The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
const
GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes.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