google-apis-dialogflow_v3 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: 05026b8f27e4092672e162b5ee2cab36d4e0dc7509aaa9d28bf8f648bba6b8c6
4
- data.tar.gz: a2bb257bd48ed6c9302318e832b5219b58df083158e74fa2fce53447f7604e6a
3
+ metadata.gz: 0b47da7748af1047540d20af8cc51dad5cc7aed49db6af15cd87f77880f5fcc1
4
+ data.tar.gz: c2e9c4d321de766338e4317b77e53ea3584175736a3f9c8fb3a8f36a3eb1947c
5
5
  SHA512:
6
- metadata.gz: 53e23eb131c08db2329b4e2e04bde12fb982bc8e9e4437925174fc3082e7b67abb5fe86226c2b72bc322a8eab86a778144ac01dc554612964400013ba8d182c8
7
- data.tar.gz: ca57df7af35f27f643b5eeb2758e5bf0f0aeece09dc140e5ddd558e03297d06aca7bb0e6fd8387843e11e036a21d930fb0f310ca6cfd4442280842b8d0b146e8
6
+ metadata.gz: 675d95a8f755ba2b511b35278a6937bb942e6cbdcf0292a3cc8830ef0362bf8adf1cd4d80ff3fddb2c3edc4b262cf391d23eeb304c006d455878b27e52298edb
7
+ data.tar.gz: ab48a97e5c84dbd730e4e4695604569911643bc83c255e39e32fd377f189754b9b9499d81b9f1ca519fe11b3f8572c8accae3d4ea8ff08e7730f415ad506d140
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-dialogflow_v3
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
@@ -22,6 +22,54 @@ module Google
22
22
  module Apis
23
23
  module DialogflowV3
24
24
 
25
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
26
+ # Settings exposed at lower level overrides the settings exposed at higher level.
27
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
28
+ class GoogleCloudDialogflowCxV3AdvancedSettings
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # Define behaviors on logging.
32
+ # Corresponds to the JSON property `loggingSettings`
33
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]
34
+ attr_accessor :logging_settings
35
+
36
+ def initialize(**args)
37
+ update!(**args)
38
+ end
39
+
40
+ # Update properties of this object
41
+ def update!(**args)
42
+ @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
43
+ end
44
+ end
45
+
46
+ # Define behaviors on logging.
47
+ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
48
+ include Google::Apis::Core::Hashable
49
+
50
+ # If true, DF Interaction logging is currently enabled.
51
+ # Corresponds to the JSON property `enableInteractionLogging`
52
+ # @return [Boolean]
53
+ attr_accessor :enable_interaction_logging
54
+ alias_method :enable_interaction_logging?, :enable_interaction_logging
55
+
56
+ # If true, StackDriver logging is currently enabled.
57
+ # Corresponds to the JSON property `enableStackdriverLogging`
58
+ # @return [Boolean]
59
+ attr_accessor :enable_stackdriver_logging
60
+ alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
61
+
62
+ def initialize(**args)
63
+ update!(**args)
64
+ end
65
+
66
+ # Update properties of this object
67
+ def update!(**args)
68
+ @enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
69
+ @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
70
+ end
71
+ end
72
+
25
73
  # Agents are best described as Natural Language Understanding (NLU) modules that
26
74
  # transform user requests into actionable data. You can include agents in your
27
75
  # app, product, or service to determine user intent and respond to the user in a
@@ -30,6 +78,13 @@ module Google
30
78
  class GoogleCloudDialogflowCxV3Agent
31
79
  include Google::Apis::Core::Hashable
32
80
 
81
+ # Hierarchical advanced settings for agent/flow/page/fulfillment/parameter.
82
+ # Settings exposed at lower level overrides the settings exposed at higher level.
83
+ # Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
84
+ # Corresponds to the JSON property `advancedSettings`
85
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings]
86
+ attr_accessor :advanced_settings
87
+
33
88
  # The URI of the agent's avatar. Avatars are used throughout the Dialogflow
34
89
  # console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/
35
90
  # docs/integrations/web-demo) integration.
@@ -62,7 +117,8 @@ module Google
62
117
  attr_accessor :enable_spell_correction
63
118
  alias_method :enable_spell_correction?, :enable_spell_correction
64
119
 
65
- # Indicates if stackdriver logging is enabled for the agent.
120
+ # Indicates if stackdriver logging is enabled for the agent. Please use agent.
121
+ # advanced_settings instead.
66
122
  # Corresponds to the JSON property `enableStackdriverLogging`
67
123
  # @return [Boolean]
68
124
  attr_accessor :enable_stackdriver_logging
@@ -111,6 +167,7 @@ module Google
111
167
 
112
168
  # Update properties of this object
113
169
  def update!(**args)
170
+ @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
114
171
  @avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri)
115
172
  @default_language_code = args[:default_language_code] if args.key?(:default_language_code)
116
173
  @description = args[:description] if args.key?(:description)
@@ -439,7 +496,8 @@ module Google
439
496
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page]
440
497
  attr_accessor :current_page
441
498
 
442
- # Required. Input only. The diagnostic info output for the turn.
499
+ # Required. Input only. The diagnostic info output for the turn. Required to
500
+ # calculate the testing coverage.
443
501
  # Corresponds to the JSON property `diagnosticInfo`
444
502
  # @return [Hash<String,Object>]
445
503
  attr_accessor :diagnostic_info
@@ -1012,14 +1070,30 @@ module Google
1012
1070
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResult]
1013
1071
  attr_accessor :result
1014
1072
 
1073
+ # The configuration for auto rollout.
1074
+ # Corresponds to the JSON property `rolloutConfig`
1075
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig]
1076
+ attr_accessor :rollout_config
1077
+
1078
+ # The reason why rollout has failed. Should only be set when state is
1079
+ # ROLLOUT_FAILED.
1080
+ # Corresponds to the JSON property `rolloutFailureReason`
1081
+ # @return [String]
1082
+ attr_accessor :rollout_failure_reason
1083
+
1084
+ # State of the auto-rollout process.
1085
+ # Corresponds to the JSON property `rolloutState`
1086
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutState]
1087
+ attr_accessor :rollout_state
1088
+
1015
1089
  # Start time of this experiment.
1016
1090
  # Corresponds to the JSON property `startTime`
1017
1091
  # @return [String]
1018
1092
  attr_accessor :start_time
1019
1093
 
1020
- # The current state of the experiment. Transition triggered by Expriments.
1021
- # StartExperiment: PENDING->RUNNING. Transition triggered by Expriments.
1022
- # CancelExperiment: PENDING->CANCELLED or RUNNING->CANCELLED.
1094
+ # The current state of the experiment. Transition triggered by Experiments.
1095
+ # StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments.
1096
+ # CancelExperiment: DRAFT->DONE or RUNNING->DONE.
1023
1097
  # Corresponds to the JSON property `state`
1024
1098
  # @return [String]
1025
1099
  attr_accessor :state
@@ -1044,6 +1118,9 @@ module Google
1044
1118
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
1045
1119
  @name = args[:name] if args.key?(:name)
1046
1120
  @result = args[:result] if args.key?(:result)
1121
+ @rollout_config = args[:rollout_config] if args.key?(:rollout_config)
1122
+ @rollout_failure_reason = args[:rollout_failure_reason] if args.key?(:rollout_failure_reason)
1123
+ @rollout_state = args[:rollout_state] if args.key?(:rollout_state)
1047
1124
  @start_time = args[:start_time] if args.key?(:start_time)
1048
1125
  @state = args[:state] if args.key?(:state)
1049
1126
  @variants_history = args[:variants_history] if args.key?(:variants_history)
@@ -1334,6 +1411,7 @@ module Google
1334
1411
  end
1335
1412
 
1336
1413
  # Metadata returned for the TestCases.ExportTestCases long running operation.
1414
+ # This message currently has no fields.
1337
1415
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
1338
1416
  include Google::Apis::Core::Hashable
1339
1417
 
@@ -3406,6 +3484,15 @@ module Google
3406
3484
  attr_accessor :disable_webhook
3407
3485
  alias_method :disable_webhook?, :disable_webhook
3408
3486
 
3487
+ # A list of flow versions to override for the request. Format: `projects//
3488
+ # locations//agents//flows//versions/`. If version 1 of flow X is included in
3489
+ # this list, the traffic of flow X will go through version 1 regardless of the
3490
+ # version configuration in the environment. Each flow can have at most one
3491
+ # version specified in this list.
3492
+ # Corresponds to the JSON property `flowVersions`
3493
+ # @return [Array<String>]
3494
+ attr_accessor :flow_versions
3495
+
3409
3496
  # An object that represents a latitude/longitude pair. This is expressed as a
3410
3497
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
3411
3498
  # specified otherwise, this object must conform to the WGS84 standard. Values
@@ -3473,6 +3560,7 @@ module Google
3473
3560
  @analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
3474
3561
  @current_page = args[:current_page] if args.key?(:current_page)
3475
3562
  @disable_webhook = args[:disable_webhook] if args.key?(:disable_webhook)
3563
+ @flow_versions = args[:flow_versions] if args.key?(:flow_versions)
3476
3564
  @geo_location = args[:geo_location] if args.key?(:geo_location)
3477
3565
  @parameters = args[:parameters] if args.key?(:parameters)
3478
3566
  @payload = args[:payload] if args.key?(:payload)
@@ -4008,6 +4096,109 @@ module Google
4008
4096
  end
4009
4097
  end
4010
4098
 
4099
+ # The configuration for auto rollout.
4100
+ class GoogleCloudDialogflowCxV3RolloutConfig
4101
+ include Google::Apis::Core::Hashable
4102
+
4103
+ # The conditions that are used to evaluate the failure of a rollout step. If not
4104
+ # specified, no rollout steps will fail. E.g. "containment_rate < 10% OR
4105
+ # average_turn_count < 3". See the [conditions reference](https://cloud.google.
4106
+ # com/dialogflow/cx/docs/reference/condition).
4107
+ # Corresponds to the JSON property `failureCondition`
4108
+ # @return [String]
4109
+ attr_accessor :failure_condition
4110
+
4111
+ # The conditions that are used to evaluate the success of a rollout step. If not
4112
+ # specified, all rollout steps will proceed to the next one unless failure
4113
+ # conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See
4114
+ # the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/
4115
+ # reference/condition).
4116
+ # Corresponds to the JSON property `rolloutCondition`
4117
+ # @return [String]
4118
+ attr_accessor :rollout_condition
4119
+
4120
+ # Steps to roll out a flow version. Steps should be sorted by percentage in
4121
+ # ascending order.
4122
+ # Corresponds to the JSON property `rolloutSteps`
4123
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep>]
4124
+ attr_accessor :rollout_steps
4125
+
4126
+ def initialize(**args)
4127
+ update!(**args)
4128
+ end
4129
+
4130
+ # Update properties of this object
4131
+ def update!(**args)
4132
+ @failure_condition = args[:failure_condition] if args.key?(:failure_condition)
4133
+ @rollout_condition = args[:rollout_condition] if args.key?(:rollout_condition)
4134
+ @rollout_steps = args[:rollout_steps] if args.key?(:rollout_steps)
4135
+ end
4136
+ end
4137
+
4138
+ # A single rollout step with specified traffic allocation.
4139
+ class GoogleCloudDialogflowCxV3RolloutConfigRolloutStep
4140
+ include Google::Apis::Core::Hashable
4141
+
4142
+ # The name of the rollout step;
4143
+ # Corresponds to the JSON property `displayName`
4144
+ # @return [String]
4145
+ attr_accessor :display_name
4146
+
4147
+ # The minimum time that this step should last. Should be longer than 1 hour. If
4148
+ # not set, the default minimum duration for each step will be 1 hour.
4149
+ # Corresponds to the JSON property `minDuration`
4150
+ # @return [String]
4151
+ attr_accessor :min_duration
4152
+
4153
+ # The percentage of traffic allocated to the flow version of this rollout step. (
4154
+ # 0%, 100%].
4155
+ # Corresponds to the JSON property `trafficPercent`
4156
+ # @return [Fixnum]
4157
+ attr_accessor :traffic_percent
4158
+
4159
+ def initialize(**args)
4160
+ update!(**args)
4161
+ end
4162
+
4163
+ # Update properties of this object
4164
+ def update!(**args)
4165
+ @display_name = args[:display_name] if args.key?(:display_name)
4166
+ @min_duration = args[:min_duration] if args.key?(:min_duration)
4167
+ @traffic_percent = args[:traffic_percent] if args.key?(:traffic_percent)
4168
+ end
4169
+ end
4170
+
4171
+ # State of the auto-rollout process.
4172
+ class GoogleCloudDialogflowCxV3RolloutState
4173
+ include Google::Apis::Core::Hashable
4174
+
4175
+ # Start time of the current step.
4176
+ # Corresponds to the JSON property `startTime`
4177
+ # @return [String]
4178
+ attr_accessor :start_time
4179
+
4180
+ # Display name of the current auto rollout step.
4181
+ # Corresponds to the JSON property `step`
4182
+ # @return [String]
4183
+ attr_accessor :step
4184
+
4185
+ # Index of the current step in the auto rollout steps list.
4186
+ # Corresponds to the JSON property `stepIndex`
4187
+ # @return [Fixnum]
4188
+ attr_accessor :step_index
4189
+
4190
+ def initialize(**args)
4191
+ update!(**args)
4192
+ end
4193
+
4194
+ # Update properties of this object
4195
+ def update!(**args)
4196
+ @start_time = args[:start_time] if args.key?(:start_time)
4197
+ @step = args[:step] if args.key?(:step)
4198
+ @step_index = args[:step_index] if args.key?(:step_index)
4199
+ end
4200
+ end
4201
+
4011
4202
  # Metadata returned for the Environments.RunContinuousTest long running
4012
4203
  # operation.
4013
4204
  class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
@@ -4060,7 +4251,8 @@ module Google
4060
4251
  end
4061
4252
  end
4062
4253
 
4063
- # Metadata returned for the TestCases.RunTestCase long running operation.
4254
+ # Metadata returned for the TestCases.RunTestCase long running operation. This
4255
+ # message currently has no fields.
4064
4256
  class GoogleCloudDialogflowCxV3RunTestCaseMetadata
4065
4257
  include Google::Apis::Core::Hashable
4066
4258
 
@@ -4118,17 +4310,35 @@ module Google
4118
4310
  class GoogleCloudDialogflowCxV3SecuritySettings
4119
4311
  include Google::Apis::Core::Hashable
4120
4312
 
4313
+ # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
4314
+ # template to define de-identification configuration for the content. If empty,
4315
+ # Dialogflow replaces sensitive info with `[redacted]` text. The template name
4316
+ # will have one of the following formats: `projects//locations//
4317
+ # deidentifyTemplates/` OR `organizations//locations//deidentifyTemplates/` Note:
4318
+ # `deidentify_template` must be located in the same region as the `
4319
+ # SecuritySettings`.
4320
+ # Corresponds to the JSON property `deidentifyTemplate`
4321
+ # @return [String]
4322
+ attr_accessor :deidentify_template
4323
+
4121
4324
  # Required. The human-readable name of the security settings, unique within the
4122
4325
  # location.
4123
4326
  # Corresponds to the JSON property `displayName`
4124
4327
  # @return [String]
4125
4328
  attr_accessor :display_name
4126
4329
 
4330
+ # Settings for exporting conversations to [Insights](https://cloud.google.com/
4331
+ # dialogflow/priv/docs/insights).
4332
+ # Corresponds to the JSON property `insightsExportSettings`
4333
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings]
4334
+ attr_accessor :insights_export_settings
4335
+
4127
4336
  # [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
4128
4337
  # template to define inspect base settings. If empty, we use the default DLP
4129
4338
  # inspect config. The template name will have one of the following formats: `
4130
- # projects//inspectTemplates/` OR `projects//locations//inspectTemplates/` OR `
4131
- # organizations//inspectTemplates/`
4339
+ # projects//locations//inspectTemplates/` OR `organizations//locations//
4340
+ # inspectTemplates/` Note: `inspect_template` must be located in the same region
4341
+ # as the `SecuritySettings`.
4132
4342
  # Corresponds to the JSON property `inspectTemplate`
4133
4343
  # @return [String]
4134
4344
  attr_accessor :inspect_template
@@ -4171,7 +4381,9 @@ module Google
4171
4381
 
4172
4382
  # Update properties of this object
4173
4383
  def update!(**args)
4384
+ @deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template)
4174
4385
  @display_name = args[:display_name] if args.key?(:display_name)
4386
+ @insights_export_settings = args[:insights_export_settings] if args.key?(:insights_export_settings)
4175
4387
  @inspect_template = args[:inspect_template] if args.key?(:inspect_template)
4176
4388
  @name = args[:name] if args.key?(:name)
4177
4389
  @purge_data_types = args[:purge_data_types] if args.key?(:purge_data_types)
@@ -4181,6 +4393,28 @@ module Google
4181
4393
  end
4182
4394
  end
4183
4395
 
4396
+ # Settings for exporting conversations to [Insights](https://cloud.google.com/
4397
+ # dialogflow/priv/docs/insights).
4398
+ class GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings
4399
+ include Google::Apis::Core::Hashable
4400
+
4401
+ # If enabled, we will automatically exports conversations to Insights and
4402
+ # Insights runs its analyzers.
4403
+ # Corresponds to the JSON property `enableInsightsExport`
4404
+ # @return [Boolean]
4405
+ attr_accessor :enable_insights_export
4406
+ alias_method :enable_insights_export?, :enable_insights_export
4407
+
4408
+ def initialize(**args)
4409
+ update!(**args)
4410
+ end
4411
+
4412
+ # Update properties of this object
4413
+ def update!(**args)
4414
+ @enable_insights_export = args[:enable_insights_export] if args.key?(:enable_insights_export)
4415
+ end
4416
+ end
4417
+
4184
4418
  # The result of sentiment analysis. Sentiment analysis inspects user input and
4185
4419
  # identifies the prevailing subjective opinion, especially to determine a user's
4186
4420
  # attitude as positive, negative, or neutral.
@@ -5859,7 +6093,8 @@ module Google
5859
6093
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Page]
5860
6094
  attr_accessor :current_page
5861
6095
 
5862
- # Required. Input only. The diagnostic info output for the turn.
6096
+ # Required. Input only. The diagnostic info output for the turn. Required to
6097
+ # calculate the testing coverage.
5863
6098
  # Corresponds to the JSON property `diagnosticInfo`
5864
6099
  # @return [Hash<String,Object>]
5865
6100
  attr_accessor :diagnostic_info
@@ -6127,6 +6362,7 @@ module Google
6127
6362
  end
6128
6363
 
6129
6364
  # Metadata returned for the TestCases.ExportTestCases long running operation.
6365
+ # This message currently has no fields.
6130
6366
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
6131
6367
  include Google::Apis::Core::Hashable
6132
6368
 
@@ -7506,7 +7742,8 @@ module Google
7506
7742
  end
7507
7743
  end
7508
7744
 
7509
- # Metadata returned for the TestCases.RunTestCase long running operation.
7745
+ # Metadata returned for the TestCases.RunTestCase long running operation. This
7746
+ # message currently has no fields.
7510
7747
  class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
7511
7748
  include Google::Apis::Core::Hashable
7512
7749
 
@@ -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::DialogflowV3::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::DialogflowV3::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 DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 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
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module DialogflowV3
24
24
 
25
+ class GoogleCloudDialogflowCxV3AdvancedSettings
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class GoogleCloudDialogflowCxV3Agent
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -664,6 +676,24 @@ module Google
664
676
  include Google::Apis::Core::JsonObjectSupport
665
677
  end
666
678
 
679
+ class GoogleCloudDialogflowCxV3RolloutConfig
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class GoogleCloudDialogflowCxV3RolloutConfigRolloutStep
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class GoogleCloudDialogflowCxV3RolloutState
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
667
697
  class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
668
698
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
699
 
@@ -706,6 +736,12 @@ module Google
706
736
  include Google::Apis::Core::JsonObjectSupport
707
737
  end
708
738
 
739
+ class GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
709
745
  class GoogleCloudDialogflowCxV3SentimentAnalysisResult
710
746
  class Representation < Google::Apis::Core::JsonRepresentation; end
711
747
 
@@ -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
 
@@ -2278,9 +2326,27 @@ module Google
2278
2326
  include Google::Apis::Core::JsonObjectSupport
2279
2327
  end
2280
2328
 
2329
+ class GoogleCloudDialogflowCxV3AdvancedSettings
2330
+ # @private
2331
+ class Representation < Google::Apis::Core::JsonRepresentation
2332
+ property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
2333
+
2334
+ end
2335
+ end
2336
+
2337
+ class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
2338
+ # @private
2339
+ class Representation < Google::Apis::Core::JsonRepresentation
2340
+ property :enable_interaction_logging, as: 'enableInteractionLogging'
2341
+ property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
2342
+ end
2343
+ end
2344
+
2281
2345
  class GoogleCloudDialogflowCxV3Agent
2282
2346
  # @private
2283
2347
  class Representation < Google::Apis::Core::JsonRepresentation
2348
+ property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
2349
+
2284
2350
  property :avatar_uri, as: 'avatarUri'
2285
2351
  property :default_language_code, as: 'defaultLanguageCode'
2286
2352
  property :description, as: 'description'
@@ -2548,6 +2614,11 @@ module Google
2548
2614
  property :name, as: 'name'
2549
2615
  property :result, as: 'result', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResult::Representation
2550
2616
 
2617
+ property :rollout_config, as: 'rolloutConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig::Representation
2618
+
2619
+ property :rollout_failure_reason, as: 'rolloutFailureReason'
2620
+ property :rollout_state, as: 'rolloutState', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutState, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutState::Representation
2621
+
2551
2622
  property :start_time, as: 'startTime'
2552
2623
  property :state, as: 'state'
2553
2624
  collection :variants_history, as: 'variantsHistory', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VariantsHistory, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VariantsHistory::Representation
@@ -3210,6 +3281,7 @@ module Google
3210
3281
  property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
3211
3282
  property :current_page, as: 'currentPage'
3212
3283
  property :disable_webhook, as: 'disableWebhook'
3284
+ collection :flow_versions, as: 'flowVersions'
3213
3285
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3::GoogleTypeLatLng::Representation
3214
3286
 
3215
3287
  hash :parameters, as: 'parameters'
@@ -3356,6 +3428,34 @@ module Google
3356
3428
  end
3357
3429
  end
3358
3430
 
3431
+ class GoogleCloudDialogflowCxV3RolloutConfig
3432
+ # @private
3433
+ class Representation < Google::Apis::Core::JsonRepresentation
3434
+ property :failure_condition, as: 'failureCondition'
3435
+ property :rollout_condition, as: 'rolloutCondition'
3436
+ collection :rollout_steps, as: 'rolloutSteps', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep::Representation
3437
+
3438
+ end
3439
+ end
3440
+
3441
+ class GoogleCloudDialogflowCxV3RolloutConfigRolloutStep
3442
+ # @private
3443
+ class Representation < Google::Apis::Core::JsonRepresentation
3444
+ property :display_name, as: 'displayName'
3445
+ property :min_duration, as: 'minDuration'
3446
+ property :traffic_percent, as: 'trafficPercent'
3447
+ end
3448
+ end
3449
+
3450
+ class GoogleCloudDialogflowCxV3RolloutState
3451
+ # @private
3452
+ class Representation < Google::Apis::Core::JsonRepresentation
3453
+ property :start_time, as: 'startTime'
3454
+ property :step, as: 'step'
3455
+ property :step_index, as: 'stepIndex'
3456
+ end
3457
+ end
3458
+
3359
3459
  class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
3360
3460
  # @private
3361
3461
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3402,7 +3502,10 @@ module Google
3402
3502
  class GoogleCloudDialogflowCxV3SecuritySettings
3403
3503
  # @private
3404
3504
  class Representation < Google::Apis::Core::JsonRepresentation
3505
+ property :deidentify_template, as: 'deidentifyTemplate'
3405
3506
  property :display_name, as: 'displayName'
3507
+ property :insights_export_settings, as: 'insightsExportSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings::Representation
3508
+
3406
3509
  property :inspect_template, as: 'inspectTemplate'
3407
3510
  property :name, as: 'name'
3408
3511
  collection :purge_data_types, as: 'purgeDataTypes'
@@ -3412,6 +3515,13 @@ module Google
3412
3515
  end
3413
3516
  end
3414
3517
 
3518
+ class GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings
3519
+ # @private
3520
+ class Representation < Google::Apis::Core::JsonRepresentation
3521
+ property :enable_insights_export, as: 'enableInsightsExport'
3522
+ end
3523
+ end
3524
+
3415
3525
  class GoogleCloudDialogflowCxV3SentimentAnalysisResult
3416
3526
  # @private
3417
3527
  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::DialogflowV3::GoogleCloudLocationLocation, decorator: Google::Apis::DialogflowV3::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::DialogflowV3::GoogleCloudLocationLocation] parsed result object
66
+ # @yieldparam err [StandardError] error object if request failed
67
+ #
68
+ # @return [Google::Apis::DialogflowV3::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, 'v3/{+name}', options)
75
+ command.response_representation = Google::Apis::DialogflowV3::GoogleCloudLocationLocation::Representation
76
+ command.response_class = Google::Apis::DialogflowV3::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::DialogflowV3::GoogleCloudLocationListLocationsResponse] parsed result object
106
+ # @yieldparam err [StandardError] error object if request failed
107
+ #
108
+ # @return [Google::Apis::DialogflowV3::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, 'v3/{+name}/locations', options)
115
+ command.response_representation = Google::Apis::DialogflowV3::GoogleCloudLocationListLocationsResponse::Representation
116
+ command.response_class = Google::Apis::DialogflowV3::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
54
127
  # flows prior to sending them 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 flows
299
- # prior to sending them 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 flows prior to sending them 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/`.
@@ -581,7 +665,12 @@ module Google
581
665
  execute_or_queue_command(command, &block)
582
666
  end
583
667
 
584
- # Creates an Environment in the specified Agent.
668
+ # Creates an Environment in the specified Agent. This method is a [long-running
669
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
670
+ # operation). The returned `Operation` type has the following method-specific
671
+ # fields: - `metadata`: An empty [Struct message](https://developers.google.com/
672
+ # protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
673
+ # Environment
585
674
  # @param [String] parent
586
675
  # Required. The Agent to create an Environment for. Format: `projects//locations/
587
676
  # /agents/`.
@@ -753,7 +842,11 @@ module Google
753
842
  execute_or_queue_command(command, &block)
754
843
  end
755
844
 
756
- # Updates the specified Environment.
845
+ # Updates the specified Environment. This method is a [long-running operation](
846
+ # https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
847
+ # returned `Operation` type has the following method-specific fields: - `
848
+ # metadata`: An empty [Struct message](https://developers.google.com/protocol-
849
+ # buffers/docs/reference/google.protobuf#struct) - `response`: Environment
757
850
  # @param [String] name
758
851
  # The name of the environment. Format: `projects//locations//agents//
759
852
  # environments/`.
@@ -790,7 +883,11 @@ module Google
790
883
  execute_or_queue_command(command, &block)
791
884
  end
792
885
 
793
- # Kicks off a continuous test under the specified Environment.
886
+ # Kicks off a continuous test under the specified Environment. This method is a [
887
+ # long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
888
+ # running-operation). The returned `Operation` type has the following method-
889
+ # specific fields: - `metadata`: RunContinuousTestMetadata - `response`:
890
+ # RunContinuousTestResponse
794
891
  # @param [String] environment
795
892
  # Required. Format: `projects//locations//agents//environments/`.
796
893
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunContinuousTestRequest] google_cloud_dialogflow_cx_v3_run_continuous_test_request_object
@@ -1495,8 +1592,13 @@ module Google
1495
1592
  execute_or_queue_command(command, &block)
1496
1593
  end
1497
1594
 
1498
- # Exports the specified flow to a binary file. Note that resources (e.g. intents,
1499
- # entities, webhooks) that the flow references will also be exported.
1595
+ # Exports the specified flow to a binary file. This method is a [long-running
1596
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
1597
+ # operation). The returned `Operation` type has the following method-specific
1598
+ # fields: - `metadata`: An empty [Struct message](https://developers.google.com/
1599
+ # protocol-buffers/docs/reference/google.protobuf#struct) - `response`:
1600
+ # ExportFlowResponse Note that resources (e.g. intents, entities, webhooks) that
1601
+ # the flow references will also be exported.
1500
1602
  # @param [String] name
1501
1603
  # Required. The name of the flow to export. Format: `projects//locations//agents/
1502
1604
  # /flows/`.
@@ -1606,9 +1708,14 @@ module Google
1606
1708
  execute_or_queue_command(command, &block)
1607
1709
  end
1608
1710
 
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).
1711
+ # Imports the specified flow to the specified agent from a binary file. This
1712
+ # method is a [long-running operation](https://cloud.google.com/dialogflow/cx/
1713
+ # docs/how/long-running-operation). The returned `Operation` type has the
1714
+ # following method-specific fields: - `metadata`: An empty [Struct message](
1715
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
1716
+ # struct) - `response`: ImportFlowResponse Note: You should always train a flow
1717
+ # prior to sending it queries. See the [training documentation](https://cloud.
1718
+ # google.com/dialogflow/cx/docs/concept/training).
1612
1719
  # @param [String] parent
1613
1720
  # Required. The agent to import the flow into. Format: `projects//locations//
1614
1721
  # agents/`.
@@ -1706,8 +1813,8 @@ module Google
1706
1813
  # com/dialogflow/cx/docs/reference/language) are supported. Note: languages must
1707
1814
  # be enabled in the agent before they can be used.
1708
1815
  # @param [String] update_mask
1709
- # Required. The mask to control which fields get updated. If `update_mask` is
1710
- # not specified, an error will be returned.
1816
+ # The mask to control which fields get updated. If the mask is not present, all
1817
+ # fields will be updated.
1711
1818
  # @param [String] fields
1712
1819
  # Selector specifying which fields to include in a partial response.
1713
1820
  # @param [String] quota_user
@@ -1740,9 +1847,14 @@ module Google
1740
1847
  end
1741
1848
 
1742
1849
  # Trains the specified flow. Note that only the flow in 'draft' environment is
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).
1850
+ # trained. This method is a [long-running operation](https://cloud.google.com/
1851
+ # dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type
1852
+ # has the following method-specific fields: - `metadata`: An empty [Struct
1853
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.
1854
+ # protobuf#struct) - `response`: An [Empty message](https://developers.google.
1855
+ # com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should
1856
+ # always train a flow prior to sending it queries. See the [training
1857
+ # documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
1746
1858
  # @param [String] name
1747
1859
  # Required. The flow to train. Format: `projects//locations//agents//flows/`.
1748
1860
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TrainFlowRequest] google_cloud_dialogflow_cx_v3_train_flow_request_object
@@ -2276,7 +2388,10 @@ module Google
2276
2388
  execute_or_queue_command(command, &block)
2277
2389
  end
2278
2390
 
2279
- # Creates a Version in the specified Flow.
2391
+ # Creates a Version in the specified Flow. This method is a [long-running
2392
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
2393
+ # operation). The returned `Operation` type has the following method-specific
2394
+ # fields: - `metadata`: CreateVersionOperationMetadata - `response`: Version
2280
2395
  # @param [String] parent
2281
2396
  # Required. The Flow to create an Version for. Format: `projects//locations//
2282
2397
  # agents//flows/`.
@@ -2410,7 +2525,13 @@ module Google
2410
2525
  execute_or_queue_command(command, &block)
2411
2526
  end
2412
2527
 
2413
- # Loads resources in the specified version to the draft flow.
2528
+ # Loads resources in the specified version to the draft flow. This method is a [
2529
+ # long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
2530
+ # running-operation). The returned `Operation` type has the following method-
2531
+ # specific fields: - `metadata`: An empty [Struct message](https://developers.
2532
+ # google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`
2533
+ # : An [Empty message](https://developers.google.com/protocol-buffers/docs/
2534
+ # reference/google.protobuf#empty)
2414
2535
  # @param [String] name
2415
2536
  # Required. The Version to be loaded to draft flow. Format: `projects//locations/
2416
2537
  # /agents//flows//versions/`.
@@ -3035,7 +3156,10 @@ module Google
3035
3156
  execute_or_queue_command(command, &block)
3036
3157
  end
3037
3158
 
3038
- # Kicks off a batch run of test cases.
3159
+ # Kicks off a batch run of test cases. This method is a [long-running operation](
3160
+ # https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The
3161
+ # returned `Operation` type has the following method-specific fields: - `
3162
+ # metadata`: BatchRunTestCasesMetadata - `response`: BatchRunTestCasesResponse
3039
3163
  # @param [String] parent
3040
3164
  # Required. Agent name. Format: `projects//locations//agents/ `.
3041
3165
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BatchRunTestCasesRequest] google_cloud_dialogflow_cx_v3_batch_run_test_cases_request_object
@@ -3137,7 +3261,11 @@ module Google
3137
3261
  end
3138
3262
 
3139
3263
  # Exports the test cases under the agent to a Cloud Storage bucket or a local
3140
- # file. Filter can be applied to export a subset of test cases.
3264
+ # file. Filter can be applied to export a subset of test cases. This method is a
3265
+ # [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-
3266
+ # running-operation). The returned `Operation` type has the following method-
3267
+ # specific fields: - `metadata`: ExportTestCasesMetadata - `response`:
3268
+ # ExportTestCasesResponse
3141
3269
  # @param [String] parent
3142
3270
  # Required. The agent where to export test cases from. Format: `projects//
3143
3271
  # locations//agents/`.
@@ -3204,7 +3332,11 @@ module Google
3204
3332
 
3205
3333
  # Imports the test cases from a Cloud Storage bucket or a local file. It always
3206
3334
  # creates new test cases and won't overwite any existing ones. The provided ID
3207
- # in the imported test case is neglected.
3335
+ # in the imported test case is neglected. This method is a [long-running
3336
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
3337
+ # operation). The returned `Operation` type has the following method-specific
3338
+ # fields: - `metadata`: ImportTestCasesMetadata - `response`:
3339
+ # ImportTestCasesResponse
3208
3340
  # @param [String] parent
3209
3341
  # Required. The agent to import test cases to. Format: `projects//locations//
3210
3342
  # agents/`.
@@ -3319,7 +3451,10 @@ module Google
3319
3451
  execute_or_queue_command(command, &block)
3320
3452
  end
3321
3453
 
3322
- # Kicks off a test case run.
3454
+ # Kicks off a test case run. This method is a [long-running operation](https://
3455
+ # cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `
3456
+ # Operation` type has the following method-specific fields: - `metadata`:
3457
+ # RunTestCaseMetadata - `response`: RunTestCaseResponse
3323
3458
  # @param [String] name
3324
3459
  # Required. Format of test case name to run: `projects//locations/ /agents//
3325
3460
  # testCases/`.
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V3'
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_v3
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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []