Discovery Engine v1beta API - Class AnswerQueryRequest.Types.SafetySpec (1.0.0-beta17)

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.

Inheritance

object > AnswerQueryRequest.Types.SafetySpec

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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