Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SafetySpec.
Safety specification.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enable
def enable() -> ::Boolean
Returns
- (::Boolean) — Enable the safety filtering on the answer response. It is false by default.
#enable=
def enable=(value) -> ::Boolean
Parameter
- value (::Boolean) — Enable the safety filtering on the answer response. It is false by default.
Returns
- (::Boolean) — Enable the safety filtering on the answer response. It is false by default.