Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::Guardrail::Supervisor.
Guardrail that runs supervisor intervention.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#detection_mode
def detection_mode() -> ::Google::Cloud::Ces::V1beta::Guardrail::Supervisor::DetectionMode
Returns
- (::Google::Cloud::Ces::V1beta::Guardrail::Supervisor::DetectionMode) — Optional. The detection mode of the supervisor.
#detection_mode=
def detection_mode=(value) -> ::Google::Cloud::Ces::V1beta::Guardrail::Supervisor::DetectionMode
Parameter
- value (::Google::Cloud::Ces::V1beta::Guardrail::Supervisor::DetectionMode) — Optional. The detection mode of the supervisor.
Returns
- (::Google::Cloud::Ces::V1beta::Guardrail::Supervisor::DetectionMode) — Optional. The detection mode of the supervisor.
#type
def type() -> ::Google::Cloud::Ces::V1beta::Guardrail::Supervisor::Type
Returns
- (::Google::Cloud::Ces::V1beta::Guardrail::Supervisor::Type) — Optional. The type of the supervisor.
#type=
def type=(value) -> ::Google::Cloud::Ces::V1beta::Guardrail::Supervisor::Type
Parameter
- value (::Google::Cloud::Ces::V1beta::Guardrail::Supervisor::Type) — Optional. The type of the supervisor.
Returns
- (::Google::Cloud::Ces::V1beta::Guardrail::Supervisor::Type) — Optional. The type of the supervisor.