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.
Safety specification.
Implements
IMessageAnswerQueryRequestTypesSafetySpec, IEquatableAnswerQueryRequestTypesSafetySpec, IDeepCloneableAnswerQueryRequestTypesSafetySpec, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
SafetySpec()
public SafetySpec()
SafetySpec(SafetySpec)
public SafetySpec(AnswerQueryRequest.Types.SafetySpec other)
Parameter | |
---|---|
Name | Description |
other |
AnswerQueryRequestTypesSafetySpec |
Properties
Enable
public bool Enable { get; set; }
Enable the safety filtering on the answer response. It is false by default.
Property Value | |
---|---|
Type | Description |
bool |