Discovery Engine v1 API - Class AnswerQueryRequest.Types.SafetySpec (1.5.0)

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.

Safety specification.

Inheritance

object > AnswerQueryRequest.Types.SafetySpec

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.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