Skip to content

Commit 71d04ac

Browse files
Google APIscopybara-github
authored andcommitted
feat: MultiLanguage Detection in Model Armor Floor Setting
PiperOrigin-RevId: 788746055
1 parent db658a1 commit 71d04ac

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

google/cloud/modelarmor/v1/service.proto

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,18 @@ message FloorSetting {
334334
};
335335

336336
// message describing FloorSetting Metadata
337-
message FloorSettingMetadata {}
337+
message FloorSettingMetadata {
338+
// Metadata to enable multi language detection via floor setting.
339+
message MultiLanguageDetection {
340+
// Required. If true, multi language detection will be enabled.
341+
bool enable_multi_language_detection = 1
342+
[(google.api.field_behavior) = REQUIRED];
343+
}
344+
345+
// Optional. Metadata for multi language detection.
346+
MultiLanguageDetection multi_language_detection = 1
347+
[(google.api.field_behavior) = OPTIONAL];
348+
}
338349

339350
// Integrated service for which the floor setting is applicable.
340351
enum IntegratedService {

0 commit comments

Comments
 (0)