diff --git a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/cx/v3/BUILD.bazel index 89813c597..8326a56cb 100644 --- a/google/cloud/dialogflow/cx/v3/BUILD.bazel +++ b/google/cloud/dialogflow/cx/v3/BUILD.bazel @@ -64,6 +64,7 @@ proto_library_with_info( deps = [ ":cx_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -98,10 +99,12 @@ java_gapic_library( service_yaml = "dialogflow_v3.yaml", test_deps = [ ":cx_java_grpc", + "//google/cloud/location:location_java_grpc", ], deps = [ ":cx_java_proto", "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", ], ) @@ -131,13 +134,13 @@ java_gapic_test( # Open Source Packages java_gapic_assembly_gradle_pkg( name = "google-cloud-dialogflow-cx-v3-java", + include_samples = True, deps = [ ":cx_java_gapic", ":cx_java_grpc", ":cx_java_proto", ":cx_proto", ], - include_samples = True, ) ############################################################################## @@ -173,6 +176,7 @@ go_gapic_library( service_yaml = "dialogflow_v3.yaml", deps = [ ":cx_go_proto", + "//google/cloud/location:location_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go//longrunning:go_default_library", "@com_google_cloud_go//longrunning/autogen:go_default_library", @@ -334,6 +338,7 @@ ruby_cloud_gapic_library( grpc_service_config = "dialogflow_grpc_service_config.json", ruby_cloud_description = "Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. This client is for Dialogflow CX, providing an advanced agent type suitable for large or very complex agents.", ruby_cloud_title = "Dialogflow CX V3", + service_yaml = "dialogflow_v3.yaml", deps = [ ":cx_ruby_grpc", ":cx_ruby_proto", diff --git a/google/cloud/dialogflow/cx/v3/agent.proto b/google/cloud/dialogflow/cx/v3/agent.proto index 27916ae88..0c4fb140b 100644 --- a/google/cloud/dialogflow/cx/v3/agent.proto +++ b/google/cloud/dialogflow/cx/v3/agent.proto @@ -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; diff --git a/google/cloud/dialogflow/cx/v3/dialogflow_v3.yaml b/google/cloud/dialogflow/cx/v3/dialogflow_v3.yaml index 6df01a409..793c453df 100644 --- a/google/cloud/dialogflow/cx/v3/dialogflow_v3.yaml +++ b/google/cloud/dialogflow/cx/v3/dialogflow_v3.yaml @@ -20,6 +20,8 @@ apis: - name: google.cloud.dialogflow.cx.v3.TransitionRouteGroups - name: google.cloud.dialogflow.cx.v3.Versions - name: google.cloud.dialogflow.cx.v3.Webhooks +- name: google.cloud.location.Locations +- name: google.longrunning.Operations types: - name: google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata diff --git a/google/cloud/dialogflow/cx/v3/environment.proto b/google/cloud/dialogflow/cx/v3/environment.proto index f2e59c38c..38cb107f2 100644 --- a/google/cloud/dialogflow/cx/v3/environment.proto +++ b/google/cloud/dialogflow/cx/v3/environment.proto @@ -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"; @@ -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//locations//agents//environments/`. @@ -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].