GoogleCloudAiplatformV1ModelArmorConfig class

Configuration for Model Armor.

Model Armor is a Google Cloud service that provides safety and security filtering for prompts and responses. It helps protect your AI applications from risks such as harmful content, sensitive data leakage, and prompt injection attacks.

Constructors

GoogleCloudAiplatformV1ModelArmorConfig({String? promptTemplateName, String? responseTemplateName})
GoogleCloudAiplatformV1ModelArmorConfig.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
promptTemplateName String?
The resource name of the Model Armor template to use for prompt screening.
getter/setter pair
responseTemplateName String?
The resource name of the Model Armor template to use for response screening.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited