Skip to content

Commit de1e1c0

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: 725444773
1 parent 04132de commit de1e1c0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎google/cloud/aiplatform/v1/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/v1/explanation.proto";
2626
import "google/cloud/aiplatform/v1/tool.proto";
2727
import "google/cloud/aiplatform/v1/types.proto";
2828
import "google/protobuf/struct.proto";
29+
import "google/protobuf/timestamp.proto";
2930

3031
option csharp_namespace = "Google.Cloud.AIPlatform.V1";
3132
option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb";
@@ -814,6 +815,14 @@ message GenerateContentResponse {
814815
// Output only. The model version used to generate the response.
815816
string model_version = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
816817

818+
// Output only. Timestamp when the request is made to the server.
819+
google.protobuf.Timestamp create_time = 12
820+
[(google.api.field_behavior) = OUTPUT_ONLY];
821+
822+
// Output only. response_id is used to identify each response. It is the
823+
// encoding of the event_id.
824+
string response_id = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
825+
817826
// Output only. Content filter results for a prompt sent in the request.
818827
// Note: Sent only in the first stream chunk.
819828
// Only happens when no candidates were generated due to content violations.

0 commit comments

Comments
 (0)