Skip to content

Commit 5157b5f

Browse files
Google APIscopybara-github
authored andcommitted
docs: Many small fixes
feat: Add new PromptFeedback and FinishReason entries for google-gemini/deprecated-generative-ai-python#476 PiperOrigin-RevId: 663936518
1 parent 07ee675 commit 5157b5f

File tree

5 files changed

+187
-116
lines changed

5 files changed

+187
-116
lines changed

google/ai/generativelanguage/v1beta/content.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ message Schema {
321321
// datatypes. Supported formats:
322322
// for NUMBER type: float, double
323323
// for INTEGER type: int32, int64
324+
// for STRING type: enum
324325
string format = 2 [(google.api.field_behavior) = OPTIONAL];
325326

326327
// Optional. A brief description of the parameter. This could contain examples
@@ -338,6 +339,9 @@ message Schema {
338339
// Optional. Schema of the elements of Type.ARRAY.
339340
optional Schema items = 6 [(google.api.field_behavior) = OPTIONAL];
340341

342+
// Optional. Maximum number of the elements for Type.ARRAY.
343+
int64 max_items = 21 [(google.api.field_behavior) = OPTIONAL];
344+
341345
// Optional. Properties of Type.OBJECT.
342346
map<string, Schema> properties = 7 [(google.api.field_behavior) = OPTIONAL];
343347

0 commit comments

Comments
 (0)