public sealed class AnswerQueryRequest.Types.SafetySpec : IMessage<AnswerQueryRequest.Types.SafetySpec>, IEquatable<AnswerQueryRequest.Types.SafetySpec>, IDeepCloneable<AnswerQueryRequest.Types.SafetySpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class AnswerQueryRequest.Types.SafetySpec.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This documentation covers the `AnswerQueryRequest.Types.SafetySpec` class within the Google Cloud Discovery Engine v1beta API, specifically for version 1.0.0-beta17."],["`SafetySpec` is designed to define safety specifications for query answers and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class inherits from `object` and includes members from that class, such as `GetHashCode`, `GetType`, and `ToString`."],["The class provides two constructors: a default constructor `SafetySpec()` and another `SafetySpec(AnswerQueryRequest.Types.SafetySpec other)` that allows creating an object from another instance of the same class."],["It has an `Enable` property, which is a boolean that controls whether safety filtering is activated on the answer response and is set to false by default."]]],[]]