google-apis-dialogflow_v3beta1 0.8.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54cb1c77c618bc13ef6f7cefff9ba3112831c4500f49bc61a4ca14fd8d085f6a
4
- data.tar.gz: 26aacfbb721cd04ff5128aa4ff540218d194802a26c39300a6f4cc56246f1c90
3
+ metadata.gz: bda685a5d2e1a939a5340e70f0f2af24a342df1e89cfecfc945167e0302e8c18
4
+ data.tar.gz: f7d5388ec1d70364bf203730c9946bdc86b69671973a935b16f5ccb7c40460a1
5
5
  SHA512:
6
- metadata.gz: 40ccc094231df1e2040752369f34d3b2bda48c39cb542dbdea97b5cb73393a71be86f33bbfc4ce36b34d25b19136f080c02c796f30233a087e7db4c0c81c651c
7
- data.tar.gz: fcdd266ed1a88b3a6ff917fc44e0b08a3e014745141f8dc7d9752d03393a0946a5f03dfaebbb1b7e025dff572de61a5e696606bc804c90e85c368494f4f8bf18
6
+ metadata.gz: 47b96d9dc2322ae4df9291e02c63ea9e03db942f64514b877d245c862f6252c4471fa101f3bf9b17454f4b931c5cddb8b6a7a3fbc8ce148b90bfe9c52ef0cf43
7
+ data.tar.gz: 3c44e8d9199d80e94925042f67b6ca9713ff9eedc3246f636a0b9f7b4edf70504a0666ec6a9f6e657e8a01fdead4acf3e64d8d919fb91fed4992fee44eaa53e1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.13.0 (2021-05-26)
4
+
5
+ * Regenerated from discovery document revision 20210524
6
+
7
+ ### v0.12.0 (2021-05-19)
8
+
9
+ * Regenerated from discovery document revision 20210517
10
+
11
+ ### v0.11.0 (2021-05-12)
12
+
13
+ * Regenerated from discovery document revision 20210510
14
+
15
+ ### v0.10.0 (2021-04-01)
16
+
17
+ * Regenerated from discovery document revision 20210329
18
+
19
+ ### v0.9.0 (2021-03-23)
20
+
21
+ * Regenerated from discovery document revision 20210320
22
+
3
23
  ### v0.8.0 (2021-03-16)
4
24
 
5
25
  * Regenerated from discovery document revision 20210314
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V3beta1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
36
  # View, manage and query your Dialogflow agents
@@ -92,6 +92,45 @@ module Google
92
92
  end
93
93
  end
94
94
 
95
+ # Represents a result from running a test case in an agent environment.
96
+ class GoogleCloudDialogflowCxV3ContinuousTestResult
97
+ include Google::Apis::Core::Hashable
98
+
99
+ # The resource name for the continuous test result. Format: `projects//locations/
100
+ # /agents//environments//continuousTestResults/`.
101
+ # Corresponds to the JSON property `name`
102
+ # @return [String]
103
+ attr_accessor :name
104
+
105
+ # The result of this continuous test run, i.e. whether all the tests in this
106
+ # continuous test run pass or not.
107
+ # Corresponds to the JSON property `result`
108
+ # @return [String]
109
+ attr_accessor :result
110
+
111
+ # Time when the continuous testing run starts.
112
+ # Corresponds to the JSON property `runTime`
113
+ # @return [String]
114
+ attr_accessor :run_time
115
+
116
+ # A list of individual test case results names in this continuous test run.
117
+ # Corresponds to the JSON property `testCaseResults`
118
+ # @return [Array<String>]
119
+ attr_accessor :test_case_results
120
+
121
+ def initialize(**args)
122
+ update!(**args)
123
+ end
124
+
125
+ # Update properties of this object
126
+ def update!(**args)
127
+ @name = args[:name] if args.key?(:name)
128
+ @result = args[:result] if args.key?(:result)
129
+ @run_time = args[:run_time] if args.key?(:run_time)
130
+ @test_case_results = args[:test_case_results] if args.key?(:test_case_results)
131
+ end
132
+ end
133
+
95
134
  # One interaction between a human and virtual agent. The human provides some
96
135
  # input and the virtual agent provides a response.
97
136
  class GoogleCloudDialogflowCxV3ConversationTurn
@@ -415,6 +454,33 @@ module Google
415
454
  end
416
455
  end
417
456
 
457
+ # The response message for Flows.ExportFlow.
458
+ class GoogleCloudDialogflowCxV3ExportFlowResponse
459
+ include Google::Apis::Core::Hashable
460
+
461
+ # Uncompressed raw byte content for flow.
462
+ # Corresponds to the JSON property `flowContent`
463
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
464
+ # @return [String]
465
+ attr_accessor :flow_content
466
+
467
+ # The URI to a file containing the exported flow. This field is populated only
468
+ # if `flow_uri` is specified in ExportFlowRequest.
469
+ # Corresponds to the JSON property `flowUri`
470
+ # @return [String]
471
+ attr_accessor :flow_uri
472
+
473
+ def initialize(**args)
474
+ update!(**args)
475
+ end
476
+
477
+ # Update properties of this object
478
+ def update!(**args)
479
+ @flow_content = args[:flow_content] if args.key?(:flow_content)
480
+ @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
481
+ end
482
+ end
483
+
418
484
  # Metadata returned for the TestCases.ExportTestCases long running operation.
419
485
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
420
486
  include Google::Apis::Core::Hashable
@@ -813,6 +879,26 @@ module Google
813
879
  end
814
880
  end
815
881
 
882
+ # The response message for Flows.ImportFlow.
883
+ class GoogleCloudDialogflowCxV3ImportFlowResponse
884
+ include Google::Apis::Core::Hashable
885
+
886
+ # The unique identifier of the new flow. Format: `projects//locations//agents//
887
+ # flows/`.
888
+ # Corresponds to the JSON property `flow`
889
+ # @return [String]
890
+ attr_accessor :flow
891
+
892
+ def initialize(**args)
893
+ update!(**args)
894
+ end
895
+
896
+ # Update properties of this object
897
+ def update!(**args)
898
+ @flow = args[:flow] if args.key?(:flow)
899
+ end
900
+ end
901
+
816
902
  # Metadata returned for the TestCases.ImportTestCases long running operation.
817
903
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
818
904
  include Google::Apis::Core::Hashable
@@ -936,8 +1022,8 @@ module Google
936
1022
  class GoogleCloudDialogflowCxV3Intent
937
1023
  include Google::Apis::Core::Hashable
938
1024
 
939
- # Optional. Human readable description for better understanding an intent like
940
- # its scope, content, result etc. Maximum character limit: 140 characters.
1025
+ # Human readable description for better understanding an intent like its scope,
1026
+ # content, result etc. Maximum character limit: 140 characters.
941
1027
  # Corresponds to the JSON property `description`
942
1028
  # @return [String]
943
1029
  attr_accessor :description
@@ -957,14 +1043,14 @@ module Google
957
1043
  attr_accessor :is_fallback
958
1044
  alias_method :is_fallback?, :is_fallback
959
1045
 
960
- # Optional. The key/value metadata to label an intent. Labels can contain
961
- # lowercase letters, digits and the symbols '-' and '_'. International
962
- # characters are allowed, including letters from unicase alphabets. Keys must
963
- # start with a letter. Keys and values can be no longer than 63 characters and
964
- # no more than 128 bytes. Prefix "sys." is reserved for Dialogflow defined
965
- # labels. Currently allowed Dialogflow defined labels include: * sys.head * sys.
966
- # contextual The above labels do not require value. "sys.head" means the intent
967
- # is a head intent. "sys.contextual" means the intent is a contextual intent.
1046
+ # The key/value metadata to label an intent. Labels can contain lowercase
1047
+ # letters, digits and the symbols '-' and '_'. International characters are
1048
+ # allowed, including letters from unicase alphabets. Keys must start with a
1049
+ # letter. Keys and values can be no longer than 63 characters and no more than
1050
+ # 128 bytes. Prefix "sys." is reserved for Dialogflow defined labels. Currently
1051
+ # allowed Dialogflow defined labels include: * sys.head * sys.contextual The
1052
+ # above labels do not require value. "sys.head" means the intent is a head
1053
+ # intent. "sys.contextual" means the intent is a contextual intent.
968
1054
  # Corresponds to the JSON property `labels`
969
1055
  # @return [Hash<String,String>]
970
1056
  attr_accessor :labels
@@ -1723,6 +1809,45 @@ module Google
1723
1809
  end
1724
1810
  end
1725
1811
 
1812
+ # Metadata returned for the Environments.RunContinuousTest long running
1813
+ # operation.
1814
+ class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
1815
+ include Google::Apis::Core::Hashable
1816
+
1817
+ # The test errors.
1818
+ # Corresponds to the JSON property `errors`
1819
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError>]
1820
+ attr_accessor :errors
1821
+
1822
+ def initialize(**args)
1823
+ update!(**args)
1824
+ end
1825
+
1826
+ # Update properties of this object
1827
+ def update!(**args)
1828
+ @errors = args[:errors] if args.key?(:errors)
1829
+ end
1830
+ end
1831
+
1832
+ # The response message for Environments.RunContinuousTest.
1833
+ class GoogleCloudDialogflowCxV3RunContinuousTestResponse
1834
+ include Google::Apis::Core::Hashable
1835
+
1836
+ # Represents a result from running a test case in an agent environment.
1837
+ # Corresponds to the JSON property `continuousTestResult`
1838
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ContinuousTestResult]
1839
+ attr_accessor :continuous_test_result
1840
+
1841
+ def initialize(**args)
1842
+ update!(**args)
1843
+ end
1844
+
1845
+ # Update properties of this object
1846
+ def update!(**args)
1847
+ @continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
1848
+ end
1849
+ end
1850
+
1726
1851
  # Metadata returned for the TestCases.RunTestCase long running operation.
1727
1852
  class GoogleCloudDialogflowCxV3RunTestCaseMetadata
1728
1853
  include Google::Apis::Core::Hashable
@@ -2128,7 +2253,8 @@ module Google
2128
2253
  end
2129
2254
  end
2130
2255
 
2131
- # The request message for a webhook call.
2256
+ # The request message for a webhook call. The request is sent as a JSON object
2257
+ # and the field names will be presented in camel cases.
2132
2258
  class GoogleCloudDialogflowCxV3WebhookRequest
2133
2259
  include Google::Apis::Core::Hashable
2134
2260
 
@@ -2148,6 +2274,11 @@ module Google
2148
2274
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
2149
2275
  attr_accessor :intent_info
2150
2276
 
2277
+ # The language code specified in the original request.
2278
+ # Corresponds to the JSON property `languageCode`
2279
+ # @return [String]
2280
+ attr_accessor :language_code
2281
+
2151
2282
  # The list of rich message responses to present to the user. Webhook can choose
2152
2283
  # to append or replace this list in WebhookResponse.fulfillment_response;
2153
2284
  # Corresponds to the JSON property `messages`
@@ -2174,6 +2305,30 @@ module Google
2174
2305
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo]
2175
2306
  attr_accessor :session_info
2176
2307
 
2308
+ # If natural language text was provided as input, this field will contain a copy
2309
+ # of the text.
2310
+ # Corresponds to the JSON property `text`
2311
+ # @return [String]
2312
+ attr_accessor :text
2313
+
2314
+ # If natural language speech audio was provided as input, this field will
2315
+ # contain the transcript for the audio.
2316
+ # Corresponds to the JSON property `transcript`
2317
+ # @return [String]
2318
+ attr_accessor :transcript
2319
+
2320
+ # If an event was provided as input, this field will contain the name of the
2321
+ # event.
2322
+ # Corresponds to the JSON property `triggerEvent`
2323
+ # @return [String]
2324
+ attr_accessor :trigger_event
2325
+
2326
+ # If an intent was provided as input, this field will contain a copy of the
2327
+ # intent identifier. Format: `projects//locations//agents//intents/`.
2328
+ # Corresponds to the JSON property `triggerIntent`
2329
+ # @return [String]
2330
+ attr_accessor :trigger_intent
2331
+
2177
2332
  def initialize(**args)
2178
2333
  update!(**args)
2179
2334
  end
@@ -2183,11 +2338,16 @@ module Google
2183
2338
  @detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
2184
2339
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
2185
2340
  @intent_info = args[:intent_info] if args.key?(:intent_info)
2341
+ @language_code = args[:language_code] if args.key?(:language_code)
2186
2342
  @messages = args[:messages] if args.key?(:messages)
2187
2343
  @page_info = args[:page_info] if args.key?(:page_info)
2188
2344
  @payload = args[:payload] if args.key?(:payload)
2189
2345
  @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
2190
2346
  @session_info = args[:session_info] if args.key?(:session_info)
2347
+ @text = args[:text] if args.key?(:text)
2348
+ @transcript = args[:transcript] if args.key?(:transcript)
2349
+ @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
2350
+ @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
2191
2351
  end
2192
2352
  end
2193
2353
 
@@ -2451,6 +2611,12 @@ module Google
2451
2611
  # @return [String]
2452
2612
  attr_accessor :start_flow
2453
2613
 
2614
+ # The list of all languages supported by the agent (except for the `
2615
+ # default_language_code`).
2616
+ # Corresponds to the JSON property `supportedLanguageCodes`
2617
+ # @return [Array<String>]
2618
+ attr_accessor :supported_language_codes
2619
+
2454
2620
  # Required. The time zone of the agent from the [time zone database](https://www.
2455
2621
  # iana.org/time-zones), e.g., America/New_York, Europe/Paris.
2456
2622
  # Corresponds to the JSON property `timeZone`
@@ -2473,6 +2639,7 @@ module Google
2473
2639
  @security_settings = args[:security_settings] if args.key?(:security_settings)
2474
2640
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
2475
2641
  @start_flow = args[:start_flow] if args.key?(:start_flow)
2642
+ @supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes)
2476
2643
  @time_zone = args[:time_zone] if args.key?(:time_zone)
2477
2644
  end
2478
2645
  end
@@ -2661,6 +2828,45 @@ module Google
2661
2828
  end
2662
2829
  end
2663
2830
 
2831
+ # Represents a result from running a test case in an agent environment.
2832
+ class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
2833
+ include Google::Apis::Core::Hashable
2834
+
2835
+ # The resource name for the continuous test result. Format: `projects//locations/
2836
+ # /agents//environments//continuousTestResults/`.
2837
+ # Corresponds to the JSON property `name`
2838
+ # @return [String]
2839
+ attr_accessor :name
2840
+
2841
+ # The result of this continuous test run, i.e. whether all the tests in this
2842
+ # continuous test run pass or not.
2843
+ # Corresponds to the JSON property `result`
2844
+ # @return [String]
2845
+ attr_accessor :result
2846
+
2847
+ # Time when the continuous testing run starts.
2848
+ # Corresponds to the JSON property `runTime`
2849
+ # @return [String]
2850
+ attr_accessor :run_time
2851
+
2852
+ # A list of individual test case results names in this continuous test run.
2853
+ # Corresponds to the JSON property `testCaseResults`
2854
+ # @return [Array<String>]
2855
+ attr_accessor :test_case_results
2856
+
2857
+ def initialize(**args)
2858
+ update!(**args)
2859
+ end
2860
+
2861
+ # Update properties of this object
2862
+ def update!(**args)
2863
+ @name = args[:name] if args.key?(:name)
2864
+ @result = args[:result] if args.key?(:result)
2865
+ @run_time = args[:run_time] if args.key?(:run_time)
2866
+ @test_case_results = args[:test_case_results] if args.key?(:test_case_results)
2867
+ end
2868
+ end
2869
+
2664
2870
  # One interaction between a human and virtual agent. The human provides some
2665
2871
  # input and the virtual agent provides a response.
2666
2872
  class GoogleCloudDialogflowCxV3beta1ConversationTurn
@@ -3524,6 +3730,12 @@ module Google
3524
3730
  # @return [String]
3525
3731
  attr_accessor :agent_uri
3526
3732
 
3733
+ # Optional. Environment name. If not set, draft environment is assumed. Format: `
3734
+ # projects//locations//agents//environments/`.
3735
+ # Corresponds to the JSON property `environment`
3736
+ # @return [String]
3737
+ attr_accessor :environment
3738
+
3527
3739
  def initialize(**args)
3528
3740
  update!(**args)
3529
3741
  end
@@ -3531,6 +3743,7 @@ module Google
3531
3743
  # Update properties of this object
3532
3744
  def update!(**args)
3533
3745
  @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
3746
+ @environment = args[:environment] if args.key?(:environment)
3534
3747
  end
3535
3748
  end
3536
3749
 
@@ -3561,6 +3774,61 @@ module Google
3561
3774
  end
3562
3775
  end
3563
3776
 
3777
+ # The request message for Flows.ExportFlow.
3778
+ class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
3779
+ include Google::Apis::Core::Hashable
3780
+
3781
+ # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
3782
+ # URI to export the flow to. The format of this URI must be `gs:///`. If left
3783
+ # unspecified, the serialized flow is returned inline.
3784
+ # Corresponds to the JSON property `flowUri`
3785
+ # @return [String]
3786
+ attr_accessor :flow_uri
3787
+
3788
+ # Optional. Whether to export flows referenced by the specified flow.
3789
+ # Corresponds to the JSON property `includeReferencedFlows`
3790
+ # @return [Boolean]
3791
+ attr_accessor :include_referenced_flows
3792
+ alias_method :include_referenced_flows?, :include_referenced_flows
3793
+
3794
+ def initialize(**args)
3795
+ update!(**args)
3796
+ end
3797
+
3798
+ # Update properties of this object
3799
+ def update!(**args)
3800
+ @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
3801
+ @include_referenced_flows = args[:include_referenced_flows] if args.key?(:include_referenced_flows)
3802
+ end
3803
+ end
3804
+
3805
+ # The response message for Flows.ExportFlow.
3806
+ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
3807
+ include Google::Apis::Core::Hashable
3808
+
3809
+ # Uncompressed raw byte content for flow.
3810
+ # Corresponds to the JSON property `flowContent`
3811
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3812
+ # @return [String]
3813
+ attr_accessor :flow_content
3814
+
3815
+ # The URI to a file containing the exported flow. This field is populated only
3816
+ # if `flow_uri` is specified in ExportFlowRequest.
3817
+ # Corresponds to the JSON property `flowUri`
3818
+ # @return [String]
3819
+ attr_accessor :flow_uri
3820
+
3821
+ def initialize(**args)
3822
+ update!(**args)
3823
+ end
3824
+
3825
+ # Update properties of this object
3826
+ def update!(**args)
3827
+ @flow_content = args[:flow_content] if args.key?(:flow_content)
3828
+ @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
3829
+ end
3830
+ end
3831
+
3564
3832
  # Metadata returned for the TestCases.ExportTestCases long running operation.
3565
3833
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
3566
3834
  include Google::Apis::Core::Hashable
@@ -3685,6 +3953,15 @@ module Google
3685
3953
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings]
3686
3954
  attr_accessor :nlu_settings
3687
3955
 
3956
+ # A flow's transition route group serve two purposes: * They are responsible for
3957
+ # matching the user's first utterances in the flow. * They are inherited by
3958
+ # every page's transition route groups. Transition route groups defined in the
3959
+ # page have higher priority than those defined in the flow. Format:`projects//
3960
+ # locations//agents//flows//transitionRouteGroups/`.
3961
+ # Corresponds to the JSON property `transitionRouteGroups`
3962
+ # @return [Array<String>]
3963
+ attr_accessor :transition_route_groups
3964
+
3688
3965
  # A flow's transition routes serve two purposes: * They are responsible for
3689
3966
  # matching the user's first utterances in the flow. * They are inherited by
3690
3967
  # every page's transition routes and can support use cases such as the user
@@ -3709,6 +3986,7 @@ module Google
3709
3986
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
3710
3987
  @name = args[:name] if args.key?(:name)
3711
3988
  @nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
3989
+ @transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
3712
3990
  @transition_routes = args[:transition_routes] if args.key?(:transition_routes)
3713
3991
  end
3714
3992
  end
@@ -4180,6 +4458,59 @@ module Google
4180
4458
  end
4181
4459
  end
4182
4460
 
4461
+ # The request message for Flows.ImportFlow.
4462
+ class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
4463
+ include Google::Apis::Core::Hashable
4464
+
4465
+ # Uncompressed raw byte content for flow.
4466
+ # Corresponds to the JSON property `flowContent`
4467
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4468
+ # @return [String]
4469
+ attr_accessor :flow_content
4470
+
4471
+ # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
4472
+ # import flow from. The format of this URI must be `gs:///`.
4473
+ # Corresponds to the JSON property `flowUri`
4474
+ # @return [String]
4475
+ attr_accessor :flow_uri
4476
+
4477
+ # Flow import mode. If not specified, `KEEP` is assumed.
4478
+ # Corresponds to the JSON property `importOption`
4479
+ # @return [String]
4480
+ attr_accessor :import_option
4481
+
4482
+ def initialize(**args)
4483
+ update!(**args)
4484
+ end
4485
+
4486
+ # Update properties of this object
4487
+ def update!(**args)
4488
+ @flow_content = args[:flow_content] if args.key?(:flow_content)
4489
+ @flow_uri = args[:flow_uri] if args.key?(:flow_uri)
4490
+ @import_option = args[:import_option] if args.key?(:import_option)
4491
+ end
4492
+ end
4493
+
4494
+ # The response message for Flows.ImportFlow.
4495
+ class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
4496
+ include Google::Apis::Core::Hashable
4497
+
4498
+ # The unique identifier of the new flow. Format: `projects//locations//agents//
4499
+ # flows/`.
4500
+ # Corresponds to the JSON property `flow`
4501
+ # @return [String]
4502
+ attr_accessor :flow
4503
+
4504
+ def initialize(**args)
4505
+ update!(**args)
4506
+ end
4507
+
4508
+ # Update properties of this object
4509
+ def update!(**args)
4510
+ @flow = args[:flow] if args.key?(:flow)
4511
+ end
4512
+ end
4513
+
4183
4514
  # Metadata returned for the TestCases.ImportTestCases long running operation.
4184
4515
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
4185
4516
  include Google::Apis::Core::Hashable
@@ -4330,8 +4661,8 @@ module Google
4330
4661
  class GoogleCloudDialogflowCxV3beta1Intent
4331
4662
  include Google::Apis::Core::Hashable
4332
4663
 
4333
- # Optional. Human readable description for better understanding an intent like
4334
- # its scope, content, result etc. Maximum character limit: 140 characters.
4664
+ # Human readable description for better understanding an intent like its scope,
4665
+ # content, result etc. Maximum character limit: 140 characters.
4335
4666
  # Corresponds to the JSON property `description`
4336
4667
  # @return [String]
4337
4668
  attr_accessor :description
@@ -4351,14 +4682,14 @@ module Google
4351
4682
  attr_accessor :is_fallback
4352
4683
  alias_method :is_fallback?, :is_fallback
4353
4684
 
4354
- # Optional. The key/value metadata to label an intent. Labels can contain
4355
- # lowercase letters, digits and the symbols '-' and '_'. International
4356
- # characters are allowed, including letters from unicase alphabets. Keys must
4357
- # start with a letter. Keys and values can be no longer than 63 characters and
4358
- # no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined
4359
- # labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-
4360
- # contextual The above labels do not require value. "sys-head" means the intent
4361
- # is a head intent. "sys-contextual" means the intent is a contextual intent.
4685
+ # The key/value metadata to label an intent. Labels can contain lowercase
4686
+ # letters, digits and the symbols '-' and '_'. International characters are
4687
+ # allowed, including letters from unicase alphabets. Keys must start with a
4688
+ # letter. Keys and values can be no longer than 63 characters and no more than
4689
+ # 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
4690
+ # allowed Dialogflow defined labels include: * sys-head * sys-contextual The
4691
+ # above labels do not require value. "sys-head" means the intent is a head
4692
+ # intent. "sys-contextual" means the intent is a contextual intent.
4362
4693
  # Corresponds to the JSON property `labels`
4363
4694
  # @return [Hash<String,String>]
4364
4695
  attr_accessor :labels
@@ -4620,6 +4951,32 @@ module Google
4620
4951
  end
4621
4952
  end
4622
4953
 
4954
+ # The response message for Environments.ListTestCaseResults.
4955
+ class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
4956
+ include Google::Apis::Core::Hashable
4957
+
4958
+ # The list of continuous test results.
4959
+ # Corresponds to the JSON property `continuousTestResults`
4960
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult>]
4961
+ attr_accessor :continuous_test_results
4962
+
4963
+ # Token to retrieve the next page of results, or empty if there are no more
4964
+ # results in the list.
4965
+ # Corresponds to the JSON property `nextPageToken`
4966
+ # @return [String]
4967
+ attr_accessor :next_page_token
4968
+
4969
+ def initialize(**args)
4970
+ update!(**args)
4971
+ end
4972
+
4973
+ # Update properties of this object
4974
+ def update!(**args)
4975
+ @continuous_test_results = args[:continuous_test_results] if args.key?(:continuous_test_results)
4976
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4977
+ end
4978
+ end
4979
+
4623
4980
  # The response message for EntityTypes.ListEntityTypes.
4624
4981
  class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
4625
4982
  include Google::Apis::Core::Hashable
@@ -4978,8 +5335,8 @@ module Google
4978
5335
  class GoogleCloudDialogflowCxV3beta1LoadVersionRequest
4979
5336
  include Google::Apis::Core::Hashable
4980
5337
 
4981
- # This field is used to prevent accidental overwrite of other agent resources in
4982
- # the draft version, which can potentially impact other flow's behavior. If `
5338
+ # This field is used to prevent accidental overwrite of other agent resources,
5339
+ # which can potentially impact other flow's behavior. If `
4983
5340
  # allow_override_agent_resources` is false, conflicted agent-level resources
4984
5341
  # will not be overridden (i.e. intents, entities, webhooks).
4985
5342
  # Corresponds to the JSON property `allowOverrideAgentResources`
@@ -5516,6 +5873,16 @@ module Google
5516
5873
  attr_accessor :analyze_query_text_sentiment
5517
5874
  alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
5518
5875
 
5876
+ # The unique identifier of the page to override the current page in the session.
5877
+ # Format: `projects//locations//agents//pages/`. If `current_page` is specified,
5878
+ # the previous state of the session will be ignored by Dialogflow, including the
5879
+ # previous page and the previous session parameters. In most cases, current_page
5880
+ # and parameters should be configured together to direct a session to a specific
5881
+ # state.
5882
+ # Corresponds to the JSON property `currentPage`
5883
+ # @return [String]
5884
+ attr_accessor :current_page
5885
+
5519
5886
  # Whether to disable webhook calls for this request.
5520
5887
  # Corresponds to the JSON property `disableWebhook`
5521
5888
  # @return [Boolean]
@@ -5524,28 +5891,32 @@ module Google
5524
5891
 
5525
5892
  # An object that represents a latitude/longitude pair. This is expressed as a
5526
5893
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
5527
- # specified otherwise, this must conform to the WGS84 standard. Values must be
5528
- # within normalized ranges.
5894
+ # specified otherwise, this object must conform to the WGS84 standard. Values
5895
+ # must be within normalized ranges.
5529
5896
  # Corresponds to the JSON property `geoLocation`
5530
5897
  # @return [Google::Apis::DialogflowV3beta1::GoogleTypeLatLng]
5531
5898
  attr_accessor :geo_location
5532
5899
 
5533
5900
  # Additional parameters to be put into session parameters. To remove a parameter
5534
5901
  # from the session, clients should explicitly set the parameter value to null.
5535
- # Depending on your protocol or client library language, this is a map,
5536
- # associative array, symbol table, dictionary, or JSON object composed of a
5537
- # collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value:
5538
- # parameter name - MapValue type: - If parameter's entity type is a composite
5539
- # entity: map - Else: depending on parameter value type, could be one of string,
5540
- # number, boolean, null, list or map - MapValue value: - If parameter's entity
5541
- # type is a composite entity: map from composite entity property names to
5542
- # property values - Else: parameter value
5902
+ # You can reference the session parameters in the agent with the following
5903
+ # format: $session.params.parameter-id. Depending on your protocol or client
5904
+ # library language, this is a map, associative array, symbol table, dictionary,
5905
+ # or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
5906
+ # type: string - MapKey value: parameter name - MapValue type: - If parameter's
5907
+ # entity type is a composite entity: map - Else: depending on parameter value
5908
+ # type, could be one of string, number, boolean, null, list or map - MapValue
5909
+ # value: - If parameter's entity type is a composite entity: map from composite
5910
+ # entity property names to property values - Else: parameter value
5543
5911
  # Corresponds to the JSON property `parameters`
5544
5912
  # @return [Hash<String,Object>]
5545
5913
  attr_accessor :parameters
5546
5914
 
5547
5915
  # This field can be used to pass custom data into the webhook associated with
5548
- # the agent. Arbitrary JSON objects are supported.
5916
+ # the agent. Arbitrary JSON objects are supported. Some integrations that query
5917
+ # a Dialogflow agent may provide additional information in the payload. In
5918
+ # particular, for the Dialogflow Phone Gateway integration, this field has the
5919
+ # form: ``` ` "telephony": ` "caller_id": "+18558363987" ` ` ```
5549
5920
  # Corresponds to the JSON property `payload`
5550
5921
  # @return [Hash<String,Object>]
5551
5922
  attr_accessor :payload
@@ -5583,6 +5954,7 @@ module Google
5583
5954
  # Update properties of this object
5584
5955
  def update!(**args)
5585
5956
  @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
5957
+ @current_page = args[:current_page] if args.key?(:current_page)
5586
5958
  @disable_webhook = args[:disable_webhook] if args.key?(:disable_webhook)
5587
5959
  @geo_location = args[:geo_location] if args.key?(:geo_location)
5588
5960
  @parameters = args[:parameters] if args.key?(:parameters)
@@ -6119,6 +6491,58 @@ module Google
6119
6491
  end
6120
6492
  end
6121
6493
 
6494
+ # Metadata returned for the Environments.RunContinuousTest long running
6495
+ # operation.
6496
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
6497
+ include Google::Apis::Core::Hashable
6498
+
6499
+ # The test errors.
6500
+ # Corresponds to the JSON property `errors`
6501
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError>]
6502
+ attr_accessor :errors
6503
+
6504
+ def initialize(**args)
6505
+ update!(**args)
6506
+ end
6507
+
6508
+ # Update properties of this object
6509
+ def update!(**args)
6510
+ @errors = args[:errors] if args.key?(:errors)
6511
+ end
6512
+ end
6513
+
6514
+ # The request message for Environments.RunContinuousTest.
6515
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest
6516
+ include Google::Apis::Core::Hashable
6517
+
6518
+ def initialize(**args)
6519
+ update!(**args)
6520
+ end
6521
+
6522
+ # Update properties of this object
6523
+ def update!(**args)
6524
+ end
6525
+ end
6526
+
6527
+ # The response message for Environments.RunContinuousTest.
6528
+ class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
6529
+ include Google::Apis::Core::Hashable
6530
+
6531
+ # Represents a result from running a test case in an agent environment.
6532
+ # Corresponds to the JSON property `continuousTestResult`
6533
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
6534
+ attr_accessor :continuous_test_result
6535
+
6536
+ def initialize(**args)
6537
+ update!(**args)
6538
+ end
6539
+
6540
+ # Update properties of this object
6541
+ def update!(**args)
6542
+ @continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
6543
+ end
6544
+ end
6545
+
6122
6546
  # Metadata returned for the TestCases.RunTestCase long running operation.
6123
6547
  class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
6124
6548
  include Google::Apis::Core::Hashable
@@ -6202,8 +6626,8 @@ module Google
6202
6626
  # @return [Array<String>]
6203
6627
  attr_accessor :purge_data_types
6204
6628
 
6205
- # Defines on what data we apply redaction. Note that we don't redact data to
6206
- # which we don't have access, e.g., Stackdriver logs.
6629
+ # Defines the data for which Dialogflow applies redaction. Dialogflow does not
6630
+ # redact data that it does not have access to – for example, Cloud logging.
6207
6631
  # Corresponds to the JSON property `redactionScope`
6208
6632
  # @return [String]
6209
6633
  attr_accessor :redaction_scope
@@ -6213,10 +6637,12 @@ module Google
6213
6637
  # @return [String]
6214
6638
  attr_accessor :redaction_strategy
6215
6639
 
6216
- # Retains the data for the specified number of days. User must Set a value lower
6217
- # than Dialogflow's default 30d TTL. Setting a value higher than that has no
6218
- # effect. A missing value or setting to 0 also means we use Dialogflow's default
6219
- # TTL.
6640
+ # Retains data in interaction logging for the specified number of days. This
6641
+ # does not apply to Cloud logging, which is owned by the user - not Dialogflow.
6642
+ # User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
6643
+ # higher than that has no effect. A missing value or setting to 0 also means we
6644
+ # use Dialogflow's default TTL. Note: Interaction logging is a limited access
6645
+ # feature. Talk to your Google representative to check availability for you.
6220
6646
  # Corresponds to the JSON property `retentionWindowDays`
6221
6647
  # @return [Fixnum]
6222
6648
  attr_accessor :retention_window_days
@@ -7334,6 +7760,12 @@ module Google
7334
7760
  # @return [String]
7335
7761
  attr_accessor :name
7336
7762
 
7763
+ # Represents configuration for a [Service Directory](https://cloud.google.com/
7764
+ # service-directory) service.
7765
+ # Corresponds to the JSON property `serviceDirectory`
7766
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig]
7767
+ attr_accessor :service_directory
7768
+
7337
7769
  # Webhook execution timeout. Execution is considered failed if Dialogflow doesn'
7338
7770
  # t receive a response from webhook at the end of the timeout period. Defaults
7339
7771
  # to 5 seconds, maximum allowed timeout is 30 seconds.
@@ -7351,6 +7783,7 @@ module Google
7351
7783
  @display_name = args[:display_name] if args.key?(:display_name)
7352
7784
  @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
7353
7785
  @name = args[:name] if args.key?(:name)
7786
+ @service_directory = args[:service_directory] if args.key?(:service_directory)
7354
7787
  @timeout = args[:timeout] if args.key?(:timeout)
7355
7788
  end
7356
7789
  end
@@ -7393,7 +7826,8 @@ module Google
7393
7826
  end
7394
7827
  end
7395
7828
 
7396
- # The request message for a webhook call.
7829
+ # The request message for a webhook call. The request is sent as a JSON object
7830
+ # and the field names will be presented in camel cases.
7397
7831
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
7398
7832
  include Google::Apis::Core::Hashable
7399
7833
 
@@ -7413,6 +7847,11 @@ module Google
7413
7847
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
7414
7848
  attr_accessor :intent_info
7415
7849
 
7850
+ # The language code specified in the original request.
7851
+ # Corresponds to the JSON property `languageCode`
7852
+ # @return [String]
7853
+ attr_accessor :language_code
7854
+
7416
7855
  # The list of rich message responses to present to the user. Webhook can choose
7417
7856
  # to append or replace this list in WebhookResponse.fulfillment_response;
7418
7857
  # Corresponds to the JSON property `messages`
@@ -7439,6 +7878,30 @@ module Google
7439
7878
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo]
7440
7879
  attr_accessor :session_info
7441
7880
 
7881
+ # If natural language text was provided as input, this field will contain a copy
7882
+ # of the text.
7883
+ # Corresponds to the JSON property `text`
7884
+ # @return [String]
7885
+ attr_accessor :text
7886
+
7887
+ # If natural language speech audio was provided as input, this field will
7888
+ # contain the transcript for the audio.
7889
+ # Corresponds to the JSON property `transcript`
7890
+ # @return [String]
7891
+ attr_accessor :transcript
7892
+
7893
+ # If an event was provided as input, this field will contain the name of the
7894
+ # event.
7895
+ # Corresponds to the JSON property `triggerEvent`
7896
+ # @return [String]
7897
+ attr_accessor :trigger_event
7898
+
7899
+ # If an intent was provided as input, this field will contain a copy of the
7900
+ # intent identifier. Format: `projects//locations//agents//intents/`.
7901
+ # Corresponds to the JSON property `triggerIntent`
7902
+ # @return [String]
7903
+ attr_accessor :trigger_intent
7904
+
7442
7905
  def initialize(**args)
7443
7906
  update!(**args)
7444
7907
  end
@@ -7448,11 +7911,16 @@ module Google
7448
7911
  @detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
7449
7912
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
7450
7913
  @intent_info = args[:intent_info] if args.key?(:intent_info)
7914
+ @language_code = args[:language_code] if args.key?(:language_code)
7451
7915
  @messages = args[:messages] if args.key?(:messages)
7452
7916
  @page_info = args[:page_info] if args.key?(:page_info)
7453
7917
  @payload = args[:payload] if args.key?(:payload)
7454
7918
  @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
7455
7919
  @session_info = args[:session_info] if args.key?(:session_info)
7920
+ @text = args[:text] if args.key?(:text)
7921
+ @transcript = args[:transcript] if args.key?(:transcript)
7922
+ @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
7923
+ @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
7456
7924
  end
7457
7925
  end
7458
7926
 
@@ -7645,6 +8113,35 @@ module Google
7645
8113
  end
7646
8114
  end
7647
8115
 
8116
+ # Represents configuration for a [Service Directory](https://cloud.google.com/
8117
+ # service-directory) service.
8118
+ class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
8119
+ include Google::Apis::Core::Hashable
8120
+
8121
+ # Represents configuration for a generic web service.
8122
+ # Corresponds to the JSON property `genericWebService`
8123
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]
8124
+ attr_accessor :generic_web_service
8125
+
8126
+ # Required. The name of [Service Directory](https://cloud.google.com/service-
8127
+ # directory) service. Format: `projects//locations//namespaces//services/`. `
8128
+ # Location ID` of the service directory must be the same as the location of the
8129
+ # agent.
8130
+ # Corresponds to the JSON property `service`
8131
+ # @return [String]
8132
+ attr_accessor :service
8133
+
8134
+ def initialize(**args)
8135
+ update!(**args)
8136
+ end
8137
+
8138
+ # Update properties of this object
8139
+ def update!(**args)
8140
+ @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
8141
+ @service = args[:service] if args.key?(:service)
8142
+ end
8143
+ end
8144
+
7648
8145
  # Represents a part of a message possibly annotated with an entity. The part can
7649
8146
  # be an entity or purely a part of the message between two entities or message
7650
8147
  # start/end.
@@ -9542,6 +10039,13 @@ module Google
9542
10039
  attr_accessor :all_required_params_present
9543
10040
  alias_method :all_required_params_present?, :all_required_params_present
9544
10041
 
10042
+ # Indicates whether the conversational query triggers a cancellation for slot
10043
+ # filling.
10044
+ # Corresponds to the JSON property `cancelsSlotFilling`
10045
+ # @return [Boolean]
10046
+ attr_accessor :cancels_slot_filling
10047
+ alias_method :cancels_slot_filling?, :cancels_slot_filling
10048
+
9545
10049
  # Free-form diagnostic information for the associated detect intent request. The
9546
10050
  # fields of this data can change without notice, so you should not write code
9547
10051
  # that depends on its structure. The data may contain: - webhook call latency -
@@ -9662,6 +10166,7 @@ module Google
9662
10166
  def update!(**args)
9663
10167
  @action = args[:action] if args.key?(:action)
9664
10168
  @all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
10169
+ @cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
9665
10170
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
9666
10171
  @fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
9667
10172
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
@@ -12489,6 +12994,13 @@ module Google
12489
12994
  attr_accessor :all_required_params_present
12490
12995
  alias_method :all_required_params_present?, :all_required_params_present
12491
12996
 
12997
+ # Indicates whether the conversational query triggers a cancellation for slot
12998
+ # filling.
12999
+ # Corresponds to the JSON property `cancelsSlotFilling`
13000
+ # @return [Boolean]
13001
+ attr_accessor :cancels_slot_filling
13002
+ alias_method :cancels_slot_filling?, :cancels_slot_filling
13003
+
12492
13004
  # Free-form diagnostic information for the associated detect intent request. The
12493
13005
  # fields of this data can change without notice, so you should not write code
12494
13006
  # that depends on its structure. The data may contain: - webhook call latency -
@@ -12614,6 +13126,7 @@ module Google
12614
13126
  def update!(**args)
12615
13127
  @action = args[:action] if args.key?(:action)
12616
13128
  @all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
13129
+ @cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
12617
13130
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
12618
13131
  @fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
12619
13132
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
@@ -13343,8 +13856,8 @@ module Google
13343
13856
 
13344
13857
  # An object that represents a latitude/longitude pair. This is expressed as a
13345
13858
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
13346
- # specified otherwise, this must conform to the WGS84 standard. Values must be
13347
- # within normalized ranges.
13859
+ # specified otherwise, this object must conform to the WGS84 standard. Values
13860
+ # must be within normalized ranges.
13348
13861
  class GoogleTypeLatLng
13349
13862
  include Google::Apis::Core::Hashable
13350
13863