Skip to content

Commit 5556688

Browse files
Google APIscopybara-github
authored andcommitted
docs: clarified the behavior of language_code in EventInput in the context of a followup event input
docs: clarified wording around Cloud Storage usage docs: added a new resource name pattern for ConversationModel PiperOrigin-RevId: 432962774
1 parent 8ba978c commit 5556688

3 files changed

Lines changed: 24 additions & 1 deletion

File tree

google/cloud/dialogflow/v2/agent.proto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,12 @@ message ExportAgentRequest {
461461
// URI to export the agent to.
462462
// The format of this URI must be `gs://<bucket-name>/<object-name>`.
463463
// If left unspecified, the serialized agent is returned inline.
464+
//
465+
// Dialogflow performs a write operation for the Cloud Storage object
466+
// on the caller's behalf, so your request authentication must
467+
// have write permissions for the object. For more information, see
468+
// [Dialogflow access
469+
// control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
464470
string agent_uri = 2 [(google.api.field_behavior) = REQUIRED];
465471
}
466472

@@ -492,6 +498,12 @@ message ImportAgentRequest {
492498
oneof agent {
493499
// The URI to a Google Cloud Storage file containing the agent to import.
494500
// Note: The URI must start with "gs://".
501+
//
502+
// Dialogflow performs a read operation for the Cloud Storage object
503+
// on the caller's behalf, so your request authentication must
504+
// have read permissions for the object. For more information, see
505+
// [Dialogflow access
506+
// control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
495507
string agent_uri = 2;
496508

497509
// Zip compressed raw byte content for agent.
@@ -514,6 +526,12 @@ message RestoreAgentRequest {
514526
oneof agent {
515527
// The URI to a Google Cloud Storage file containing the agent to restore.
516528
// Note: The URI must start with "gs://".
529+
//
530+
// Dialogflow performs a read operation for the Cloud Storage object
531+
// on the caller's behalf, so your request authentication must
532+
// have read permissions for the object. For more information, see
533+
// [Dialogflow access
534+
// control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
517535
string agent_uri = 2;
518536

519537
// Zip compressed raw byte content for agent.

google/cloud/dialogflow/v2/conversation_model.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ service ConversationModels {
201201
message ConversationModel {
202202
option (google.api.resource) = {
203203
type: "dialogflow.googleapis.com/ConversationModel"
204-
pattern: "projects/{project}/conversationModels/{conversation_model}"
205204
pattern: "projects/{project}/locations/{location}/conversationModels/{conversation_model}"
205+
pattern: "projects/{project}/conversationModels/{conversation_model}"
206206
};
207207

208208
// State of the model.

google/cloud/dialogflow/v2/session.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,11 @@ message EventInput {
652652
// Support](https://cloud.google.com/dialogflow/docs/reference/language)
653653
// for a list of the currently supported language codes. Note that queries in
654654
// the same session do not necessarily need to specify the same language.
655+
//
656+
// This field is ignored when used in the context of a
657+
// [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2.WebhookResponse.followup_event_input] field,
658+
// because the language was already defined in the originating detect
659+
// intent request.
655660
string language_code = 3 [(google.api.field_behavior) = REQUIRED];
656661
}
657662

0 commit comments

Comments
 (0)