google-apis-dialogflow_v3 0.13.0 → 0.18.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: a9bff6b1524079b9c96bb948709032555070d4f97f15fa34459948e5203401f1
4
- data.tar.gz: ea42736729f3301c76998f8ec9f688f1e109f98448c60f8ccf862d6f1c0a62e9
3
+ metadata.gz: 1a3704f48a0dbb0af0f10b1efa8021d4271435cc49edd54e2f7b6c497e2dbf0a
4
+ data.tar.gz: 5486a7c0efd09b4ff213635a21b15d7e4d9dec7c46b17fa74f43d0a6b557b63f
5
5
  SHA512:
6
- metadata.gz: 4bb9cb87eeec86add25e988019b64fe48c30c4ab9d2391ee7e8d56c5164201f96d448165425d35b1ef1d7aad7e54b0a4f0021a88855af8904dae3ba86cd4d33d
7
- data.tar.gz: 158d149e18dc5e013db591934f4300ae313bb2d3e3dce9b462a6171b6776634040d1cdb9ace6ee24501b84cfa9b34b2dea1637457251285b1eeeafa5cc449d90
6
+ metadata.gz: 74225d26c0e5ddee71cbf3a2ba87b223448ea7d5d248b446ca86c3b25b41427a52ac0d2b7280ab76504cbb7d4b72979610dd1a07e5a82b1a43e1c2dcba0065a4
7
+ data.tar.gz: 402a763abd63cdb2b448c00b9dbdb68686e7ab9e7673bc80f60fe9c0aeef9cfec641b484325e56bd09fce6af7e74c19f63015936dd2b5d3935aeccb4d56ab3fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.18.0 (2021-07-09)
4
+
5
+ * Regenerated from discovery document revision 20210706
6
+
7
+ ### v0.17.0 (2021-06-29)
8
+
9
+ * Regenerated using generator version 0.4.0
10
+
11
+ ### v0.16.0 (2021-06-24)
12
+
13
+ * Regenerated from discovery document revision 20210618
14
+
15
+ ### v0.15.0 (2021-06-16)
16
+
17
+ * Regenerated from discovery document revision 20210611
18
+
19
+ ### v0.14.0 (2021-06-03)
20
+
21
+ * Regenerated from discovery document revision 20210601
22
+ * Regenerated using generator version 0.3.0
23
+
3
24
  ### v0.13.0 (2021-05-26)
4
25
 
5
26
  * Regenerated from discovery document revision 20210524
@@ -37,10 +37,10 @@ module Google
37
37
  # @return [String]
38
38
  attr_accessor :avatar_uri
39
39
 
40
- # Immutable. The default language of the agent as a language tag. See [Language
41
- # Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a
42
- # list of the currently supported language codes. This field cannot be set by
43
- # the Agents.UpdateAgent method.
40
+ # Required. Immutable. The default language of the agent as a language tag. See [
41
+ # Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/
42
+ # language) for a list of the currently supported language codes. This field
43
+ # cannot be set by the Agents.UpdateAgent method.
44
44
  # Corresponds to the JSON property `defaultLanguageCode`
45
45
  # @return [String]
46
46
  attr_accessor :default_language_code
@@ -379,6 +379,12 @@ module Google
379
379
  class GoogleCloudDialogflowCxV3ConversationTurnUserInput
380
380
  include Google::Apis::Core::Hashable
381
381
 
382
+ # Whether sentiment analysis is enabled.
383
+ # Corresponds to the JSON property `enableSentimentAnalysis`
384
+ # @return [Boolean]
385
+ attr_accessor :enable_sentiment_analysis
386
+ alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
387
+
382
388
  # Parameters that need to be injected into the conversation during intent
383
389
  # detection.
384
390
  # Corresponds to the JSON property `injectedParameters`
@@ -406,6 +412,7 @@ module Google
406
412
 
407
413
  # Update properties of this object
408
414
  def update!(**args)
415
+ @enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
409
416
  @injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
410
417
  @input = args[:input] if args.key?(:input)
411
418
  @is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
@@ -583,6 +590,14 @@ module Google
583
590
  class GoogleCloudDialogflowCxV3DetectIntentResponse
584
591
  include Google::Apis::Core::Hashable
585
592
 
593
+ # Indicates whether the partial response can be cancelled when a later response
594
+ # arrives. e.g. if the agent specified some music as partial response, it can be
595
+ # cancelled.
596
+ # Corresponds to the JSON property `allowCancellation`
597
+ # @return [Boolean]
598
+ attr_accessor :allow_cancellation
599
+ alias_method :allow_cancellation?, :allow_cancellation
600
+
586
601
  # The audio data bytes encoded as specified in the request. Note: The output
587
602
  # audio is generated based on the values of default platform text responses
588
603
  # found in the `query_result.response_messages` field. If multiple default text
@@ -612,16 +627,23 @@ module Google
612
627
  # @return [String]
613
628
  attr_accessor :response_id
614
629
 
630
+ # Response type.
631
+ # Corresponds to the JSON property `responseType`
632
+ # @return [String]
633
+ attr_accessor :response_type
634
+
615
635
  def initialize(**args)
616
636
  update!(**args)
617
637
  end
618
638
 
619
639
  # Update properties of this object
620
640
  def update!(**args)
641
+ @allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
621
642
  @output_audio = args[:output_audio] if args.key?(:output_audio)
622
643
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
623
644
  @query_result = args[:query_result] if args.key?(:query_result)
624
645
  @response_id = args[:response_id] if args.key?(:response_id)
646
+ @response_type = args[:response_type] if args.key?(:response_type)
625
647
  end
626
648
  end
627
649
 
@@ -966,9 +988,11 @@ module Google
966
988
  # @return [String]
967
989
  attr_accessor :end_time
968
990
 
969
- # Maximum number of days to run the experiment/rollout. If auto-rollout is not
970
- # enabled, default value and maximum will be 30 days. If auto-rollout is enabled,
971
- # default value and maximum will be 6 days.
991
+ # LINT.IfChange(default_experiment_length) Maximum number of days to run the
992
+ # experiment/rollout. If auto-rollout is not enabled, default value and maximum
993
+ # will be 30 days. If auto-rollout is enabled, default value and maximum will be
994
+ # 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/
995
+ # compute.cc:default_experiment_length)
972
996
  # Corresponds to the JSON property `experimentLength`
973
997
  # @return [String]
974
998
  attr_accessor :experiment_length
@@ -995,9 +1019,9 @@ module Google
995
1019
  # @return [String]
996
1020
  attr_accessor :start_time
997
1021
 
998
- # The current state of the experiment. Transition triggered by Expriments.
999
- # StartExperiment: PENDING->RUNNING. Transition triggered by Expriments.
1000
- # CancelExperiment: PENDING->CANCELLED or RUNNING->CANCELLED.
1022
+ # The current state of the experiment. Transition triggered by Experiments.
1023
+ # StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments.
1024
+ # CancelExperiment: DRAFT->DONE or RUNNING->DONE.
1001
1025
  # Corresponds to the JSON property `state`
1002
1026
  # @return [String]
1003
1027
  attr_accessor :state
@@ -1742,6 +1766,18 @@ module Google
1742
1766
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage>]
1743
1767
  attr_accessor :messages
1744
1768
 
1769
+ # Whether Dialogflow should return currently queued fulfillment response
1770
+ # messages in streaming APIs. If a webhook is specified, it happens before
1771
+ # Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
1772
+ # Responses are still queued and returned once in non-streaming API. 2) The flag
1773
+ # can be enabled in any fulfillment but only the first 3 partial responses will
1774
+ # be returned. You may only want to apply it to fulfillments that have slow
1775
+ # webhooks.
1776
+ # Corresponds to the JSON property `returnPartialResponses`
1777
+ # @return [Boolean]
1778
+ attr_accessor :return_partial_responses
1779
+ alias_method :return_partial_responses?, :return_partial_responses
1780
+
1745
1781
  # Set parameter values before executing the webhook.
1746
1782
  # Corresponds to the JSON property `setParameterActions`
1747
1783
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>]
@@ -1766,6 +1802,7 @@ module Google
1766
1802
  def update!(**args)
1767
1803
  @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
1768
1804
  @messages = args[:messages] if args.key?(:messages)
1805
+ @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
1769
1806
  @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
1770
1807
  @tag = args[:tag] if args.key?(:tag)
1771
1808
  @webhook = args[:webhook] if args.key?(:webhook)
@@ -2168,9 +2205,9 @@ module Google
2168
2205
  # letters, digits and the symbols '-' and '_'. International characters are
2169
2206
  # allowed, including letters from unicase alphabets. Keys must start with a
2170
2207
  # letter. Keys and values can be no longer than 63 characters and no more than
2171
- # 128 bytes. Prefix "sys." is reserved for Dialogflow defined labels. Currently
2172
- # allowed Dialogflow defined labels include: * sys.head * sys.contextual The
2173
- # above labels do not require value. "sys.head" means the intent is a head
2208
+ # 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
2209
+ # allowed Dialogflow defined labels include: * sys-head * sys-contextual The
2210
+ # above labels do not require value. "sys-head" means the intent is a head
2174
2211
  # intent. "sys.contextual" means the intent is a contextual intent.
2175
2212
  # Corresponds to the JSON property `labels`
2176
2213
  # @return [Hash<String,String>]
@@ -3356,11 +3393,11 @@ module Google
3356
3393
  alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
3357
3394
 
3358
3395
  # The unique identifier of the page to override the current page in the session.
3359
- # Format: `projects//locations//agents//pages/`. If `current_page` is specified,
3360
- # the previous state of the session will be ignored by Dialogflow, including the
3361
- # previous page and the previous session parameters. In most cases, current_page
3362
- # and parameters should be configured together to direct a session to a specific
3363
- # state.
3396
+ # Format: `projects//locations//agents//flows//pages/`. If `current_page` is
3397
+ # specified, the previous state of the session will be ignored by Dialogflow,
3398
+ # including the previous page and the previous session parameters. In most cases,
3399
+ # current_page and parameters should be configured together to direct a session
3400
+ # to a specific state.
3364
3401
  # Corresponds to the JSON property `currentPage`
3365
3402
  # @return [String]
3366
3403
  attr_accessor :current_page
@@ -4089,10 +4126,11 @@ module Google
4089
4126
  # @return [String]
4090
4127
  attr_accessor :display_name
4091
4128
 
4092
- # DLP inspect template name. Use this template to define inspect base settings.
4093
- # If empty, we use the default DLP inspect config. The template name will have
4094
- # one of the following formats: `projects/PROJECT_ID/inspectTemplates/
4095
- # TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`
4129
+ # [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
4130
+ # template to define inspect base settings. If empty, we use the default DLP
4131
+ # inspect config. The template name will have one of the following formats: `
4132
+ # projects//inspectTemplates/` OR `projects//locations//inspectTemplates/` OR `
4133
+ # organizations//inspectTemplates/`
4096
4134
  # Corresponds to the JSON property `inspectTemplate`
4097
4135
  # @return [String]
4098
4136
  attr_accessor :inspect_template
@@ -5763,6 +5801,12 @@ module Google
5763
5801
  class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
5764
5802
  include Google::Apis::Core::Hashable
5765
5803
 
5804
+ # Whether sentiment analysis is enabled.
5805
+ # Corresponds to the JSON property `enableSentimentAnalysis`
5806
+ # @return [Boolean]
5807
+ attr_accessor :enable_sentiment_analysis
5808
+ alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
5809
+
5766
5810
  # Parameters that need to be injected into the conversation during intent
5767
5811
  # detection.
5768
5812
  # Corresponds to the JSON property `injectedParameters`
@@ -5790,6 +5834,7 @@ module Google
5790
5834
 
5791
5835
  # Update properties of this object
5792
5836
  def update!(**args)
5837
+ @enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
5793
5838
  @injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
5794
5839
  @input = args[:input] if args.key?(:input)
5795
5840
  @is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
@@ -6283,6 +6328,18 @@ module Google
6283
6328
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
6284
6329
  attr_accessor :messages
6285
6330
 
6331
+ # Whether Dialogflow should return currently queued fulfillment response
6332
+ # messages in streaming APIs. If a webhook is specified, it happens before
6333
+ # Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
6334
+ # Responses are still queued and returned once in non-streaming API. 2) The flag
6335
+ # can be enabled in any fulfillment but only the first 3 partial responses will
6336
+ # be returned. You may only want to apply it to fulfillments that have slow
6337
+ # webhooks.
6338
+ # Corresponds to the JSON property `returnPartialResponses`
6339
+ # @return [Boolean]
6340
+ attr_accessor :return_partial_responses
6341
+ alias_method :return_partial_responses?, :return_partial_responses
6342
+
6286
6343
  # Set parameter values before executing the webhook.
6287
6344
  # Corresponds to the JSON property `setParameterActions`
6288
6345
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
@@ -6307,6 +6364,7 @@ module Google
6307
6364
  def update!(**args)
6308
6365
  @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
6309
6366
  @messages = args[:messages] if args.key?(:messages)
6367
+ @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
6310
6368
  @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
6311
6369
  @tag = args[:tag] if args.key?(:tag)
6312
6370
  @webhook = args[:webhook] if args.key?(:webhook)
@@ -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.13.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210524"
25
+ REVISION = "20210706"
26
26
  end
27
27
  end
28
28
  end
@@ -2382,6 +2382,7 @@ module Google
2382
2382
  class GoogleCloudDialogflowCxV3ConversationTurnUserInput
2383
2383
  # @private
2384
2384
  class Representation < Google::Apis::Core::JsonRepresentation
2385
+ property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
2385
2386
  hash :injected_parameters, as: 'injectedParameters'
2386
2387
  property :input, as: 'input', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput::Representation
2387
2388
 
@@ -2445,12 +2446,14 @@ module Google
2445
2446
  class GoogleCloudDialogflowCxV3DetectIntentResponse
2446
2447
  # @private
2447
2448
  class Representation < Google::Apis::Core::JsonRepresentation
2449
+ property :allow_cancellation, as: 'allowCancellation'
2448
2450
  property :output_audio, :base64 => true, as: 'outputAudio'
2449
2451
  property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig::Representation
2450
2452
 
2451
2453
  property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult::Representation
2452
2454
 
2453
2455
  property :response_id, as: 'responseId'
2456
+ property :response_type, as: 'responseType'
2454
2457
  end
2455
2458
  end
2456
2459
 
@@ -2746,6 +2749,7 @@ module Google
2746
2749
 
2747
2750
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage::Representation
2748
2751
 
2752
+ property :return_partial_responses, as: 'returnPartialResponses'
2749
2753
  collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
2750
2754
 
2751
2755
  property :tag, as: 'tag'
@@ -3875,6 +3879,7 @@ module Google
3875
3879
  class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
3876
3880
  # @private
3877
3881
  class Representation < Google::Apis::Core::JsonRepresentation
3882
+ property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
3878
3883
  hash :injected_parameters, as: 'injectedParameters'
3879
3884
  property :input, as: 'input', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1QueryInput::Representation
3880
3885
 
@@ -4019,6 +4024,7 @@ module Google
4019
4024
 
4020
4025
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
4021
4026
 
4027
+ property :return_partial_responses, as: 'returnPartialResponses'
4022
4028
  collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
4023
4029
 
4024
4030
  property :tag, as: 'tag'
@@ -50,7 +50,9 @@ module Google
50
50
  @batch_path = 'batch'
51
51
  end
52
52
 
53
- # Creates an agent in the specified location.
53
+ # Creates an agent in the specified location. Note: You should always train
54
+ # flows prior to sending them queries. See the [training documentation](https://
55
+ # cloud.google.com/dialogflow/cx/docs/concept/training).
54
56
  # @param [String] parent
55
57
  # Required. The location to create a agent for. Format: `projects//locations/`.
56
58
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Agent] google_cloud_dialogflow_cx_v3_agent_object
@@ -250,7 +252,9 @@ module Google
250
252
  execute_or_queue_command(command, &block)
251
253
  end
252
254
 
253
- # Updates the specified agent.
255
+ # Updates the specified agent. Note: You should always train flows prior to
256
+ # sending them queries. See the [training documentation](https://cloud.google.
257
+ # com/dialogflow/cx/docs/concept/training).
254
258
  # @param [String] name
255
259
  # The unique identifier of the agent. Required for the Agents.UpdateAgent method.
256
260
  # Agents.CreateAgent populates the name automatically. Format: `projects//
@@ -291,7 +295,9 @@ module Google
291
295
 
292
296
  # Restores the specified agent from a binary file. Replaces the current agent
293
297
  # with a new one. Note that all existing resources in agent (e.g. intents,
294
- # entity types, flows) will be removed.
298
+ # entity types, flows) will be removed. Note: You should always train flows
299
+ # prior to sending them queries. See the [training documentation](https://cloud.
300
+ # google.com/dialogflow/cx/docs/concept/training).
295
301
  # @param [String] name
296
302
  # Required. The name of the agent to restore into. Format: `projects//locations//
297
303
  # agents/`.
@@ -360,7 +366,9 @@ module Google
360
366
  execute_or_queue_command(command, &block)
361
367
  end
362
368
 
363
- # Creates an entity type in the specified agent.
369
+ # Creates an entity type in the specified agent. Note: You should always train a
370
+ # flow prior to sending it queries. See the [training documentation](https://
371
+ # cloud.google.com/dialogflow/cx/docs/concept/training).
364
372
  # @param [String] parent
365
373
  # Required. The agent to create a entity type for. Format: `projects//locations//
366
374
  # agents/`.
@@ -401,7 +409,9 @@ module Google
401
409
  execute_or_queue_command(command, &block)
402
410
  end
403
411
 
404
- # Deletes the specified entity type.
412
+ # Deletes the specified entity type. Note: You should always train a flow prior
413
+ # to sending it queries. See the [training documentation](https://cloud.google.
414
+ # com/dialogflow/cx/docs/concept/training).
405
415
  # @param [String] name
406
416
  # Required. The name of the entity type to delete. Format: `projects//locations//
407
417
  # agents//entityTypes/`.
@@ -525,7 +535,9 @@ module Google
525
535
  execute_or_queue_command(command, &block)
526
536
  end
527
537
 
528
- # Updates the specified entity type.
538
+ # Updates the specified entity type. Note: You should always train a flow prior
539
+ # to sending it queries. See the [training documentation](https://cloud.google.
540
+ # com/dialogflow/cx/docs/concept/training).
529
541
  # @param [String] name
530
542
  # The unique identifier of the entity type. Required for EntityTypes.
531
543
  # UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.
@@ -1399,7 +1411,9 @@ module Google
1399
1411
  execute_or_queue_command(command, &block)
1400
1412
  end
1401
1413
 
1402
- # Creates a flow in the specified agent.
1414
+ # Creates a flow in the specified agent. Note: You should always train a flow
1415
+ # prior to sending it queries. See the [training documentation](https://cloud.
1416
+ # google.com/dialogflow/cx/docs/concept/training).
1403
1417
  # @param [String] parent
1404
1418
  # Required. The agent to create a flow for. Format: `projects//locations//agents/
1405
1419
  # `.
@@ -1592,7 +1606,9 @@ module Google
1592
1606
  execute_or_queue_command(command, &block)
1593
1607
  end
1594
1608
 
1595
- # Imports the specified flow to the specified agent from a binary file.
1609
+ # Imports the specified flow to the specified agent from a binary file. Note:
1610
+ # You should always train a flow prior to sending it queries. See the [training
1611
+ # documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
1596
1612
  # @param [String] parent
1597
1613
  # Required. The agent to import the flow into. Format: `projects//locations//
1598
1614
  # agents/`.
@@ -1674,7 +1690,9 @@ module Google
1674
1690
  execute_or_queue_command(command, &block)
1675
1691
  end
1676
1692
 
1677
- # Updates the specified flow.
1693
+ # Updates the specified flow. Note: You should always train a flow prior to
1694
+ # sending it queries. See the [training documentation](https://cloud.google.com/
1695
+ # dialogflow/cx/docs/concept/training).
1678
1696
  # @param [String] name
1679
1697
  # The unique identifier of the flow. Format: `projects//locations//agents//flows/
1680
1698
  # `.
@@ -1722,7 +1740,9 @@ module Google
1722
1740
  end
1723
1741
 
1724
1742
  # Trains the specified flow. Note that only the flow in 'draft' environment is
1725
- # trained.
1743
+ # trained. Note: You should always train a flow prior to sending it queries. See
1744
+ # the [training documentation](https://cloud.google.com/dialogflow/cx/docs/
1745
+ # concept/training).
1726
1746
  # @param [String] name
1727
1747
  # Required. The flow to train. Format: `projects//locations//agents//flows/`.
1728
1748
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TrainFlowRequest] google_cloud_dialogflow_cx_v3_train_flow_request_object
@@ -1790,7 +1810,9 @@ module Google
1790
1810
  execute_or_queue_command(command, &block)
1791
1811
  end
1792
1812
 
1793
- # Creates a page in the specified flow.
1813
+ # Creates a page in the specified flow. Note: You should always train a flow
1814
+ # prior to sending it queries. See the [training documentation](https://cloud.
1815
+ # google.com/dialogflow/cx/docs/concept/training).
1794
1816
  # @param [String] parent
1795
1817
  # Required. The flow to create a page for. Format: `projects//locations//agents//
1796
1818
  # flows/`.
@@ -1839,7 +1861,9 @@ module Google
1839
1861
  execute_or_queue_command(command, &block)
1840
1862
  end
1841
1863
 
1842
- # Deletes the specified page.
1864
+ # Deletes the specified page. Note: You should always train a flow prior to
1865
+ # sending it queries. See the [training documentation](https://cloud.google.com/
1866
+ # dialogflow/cx/docs/concept/training).
1843
1867
  # @param [String] name
1844
1868
  # Required. The name of the page to delete. Format: `projects//locations//agents/
1845
1869
  # /Flows//pages/`.
@@ -1977,7 +2001,9 @@ module Google
1977
2001
  execute_or_queue_command(command, &block)
1978
2002
  end
1979
2003
 
1980
- # Updates the specified page.
2004
+ # Updates the specified page. Note: You should always train a flow prior to
2005
+ # sending it queries. See the [training documentation](https://cloud.google.com/
2006
+ # dialogflow/cx/docs/concept/training).
1981
2007
  # @param [String] name
1982
2008
  # The unique identifier of the page. Required for the Pages.UpdatePage method.
1983
2009
  # Pages.CreatePage populates the name automatically. Format: `projects//
@@ -2031,7 +2057,9 @@ module Google
2031
2057
  execute_or_queue_command(command, &block)
2032
2058
  end
2033
2059
 
2034
- # Creates an TransitionRouteGroup in the specified flow.
2060
+ # Creates an TransitionRouteGroup in the specified flow. Note: You should always
2061
+ # train a flow prior to sending it queries. See the [training documentation](
2062
+ # https://cloud.google.com/dialogflow/cx/docs/concept/training).
2035
2063
  # @param [String] parent
2036
2064
  # Required. The flow to create an TransitionRouteGroup for. Format: `projects//
2037
2065
  # locations//agents//flows/`.
@@ -2073,7 +2101,9 @@ module Google
2073
2101
  execute_or_queue_command(command, &block)
2074
2102
  end
2075
2103
 
2076
- # Deletes the specified TransitionRouteGroup.
2104
+ # Deletes the specified TransitionRouteGroup. Note: You should always train a
2105
+ # flow prior to sending it queries. See the [training documentation](https://
2106
+ # cloud.google.com/dialogflow/cx/docs/concept/training).
2077
2107
  # @param [String] name
2078
2108
  # Required. The name of the TransitionRouteGroup to delete. Format: `projects//
2079
2109
  # locations//agents//flows//transitionRouteGroups/`.
@@ -2198,7 +2228,9 @@ module Google
2198
2228
  execute_or_queue_command(command, &block)
2199
2229
  end
2200
2230
 
2201
- # Updates the specified TransitionRouteGroup.
2231
+ # Updates the specified TransitionRouteGroup. Note: You should always train a
2232
+ # flow prior to sending it queries. See the [training documentation](https://
2233
+ # cloud.google.com/dialogflow/cx/docs/concept/training).
2202
2234
  # @param [String] name
2203
2235
  # The unique identifier of the transition route group. TransitionRouteGroups.
2204
2236
  # CreateTransitionRouteGroup populates the name automatically. Format: `projects/
@@ -2450,7 +2482,9 @@ module Google
2450
2482
  execute_or_queue_command(command, &block)
2451
2483
  end
2452
2484
 
2453
- # Creates an intent in the specified agent.
2485
+ # Creates an intent in the specified agent. Note: You should always train a flow
2486
+ # prior to sending it queries. See the [training documentation](https://cloud.
2487
+ # google.com/dialogflow/cx/docs/concept/training).
2454
2488
  # @param [String] parent
2455
2489
  # Required. The agent to create an intent for. Format: `projects//locations//
2456
2490
  # agents/`.
@@ -2491,7 +2525,9 @@ module Google
2491
2525
  execute_or_queue_command(command, &block)
2492
2526
  end
2493
2527
 
2494
- # Deletes the specified intent.
2528
+ # Deletes the specified intent. Note: You should always train a flow prior to
2529
+ # sending it queries. See the [training documentation](https://cloud.google.com/
2530
+ # dialogflow/cx/docs/concept/training).
2495
2531
  # @param [String] name
2496
2532
  # Required. The name of the intent to delete. Format: `projects//locations//
2497
2533
  # agents//intents/`.
@@ -2608,7 +2644,9 @@ module Google
2608
2644
  execute_or_queue_command(command, &block)
2609
2645
  end
2610
2646
 
2611
- # Updates the specified intent.
2647
+ # Updates the specified intent. Note: You should always train a flow prior to
2648
+ # sending it queries. See the [training documentation](https://cloud.google.com/
2649
+ # dialogflow/cx/docs/concept/training).
2612
2650
  # @param [String] name
2613
2651
  # The unique identifier of the intent. Required for the Intents.UpdateIntent
2614
2652
  # method. Intents.CreateIntent populates the name automatically. Format: `
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.18.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-05-31 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Dialogflow API V3. Simple REST clients
28
34
  are Ruby client libraries that provide access to Google services via their HTTP
29
35
  REST API endpoints. These libraries are generated and updated automatically based
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.18.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3
57
63
  post_install_message:
58
64
  rdoc_options: []