Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::Guardrail::ModelSafety::SafetySetting (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::Guardrail::ModelSafety::SafetySetting.

Safety setting.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#category

def category() -> ::Google::Cloud::Ces::V1beta::Guardrail::ModelSafety::HarmCategory
Returns

#category=

def category=(value) -> ::Google::Cloud::Ces::V1beta::Guardrail::ModelSafety::HarmCategory
Parameter
Returns

#threshold

def threshold() -> ::Google::Cloud::Ces::V1beta::Guardrail::ModelSafety::HarmBlockThreshold
Returns

#threshold=

def threshold=(value) -> ::Google::Cloud::Ces::V1beta::Guardrail::ModelSafety::HarmBlockThreshold
Parameter
Returns