Skip to content

Commit 901fc8e

Browse files
Google APIscopybara-github
authored andcommitted
feat: A new field response_id is added to message .google.cloud.aiplatform.v1.GenerateContentResponse
feat: A new field `create_time` is added to message `.google.cloud.aiplatform.v1.GenerateContentResponse` PiperOrigin-RevId: 725110432
1 parent 0a459af commit 901fc8e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎google/cloud/aiplatform/v1beta1/prediction_service.proto‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import "google/cloud/aiplatform/v1beta1/explanation.proto";
2626
import "google/cloud/aiplatform/v1beta1/tool.proto";
2727
import "google/cloud/aiplatform/v1beta1/types.proto";
2828
import "google/protobuf/struct.proto";
29+
import "google/protobuf/timestamp.proto";
2930

3031
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
3132
option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb";
@@ -876,6 +877,14 @@ message GenerateContentResponse {
876877
// Output only. The model version used to generate the response.
877878
string model_version = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
878879

880+
// Output only. Timestamp when the request is made to the server.
881+
google.protobuf.Timestamp create_time = 12
882+
[(google.api.field_behavior) = OUTPUT_ONLY];
883+
884+
// Output only. response_id is used to identify each response. It is the
885+
// encoding of the event_id.
886+
string response_id = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
887+
879888
// Output only. Content filter results for a prompt sent in the request.
880889
// Note: Sent only in the first stream chunk.
881890
// Only happens when no candidates were generated due to content violations.

0 commit comments

Comments
 (0)