google-apis-dialogflow_v3beta1 0.17.0 → 0.21.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: 4f21f0e24051424edbae3b6d5df6e0e5a6e2e194c7f159ae195591c6049e1bf0
4
- data.tar.gz: 722c9e205f951d000a2ce5a82cdb5cd4ff2b25eafe07343328dee7a3c0754d5f
3
+ metadata.gz: d0fa3cd21a92535bfaa6ec49e42e0bb6d2e888034fb6bac704c4ccc94749100b
4
+ data.tar.gz: 8022d2b42aeb3963797bc914b208229f69c257d4cd3b30aa9d174ac86cac0190
5
5
  SHA512:
6
- metadata.gz: 8def051ce3b0e6357a10047b0e44da9a384f1033ca7673efc2b5d97fe18f3ba8a2eb4c1a4ae875397ffad586cbb79dc08368b6c256aa96811ba2655bf5ee42c7
7
- data.tar.gz: aef7d81ca049f8c039f45483041eb7b0be35772e8bc34454ebd76c8d93d499a0eafc55670ed127fc26eb1a0db400f5f845a8031fc75ee9e8fdce42c6d4fa6e1e
6
+ metadata.gz: 70175bbc3e0af73dc105f6fa1a1f967661e8137ef1b496aefe92a6d3e3d38ec9ad31cc71fd5c7dcdd55cd52bd199cc33ee553eb18d7180f4e167ae007a500ce5
7
+ data.tar.gz: bc654419ef9fd28c71dd55c85a34e07686d93ddeee8acfc7f959e17476b9a482b7e0c136f3e3d3599e9682ade14773173779ae5d328ea2f66f4998ad9cf15b6c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.21.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210830
6
+
7
+ ### v0.20.0 (2021-08-04)
8
+
9
+ * Regenerated from discovery document revision 20210802
10
+
11
+ ### v0.19.0 (2021-07-30)
12
+
13
+ * Regenerated from discovery document revision 20210727
14
+
15
+ ### v0.18.0 (2021-07-09)
16
+
17
+ * Regenerated from discovery document revision 20210706
18
+
3
19
  ### v0.17.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
@@ -221,7 +221,8 @@ module Google
221
221
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Page]
222
222
  attr_accessor :current_page
223
223
 
224
- # Required. Input only. The diagnostic info output for the turn.
224
+ # Required. Input only. The diagnostic info output for the turn. Required to
225
+ # calculate the testing coverage.
225
226
  # Corresponds to the JSON property `diagnosticInfo`
226
227
  # @return [Hash<String,Object>]
227
228
  attr_accessor :diagnostic_info
@@ -489,6 +490,7 @@ module Google
489
490
  end
490
491
 
491
492
  # Metadata returned for the TestCases.ExportTestCases long running operation.
493
+ # This message currently has no fields.
492
494
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
493
495
  include Google::Apis::Core::Hashable
494
496
 
@@ -1868,7 +1870,8 @@ module Google
1868
1870
  end
1869
1871
  end
1870
1872
 
1871
- # Metadata returned for the TestCases.RunTestCase long running operation.
1873
+ # Metadata returned for the TestCases.RunTestCase long running operation. This
1874
+ # message currently has no fields.
1872
1875
  class GoogleCloudDialogflowCxV3RunTestCaseMetadata
1873
1876
  include Google::Apis::Core::Hashable
1874
1877
 
@@ -2560,6 +2563,54 @@ module Google
2560
2563
  end
2561
2564
  end
2562
2565
 
2566
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
2567
+ # Settings exposed at lower level overrides the settings exposed at higher level.
2568
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
2569
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettings
2570
+ include Google::Apis::Core::Hashable
2571
+
2572
+ # Define behaviors on logging.
2573
+ # Corresponds to the JSON property `loggingSettings`
2574
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]
2575
+ attr_accessor :logging_settings
2576
+
2577
+ def initialize(**args)
2578
+ update!(**args)
2579
+ end
2580
+
2581
+ # Update properties of this object
2582
+ def update!(**args)
2583
+ @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
2584
+ end
2585
+ end
2586
+
2587
+ # Define behaviors on logging.
2588
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
2589
+ include Google::Apis::Core::Hashable
2590
+
2591
+ # If true, DF Interaction logging is currently enabled.
2592
+ # Corresponds to the JSON property `enableInteractionLogging`
2593
+ # @return [Boolean]
2594
+ attr_accessor :enable_interaction_logging
2595
+ alias_method :enable_interaction_logging?, :enable_interaction_logging
2596
+
2597
+ # If true, StackDriver logging is currently enabled.
2598
+ # Corresponds to the JSON property `enableStackdriverLogging`
2599
+ # @return [Boolean]
2600
+ attr_accessor :enable_stackdriver_logging
2601
+ alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
2602
+
2603
+ def initialize(**args)
2604
+ update!(**args)
2605
+ end
2606
+
2607
+ # Update properties of this object
2608
+ def update!(**args)
2609
+ @enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
2610
+ @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
2611
+ end
2612
+ end
2613
+
2563
2614
  # Agents are best described as Natural Language Understanding (NLU) modules that
2564
2615
  # transform user requests into actionable data. You can include agents in your
2565
2616
  # app, product, or service to determine user intent and respond to the user in a
@@ -2568,6 +2619,13 @@ module Google
2568
2619
  class GoogleCloudDialogflowCxV3beta1Agent
2569
2620
  include Google::Apis::Core::Hashable
2570
2621
 
2622
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
2623
+ # Settings exposed at lower level overrides the settings exposed at higher level.
2624
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
2625
+ # Corresponds to the JSON property `advancedSettings`
2626
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
2627
+ attr_accessor :advanced_settings
2628
+
2571
2629
  # The URI of the agent's avatar. Avatars are used throughout the Dialogflow
2572
2630
  # console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/
2573
2631
  # docs/integrations/web-demo) integration.
@@ -2600,7 +2658,8 @@ module Google
2600
2658
  attr_accessor :enable_spell_correction
2601
2659
  alias_method :enable_spell_correction?, :enable_spell_correction
2602
2660
 
2603
- # Indicates if stackdriver logging is enabled for the agent.
2661
+ # Indicates if stackdriver logging is enabled for the agent. Please use agent.
2662
+ # advanced_settings instead.
2604
2663
  # Corresponds to the JSON property `enableStackdriverLogging`
2605
2664
  # @return [Boolean]
2606
2665
  attr_accessor :enable_stackdriver_logging
@@ -2649,6 +2708,7 @@ module Google
2649
2708
 
2650
2709
  # Update properties of this object
2651
2710
  def update!(**args)
2711
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
2652
2712
  @avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri)
2653
2713
  @default_language_code = args[:default_language_code] if args.key?(:default_language_code)
2654
2714
  @description = args[:description] if args.key?(:description)
@@ -2977,7 +3037,8 @@ module Google
2977
3037
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page]
2978
3038
  attr_accessor :current_page
2979
3039
 
2980
- # Required. Input only. The diagnostic info output for the turn.
3040
+ # Required. Input only. The diagnostic info output for the turn. Required to
3041
+ # calculate the testing coverage.
2981
3042
  # Corresponds to the JSON property `diagnosticInfo`
2982
3043
  # @return [Hash<String,Object>]
2983
3044
  attr_accessor :diagnostic_info
@@ -3550,14 +3611,30 @@ module Google
3550
3611
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult]
3551
3612
  attr_accessor :result
3552
3613
 
3614
+ # The configuration for auto rollout.
3615
+ # Corresponds to the JSON property `rolloutConfig`
3616
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig]
3617
+ attr_accessor :rollout_config
3618
+
3619
+ # The reason why rollout has failed. Should only be set when state is
3620
+ # ROLLOUT_FAILED.
3621
+ # Corresponds to the JSON property `rolloutFailureReason`
3622
+ # @return [String]
3623
+ attr_accessor :rollout_failure_reason
3624
+
3625
+ # State of the auto-rollout process.
3626
+ # Corresponds to the JSON property `rolloutState`
3627
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState]
3628
+ attr_accessor :rollout_state
3629
+
3553
3630
  # Start time of this experiment.
3554
3631
  # Corresponds to the JSON property `startTime`
3555
3632
  # @return [String]
3556
3633
  attr_accessor :start_time
3557
3634
 
3558
- # The current state of the experiment. Transition triggered by Expriments.
3559
- # StartExperiment: PENDING->RUNNING. Transition triggered by Expriments.
3560
- # CancelExperiment: PENDING->CANCELLED or RUNNING->CANCELLED.
3635
+ # The current state of the experiment. Transition triggered by Experiments.
3636
+ # StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments.
3637
+ # CancelExperiment: DRAFT->DONE or RUNNING->DONE.
3561
3638
  # Corresponds to the JSON property `state`
3562
3639
  # @return [String]
3563
3640
  attr_accessor :state
@@ -3582,6 +3659,9 @@ module Google
3582
3659
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
3583
3660
  @name = args[:name] if args.key?(:name)
3584
3661
  @result = args[:result] if args.key?(:result)
3662
+ @rollout_config = args[:rollout_config] if args.key?(:rollout_config)
3663
+ @rollout_failure_reason = args[:rollout_failure_reason] if args.key?(:rollout_failure_reason)
3664
+ @rollout_state = args[:rollout_state] if args.key?(:rollout_state)
3585
3665
  @start_time = args[:start_time] if args.key?(:start_time)
3586
3666
  @state = args[:state] if args.key?(:state)
3587
3667
  @variants_history = args[:variants_history] if args.key?(:variants_history)
@@ -3872,6 +3952,7 @@ module Google
3872
3952
  end
3873
3953
 
3874
3954
  # Metadata returned for the TestCases.ExportTestCases long running operation.
3955
+ # This message currently has no fields.
3875
3956
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
3876
3957
  include Google::Apis::Core::Hashable
3877
3958
 
@@ -5944,6 +6025,15 @@ module Google
5944
6025
  attr_accessor :disable_webhook
5945
6026
  alias_method :disable_webhook?, :disable_webhook
5946
6027
 
6028
+ # A list of flow versions to override for the request. Format: `projects//
6029
+ # locations//agents//flows//versions/`. If version 1 of flow X is included in
6030
+ # this list, the traffic of flow X will go through version 1 regardless of the
6031
+ # version configuration in the environment. Each flow can have at most one
6032
+ # version specified in this list.
6033
+ # Corresponds to the JSON property `flowVersions`
6034
+ # @return [Array<String>]
6035
+ attr_accessor :flow_versions
6036
+
5947
6037
  # An object that represents a latitude/longitude pair. This is expressed as a
5948
6038
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
5949
6039
  # specified otherwise, this object must conform to the WGS84 standard. Values
@@ -6011,6 +6101,7 @@ module Google
6011
6101
  @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
6012
6102
  @current_page = args[:current_page] if args.key?(:current_page)
6013
6103
  @disable_webhook = args[:disable_webhook] if args.key?(:disable_webhook)
6104
+ @flow_versions = args[:flow_versions] if args.key?(:flow_versions)
6014
6105
  @geo_location = args[:geo_location] if args.key?(:geo_location)
6015
6106
  @parameters = args[:parameters] if args.key?(:parameters)
6016
6107
  @payload = args[:payload] if args.key?(:payload)
@@ -6546,6 +6637,109 @@ module Google
6546
6637
  end
6547
6638
  end
6548
6639
 
6640
+ # The configuration for auto rollout.
6641
+ class GoogleCloudDialogflowCxV3beta1RolloutConfig
6642
+ include Google::Apis::Core::Hashable
6643
+
6644
+ # The conditions that are used to evaluate the failure of a rollout step. If not
6645
+ # specified, no rollout steps will fail. E.g. "containment_rate < 10% OR
6646
+ # average_turn_count < 3". See the [conditions reference](https://cloud.google.
6647
+ # com/dialogflow/cx/docs/reference/condition).
6648
+ # Corresponds to the JSON property `failureCondition`
6649
+ # @return [String]
6650
+ attr_accessor :failure_condition
6651
+
6652
+ # The conditions that are used to evaluate the success of a rollout step. If not
6653
+ # specified, all rollout steps will proceed to the next one unless failure
6654
+ # conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See
6655
+ # the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/
6656
+ # reference/condition).
6657
+ # Corresponds to the JSON property `rolloutCondition`
6658
+ # @return [String]
6659
+ attr_accessor :rollout_condition
6660
+
6661
+ # Steps to roll out a flow version. Steps should be sorted by percentage in
6662
+ # ascending order.
6663
+ # Corresponds to the JSON property `rolloutSteps`
6664
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep>]
6665
+ attr_accessor :rollout_steps
6666
+
6667
+ def initialize(**args)
6668
+ update!(**args)
6669
+ end
6670
+
6671
+ # Update properties of this object
6672
+ def update!(**args)
6673
+ @failure_condition = args[:failure_condition] if args.key?(:failure_condition)
6674
+ @rollout_condition = args[:rollout_condition] if args.key?(:rollout_condition)
6675
+ @rollout_steps = args[:rollout_steps] if args.key?(:rollout_steps)
6676
+ end
6677
+ end
6678
+
6679
+ # A single rollout step with specified traffic allocation.
6680
+ class GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
6681
+ include Google::Apis::Core::Hashable
6682
+
6683
+ # The name of the rollout step;
6684
+ # Corresponds to the JSON property `displayName`
6685
+ # @return [String]
6686
+ attr_accessor :display_name
6687
+
6688
+ # The minimum time that this step should last. Should be longer than 1 hour. If
6689
+ # not set, the default minimum duration for each step will be 1 hour.
6690
+ # Corresponds to the JSON property `minDuration`
6691
+ # @return [String]
6692
+ attr_accessor :min_duration
6693
+
6694
+ # The percentage of traffic allocated to the flow version of this rollout step. (
6695
+ # 0%, 100%].
6696
+ # Corresponds to the JSON property `trafficPercent`
6697
+ # @return [Fixnum]
6698
+ attr_accessor :traffic_percent
6699
+
6700
+ def initialize(**args)
6701
+ update!(**args)
6702
+ end
6703
+
6704
+ # Update properties of this object
6705
+ def update!(**args)
6706
+ @display_name = args[:display_name] if args.key?(:display_name)
6707
+ @min_duration = args[:min_duration] if args.key?(:min_duration)
6708
+ @traffic_percent = args[:traffic_percent] if args.key?(:traffic_percent)
6709
+ end
6710
+ end
6711
+
6712
+ # State of the auto-rollout process.
6713
+ class GoogleCloudDialogflowCxV3beta1RolloutState
6714
+ include Google::Apis::Core::Hashable
6715
+
6716
+ # Start time of the current step.
6717
+ # Corresponds to the JSON property `startTime`
6718
+ # @return [String]
6719
+ attr_accessor :start_time
6720
+
6721
+ # Display name of the current auto rollout step.
6722
+ # Corresponds to the JSON property `step`
6723
+ # @return [String]
6724
+ attr_accessor :step
6725
+
6726
+ # Index of the current step in the auto rollout steps list.
6727
+ # Corresponds to the JSON property `stepIndex`
6728
+ # @return [Fixnum]
6729
+ attr_accessor :step_index
6730
+
6731
+ def initialize(**args)
6732
+ update!(**args)
6733
+ end
6734
+
6735
+ # Update properties of this object
6736
+ def update!(**args)
6737
+ @start_time = args[:start_time] if args.key?(:start_time)
6738
+ @step = args[:step] if args.key?(:step)
6739
+ @step_index = args[:step_index] if args.key?(:step_index)
6740
+ end
6741
+ end
6742
+
6549
6743
  # Metadata returned for the Environments.RunContinuousTest long running
6550
6744
  # operation.
6551
6745
  class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
@@ -6598,7 +6792,8 @@ module Google
6598
6792
  end
6599
6793
  end
6600
6794
 
6601
- # Metadata returned for the TestCases.RunTestCase long running operation.
6795
+ # Metadata returned for the TestCases.RunTestCase long running operation. This
6796
+ # message currently has no fields.
6602
6797
  class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
6603
6798
  include Google::Apis::Core::Hashable
6604
6799
 
@@ -6656,17 +6851,35 @@ module Google
6656
6851
  class GoogleCloudDialogflowCxV3beta1SecuritySettings
6657
6852
  include Google::Apis::Core::Hashable
6658
6853
 
6854
+ # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
6855
+ # template to define de-identification configuration for the content. If empty,
6856
+ # Dialogflow replaces sensitive info with `[redacted]` text. The template name
6857
+ # will have one of the following formats: `projects//locations//
6858
+ # deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
6859
+ # `deidentify_template` must be located in the same region as the `
6860
+ # SecuritySettings`.
6861
+ # Corresponds to the JSON property `deidentifyTemplate`
6862
+ # @return [String]
6863
+ attr_accessor :deidentify_template
6864
+
6659
6865
  # Required. The human-readable name of the security settings, unique within the
6660
6866
  # location.
6661
6867
  # Corresponds to the JSON property `displayName`
6662
6868
  # @return [String]
6663
6869
  attr_accessor :display_name
6664
6870
 
6871
+ # Settings for exporting conversations to [Insights](https://cloud.google.com/
6872
+ # dialogflow/priv/docs/insights).
6873
+ # Corresponds to the JSON property `insightsExportSettings`
6874
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings]
6875
+ attr_accessor :insights_export_settings
6876
+
6665
6877
  # [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
6666
6878
  # template to define inspect base settings. If empty, we use the default DLP
6667
6879
  # inspect config. The template name will have one of the following formats: `
6668
- # projects//inspectTemplates/` OR `projects//locations//inspectTemplates/` OR `
6669
- # organizations//inspectTemplates/`
6880
+ # projects//locations//inspectTemplates/` OR `organizations//locations//
6881
+ # inspectTemplates/` Note: `inspect_template` must be located in the same region
6882
+ # as the `SecuritySettings`.
6670
6883
  # Corresponds to the JSON property `inspectTemplate`
6671
6884
  # @return [String]
6672
6885
  attr_accessor :inspect_template
@@ -6709,7 +6922,9 @@ module Google
6709
6922
 
6710
6923
  # Update properties of this object
6711
6924
  def update!(**args)
6925
+ @deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template)
6712
6926
  @display_name = args[:display_name] if args.key?(:display_name)
6927
+ @insights_export_settings = args[:insights_export_settings] if args.key?(:insights_export_settings)
6713
6928
  @inspect_template = args[:inspect_template] if args.key?(:inspect_template)
6714
6929
  @name = args[:name] if args.key?(:name)
6715
6930
  @purge_data_types = args[:purge_data_types] if args.key?(:purge_data_types)
@@ -6719,6 +6934,28 @@ module Google
6719
6934
  end
6720
6935
  end
6721
6936
 
6937
+ # Settings for exporting conversations to [Insights](https://cloud.google.com/
6938
+ # dialogflow/priv/docs/insights).
6939
+ class GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings
6940
+ include Google::Apis::Core::Hashable
6941
+
6942
+ # If enabled, we will automatically exports conversations to Insights and
6943
+ # Insights runs its analyzers.
6944
+ # Corresponds to the JSON property `enableInsightsExport`
6945
+ # @return [Boolean]
6946
+ attr_accessor :enable_insights_export
6947
+ alias_method :enable_insights_export?, :enable_insights_export
6948
+
6949
+ def initialize(**args)
6950
+ update!(**args)
6951
+ end
6952
+
6953
+ # Update properties of this object
6954
+ def update!(**args)
6955
+ @enable_insights_export = args[:enable_insights_export] if args.key?(:enable_insights_export)
6956
+ end
6957
+ end
6958
+
6722
6959
  # The result of sentiment analysis. Sentiment analysis inspects user input and
6723
6960
  # identifies the prevailing subjective opinion, especially to determine a user's
6724
6961
  # attitude as positive, negative, or neutral.
@@ -8727,8 +8964,9 @@ module Google
8727
8964
  # @return [Array<String>]
8728
8965
  attr_accessor :events
8729
8966
 
8730
- # Read-only. Information about all followup intents that have this intent as a
8731
- # direct or indirect parent. We populate this field only in the output.
8967
+ # Output only. Read-only. Information about all followup intents that have this
8968
+ # intent as a direct or indirect parent. We populate this field only in the
8969
+ # output.
8732
8970
  # Corresponds to the JSON property `followupIntentInfo`
8733
8971
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
8734
8972
  attr_accessor :followup_intent_info
@@ -8813,9 +9051,10 @@ module Google
8813
9051
  attr_accessor :reset_contexts
8814
9052
  alias_method :reset_contexts?, :reset_contexts
8815
9053
 
8816
- # Read-only. The unique identifier of the root intent in the chain of followup
8817
- # intents. It identifies the correct followup intents chain for this intent. We
8818
- # populate this field only in the output. Format: `projects//agent/intents/`.
9054
+ # Output only. Read-only. The unique identifier of the root intent in the chain
9055
+ # of followup intents. It identifies the correct followup intents chain for this
9056
+ # intent. We populate this field only in the output. Format: `projects//agent/
9057
+ # intents/`.
8819
9058
  # Corresponds to the JSON property `rootFollowupIntentName`
8820
9059
  # @return [String]
8821
9060
  attr_accessor :root_followup_intent_name
@@ -13767,6 +14006,78 @@ module Google
13767
14006
  end
13768
14007
  end
13769
14008
 
14009
+ # The response message for Locations.ListLocations.
14010
+ class GoogleCloudLocationListLocationsResponse
14011
+ include Google::Apis::Core::Hashable
14012
+
14013
+ # A list of locations that matches the specified filter in the request.
14014
+ # Corresponds to the JSON property `locations`
14015
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation>]
14016
+ attr_accessor :locations
14017
+
14018
+ # The standard List next-page token.
14019
+ # Corresponds to the JSON property `nextPageToken`
14020
+ # @return [String]
14021
+ attr_accessor :next_page_token
14022
+
14023
+ def initialize(**args)
14024
+ update!(**args)
14025
+ end
14026
+
14027
+ # Update properties of this object
14028
+ def update!(**args)
14029
+ @locations = args[:locations] if args.key?(:locations)
14030
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
14031
+ end
14032
+ end
14033
+
14034
+ # A resource that represents Google Cloud Platform location.
14035
+ class GoogleCloudLocationLocation
14036
+ include Google::Apis::Core::Hashable
14037
+
14038
+ # The friendly name for this location, typically a nearby city name. For example,
14039
+ # "Tokyo".
14040
+ # Corresponds to the JSON property `displayName`
14041
+ # @return [String]
14042
+ attr_accessor :display_name
14043
+
14044
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
14045
+ # region": "us-east1"`
14046
+ # Corresponds to the JSON property `labels`
14047
+ # @return [Hash<String,String>]
14048
+ attr_accessor :labels
14049
+
14050
+ # The canonical id for this location. For example: `"us-east1"`.
14051
+ # Corresponds to the JSON property `locationId`
14052
+ # @return [String]
14053
+ attr_accessor :location_id
14054
+
14055
+ # Service-specific metadata. For example the available capacity at the given
14056
+ # location.
14057
+ # Corresponds to the JSON property `metadata`
14058
+ # @return [Hash<String,Object>]
14059
+ attr_accessor :metadata
14060
+
14061
+ # Resource name for the location, which may vary between implementations. For
14062
+ # example: `"projects/example-project/locations/us-east1"`
14063
+ # Corresponds to the JSON property `name`
14064
+ # @return [String]
14065
+ attr_accessor :name
14066
+
14067
+ def initialize(**args)
14068
+ update!(**args)
14069
+ end
14070
+
14071
+ # Update properties of this object
14072
+ def update!(**args)
14073
+ @display_name = args[:display_name] if args.key?(:display_name)
14074
+ @labels = args[:labels] if args.key?(:labels)
14075
+ @location_id = args[:location_id] if args.key?(:location_id)
14076
+ @metadata = args[:metadata] if args.key?(:metadata)
14077
+ @name = args[:name] if args.key?(:name)
14078
+ end
14079
+ end
14080
+
13770
14081
  # The response message for Operations.ListOperations.
13771
14082
  class GoogleLongrunningListOperationsResponse
13772
14083
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210618"
25
+ REVISION = "20210830"
26
26
  end
27
27
  end
28
28
  end
@@ -460,6 +460,18 @@ module Google
460
460
  include Google::Apis::Core::JsonObjectSupport
461
461
  end
462
462
 
463
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettings
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
463
475
  class GoogleCloudDialogflowCxV3beta1Agent
464
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
477
 
@@ -1102,6 +1114,24 @@ module Google
1102
1114
  include Google::Apis::Core::JsonObjectSupport
1103
1115
  end
1104
1116
 
1117
+ class GoogleCloudDialogflowCxV3beta1RolloutConfig
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1123
+ class GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
1124
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1125
+
1126
+ include Google::Apis::Core::JsonObjectSupport
1127
+ end
1128
+
1129
+ class GoogleCloudDialogflowCxV3beta1RolloutState
1130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1131
+
1132
+ include Google::Apis::Core::JsonObjectSupport
1133
+ end
1134
+
1105
1135
  class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
1106
1136
  class Representation < Google::Apis::Core::JsonRepresentation; end
1107
1137
 
@@ -1144,6 +1174,12 @@ module Google
1144
1174
  include Google::Apis::Core::JsonObjectSupport
1145
1175
  end
1146
1176
 
1177
+ class GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings
1178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1179
+
1180
+ include Google::Apis::Core::JsonObjectSupport
1181
+ end
1182
+
1147
1183
  class GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult
1148
1184
  class Representation < Google::Apis::Core::JsonRepresentation; end
1149
1185
 
@@ -2248,6 +2284,18 @@ module Google
2248
2284
  include Google::Apis::Core::JsonObjectSupport
2249
2285
  end
2250
2286
 
2287
+ class GoogleCloudLocationListLocationsResponse
2288
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2289
+
2290
+ include Google::Apis::Core::JsonObjectSupport
2291
+ end
2292
+
2293
+ class GoogleCloudLocationLocation
2294
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2295
+
2296
+ include Google::Apis::Core::JsonObjectSupport
2297
+ end
2298
+
2251
2299
  class GoogleLongrunningListOperationsResponse
2252
2300
  class Representation < Google::Apis::Core::JsonRepresentation; end
2253
2301
 
@@ -2990,9 +3038,27 @@ module Google
2990
3038
  end
2991
3039
  end
2992
3040
 
3041
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettings
3042
+ # @private
3043
+ class Representation < Google::Apis::Core::JsonRepresentation
3044
+ property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
3045
+
3046
+ end
3047
+ end
3048
+
3049
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
3050
+ # @private
3051
+ class Representation < Google::Apis::Core::JsonRepresentation
3052
+ property :enable_interaction_logging, as: 'enableInteractionLogging'
3053
+ property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
3054
+ end
3055
+ end
3056
+
2993
3057
  class GoogleCloudDialogflowCxV3beta1Agent
2994
3058
  # @private
2995
3059
  class Representation < Google::Apis::Core::JsonRepresentation
3060
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
3061
+
2996
3062
  property :avatar_uri, as: 'avatarUri'
2997
3063
  property :default_language_code, as: 'defaultLanguageCode'
2998
3064
  property :description, as: 'description'
@@ -3260,6 +3326,11 @@ module Google
3260
3326
  property :name, as: 'name'
3261
3327
  property :result, as: 'result', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult::Representation
3262
3328
 
3329
+ property :rollout_config, as: 'rolloutConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig::Representation
3330
+
3331
+ property :rollout_failure_reason, as: 'rolloutFailureReason'
3332
+ property :rollout_state, as: 'rolloutState', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState::Representation
3333
+
3263
3334
  property :start_time, as: 'startTime'
3264
3335
  property :state, as: 'state'
3265
3336
  collection :variants_history, as: 'variantsHistory', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory::Representation
@@ -3922,6 +3993,7 @@ module Google
3922
3993
  property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
3923
3994
  property :current_page, as: 'currentPage'
3924
3995
  property :disable_webhook, as: 'disableWebhook'
3996
+ collection :flow_versions, as: 'flowVersions'
3925
3997
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng::Representation
3926
3998
 
3927
3999
  hash :parameters, as: 'parameters'
@@ -4068,6 +4140,34 @@ module Google
4068
4140
  end
4069
4141
  end
4070
4142
 
4143
+ class GoogleCloudDialogflowCxV3beta1RolloutConfig
4144
+ # @private
4145
+ class Representation < Google::Apis::Core::JsonRepresentation
4146
+ property :failure_condition, as: 'failureCondition'
4147
+ property :rollout_condition, as: 'rolloutCondition'
4148
+ collection :rollout_steps, as: 'rolloutSteps', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep::Representation
4149
+
4150
+ end
4151
+ end
4152
+
4153
+ class GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
4154
+ # @private
4155
+ class Representation < Google::Apis::Core::JsonRepresentation
4156
+ property :display_name, as: 'displayName'
4157
+ property :min_duration, as: 'minDuration'
4158
+ property :traffic_percent, as: 'trafficPercent'
4159
+ end
4160
+ end
4161
+
4162
+ class GoogleCloudDialogflowCxV3beta1RolloutState
4163
+ # @private
4164
+ class Representation < Google::Apis::Core::JsonRepresentation
4165
+ property :start_time, as: 'startTime'
4166
+ property :step, as: 'step'
4167
+ property :step_index, as: 'stepIndex'
4168
+ end
4169
+ end
4170
+
4071
4171
  class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
4072
4172
  # @private
4073
4173
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4114,7 +4214,10 @@ module Google
4114
4214
  class GoogleCloudDialogflowCxV3beta1SecuritySettings
4115
4215
  # @private
4116
4216
  class Representation < Google::Apis::Core::JsonRepresentation
4217
+ property :deidentify_template, as: 'deidentifyTemplate'
4117
4218
  property :display_name, as: 'displayName'
4219
+ property :insights_export_settings, as: 'insightsExportSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings::Representation
4220
+
4118
4221
  property :inspect_template, as: 'inspectTemplate'
4119
4222
  property :name, as: 'name'
4120
4223
  collection :purge_data_types, as: 'purgeDataTypes'
@@ -4124,6 +4227,13 @@ module Google
4124
4227
  end
4125
4228
  end
4126
4229
 
4230
+ class GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings
4231
+ # @private
4232
+ class Representation < Google::Apis::Core::JsonRepresentation
4233
+ property :enable_insights_export, as: 'enableInsightsExport'
4234
+ end
4235
+ end
4236
+
4127
4237
  class GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult
4128
4238
  # @private
4129
4239
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6052,6 +6162,26 @@ module Google
6052
6162
  end
6053
6163
  end
6054
6164
 
6165
+ class GoogleCloudLocationListLocationsResponse
6166
+ # @private
6167
+ class Representation < Google::Apis::Core::JsonRepresentation
6168
+ collection :locations, as: 'locations', class: Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation::Representation
6169
+
6170
+ property :next_page_token, as: 'nextPageToken'
6171
+ end
6172
+ end
6173
+
6174
+ class GoogleCloudLocationLocation
6175
+ # @private
6176
+ class Representation < Google::Apis::Core::JsonRepresentation
6177
+ property :display_name, as: 'displayName'
6178
+ hash :labels, as: 'labels'
6179
+ property :location_id, as: 'locationId'
6180
+ hash :metadata, as: 'metadata'
6181
+ property :name, as: 'name'
6182
+ end
6183
+ end
6184
+
6055
6185
  class GoogleLongrunningListOperationsResponse
6056
6186
  # @private
6057
6187
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -50,6 +50,79 @@ module Google
50
50
  @batch_path = 'batch'
51
51
  end
52
52
 
53
+ # Gets information about a location.
54
+ # @param [String] name
55
+ # Resource name for the location.
56
+ # @param [String] fields
57
+ # Selector specifying which fields to include in a partial response.
58
+ # @param [String] quota_user
59
+ # Available to use for quota purposes for server-side applications. Can be any
60
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
61
+ # @param [Google::Apis::RequestOptions] options
62
+ # Request-specific options
63
+ #
64
+ # @yield [result, err] Result & error if block supplied
65
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation] parsed result object
66
+ # @yieldparam err [StandardError] error object if request failed
67
+ #
68
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation]
69
+ #
70
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
71
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
73
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
74
+ command = make_simple_command(:get, 'v3beta1/{+name}', options)
75
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation::Representation
76
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudLocationLocation
77
+ command.params['name'] = name unless name.nil?
78
+ command.query['fields'] = fields unless fields.nil?
79
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
80
+ execute_or_queue_command(command, &block)
81
+ end
82
+
83
+ # Lists information about the supported locations for this service.
84
+ # @param [String] name
85
+ # The resource that owns the locations collection, if applicable.
86
+ # @param [String] filter
87
+ # A filter to narrow down results to a preferred subset. The filtering language
88
+ # accepts strings like "displayName=tokyo", and is documented in more detail in [
89
+ # AIP-160](https://google.aip.dev/160).
90
+ # @param [Fixnum] page_size
91
+ # The maximum number of results to return. If not set, the service selects a
92
+ # default.
93
+ # @param [String] page_token
94
+ # A page token received from the `next_page_token` field in the response. Send
95
+ # that page token to receive the subsequent page.
96
+ # @param [String] fields
97
+ # Selector specifying which fields to include in a partial response.
98
+ # @param [String] quota_user
99
+ # Available to use for quota purposes for server-side applications. Can be any
100
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
101
+ # @param [Google::Apis::RequestOptions] options
102
+ # Request-specific options
103
+ #
104
+ # @yield [result, err] Result & error if block supplied
105
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse] parsed result object
106
+ # @yieldparam err [StandardError] error object if request failed
107
+ #
108
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse]
109
+ #
110
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
111
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
113
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
114
+ command = make_simple_command(:get, 'v3beta1/{+name}/locations', options)
115
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse::Representation
116
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudLocationListLocationsResponse
117
+ command.params['name'] = name unless name.nil?
118
+ command.query['filter'] = filter unless filter.nil?
119
+ command.query['pageSize'] = page_size unless page_size.nil?
120
+ command.query['pageToken'] = page_token unless page_token.nil?
121
+ command.query['fields'] = fields unless fields.nil?
122
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
123
+ execute_or_queue_command(command, &block)
124
+ end
125
+
53
126
  # Creates an agent in the specified location. Note: You should always train a
54
127
  # flow prior to sending it queries. See the [training documentation](https://
55
128
  # cloud.google.com/dialogflow/cx/docs/concept/training).
@@ -116,7 +189,12 @@ module Google
116
189
  execute_or_queue_command(command, &block)
117
190
  end
118
191
 
119
- # Exports the specified agent to a binary file.
192
+ # Exports the specified agent to a binary file. This method is a [long-running
193
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
194
+ # operation). The returned `Operation` type has the following method-specific
195
+ # fields: - `metadata`: An empty [Struct message](https://developers.google.com/
196
+ # protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
197
+ # ExportAgentResponse
120
198
  # @param [String] name
121
199
  # Required. The name of the agent to export. Format: `projects//locations//
122
200
  # agents/`.
@@ -295,9 +373,15 @@ module Google
295
373
 
296
374
  # Restores the specified agent from a binary file. Replaces the current agent
297
375
  # with a new one. Note that all existing resources in agent (e.g. intents,
298
- # entity types, flows) will be removed. Note: You should always train a flow
299
- # prior to sending it queries. See the [training documentation](https://cloud.
300
- # google.com/dialogflow/cx/docs/concept/training).
376
+ # entity types, flows) will be removed. This method is a [long-running operation]
377
+ # (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
378
+ # returned `Operation` type has the following method-specific fields: - `
379
+ # metadata`: An empty [Struct message](https://developers.google.com/protocol-
380
+ # buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message]
381
+ # (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
382
+ # empty) Note: You should always train a flow prior to sending it queries. See
383
+ # the [training documentation](https://cloud.google.com/dialogflow/cx/docs/
384
+ # concept/training).
301
385
  # @param [String] name
302
386
  # Required. The name of the agent to restore into. Format: `projects//locations//
303
387
  # agents/`.
@@ -579,7 +663,12 @@ module Google
579
663
  execute_or_queue_command(command, &block)
580
664
  end
581
665
 
582
- # Creates an Environment in the specified Agent.
666
+ # Creates an Environment in the specified Agent. This method is a [long-running
667
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
668
+ # operation). The returned `Operation` type has the following method-specific
669
+ # fields: - `metadata`: An empty [Struct message](https://developers.google.com/
670
+ # protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
671
+ # Environment
583
672
  # @param [String] parent
584
673
  # Required. The Agent to create an Environment for. Format: `projects//locations/
585
674
  # /agents/`.
@@ -751,7 +840,11 @@ module Google
751
840
  execute_or_queue_command(command, &block)
752
841
  end
753
842
 
754
- # Updates the specified Environment.
843
+ # Updates the specified Environment. This method is a [long-running operation](
844
+ # https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
845
+ # returned `Operation` type has the following method-specific fields: - `
846
+ # metadata`: An empty [Struct message](https://developers.google.com/protocol-
847
+ # buffers/docs/reference/google.protobuf#struct) - `response`: Environment
755
848
  # @param [String] name
756
849
  # The name of the environment. Format: `projects//locations//agents//
757
850
  # environments/`.
@@ -788,7 +881,11 @@ module Google
788
881
  execute_or_queue_command(command, &block)
789
882
  end
790
883
 
791
- # Kicks off a continuous test under the specified Environment.
884
+ # Kicks off a continuous test under the specified Environment. This method is a [
885
+ # long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
886
+ # running-operation). The returned `Operation` type has the following method-
887
+ # specific fields: - `metadata`: RunContinuousTestMetadata - `response`:
888
+ # RunContinuousTestResponse
792
889
  # @param [String] environment
793
890
  # Required. Format: `projects//locations//agents//environments/`.
794
891
  # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest] google_cloud_dialogflow_cx_v3beta1_run_continuous_test_request_object
@@ -1493,8 +1590,13 @@ module Google
1493
1590
  execute_or_queue_command(command, &block)
1494
1591
  end
1495
1592
 
1496
- # Exports the specified flow to a binary file. Note that resources (e.g. intents,
1497
- # entities, webhooks) that the flow references will also be exported.
1593
+ # Exports the specified flow to a binary file. This method is a [long-running
1594
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
1595
+ # operation). The returned `Operation` type has the following method-specific
1596
+ # fields: - `metadata`: An empty [Struct message](https://developers.google.com/
1597
+ # protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
1598
+ # ExportFlowResponse Note that resources (e.g. intents, entities, webhooks) that
1599
+ # the flow references will also be exported.
1498
1600
  # @param [String] name
1499
1601
  # Required. The name of the flow to export. Format: `projects//locations//agents/
1500
1602
  # /flows/`.
@@ -1604,9 +1706,14 @@ module Google
1604
1706
  execute_or_queue_command(command, &block)
1605
1707
  end
1606
1708
 
1607
- # Imports the specified flow to the specified agent from a binary file. Note:
1608
- # You should always train a flow prior to sending it queries. See the [training
1609
- # documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
1709
+ # Imports the specified flow to the specified agent from a binary file. This
1710
+ # method is a [long-running operation](https://cloud.google.com/dialogflow/cx/
1711
+ # docs/how/long-running-operation). The returned `Operation` type has the
1712
+ # following method-specific fields: - `metadata`: An empty [Struct message](
1713
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
1714
+ # struct) - `response`: ImportFlowResponse Note: You should always train a flow
1715
+ # prior to sending it queries. See the [training documentation](https://cloud.
1716
+ # google.com/dialogflow/cx/docs/concept/training).
1610
1717
  # @param [String] parent
1611
1718
  # Required. The agent to import the flow into. Format: `projects//locations//
1612
1719
  # agents/`.
@@ -1704,8 +1811,8 @@ module Google
1704
1811
  # com/dialogflow/cx/docs/reference/language) are supported. Note: languages must
1705
1812
  # be enabled in the agent before they can be used.
1706
1813
  # @param [String] update_mask
1707
- # Required. The mask to control which fields get updated. If `update_mask` is
1708
- # not specified, an error will be returned.
1814
+ # The mask to control which fields get updated. If the mask is not present, all
1815
+ # fields will be updated.
1709
1816
  # @param [String] fields
1710
1817
  # Selector specifying which fields to include in a partial response.
1711
1818
  # @param [String] quota_user
@@ -1738,9 +1845,14 @@ module Google
1738
1845
  end
1739
1846
 
1740
1847
  # Trains the specified flow. Note that only the flow in 'draft' environment is
1741
- # trained. Note: You should always train a flow prior to sending it queries. See
1742
- # the [training documentation](https://cloud.google.com/dialogflow/cx/docs/
1743
- # concept/training).
1848
+ # trained. This method is a [long-running operation](https://cloud.google.com/
1849
+ # dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type
1850
+ # has the following method-specific fields: - `metadata`: An empty [Struct
1851
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.
1852
+ # protobuf#struct) - `response`: An [Empty message](https://developers.google.
1853
+ # com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should
1854
+ # always train a flow prior to sending it queries. See the [training
1855
+ # documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
1744
1856
  # @param [String] name
1745
1857
  # Required. The flow to train. Format: `projects//locations//agents//flows/`.
1746
1858
  # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TrainFlowRequest] google_cloud_dialogflow_cx_v3beta1_train_flow_request_object
@@ -2268,7 +2380,10 @@ module Google
2268
2380
  execute_or_queue_command(command, &block)
2269
2381
  end
2270
2382
 
2271
- # Creates a Version in the specified Flow.
2383
+ # Creates a Version in the specified Flow. This method is a [long-running
2384
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
2385
+ # operation). The returned `Operation` type has the following method-specific
2386
+ # fields: - `metadata`: CreateVersionOperationMetadata - `response`: Version
2272
2387
  # @param [String] parent
2273
2388
  # Required. The Flow to create an Version for. Format: `projects//locations//
2274
2389
  # agents//flows/`.
@@ -2402,7 +2517,13 @@ module Google
2402
2517
  execute_or_queue_command(command, &block)
2403
2518
  end
2404
2519
 
2405
- # Loads resources in the specified version to the draft flow.
2520
+ # Loads resources in the specified version to the draft flow. This method is a [
2521
+ # long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
2522
+ # running-operation). The returned `Operation` type has the following method-
2523
+ # specific fields: - `metadata`: An empty [Struct message](https://developers.
2524
+ # google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
2525
+ # : An [Empty message](https://developers.google.com/protocol-buffers/docs/
2526
+ # reference/google.protobuf#empty)
2406
2527
  # @param [String] name
2407
2528
  # Required. The Version to be loaded to draft flow. Format: `projects//locations/
2408
2529
  # /agents//flows//versions/`.
@@ -3027,7 +3148,10 @@ module Google
3027
3148
  execute_or_queue_command(command, &block)
3028
3149
  end
3029
3150
 
3030
- # Kicks off a batch run of test cases.
3151
+ # Kicks off a batch run of test cases. This method is a [long-running operation](
3152
+ # https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
3153
+ # returned `Operation` type has the following method-specific fields: - `
3154
+ # metadata`: BatchRunTestCasesMetadata - `response`: BatchRunTestCasesResponse
3031
3155
  # @param [String] parent
3032
3156
  # Required. Agent name. Format: `projects//locations//agents/ `.
3033
3157
  # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest] google_cloud_dialogflow_cx_v3beta1_batch_run_test_cases_request_object
@@ -3129,7 +3253,11 @@ module Google
3129
3253
  end
3130
3254
 
3131
3255
  # Exports the test cases under the agent to a Cloud Storage bucket or a local
3132
- # file. Filter can be applied to export a subset of test cases.
3256
+ # file. Filter can be applied to export a subset of test cases. This method is a
3257
+ # [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
3258
+ # running-operation). The returned `Operation` type has the following method-
3259
+ # specific fields: - `metadata`: ExportTestCasesMetadata - `response`:
3260
+ # ExportTestCasesResponse
3133
3261
  # @param [String] parent
3134
3262
  # Required. The agent where to export test cases from. Format: `projects//
3135
3263
  # locations//agents/`.
@@ -3196,7 +3324,11 @@ module Google
3196
3324
 
3197
3325
  # Imports the test cases from a Cloud Storage bucket or a local file. It always
3198
3326
  # creates new test cases and won't overwite any existing ones. The provided ID
3199
- # in the imported test case is neglected.
3327
+ # in the imported test case is neglected. This method is a [long-running
3328
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
3329
+ # operation). The returned `Operation` type has the following method-specific
3330
+ # fields: - `metadata`: ImportTestCasesMetadata - `response`:
3331
+ # ImportTestCasesResponse
3200
3332
  # @param [String] parent
3201
3333
  # Required. The agent to import test cases to. Format: `projects//locations//
3202
3334
  # agents/`.
@@ -3311,7 +3443,10 @@ module Google
3311
3443
  execute_or_queue_command(command, &block)
3312
3444
  end
3313
3445
 
3314
- # Kicks off a test case run.
3446
+ # Kicks off a test case run. This method is a [long-running operation](https://
3447
+ # cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
3448
+ # Operation` type has the following method-specific fields: - `metadata`:
3449
+ # RunTestCaseMetadata - `response`: RunTestCaseResponse
3315
3450
  # @param [String] name
3316
3451
  # Required. Format of test case name to run: `projects//locations/ /agents//
3317
3452
  # testCases/`.
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V3beta1'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
36
  # View, manage and query your Dialogflow agents
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.21.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
63
63
  post_install_message:
64
64
  rdoc_options: []