google-apis-dialogflow_v3 0.1.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0906506a7e5342b3816251e14cd54367839737199efd7b08ad5f84d6f37a078e'
4
- data.tar.gz: ba1286d59f5f250b9add223a33956a3728f3bc193a2c3bf9f583dba5fbf86bce
3
+ metadata.gz: 8eecd5e50d63d681712176d34efedb26fc11e056695bdc3c5c0bb601b9ff53b6
4
+ data.tar.gz: 9fcbadc4e0e6f7a9fa7cb76aafdac67f9475f3023265ff3d1967752691f3b36f
5
5
  SHA512:
6
- metadata.gz: d0779df6533d38f52b150e95d9a843aedb80d9c421912875e6cf28c8b1d8ba60cfe69aca717d2969f707a5eda278f6ee0098c9557a2241ab73c8411be66f5db1
7
- data.tar.gz: 5c19455a1f1d4818828e4bda4094d661ae15b1d3a714508d9bb296bd004722306f0b8c6a6bebe574eb75828691979801a77667b1d55de15c7842cb72c3f2dd8b
6
+ metadata.gz: df0aac21fb4d1270dfcdacdce4ef0738a7f3662acc5257df3bf3ff133ef296b8d3118c4e8ad6c0f2c3c963f132fa353bbe57bd64258916cb8fdb3c52d143ea4d
7
+ data.tar.gz: eb9b3c0e5ff5db4c48cd4bba65993994348bf3322bdf954d1fd0c543c53ad0006306e1f159bcc3d64aba004b93e70d1fe4e3cd944a184f771dd7f7fd27a59902
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.6.0 (2021-03-04)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.5.0 (2021-02-24)
8
+
9
+ * Regenerated from discovery document revision 20210222
10
+
11
+ ### v0.4.0 (2021-02-17)
12
+
13
+ * Regenerated from discovery document revision 20210213
14
+
15
+ ### v0.3.0 (2021-02-12)
16
+
17
+ * Regenerated from discovery document revision 20210209
18
+
19
+ ### v0.2.0 (2021-02-03)
20
+
21
+ * Regenerated from discovery document revision 20210130
22
+ * Regenerated using generator version 0.1.2
23
+
3
24
  ### v0.1.0 (2021-01-07)
4
25
 
5
26
  * Regenerated from discovery document revision 20201231
@@ -38,7 +38,7 @@ module Google
38
38
  attr_accessor :avatar_uri
39
39
 
40
40
  # Immutable. The default language of the agent as a language tag. See [Language
41
- # Support](https://cloud.google.com/dialogflow/docs/reference/language) for a
41
+ # Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a
42
42
  # list of the currently supported language codes. This field cannot be set by
43
43
  # the Agents.UpdateAgent method.
44
44
  # Corresponds to the JSON property `defaultLanguageCode`
@@ -75,6 +75,12 @@ module Google
75
75
  # @return [String]
76
76
  attr_accessor :name
77
77
 
78
+ # Name of the SecuritySettings reference for the agent. Format: `projects//
79
+ # locations//securitySettings/`.
80
+ # Corresponds to the JSON property `securitySettings`
81
+ # @return [String]
82
+ attr_accessor :security_settings
83
+
78
84
  # Settings related to speech recognition.
79
85
  # Corresponds to the JSON property `speechToTextSettings`
80
86
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings]
@@ -106,6 +112,7 @@ module Google
106
112
  @enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction)
107
113
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
108
114
  @name = args[:name] if args.key?(:name)
115
+ @security_settings = args[:security_settings] if args.key?(:security_settings)
109
116
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
110
117
  @start_flow = args[:start_flow] if args.key?(:start_flow)
111
118
  @time_zone = args[:time_zone] if args.key?(:time_zone)
@@ -269,8 +276,16 @@ module Google
269
276
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage]
270
277
  attr_accessor :intent_coverage
271
278
 
272
- # Transition coverage represents the percentage of all possible transitions
273
- # present within any of a parent's test cases.
279
+ # Transition route group coverage represents the percentage of all possible
280
+ # transition routes present within any of a parent's test cases. The results are
281
+ # grouped by the transition route group.
282
+ # Corresponds to the JSON property `routeGroupCoverage`
283
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage]
284
+ attr_accessor :route_group_coverage
285
+
286
+ # Transition coverage represents the percentage of all possible page transitions
287
+ # (page-level transition routes and event handlers, excluding transition route
288
+ # groups) present within any of a parent's test cases.
274
289
  # Corresponds to the JSON property `transitionCoverage`
275
290
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage]
276
291
  attr_accessor :transition_coverage
@@ -283,6 +298,7 @@ module Google
283
298
  def update!(**args)
284
299
  @agent = args[:agent] if args.key?(:agent)
285
300
  @intent_coverage = args[:intent_coverage] if args.key?(:intent_coverage)
301
+ @route_group_coverage = args[:route_group_coverage] if args.key?(:route_group_coverage)
286
302
  @transition_coverage = args[:transition_coverage] if args.key?(:transition_coverage)
287
303
  end
288
304
  end
@@ -650,6 +666,14 @@ module Google
650
666
  # @return [String]
651
667
  attr_accessor :name
652
668
 
669
+ # Indicates whether parameters of the entity type should be redacted in log. If
670
+ # redaction is enabled, page parameters and intent parameters referring to the
671
+ # entity type will be replaced by parameter name when logging.
672
+ # Corresponds to the JSON property `redact`
673
+ # @return [Boolean]
674
+ attr_accessor :redact
675
+ alias_method :redact?, :redact
676
+
653
677
  def initialize(**args)
654
678
  update!(**args)
655
679
  end
@@ -663,10 +687,11 @@ module Google
663
687
  @excluded_phrases = args[:excluded_phrases] if args.key?(:excluded_phrases)
664
688
  @kind = args[:kind] if args.key?(:kind)
665
689
  @name = args[:name] if args.key?(:name)
690
+ @redact = args[:redact] if args.key?(:redact)
666
691
  end
667
692
  end
668
693
 
669
- # An **entity entry** for an associated entity type. Next Id = 8
694
+ # An **entity entry** for an associated entity type.
670
695
  class GoogleCloudDialogflowCxV3EntityTypeEntity
671
696
  include Google::Apis::Core::Hashable
672
697
 
@@ -865,7 +890,7 @@ module Google
865
890
  end
866
891
  end
867
892
 
868
- # Represents an experiment in an environment. Next ID: 13
893
+ # Represents an experiment in an environment.
869
894
  class GoogleCloudDialogflowCxV3Experiment
870
895
  include Google::Apis::Core::Hashable
871
896
 
@@ -874,7 +899,7 @@ module Google
874
899
  # @return [String]
875
900
  attr_accessor :create_time
876
901
 
877
- # Definition of the experiment. Next ID: 3
902
+ # Definition of the experiment.
878
903
  # Corresponds to the JSON property `definition`
879
904
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentDefinition]
880
905
  attr_accessor :definition
@@ -955,7 +980,7 @@ module Google
955
980
  end
956
981
  end
957
982
 
958
- # Definition of the experiment. Next ID: 3
983
+ # Definition of the experiment.
959
984
  class GoogleCloudDialogflowCxV3ExperimentDefinition
960
985
  include Google::Apis::Core::Hashable
961
986
 
@@ -1060,12 +1085,24 @@ module Google
1060
1085
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval]
1061
1086
  attr_accessor :confidence_interval
1062
1087
 
1088
+ # Count value of a metric.
1089
+ # Corresponds to the JSON property `count`
1090
+ # @return [Float]
1091
+ attr_accessor :count
1092
+
1093
+ # Count-based metric type. Only one of type or count_type is specified in each
1094
+ # Metric.
1095
+ # Corresponds to the JSON property `countType`
1096
+ # @return [String]
1097
+ attr_accessor :count_type
1098
+
1063
1099
  # Ratio value of a metric.
1064
1100
  # Corresponds to the JSON property `ratio`
1065
1101
  # @return [Float]
1066
1102
  attr_accessor :ratio
1067
1103
 
1068
- # The type of the metric.
1104
+ # Ratio-based metric type. Only one of type or count_type is specified in each
1105
+ # Metric.
1069
1106
  # Corresponds to the JSON property `type`
1070
1107
  # @return [String]
1071
1108
  attr_accessor :type
@@ -1077,6 +1114,8 @@ module Google
1077
1114
  # Update properties of this object
1078
1115
  def update!(**args)
1079
1116
  @confidence_interval = args[:confidence_interval] if args.key?(:confidence_interval)
1117
+ @count = args[:count] if args.key?(:count)
1118
+ @count_type = args[:count_type] if args.key?(:count_type)
1080
1119
  @ratio = args[:ratio] if args.key?(:ratio)
1081
1120
  @type = args[:type] if args.key?(:type)
1082
1121
  end
@@ -1403,9 +1442,10 @@ module Google
1403
1442
  attr_accessor :is_list
1404
1443
  alias_method :is_list?, :is_list
1405
1444
 
1406
- # Indicates whether the parameter content is logged in text and audio. If it is
1407
- # set to true, the parameter content will be replaced to parameter name in both
1408
- # request and response. The default value is false.
1445
+ # Indicates whether the parameter content should be redacted in log. If
1446
+ # redaction is enabled, the parameter content will be replaced by parameter name
1447
+ # during logging. Note: the parameter content is subject to redaction if either
1448
+ # parameter level redaction or entity type level redaction is enabled.
1409
1449
  # Corresponds to the JSON property `redact`
1410
1450
  # @return [Boolean]
1411
1451
  attr_accessor :redact
@@ -2104,9 +2144,10 @@ module Google
2104
2144
  attr_accessor :is_list
2105
2145
  alias_method :is_list?, :is_list
2106
2146
 
2107
- # Indicates whether the parameter content is logged in text and audio. If it is
2108
- # set to true, the parameter content will be replaced to parameter id in both
2109
- # request and response. The default value is false.
2147
+ # Indicates whether the parameter content should be redacted in log. If
2148
+ # redaction is enabled, the parameter content will be replaced by parameter name
2149
+ # during logging. Note: the parameter content is subject to redaction if either
2150
+ # parameter level redaction or entity type level redaction is enabled.
2110
2151
  # Corresponds to the JSON property `redact`
2111
2152
  # @return [Boolean]
2112
2153
  attr_accessor :redact
@@ -2921,9 +2962,12 @@ module Google
2921
2962
  # conversation to another page in the same flow, or another flow. When we are in
2922
2963
  # a certain page, the TransitionRoutes are evalauted in the following order: *
2923
2964
  # TransitionRoutes defined in the page with intent specified. * TransitionRoutes
2924
- # defined in the transition route groups. * TransitionRoutes defined in flow
2925
- # with intent specified. * TransitionRoutes defined in the page with only
2926
- # condition specified.
2965
+ # defined in the transition route groups with intent specified. *
2966
+ # TransitionRoutes defined in flow with intent specified. * TransitionRoutes
2967
+ # defined in the transition route groups with intent specified. *
2968
+ # TransitionRoutes defined in the page with only condition specified. *
2969
+ # TransitionRoutes defined in the transition route groups with only condition
2970
+ # specified.
2927
2971
  # Corresponds to the JSON property `transitionRoutes`
2928
2972
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute>]
2929
2973
  attr_accessor :transition_routes
@@ -3074,7 +3118,7 @@ module Google
3074
3118
  attr_accessor :intent
3075
3119
 
3076
3120
  # Required. The language of the input. See [Language Support](https://cloud.
3077
- # google.com/dialogflow/docs/reference/language) for a list of the currently
3121
+ # google.com/dialogflow/cx/docs/reference/language) for a list of the currently
3078
3122
  # supported language codes. Note that queries in the same session do not
3079
3123
  # necessarily need to specify the same language.
3080
3124
  # Corresponds to the JSON property `languageCode`
@@ -3112,6 +3156,12 @@ module Google
3112
3156
  attr_accessor :analyze_query_text_sentiment
3113
3157
  alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
3114
3158
 
3159
+ # Whether to disable webhook calls for this request.
3160
+ # Corresponds to the JSON property `disableWebhook`
3161
+ # @return [Boolean]
3162
+ attr_accessor :disable_webhook
3163
+ alias_method :disable_webhook?, :disable_webhook
3164
+
3115
3165
  # An object that represents a latitude/longitude pair. This is expressed as a
3116
3166
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
3117
3167
  # specified otherwise, this must conform to the WGS84 standard. Values must be
@@ -3173,6 +3223,7 @@ module Google
3173
3223
  # Update properties of this object
3174
3224
  def update!(**args)
3175
3225
  @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
3226
+ @disable_webhook = args[:disable_webhook] if args.key?(:disable_webhook)
3176
3227
  @geo_location = args[:geo_location] if args.key?(:geo_location)
3177
3228
  @parameters = args[:parameters] if args.key?(:parameters)
3178
3229
  @payload = args[:payload] if args.key?(:payload)
@@ -3228,7 +3279,7 @@ module Google
3228
3279
  attr_accessor :intent_detection_confidence
3229
3280
 
3230
3281
  # The language that was triggered during intent detection. See [Language Support]
3231
- # (https://cloud.google.com/dialogflow/docs/reference/language) for a list of
3282
+ # (https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of
3232
3283
  # the currently supported language codes.
3233
3284
  # Corresponds to the JSON property `languageCode`
3234
3285
  # @return [String]
@@ -3725,12 +3776,6 @@ module Google
3725
3776
  # @return [String]
3726
3777
  attr_accessor :environment
3727
3778
 
3728
- # Required. Format of test case name to run: `projects//locations/ /agents//
3729
- # testCases/`.
3730
- # Corresponds to the JSON property `name`
3731
- # @return [String]
3732
- attr_accessor :name
3733
-
3734
3779
  def initialize(**args)
3735
3780
  update!(**args)
3736
3781
  end
@@ -3738,7 +3783,6 @@ module Google
3738
3783
  # Update properties of this object
3739
3784
  def update!(**args)
3740
3785
  @environment = args[:environment] if args.key?(:environment)
3741
- @name = args[:name] if args.key?(:name)
3742
3786
  end
3743
3787
  end
3744
3788
 
@@ -3913,7 +3957,8 @@ module Google
3913
3957
 
3914
3958
  # Always present for WebhookRequest. Ignored for WebhookResponse. The unique
3915
3959
  # identifier of the session. This field can be used by the webhook to identify a
3916
- # user. Format: `projects//locations//agents//sessions/`.
3960
+ # session. Format: `projects//locations//agents//sessions/` or `projects//
3961
+ # locations//agents//environments//sessions/` if environment is specified.
3917
3962
  # Corresponds to the JSON property `session`
3918
3963
  # @return [String]
3919
3964
  attr_accessor :session
@@ -4140,8 +4185,8 @@ module Google
4140
4185
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurn>]
4141
4186
  attr_accessor :conversation_turns
4142
4187
 
4143
- # Optional. Environment where the test was run. If not set, it indicates the
4144
- # draft environment.
4188
+ # Environment where the test was run. If not set, it indicates the draft
4189
+ # environment.
4145
4190
  # Corresponds to the JSON property `environment`
4146
4191
  # @return [String]
4147
4192
  attr_accessor :environment
@@ -4296,8 +4341,9 @@ module Google
4296
4341
  end
4297
4342
  end
4298
4343
 
4299
- # Transition coverage represents the percentage of all possible transitions
4300
- # present within any of a parent's test cases.
4344
+ # Transition coverage represents the percentage of all possible page transitions
4345
+ # (page-level transition routes and event handlers, excluding transition route
4346
+ # groups) present within any of a parent's test cases.
4301
4347
  class GoogleCloudDialogflowCxV3TransitionCoverage
4302
4348
  include Google::Apis::Core::Hashable
4303
4349
 
@@ -4322,7 +4368,7 @@ module Google
4322
4368
  end
4323
4369
  end
4324
4370
 
4325
- # A transition in the agent's graph.
4371
+ # A transition in a page.
4326
4372
  class GoogleCloudDialogflowCxV3TransitionCoverageTransition
4327
4373
  include Google::Apis::Core::Hashable
4328
4374
 
@@ -4519,9 +4565,7 @@ module Google
4519
4565
  # @return [String]
4520
4566
  attr_accessor :name
4521
4567
 
4522
- # Transition routes associated with the TransitionRouteGroup. Duplicate
4523
- # transition routes (i.e. using the same `intent`) are not allowed. Note that
4524
- # the `name` field is not used in the transition route group scope.
4568
+ # Transition routes associated with the TransitionRouteGroup.
4525
4569
  # Corresponds to the JSON property `transitionRoutes`
4526
4570
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute>]
4527
4571
  attr_accessor :transition_routes
@@ -4538,6 +4582,100 @@ module Google
4538
4582
  end
4539
4583
  end
4540
4584
 
4585
+ # Transition route group coverage represents the percentage of all possible
4586
+ # transition routes present within any of a parent's test cases. The results are
4587
+ # grouped by the transition route group.
4588
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
4589
+ include Google::Apis::Core::Hashable
4590
+
4591
+ # The percent of transition routes in all the transition route groups that are
4592
+ # covered.
4593
+ # Corresponds to the JSON property `coverageScore`
4594
+ # @return [Float]
4595
+ attr_accessor :coverage_score
4596
+
4597
+ # Transition route group coverages.
4598
+ # Corresponds to the JSON property `coverages`
4599
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage>]
4600
+ attr_accessor :coverages
4601
+
4602
+ def initialize(**args)
4603
+ update!(**args)
4604
+ end
4605
+
4606
+ # Update properties of this object
4607
+ def update!(**args)
4608
+ @coverage_score = args[:coverage_score] if args.key?(:coverage_score)
4609
+ @coverages = args[:coverages] if args.key?(:coverages)
4610
+ end
4611
+ end
4612
+
4613
+ # Coverage result message for one transition route group.
4614
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage
4615
+ include Google::Apis::Core::Hashable
4616
+
4617
+ # The percent of transition routes in the transition route group that are
4618
+ # covered.
4619
+ # Corresponds to the JSON property `coverageScore`
4620
+ # @return [Float]
4621
+ attr_accessor :coverage_score
4622
+
4623
+ # An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
4624
+ # a Page.
4625
+ # Corresponds to the JSON property `routeGroup`
4626
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup]
4627
+ attr_accessor :route_group
4628
+
4629
+ # The list of transition routes and coverage in the transition route group.
4630
+ # Corresponds to the JSON property `transitions`
4631
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition>]
4632
+ attr_accessor :transitions
4633
+
4634
+ def initialize(**args)
4635
+ update!(**args)
4636
+ end
4637
+
4638
+ # Update properties of this object
4639
+ def update!(**args)
4640
+ @coverage_score = args[:coverage_score] if args.key?(:coverage_score)
4641
+ @route_group = args[:route_group] if args.key?(:route_group)
4642
+ @transitions = args[:transitions] if args.key?(:transitions)
4643
+ end
4644
+ end
4645
+
4646
+ # A transition coverage in a transition route group.
4647
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition
4648
+ include Google::Apis::Core::Hashable
4649
+
4650
+ # Whether or not the transition route is covered by at least one of the agent's
4651
+ # test cases.
4652
+ # Corresponds to the JSON property `covered`
4653
+ # @return [Boolean]
4654
+ attr_accessor :covered
4655
+ alias_method :covered?, :covered
4656
+
4657
+ # A transition route specifies a intent that can be matched and/or a data
4658
+ # condition that can be evaluated during a session. When a specified transition
4659
+ # is matched, the following actions are taken in order: * If there is a `
4660
+ # trigger_fulfillment` associated with the transition, it will be called. * If
4661
+ # there is a `target_page` associated with the transition, the session will
4662
+ # transition into the specified page. * If there is a `target_flow` associated
4663
+ # with the transition, the session will transition into the specified flow.
4664
+ # Corresponds to the JSON property `transitionRoute`
4665
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute]
4666
+ attr_accessor :transition_route
4667
+
4668
+ def initialize(**args)
4669
+ update!(**args)
4670
+ end
4671
+
4672
+ # Update properties of this object
4673
+ def update!(**args)
4674
+ @covered = args[:covered] if args.key?(:covered)
4675
+ @transition_route = args[:transition_route] if args.key?(:transition_route)
4676
+ end
4677
+ end
4678
+
4541
4679
  # Metadata for UpdateDocument operation.
4542
4680
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
4543
4681
  include Google::Apis::Core::Hashable
@@ -4925,6 +5063,11 @@ module Google
4925
5063
  # @return [Hash<String,Object>]
4926
5064
  attr_accessor :payload
4927
5065
 
5066
+ # Represents the result of sentiment analysis.
5067
+ # Corresponds to the JSON property `sentimentAnalysisResult`
5068
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult]
5069
+ attr_accessor :sentiment_analysis_result
5070
+
4928
5071
  # Represents session information communicated to and from the webhook.
4929
5072
  # Corresponds to the JSON property `sessionInfo`
4930
5073
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo]
@@ -4942,6 +5085,7 @@ module Google
4942
5085
  @messages = args[:messages] if args.key?(:messages)
4943
5086
  @page_info = args[:page_info] if args.key?(:page_info)
4944
5087
  @payload = args[:payload] if args.key?(:payload)
5088
+ @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
4945
5089
  @session_info = args[:session_info] if args.key?(:session_info)
4946
5090
  end
4947
5091
  end
@@ -4969,6 +5113,17 @@ module Google
4969
5113
  class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
4970
5114
  include Google::Apis::Core::Hashable
4971
5115
 
5116
+ # The confidence of the matched intent. Values range from 0.0 (completely
5117
+ # uncertain) to 1.0 (completely certain).
5118
+ # Corresponds to the JSON property `confidence`
5119
+ # @return [Float]
5120
+ attr_accessor :confidence
5121
+
5122
+ # Always present. The display name of the last matched intent.
5123
+ # Corresponds to the JSON property `displayName`
5124
+ # @return [String]
5125
+ attr_accessor :display_name
5126
+
4972
5127
  # Always present. The unique identifier of the last matched intent. Format: `
4973
5128
  # projects//locations//agents//intents/`.
4974
5129
  # Corresponds to the JSON property `lastMatchedIntent`
@@ -4989,6 +5144,8 @@ module Google
4989
5144
 
4990
5145
  # Update properties of this object
4991
5146
  def update!(**args)
5147
+ @confidence = args[:confidence] if args.key?(:confidence)
5148
+ @display_name = args[:display_name] if args.key?(:display_name)
4992
5149
  @last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
4993
5150
  @parameters = args[:parameters] if args.key?(:parameters)
4994
5151
  end
@@ -5020,6 +5177,32 @@ module Google
5020
5177
  end
5021
5178
  end
5022
5179
 
5180
+ # Represents the result of sentiment analysis.
5181
+ class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
5182
+ include Google::Apis::Core::Hashable
5183
+
5184
+ # A non-negative number in the [0, +inf) range, which represents the absolute
5185
+ # magnitude of sentiment, regardless of score (positive or negative).
5186
+ # Corresponds to the JSON property `magnitude`
5187
+ # @return [Float]
5188
+ attr_accessor :magnitude
5189
+
5190
+ # Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
5191
+ # Corresponds to the JSON property `score`
5192
+ # @return [Float]
5193
+ attr_accessor :score
5194
+
5195
+ def initialize(**args)
5196
+ update!(**args)
5197
+ end
5198
+
5199
+ # Update properties of this object
5200
+ def update!(**args)
5201
+ @magnitude = args[:magnitude] if args.key?(:magnitude)
5202
+ @score = args[:score] if args.key?(:score)
5203
+ end
5204
+ end
5205
+
5023
5206
  # The response message for a webhook call.
5024
5207
  class GoogleCloudDialogflowCxV3WebhookResponse
5025
5208
  include Google::Apis::Core::Hashable
@@ -5586,9 +5769,10 @@ module Google
5586
5769
  attr_accessor :is_list
5587
5770
  alias_method :is_list?, :is_list
5588
5771
 
5589
- # Indicates whether the parameter content is logged in text and audio. If it is
5590
- # set to true, the parameter content will be replaced to parameter name in both
5591
- # request and response. The default value is false.
5772
+ # Indicates whether the parameter content should be redacted in log. If
5773
+ # redaction is enabled, the parameter content will be replaced by parameter name
5774
+ # during logging. Note: the parameter content is subject to redaction if either
5775
+ # parameter level redaction or entity type level redaction is enabled.
5592
5776
  # Corresponds to the JSON property `redact`
5593
5777
  # @return [Boolean]
5594
5778
  attr_accessor :redact
@@ -6131,9 +6315,10 @@ module Google
6131
6315
  attr_accessor :is_list
6132
6316
  alias_method :is_list?, :is_list
6133
6317
 
6134
- # Indicates whether the parameter content is logged in text and audio. If it is
6135
- # set to true, the parameter content will be replaced to parameter id in both
6136
- # request and response. The default value is false.
6318
+ # Indicates whether the parameter content should be redacted in log. If
6319
+ # redaction is enabled, the parameter content will be replaced by parameter name
6320
+ # during logging. Note: the parameter content is subject to redaction if either
6321
+ # parameter level redaction or entity type level redaction is enabled.
6137
6322
  # Corresponds to the JSON property `redact`
6138
6323
  # @return [Boolean]
6139
6324
  attr_accessor :redact
@@ -6287,9 +6472,12 @@ module Google
6287
6472
  # conversation to another page in the same flow, or another flow. When we are in
6288
6473
  # a certain page, the TransitionRoutes are evalauted in the following order: *
6289
6474
  # TransitionRoutes defined in the page with intent specified. * TransitionRoutes
6290
- # defined in the transition route groups. * TransitionRoutes defined in flow
6291
- # with intent specified. * TransitionRoutes defined in the page with only
6292
- # condition specified.
6475
+ # defined in the transition route groups with intent specified. *
6476
+ # TransitionRoutes defined in flow with intent specified. * TransitionRoutes
6477
+ # defined in the transition route groups with intent specified. *
6478
+ # TransitionRoutes defined in the page with only condition specified. *
6479
+ # TransitionRoutes defined in the transition route groups with only condition
6480
+ # specified.
6293
6481
  # Corresponds to the JSON property `transitionRoutes`
6294
6482
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TransitionRoute>]
6295
6483
  attr_accessor :transition_routes
@@ -6440,7 +6628,7 @@ module Google
6440
6628
  attr_accessor :intent
6441
6629
 
6442
6630
  # Required. The language of the input. See [Language Support](https://cloud.
6443
- # google.com/dialogflow/docs/reference/language) for a list of the currently
6631
+ # google.com/dialogflow/cx/docs/reference/language) for a list of the currently
6444
6632
  # supported language codes. Note that queries in the same session do not
6445
6633
  # necessarily need to specify the same language.
6446
6634
  # Corresponds to the JSON property `languageCode`
@@ -6839,7 +7027,8 @@ module Google
6839
7027
 
6840
7028
  # Always present for WebhookRequest. Ignored for WebhookResponse. The unique
6841
7029
  # identifier of the session. This field can be used by the webhook to identify a
6842
- # user. Format: `projects//locations//agents//sessions/`.
7030
+ # session. Format: `projects//locations//agents//sessions/` or `projects//
7031
+ # locations//agents//environments//sessions/` if environment is specified.
6843
7032
  # Corresponds to the JSON property `session`
6844
7033
  # @return [String]
6845
7034
  attr_accessor :session
@@ -6963,8 +7152,8 @@ module Google
6963
7152
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn>]
6964
7153
  attr_accessor :conversation_turns
6965
7154
 
6966
- # Optional. Environment where the test was run. If not set, it indicates the
6967
- # draft environment.
7155
+ # Environment where the test was run. If not set, it indicates the draft
7156
+ # environment.
6968
7157
  # Corresponds to the JSON property `environment`
6969
7158
  # @return [String]
6970
7159
  attr_accessor :environment
@@ -7232,6 +7421,11 @@ module Google
7232
7421
  # @return [Hash<String,Object>]
7233
7422
  attr_accessor :payload
7234
7423
 
7424
+ # Represents the result of sentiment analysis.
7425
+ # Corresponds to the JSON property `sentimentAnalysisResult`
7426
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult]
7427
+ attr_accessor :sentiment_analysis_result
7428
+
7235
7429
  # Represents session information communicated to and from the webhook.
7236
7430
  # Corresponds to the JSON property `sessionInfo`
7237
7431
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo]
@@ -7249,6 +7443,7 @@ module Google
7249
7443
  @messages = args[:messages] if args.key?(:messages)
7250
7444
  @page_info = args[:page_info] if args.key?(:page_info)
7251
7445
  @payload = args[:payload] if args.key?(:payload)
7446
+ @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
7252
7447
  @session_info = args[:session_info] if args.key?(:session_info)
7253
7448
  end
7254
7449
  end
@@ -7276,6 +7471,17 @@ module Google
7276
7471
  class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
7277
7472
  include Google::Apis::Core::Hashable
7278
7473
 
7474
+ # The confidence of the matched intent. Values range from 0.0 (completely
7475
+ # uncertain) to 1.0 (completely certain).
7476
+ # Corresponds to the JSON property `confidence`
7477
+ # @return [Float]
7478
+ attr_accessor :confidence
7479
+
7480
+ # Always present. The display name of the last matched intent.
7481
+ # Corresponds to the JSON property `displayName`
7482
+ # @return [String]
7483
+ attr_accessor :display_name
7484
+
7279
7485
  # Always present. The unique identifier of the last matched intent. Format: `
7280
7486
  # projects//locations//agents//intents/`.
7281
7487
  # Corresponds to the JSON property `lastMatchedIntent`
@@ -7296,6 +7502,8 @@ module Google
7296
7502
 
7297
7503
  # Update properties of this object
7298
7504
  def update!(**args)
7505
+ @confidence = args[:confidence] if args.key?(:confidence)
7506
+ @display_name = args[:display_name] if args.key?(:display_name)
7299
7507
  @last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
7300
7508
  @parameters = args[:parameters] if args.key?(:parameters)
7301
7509
  end
@@ -7327,6 +7535,32 @@ module Google
7327
7535
  end
7328
7536
  end
7329
7537
 
7538
+ # Represents the result of sentiment analysis.
7539
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
7540
+ include Google::Apis::Core::Hashable
7541
+
7542
+ # A non-negative number in the [0, +inf) range, which represents the absolute
7543
+ # magnitude of sentiment, regardless of score (positive or negative).
7544
+ # Corresponds to the JSON property `magnitude`
7545
+ # @return [Float]
7546
+ attr_accessor :magnitude
7547
+
7548
+ # Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
7549
+ # Corresponds to the JSON property `score`
7550
+ # @return [Float]
7551
+ attr_accessor :score
7552
+
7553
+ def initialize(**args)
7554
+ update!(**args)
7555
+ end
7556
+
7557
+ # Update properties of this object
7558
+ def update!(**args)
7559
+ @magnitude = args[:magnitude] if args.key?(:magnitude)
7560
+ @score = args[:score] if args.key?(:score)
7561
+ end
7562
+ end
7563
+
7330
7564
  # The response message for a webhook call.
7331
7565
  class GoogleCloudDialogflowCxV3beta1WebhookResponse
7332
7566
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201231"
25
+ REVISION = "20210222"
26
26
  end
27
27
  end
28
28
  end
@@ -772,6 +772,24 @@ module Google
772
772
  include Google::Apis::Core::JsonObjectSupport
773
773
  end
774
774
 
775
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
775
793
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
776
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
795
 
@@ -862,6 +880,12 @@ module Google
862
880
  include Google::Apis::Core::JsonObjectSupport
863
881
  end
864
882
 
883
+ class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
865
889
  class GoogleCloudDialogflowCxV3WebhookResponse
866
890
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
891
 
@@ -1264,6 +1288,12 @@ module Google
1264
1288
  include Google::Apis::Core::JsonObjectSupport
1265
1289
  end
1266
1290
 
1291
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
1292
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1293
+
1294
+ include Google::Apis::Core::JsonObjectSupport
1295
+ end
1296
+
1267
1297
  class GoogleCloudDialogflowCxV3beta1WebhookResponse
1268
1298
  class Representation < Google::Apis::Core::JsonRepresentation; end
1269
1299
 
@@ -2048,6 +2078,7 @@ module Google
2048
2078
  property :enable_spell_correction, as: 'enableSpellCorrection'
2049
2079
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
2050
2080
  property :name, as: 'name'
2081
+ property :security_settings, as: 'securitySettings'
2051
2082
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings::Representation
2052
2083
 
2053
2084
  property :start_flow, as: 'startFlow'
@@ -2110,6 +2141,8 @@ module Google
2110
2141
  property :agent, as: 'agent'
2111
2142
  property :intent_coverage, as: 'intentCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage::Representation
2112
2143
 
2144
+ property :route_group_coverage, as: 'routeGroupCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage::Representation
2145
+
2113
2146
  property :transition_coverage, as: 'transitionCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage::Representation
2114
2147
 
2115
2148
  end
@@ -2220,6 +2253,7 @@ module Google
2220
2253
 
2221
2254
  property :kind, as: 'kind'
2222
2255
  property :name, as: 'name'
2256
+ property :redact, as: 'redact'
2223
2257
  end
2224
2258
  end
2225
2259
 
@@ -2330,6 +2364,8 @@ module Google
2330
2364
  class Representation < Google::Apis::Core::JsonRepresentation
2331
2365
  property :confidence_interval, as: 'confidenceInterval', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval::Representation
2332
2366
 
2367
+ property :count, as: 'count'
2368
+ property :count_type, as: 'countType'
2333
2369
  property :ratio, as: 'ratio'
2334
2370
  property :type, as: 'type'
2335
2371
  end
@@ -2904,6 +2940,7 @@ module Google
2904
2940
  # @private
2905
2941
  class Representation < Google::Apis::Core::JsonRepresentation
2906
2942
  property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
2943
+ property :disable_webhook, as: 'disableWebhook'
2907
2944
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3::GoogleTypeLatLng::Representation
2908
2945
 
2909
2946
  hash :parameters, as: 'parameters'
@@ -3059,7 +3096,6 @@ module Google
3059
3096
  # @private
3060
3097
  class Representation < Google::Apis::Core::JsonRepresentation
3061
3098
  property :environment, as: 'environment'
3062
- property :name, as: 'name'
3063
3099
  end
3064
3100
  end
3065
3101
 
@@ -3277,6 +3313,35 @@ module Google
3277
3313
  end
3278
3314
  end
3279
3315
 
3316
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
3317
+ # @private
3318
+ class Representation < Google::Apis::Core::JsonRepresentation
3319
+ property :coverage_score, as: 'coverageScore'
3320
+ collection :coverages, as: 'coverages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage::Representation
3321
+
3322
+ end
3323
+ end
3324
+
3325
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage
3326
+ # @private
3327
+ class Representation < Google::Apis::Core::JsonRepresentation
3328
+ property :coverage_score, as: 'coverageScore'
3329
+ property :route_group, as: 'routeGroup', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup::Representation
3330
+
3331
+ collection :transitions, as: 'transitions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition::Representation
3332
+
3333
+ end
3334
+ end
3335
+
3336
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition
3337
+ # @private
3338
+ class Representation < Google::Apis::Core::JsonRepresentation
3339
+ property :covered, as: 'covered'
3340
+ property :transition_route, as: 'transitionRoute', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute::Representation
3341
+
3342
+ end
3343
+ end
3344
+
3280
3345
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
3281
3346
  # @private
3282
3347
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3393,6 +3458,8 @@ module Google
3393
3458
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo::Representation
3394
3459
 
3395
3460
  hash :payload, as: 'payload'
3461
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult::Representation
3462
+
3396
3463
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo::Representation
3397
3464
 
3398
3465
  end
@@ -3408,6 +3475,8 @@ module Google
3408
3475
  class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
3409
3476
  # @private
3410
3477
  class Representation < Google::Apis::Core::JsonRepresentation
3478
+ property :confidence, as: 'confidence'
3479
+ property :display_name, as: 'displayName'
3411
3480
  property :last_matched_intent, as: 'lastMatchedIntent'
3412
3481
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation
3413
3482
 
@@ -3422,6 +3491,14 @@ module Google
3422
3491
  end
3423
3492
  end
3424
3493
 
3494
+ class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
3495
+ # @private
3496
+ class Representation < Google::Apis::Core::JsonRepresentation
3497
+ property :magnitude, as: 'magnitude'
3498
+ property :score, as: 'score'
3499
+ end
3500
+ end
3501
+
3425
3502
  class GoogleCloudDialogflowCxV3WebhookResponse
3426
3503
  # @private
3427
3504
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4045,6 +4122,8 @@ module Google
4045
4122
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
4046
4123
 
4047
4124
  hash :payload, as: 'payload'
4125
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult::Representation
4126
+
4048
4127
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
4049
4128
 
4050
4129
  end
@@ -4060,6 +4139,8 @@ module Google
4060
4139
  class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
4061
4140
  # @private
4062
4141
  class Representation < Google::Apis::Core::JsonRepresentation
4142
+ property :confidence, as: 'confidence'
4143
+ property :display_name, as: 'displayName'
4063
4144
  property :last_matched_intent, as: 'lastMatchedIntent'
4064
4145
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue::Representation
4065
4146
 
@@ -4074,6 +4155,14 @@ module Google
4074
4155
  end
4075
4156
  end
4076
4157
 
4158
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
4159
+ # @private
4160
+ class Representation < Google::Apis::Core::JsonRepresentation
4161
+ property :magnitude, as: 'magnitude'
4162
+ property :score, as: 'score'
4163
+ end
4164
+ end
4165
+
4077
4166
  class GoogleCloudDialogflowCxV3beta1WebhookResponse
4078
4167
  # @private
4079
4168
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -369,7 +369,7 @@ module Google
369
369
  # The language of the following fields in `entity_type`: * `EntityType.entities.
370
370
  # value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value`
371
371
  # If not specified, the agent's default language is used. [Many languages](https:
372
- # //cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
372
+ # //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
373
373
  # languages must be enabled in the agent before they can be used.
374
374
  # @param [String] fields
375
375
  # Selector specifying which fields to include in a partial response.
@@ -449,8 +449,8 @@ module Google
449
449
  # language dependent: * `EntityType.entities.value` * `EntityType.entities.
450
450
  # synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's
451
451
  # default language is used. [Many languages](https://cloud.google.com/dialogflow/
452
- # docs/reference/language) are supported. Note: languages must be enabled in the
453
- # agent before they can be used.
452
+ # cx/docs/reference/language) are supported. Note: languages must be enabled in
453
+ # the agent before they can be used.
454
454
  # @param [String] fields
455
455
  # Selector specifying which fields to include in a partial response.
456
456
  # @param [String] quota_user
@@ -487,7 +487,7 @@ module Google
487
487
  # The language to list entity types for. The following fields are language
488
488
  # dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `
489
489
  # EntityType.excluded_phrases.value` If not specified, the agent's default
490
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
490
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
491
491
  # reference/language) are supported. Note: languages must be enabled in the
492
492
  # agent before they can be used.
493
493
  # @param [Fixnum] page_size
@@ -534,7 +534,7 @@ module Google
534
534
  # The language of the following fields in `entity_type`: * `EntityType.entities.
535
535
  # value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value`
536
536
  # If not specified, the agent's default language is used. [Many languages](https:
537
- # //cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
537
+ # //cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
538
538
  # languages must be enabled in the agent before they can be used.
539
539
  # @param [String] update_mask
540
540
  # The mask to control which fields get updated.
@@ -1338,7 +1338,7 @@ module Google
1338
1338
  # The language of the following fields in `flow`: * `Flow.event_handlers.
1339
1339
  # trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
1340
1340
  # messages` If not specified, the agent's default language is used. [Many
1341
- # languages](https://cloud.google.com/dialogflow/docs/reference/language) are
1341
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
1342
1342
  # supported. Note: languages must be enabled in the agent before they can be
1343
1343
  # used.
1344
1344
  # @param [String] fields
@@ -1419,8 +1419,8 @@ module Google
1419
1419
  # dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.
1420
1420
  # transition_routes.trigger_fulfillment.messages` If not specified, the agent's
1421
1421
  # default language is used. [Many languages](https://cloud.google.com/dialogflow/
1422
- # docs/reference/language) are supported. Note: languages must be enabled in the
1423
- # agent before they can be used.
1422
+ # cx/docs/reference/language) are supported. Note: languages must be enabled in
1423
+ # the agent before they can be used.
1424
1424
  # @param [String] fields
1425
1425
  # Selector specifying which fields to include in a partial response.
1426
1426
  # @param [String] quota_user
@@ -1492,9 +1492,9 @@ module Google
1492
1492
  # The language to list flows for. The following fields are language dependent: *
1493
1493
  # `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.
1494
1494
  # trigger_fulfillment.messages` If not specified, the agent's default language
1495
- # is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/
1496
- # language) are supported. Note: languages must be enabled in the agent before
1497
- # they can be used.
1495
+ # is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1496
+ # reference/language) are supported. Note: languages must be enabled in the
1497
+ # agent before they can be used.
1498
1498
  # @param [Fixnum] page_size
1499
1499
  # The maximum number of items to return in a single page. By default 100 and at
1500
1500
  # most 1000.
@@ -1539,7 +1539,7 @@ module Google
1539
1539
  # The language of the following fields in `flow`: * `Flow.event_handlers.
1540
1540
  # trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
1541
1541
  # messages` If not specified, the agent's default language is used. [Many
1542
- # languages](https://cloud.google.com/dialogflow/docs/reference/language) are
1542
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
1543
1543
  # supported. Note: languages must be enabled in the agent before they can be
1544
1544
  # used.
1545
1545
  # @param [String] update_mask
@@ -1657,7 +1657,7 @@ module Google
1657
1657
  # messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.
1658
1658
  # transition_route_groups.transition_routes.trigger_fulfillment.messages` If not
1659
1659
  # specified, the agent's default language is used. [Many languages](https://
1660
- # cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
1660
+ # cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
1661
1661
  # languages must be enabled in the agent before they can be used.
1662
1662
  # @param [String] fields
1663
1663
  # Selector specifying which fields to include in a partial response.
@@ -1740,8 +1740,8 @@ module Google
1740
1740
  # trigger_fulfillment.messages` * `Page.transition_route_groups.
1741
1741
  # transition_routes.trigger_fulfillment.messages` If not specified, the agent's
1742
1742
  # default language is used. [Many languages](https://cloud.google.com/dialogflow/
1743
- # docs/reference/language) are supported. Note: languages must be enabled in the
1744
- # agent before they can be used.
1743
+ # cx/docs/reference/language) are supported. Note: languages must be enabled in
1744
+ # the agent before they can be used.
1745
1745
  # @param [String] fields
1746
1746
  # Selector specifying which fields to include in a partial response.
1747
1747
  # @param [String] quota_user
@@ -1782,8 +1782,8 @@ module Google
1782
1782
  # trigger_fulfillment.messages` * `Page.transition_route_groups.
1783
1783
  # transition_routes.trigger_fulfillment.messages` If not specified, the agent's
1784
1784
  # default language is used. [Many languages](https://cloud.google.com/dialogflow/
1785
- # docs/reference/language) are supported. Note: languages must be enabled in the
1786
- # agent before they can be used.
1785
+ # cx/docs/reference/language) are supported. Note: languages must be enabled in
1786
+ # the agent before they can be used.
1787
1787
  # @param [Fixnum] page_size
1788
1788
  # The maximum number of items to return in a single page. By default 100 and at
1789
1789
  # most 1000.
@@ -1832,7 +1832,7 @@ module Google
1832
1832
  # messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.
1833
1833
  # transition_route_groups.transition_routes.trigger_fulfillment.messages` If not
1834
1834
  # specified, the agent's default language is used. [Many languages](https://
1835
- # cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
1835
+ # cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note:
1836
1836
  # languages must be enabled in the agent before they can be used.
1837
1837
  # @param [String] update_mask
1838
1838
  # The mask to control which fields get updated. If the mask is not present, all
@@ -1876,7 +1876,7 @@ module Google
1876
1876
  # @param [String] language_code
1877
1877
  # The language to list transition route groups for. The field `messages` in
1878
1878
  # TransitionRoute is language dependent. If not specified, the agent's default
1879
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
1879
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1880
1880
  # reference/language) are supported. Note: languages must be enabled in the
1881
1881
  # agent before they can be used.
1882
1882
  # @param [String] fields
@@ -1954,7 +1954,7 @@ module Google
1954
1954
  # @param [String] language_code
1955
1955
  # The language to list transition route groups for. The field `messages` in
1956
1956
  # TransitionRoute is language dependent. If not specified, the agent's default
1957
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
1957
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1958
1958
  # reference/language) are supported. Note: languages must be enabled in the
1959
1959
  # agent before they can be used.
1960
1960
  # @param [String] fields
@@ -1992,7 +1992,7 @@ module Google
1992
1992
  # @param [String] language_code
1993
1993
  # The language to list transition route groups for. The field `messages` in
1994
1994
  # TransitionRoute is language dependent. If not specified, the agent's default
1995
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
1995
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
1996
1996
  # reference/language) are supported. Note: languages must be enabled in the
1997
1997
  # agent before they can be used.
1998
1998
  # @param [Fixnum] page_size
@@ -2039,7 +2039,7 @@ module Google
2039
2039
  # @param [String] language_code
2040
2040
  # The language to list transition route groups for. The field `messages` in
2041
2041
  # TransitionRoute is language dependent. If not specified, the agent's default
2042
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
2042
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
2043
2043
  # reference/language) are supported. Note: languages must be enabled in the
2044
2044
  # agent before they can be used.
2045
2045
  # @param [String] update_mask
@@ -2289,7 +2289,7 @@ module Google
2289
2289
  # @param [String] language_code
2290
2290
  # The language of the following fields in `intent`: * `Intent.training_phrases.
2291
2291
  # parts.text` If not specified, the agent's default language is used. [Many
2292
- # languages](https://cloud.google.com/dialogflow/docs/reference/language) are
2292
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
2293
2293
  # supported. Note: languages must be enabled in the agent before they can be
2294
2294
  # used.
2295
2295
  # @param [String] fields
@@ -2361,7 +2361,7 @@ module Google
2361
2361
  # The language to retrieve the intent for. The following fields are language
2362
2362
  # dependent: * `Intent.training_phrases.parts.text` If not specified, the agent'
2363
2363
  # s default language is used. [Many languages](https://cloud.google.com/
2364
- # dialogflow/docs/reference/language) are supported. Note: languages must be
2364
+ # dialogflow/cx/docs/reference/language) are supported. Note: languages must be
2365
2365
  # enabled in the agent before they can be used.
2366
2366
  # @param [String] fields
2367
2367
  # Selector specifying which fields to include in a partial response.
@@ -2400,7 +2400,7 @@ module Google
2400
2400
  # @param [String] language_code
2401
2401
  # The language to list intents for. The following fields are language dependent:
2402
2402
  # * `Intent.training_phrases.parts.text` If not specified, the agent's default
2403
- # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
2403
+ # language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/
2404
2404
  # reference/language) are supported. Note: languages must be enabled in the
2405
2405
  # agent before they can be used.
2406
2406
  # @param [Fixnum] page_size
@@ -2448,7 +2448,7 @@ module Google
2448
2448
  # @param [String] language_code
2449
2449
  # The language of the following fields in `intent`: * `Intent.training_phrases.
2450
2450
  # parts.text` If not specified, the agent's default language is used. [Many
2451
- # languages](https://cloud.google.com/dialogflow/docs/reference/language) are
2451
+ # languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are
2452
2452
  # supported. Note: languages must be enabled in the agent before they can be
2453
2453
  # used.
2454
2454
  # @param [String] update_mask
@@ -3081,9 +3081,8 @@ module Google
3081
3081
  # testCases/`.
3082
3082
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] google_cloud_dialogflow_cx_v3_test_case_object
3083
3083
  # @param [String] update_mask
3084
- # Required. The mask to specify which fields should be updated. Only a test case'
3085
- # s metadata and replayed_conversation_turns may be updated. The original
3086
- # test_case_conversation_turns may not be updated.
3084
+ # Required. The mask to specify which fields should be updated. The `
3085
+ # creationTime` and `lastTestResult` cannot be updated.
3087
3086
  # @param [String] fields
3088
3087
  # Selector specifying which fields to include in a partial response.
3089
3088
  # @param [String] quota_user
@@ -3115,9 +3114,9 @@ module Google
3115
3114
  end
3116
3115
 
3117
3116
  # Kicks off a test case run.
3118
- # @param [String] projects_id
3119
- # @param [String] locations_id
3120
- # @param [String] agents_id
3117
+ # @param [String] name
3118
+ # Required. Format of test case name to run: `projects//locations/ /agents//
3119
+ # testCases/`.
3121
3120
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest] google_cloud_dialogflow_cx_v3_run_test_case_request_object
3122
3121
  # @param [String] fields
3123
3122
  # Selector specifying which fields to include in a partial response.
@@ -3136,15 +3135,13 @@ module Google
3136
3135
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3137
3136
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3138
3137
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3139
- def run_project_location_agent_test_case(projects_id, locations_id, agents_id, google_cloud_dialogflow_cx_v3_run_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3140
- command = make_simple_command(:post, 'v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run', options)
3138
+ def run_project_location_agent_test_case(name, google_cloud_dialogflow_cx_v3_run_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3139
+ command = make_simple_command(:post, 'v3/{+name}:run', options)
3141
3140
  command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest::Representation
3142
3141
  command.request_object = google_cloud_dialogflow_cx_v3_run_test_case_request_object
3143
3142
  command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
3144
3143
  command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
3145
- command.params['projectsId'] = projects_id unless projects_id.nil?
3146
- command.params['locationsId'] = locations_id unless locations_id.nil?
3147
- command.params['agentsId'] = agents_id unless agents_id.nil?
3144
+ command.params['name'] = name unless name.nil?
3148
3145
  command.query['fields'] = fields unless fields.nil?
3149
3146
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3150
3147
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Dialogflow API V3