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 v1 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 document provides reference information for the `AnswerQueryRequest.Types.SafetySpec` class within the Google Cloud Discovery Engine v1 API, which is used to define safety specifications."],["The `SafetySpec` class, part of the `Google.Cloud.DiscoveryEngine.V1` namespace, is a sealed class that inherits from `object` and implements multiple interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class is available in multiple versions, ranging from version 1.0.0-beta06 to the latest 1.6.0."],["The `SafetySpec` class includes a boolean property named `Enable` which is used to activate safety filtering on the answer response, and defaults to `false`."],["The document details the constructors available for the class; `SafetySpec()`, and `SafetySpec(AnswerQueryRequest.Types.SafetySpec other)`, the latter allowing the creation of a copy based on another `SafetySpec` object."]]],[]]