Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
feat: added webhook_config
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 454733966
Source-Link: googleapis/googleapis@d5d0f8d
Source-Link: https://github.com/googleapis/googleapis-gen/commit/e5a3716cdc1c858af2cecb9c83b93accd8ea5f82
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTVhMzcxNmNkYzFjODU4YWYyY2VjYjljODNiOTNhY2NkOGVhNWY4MiJ9
fix: fixes for dynamic routing and streaming descriptors
PiperOrigin-RevId: 450616838
Source-Link: googleapis/googleapis@7a47b72
Source-Link: https://github.com/googleapis/googleapis-gen/commit/42cc6331bae0b99f61b8e01ae15b05211716c4f9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDJjYzYzMzFiYWUwYjk5ZjYxYjhlMDFhZTE1YjA1MjExNzE2YzRmOSJ9
feat: support regapic LRO
PiperOrigin-RevId: 456946341
Source-Link: googleapis/googleapis@88fd18d
Source-Link: https://github.com/googleapis/googleapis-gen/commit/accfa371f667439313335c64042b063c1c53102e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWNjZmEzNzFmNjY3NDM5MzEzMzM1YzY0MDQyYjA2M2MxYzUzMTAyZSJ9
docs: clarify descriptions of the AdvancedSettings and WebhookRequest data types
PiperOrigin-RevId: 458000126
Source-Link: googleapis/googleapis@c425ac6
Source-Link: https://github.com/googleapis/googleapis-gen/commit/1b0446dbaba086f1bf64d976b180d6ab6f338eb6
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWIwNDQ2ZGJhYmEwODZmMWJmNjRkOTc2YjE4MGQ2YWI2ZjMzOGViNiJ9
docs: improve comments for protos
PiperOrigin-RevId: 458250124
Source-Link: googleapis/googleapis@913b9bd
Source-Link: https://github.com/googleapis/googleapis-gen/commit/5601594f1cdf45d9df26f245604c333e3ff3838d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTYwMTU5NGYxY2RmNDVkOWRmMjZmMjQ1NjA0YzMzM2UzZmYzODM4ZCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jul 4, 2022
1 parent 7684844 commit 03c33b8
Show file tree
Hide file tree
Showing 75 changed files with 72,736 additions and 45,934 deletions.
8 changes: 7 additions & 1 deletion protos/google/cloud/dialogflow/cx/v3/advanced_settings.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ option ruby_package = "Google::Cloud::Dialogflow::CX::V3";

// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
// Settings exposed at lower level overrides the settings exposed at higher
// level.
// level. Overriding occurs at the sub-setting level. For example, the
// playback_interruption_settings at fulfillment level only overrides the
// playback_interruption_settings at the agent level, leaving other settings
// at the agent level unchanged.
//
// DTMF settings does not override each other. DTMF settings set at different
// levels define DTMF detections running in parallel.
//
// Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
message AdvancedSettings {
Expand Down
2 changes: 1 addition & 1 deletion protos/google/cloud/dialogflow/cx/v3/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ message Agent {
// requests.
bool enable_spell_correction = 20;

// Indiciates whether the agent is locked for changes. If the agent is locked,
// Indicates whether the agent is locked for changes. If the agent is locked,
// modifications to the agent will be rejected except for [RestoreAgent][].
bool locked = 27;

Expand Down
13 changes: 13 additions & 0 deletions protos/google/cloud/dialogflow/cx/v3/environment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/dialogflow/cx/v3/test_case.proto";
import "google/cloud/dialogflow/cx/v3/webhook.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
Expand Down Expand Up @@ -207,6 +208,15 @@ message Environment {
bool enable_predeployment_run = 3;
}

// Configuration for webhooks.
message WebhookConfig {
// The list of webhooks to override for the agent environment. The webhook
// must exist in the agent. You can override fields in
// [`generic_web_service`][google.cloud.dialogflow.cx.v3.Webhook.generic_web_service] and
// [`service_directory`][google.cloud.dialogflow.cx.v3.Webhook.service_directory].
repeated Webhook webhook_overrides = 1;
}

// The name of the environment.
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
// ID>/environments/<Environment ID>`.
Expand All @@ -231,6 +241,9 @@ message Environment {

// The test cases config for continuous tests of this environment.
TestCasesConfig test_cases_config = 7;

// The webhook configuration for this environment.
WebhookConfig webhook_config = 10;
}

// The request message for [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments].
Expand Down
3 changes: 3 additions & 0 deletions protos/google/cloud/dialogflow/cx/v3/webhook.proto
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ message DeleteWebhookRequest {

// The request message for a webhook call. The request is sent as a JSON object
// and the field names will be presented in camel cases.
//
// You may see undocumented fields in an actual request. These fields are used
// internally by Dialogflow and should be ignored.
message WebhookRequest {
// Represents fulfillment information communicated to the webhook.
message FulfillmentInfo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1";

// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
// Settings exposed at lower level overrides the settings exposed at higher
// level.
// level. Overriding occurs at the sub-setting level. For example, the
// playback_interruption_settings at fulfillment level only overrides the
// playback_interruption_settings at the agent level, leaving other settings
// at the agent level unchanged.
//
// DTMF settings does not override each other. DTMF settings set at different
// levels define DTMF detections running in parallel.
//
// Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
message AdvancedSettings {
Expand Down
2 changes: 1 addition & 1 deletion protos/google/cloud/dialogflow/cx/v3beta1/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ message Agent {
// requests.
bool enable_spell_correction = 20;

// Indiciates whether the agent is locked for changes. If the agent is locked,
// Indicates whether the agent is locked for changes. If the agent is locked,
// modifications to the agent will be rejected except for [RestoreAgent][].
bool locked = 27;

Expand Down
13 changes: 13 additions & 0 deletions protos/google/cloud/dialogflow/cx/v3beta1/environment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/dialogflow/cx/v3beta1/test_case.proto";
import "google/cloud/dialogflow/cx/v3beta1/webhook.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
Expand Down Expand Up @@ -207,6 +208,15 @@ message Environment {
bool enable_predeployment_run = 3;
}

// Configuration for webhooks.
message WebhookConfig {
// The list of webhooks to override for the agent environment. The webhook
// must exist in the agent. You can override fields in
// [`generic_web_service`][google.cloud.dialogflow.cx.v3beta1.Webhook.generic_web_service] and
// [`service_directory`][google.cloud.dialogflow.cx.v3beta1.Webhook.service_directory].
repeated Webhook webhook_overrides = 1;
}

// The name of the environment.
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
// ID>/environments/<Environment ID>`.
Expand All @@ -231,6 +241,9 @@ message Environment {

// The test cases config for continuous tests of this environment.
TestCasesConfig test_cases_config = 7;

// The webhook configuration for this environment.
WebhookConfig webhook_config = 10;
}

// The request message for [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironments].
Expand Down
3 changes: 3 additions & 0 deletions protos/google/cloud/dialogflow/cx/v3beta1/webhook.proto
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ message DeleteWebhookRequest {

// The request message for a webhook call. The request is sent as a JSON object
// and the field names will be presented in camel cases.
//
// You may see undocumented fields in an actual request. These fields are used
// internally by Dialogflow and should be ignored.
message WebhookRequest {
// Represents fulfillment information communicated to the webhook.
message FulfillmentInfo {
Expand Down
Loading

0 comments on commit 03c33b8

Please sign in to comment.