Skip to content

Commit 10ef432

Browse files
feat: [modelarmor] MultiLanguage Detection in Model Armor Floor Setting (#6543)
* feat: MultiLanguage Detection in Model Armor Floor Setting PiperOrigin-RevId: 788746043 Source-Link: googleapis/googleapis@db658a1 Source-Link: googleapis/googleapis-gen@53c4422 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW1vZGVsYXJtb3IvLk93bEJvdC55YW1sIiwiaCI6IjUzYzQ0MjI2ZDM2ZjQwNGMwM2E4MjJlMjhhMjQwZjJhZWY1MTkwYzUifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: MultiLanguage Detection in Model Armor Floor Setting PiperOrigin-RevId: 788746055 Source-Link: googleapis/googleapis@71d04ac Source-Link: googleapis/googleapis-gen@5619bfd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW1vZGVsYXJtb3IvLk93bEJvdC55YW1sIiwiaCI6IjU2MTliZmQ4NWRjOWEyZDZlZGFmMjU3MGYzMTgzYTg3NjFmZGJkNzUifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 1783b41 commit 10ef432

5 files changed

Lines changed: 762 additions & 10 deletions

File tree

packages/google-cloud-modelarmor/protos/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 {

packages/google-cloud-modelarmor/protos/google/cloud/modelarmor/v1beta/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 {

packages/google-cloud-modelarmor/protos/protos.d.ts

Lines changed: 212 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)