Class: Google::Cloud::Ces::V1beta::Guardrail::ModelSafety::SafetySetting

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/ces/v1beta/guardrail.rb

Overview

Safety setting.

Instance Attribute Summary collapse

Instance Attribute Details

#category::Google::Cloud::Ces::V1beta::Guardrail::ModelSafety::HarmCategory

Returns Required. The harm category.

Returns:



235
236
237
238
# File 'proto_docs/google/cloud/ces/v1beta/guardrail.rb', line 235

class SafetySetting
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#threshold::Google::Cloud::Ces::V1beta::Guardrail::ModelSafety::HarmBlockThreshold

Returns Required. The harm block threshold.

Returns:



235
236
237
238
# File 'proto_docs/google/cloud/ces/v1beta/guardrail.rb', line 235

class SafetySetting
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end