feat: add model_armor_config to GeminiExample · googleapis/googleapis@4fa7f90

File tree

1 file changed

lines changed

  • google/cloud/aiplatform/v1beta1

1 file changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -1,4 +1,4 @@

1-

// Copyright 2025 Google LLC

1+

// Copyright 2026 Google LLC

22

//

33

// Licensed under the Apache License, Version 2.0 (the "License");

44

// you may not use this file except in compliance with the License.

@@ -1151,6 +1151,11 @@ message GeminiExample {

11511151

repeated SafetySetting safety_settings = 3

11521152

[(google.api.field_behavior) = OPTIONAL];

11531153
1154+

// Optional. Settings for prompt and response sanitization using the Model

1155+

// Armor service. If supplied, safety_settings must not be supplied.

1156+

ModelArmorConfig model_armor_config = 11

1157+

[(google.api.field_behavior) = OPTIONAL];

1158+
11541159

// Optional. Generation config.

11551160

GenerationConfig generation_config = 4

11561161

[(google.api.field_behavior) = OPTIONAL];