Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::SafetySetting (v0.42.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::SafetySetting.

Safety settings.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#category

def category() -> ::Google::Cloud::AIPlatform::V1::HarmCategory
Returns

#category=

def category=(value) -> ::Google::Cloud::AIPlatform::V1::HarmCategory
Parameter
Returns

#method

def method() -> ::Google::Cloud::AIPlatform::V1::SafetySetting::HarmBlockMethod
Returns

#method=

def method=(value) -> ::Google::Cloud::AIPlatform::V1::SafetySetting::HarmBlockMethod
Parameter
Returns

#threshold

def threshold() -> ::Google::Cloud::AIPlatform::V1::SafetySetting::HarmBlockThreshold
Returns

#threshold=

def threshold=(value) -> ::Google::Cloud::AIPlatform::V1::SafetySetting::HarmBlockThreshold
Parameter
Returns