@@ -194,6 +194,9 @@ service Agents {
194194 rpc GetValidationResult (GetValidationResultRequest ) returns (ValidationResult ) {
195195 option (google.api.http ) = {
196196 get : "/v2beta1/{parent=projects/*}/agent/validationResult"
197+ additional_bindings {
198+ get : "/v2beta1/{parent=projects/*/locations/*}/agent/validationResult"
199+ }
197200 };
198201 }
199202}
@@ -259,7 +262,8 @@ message Agent {
259262 }
260263
261264 // Required. The project of this agent.
262- // Format: `projects/<Project ID>`.
265+ // Format: `projects/<Project ID>` or
266+ // `projects/<Project ID>/locations/<Location ID>`
263267 string parent = 1 ;
264268
265269 // Required. The name of this agent.
@@ -320,7 +324,8 @@ message Agent {
320324// The request message for [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent].
321325message GetAgentRequest {
322326 // Required. The project that the agent to fetch is associated with.
323- // Format: `projects/<Project ID>`.
327+ // Format: `projects/<Project ID>` or
328+ // `projects/<Project ID>/locations/<Location ID>`.
324329 string parent = 1 [
325330 (google.api.field_behavior ) = REQUIRED ,
326331 (google.api.resource_reference ) = {
@@ -341,7 +346,8 @@ message SetAgentRequest {
341346// The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent].
342347message DeleteAgentRequest {
343348 // Required. The project that the agent to delete is associated with.
344- // Format: `projects/<Project ID>`.
349+ // Format: `projects/<Project ID>` or
350+ // `projects/<Project ID>/locations/<Location ID>`.
345351 string parent = 1 [
346352 (google.api.field_behavior ) = REQUIRED ,
347353 (google.api.resource_reference ) = {
@@ -353,7 +359,8 @@ message DeleteAgentRequest {
353359// Contains basic configuration for a sub-agent.
354360message SubAgent {
355361 // Required. The project of this agent.
356- // Format: `projects/<Project ID>`.
362+ // Format: `projects/<Project ID>` or
363+ // `projects/<Project ID>/locations/<Location ID>`.
357364 string project = 1 ;
358365
359366 // Optional. The unique identifier (`environment name` in dialogflow console)
@@ -365,7 +372,8 @@ message SubAgent {
365372// The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
366373message SearchAgentsRequest {
367374 // Required. The project to list agents from.
368- // Format: `projects/<Project ID or '-'>`.
375+ // Format: `projects/<Project ID or '-'>` or
376+ // `projects/<Project ID or '-'>/locations/<Location ID>`.
369377 string parent = 1 [
370378 (google.api.field_behavior ) = REQUIRED ,
371379 (google.api.resource_reference ) = {
@@ -395,7 +403,8 @@ message SearchAgentsResponse {
395403// The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent].
396404message TrainAgentRequest {
397405 // Required. The project that the agent to train is associated with.
398- // Format: `projects/<Project ID>`.
406+ // Format: `projects/<Project ID>` or
407+ // `projects/<Project ID>/locations/<Location ID>`.
399408 string parent = 1 [
400409 (google.api.field_behavior ) = REQUIRED ,
401410 (google.api.resource_reference ) = {
@@ -407,7 +416,8 @@ message TrainAgentRequest {
407416// The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
408417message ExportAgentRequest {
409418 // Required. The project that the agent to export is associated with.
410- // Format: `projects/<Project ID>`.
419+ // Format: `projects/<Project ID>` or
420+ // `projects/<Project ID>/locations/<Location ID>`.
411421 string parent = 1 [
412422 (google.api.field_behavior ) = REQUIRED ,
413423 (google.api.resource_reference ) = {
@@ -439,7 +449,8 @@ message ExportAgentResponse {
439449// The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent].
440450message ImportAgentRequest {
441451 // Required. The project that the agent to import is associated with.
442- // Format: `projects/<Project ID>`.
452+ // Format: `projects/<Project ID>` or
453+ // `projects/<Project ID>/locations/<Location ID>`.
443454 string parent = 1 [
444455 (google.api.field_behavior ) = REQUIRED ,
445456 (google.api.resource_reference ) = {
@@ -461,7 +472,8 @@ message ImportAgentRequest {
461472// The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent].
462473message RestoreAgentRequest {
463474 // Required. The project that the agent to restore is associated with.
464- // Format: `projects/<Project ID>`.
475+ // Format: `projects/<Project ID>` or
476+ // `projects/<Project ID>/locations/<Location ID>`.
465477 string parent = 1 [
466478 (google.api.field_behavior ) = REQUIRED ,
467479 (google.api.resource_reference ) = {
@@ -483,7 +495,8 @@ message RestoreAgentRequest {
483495// The request message for [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult].
484496message GetValidationResultRequest {
485497 // Required. The project that the agent is associated with.
486- // Format: `projects/<Project ID>`.
498+ // Format: `projects/<Project ID>` or
499+ // `projects/<Project ID>/locations/<Location ID>`.
487500 string parent = 1 [
488501 (google.api.field_behavior ) = REQUIRED ,
489502 (google.api.resource_reference ) = {
0 commit comments