diff --git a/google/cloud/aiplatform/v1beta1/content.proto b/google/cloud/aiplatform/v1beta1/content.proto index 146bfcc12d72b..da636484727af 100644 --- a/google/cloud/aiplatform/v1beta1/content.proto +++ b/google/cloud/aiplatform/v1beta1/content.proto @@ -17,6 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; +import "google/cloud/aiplatform/v1beta1/openapi.proto"; import "google/cloud/aiplatform/v1beta1/tool.proto"; import "google/protobuf/duration.proto"; import "google/type/date.proto"; @@ -168,6 +169,15 @@ message GenerationConfig { // otherwise the behavior is undefined. // This is a preview feature. string response_mime_type = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The `Schema` object allows the definition of input and output + // data types. These types can be objects, but also primitives and arrays. + // Represents a select subset of an [OpenAPI 3.0 schema + // object](https://spec.openapis.org/oas/v3.0.3#schema). + // If set, a compatible response_mime_type must also be set. + // Compatible mimetypes: + // `application/json`: Schema for JSON response. + optional Schema response_schema = 16 [(google.api.field_behavior) = OPTIONAL]; } // Safety settings.