File tree Expand file tree Collapse file tree
google/cloud/dialogflow/v2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ option java_multiple_files = true;
2727option java_outer_classname = "AudioConfigProto" ;
2828option java_package = "com.google.cloud.dialogflow.v2" ;
2929option objc_class_prefix = "DF" ;
30+ option (google.api.resource_definition ) = {
31+ type : "automl.googleapis.com/Model"
32+ pattern : "projects/{project}/locations/{location}/models/{model}"
33+ };
3034
3135// Audio encoding of the audio content sent in the conversational query request.
3236// Refer to the
Original file line number Diff line number Diff line change @@ -289,8 +289,8 @@ message ConversationModel {
289289message ConversationModelEvaluation {
290290 option (google.api.resource ) = {
291291 type : "dialogflow.googleapis.com/ConversationModelEvaluation"
292- pattern : "projects/{project}/conversationModels/{conversation_model}/evaluations/evaluation"
293- pattern : "projects/{project}/locations/{location}/conversationModels/{conversation_model}/evaluations/evaluation"
292+ pattern : "projects/{project}/conversationModels/{conversation_model}/evaluations/{ evaluation} "
293+ pattern : "projects/{project}/locations/{location}/conversationModels/{conversation_model}/evaluations/{ evaluation} "
294294 };
295295
296296 // The resource name of the evaluation. Format:
@@ -528,7 +528,7 @@ message CreateConversationModelEvaluationRequest {
528528 string parent = 1 [
529529 (google.api.field_behavior ) = REQUIRED ,
530530 (google.api.resource_reference ) = {
531- type : "dialogflow.googleapis.com/ConversationModel "
531+ child_type : "dialogflow.googleapis.com/ConversationModelEvaluation "
532532 }
533533 ];
534534
Original file line number Diff line number Diff line change @@ -122,6 +122,8 @@ backend:
122122 deadline : 60.0
123123 - selector : ' google.longrunning.Operations.*'
124124 deadline : 60.0
125+ - selector : google.longrunning.Operations.ListOperations
126+ deadline : 180.0
125127
126128http :
127129 rules :
You can’t perform that action at this time.
0 commit comments