Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SafetySpec (v0.12.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::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.