google-apis-dialogflow_v2 0.21.0 → 0.25.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: 27d5dcdd8f130ce07b05588c3995dc853b0ae23071cc733cbaf34b08e9a4bfab
4
- data.tar.gz: 6646de66b802e12b445febde19519904dfa649576a2ea241680b38478d717bcb
3
+ metadata.gz: 5556c2b0406910bc328d73b7a9899aabc5bced8f7164621831cb8a565e3409f1
4
+ data.tar.gz: cab4a40bd29bbcfbeb70bd92ebe5f2436d7fca0b3ac2b9906c189c3937f5e946
5
5
  SHA512:
6
- metadata.gz: 2fac95729cd6fa5a686b1ae6b4d150f9332a07dbfcbb768cae1a7f40ad4ff7b8c7455da783292587e4dcaac1e70fb422b618fc0c7fce64072a8a71078fed7bf8
7
- data.tar.gz: 6a8a53a6ea5174d24346a54ebc0fe3649a2b529de360842772c8e6b5cae0647dbc5215b338b14e5893a1ff65fa7137eb05dfd135524cffe8648de129d93e5ab1
6
+ metadata.gz: 68e2d56d988940f7e4b898f13d3f927691938af1e647af8c225cfcbde447127733ab82ca737f43b5299bae00cd43b0896e2cd20481514d591714ec9641d0c398
7
+ data.tar.gz: 84e1f4eb2ef0937b5577d84f01c5ca309a57a8bcb2cc1b96cfeb369dc0fb922a4858ab2d4886f7673e6f1992093cc7062df294924acae49eb37f9b3721cecfc1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.25.0 (2021-11-11)
4
+
5
+ * Regenerated from discovery document revision 20211105
6
+
7
+ ### v0.24.0 (2021-10-28)
8
+
9
+ * Regenerated from discovery document revision 20211022
10
+
11
+ ### v0.23.0 (2021-10-21)
12
+
13
+ * Regenerated from discovery document revision 20211015
14
+
15
+ ### v0.22.0 (2021-09-24)
16
+
17
+ * Regenerated from discovery document revision 20210918
18
+
3
19
  ### v0.21.0 (2021-09-11)
4
20
 
5
21
  * Regenerated from discovery document revision 20210909
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Dialogflow service in particular.)
67
67
 
@@ -335,6 +335,57 @@ module Google
335
335
  end
336
336
  end
337
337
 
338
+ # Metadata returned for the Environments.DeployFlow long running operation.
339
+ class GoogleCloudDialogflowCxV3DeployFlowMetadata
340
+ include Google::Apis::Core::Hashable
341
+
342
+ # Errors of running deployment tests.
343
+ # Corresponds to the JSON property `testErrors`
344
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError>]
345
+ attr_accessor :test_errors
346
+
347
+ def initialize(**args)
348
+ update!(**args)
349
+ end
350
+
351
+ # Update properties of this object
352
+ def update!(**args)
353
+ @test_errors = args[:test_errors] if args.key?(:test_errors)
354
+ end
355
+ end
356
+
357
+ # The response message for Environments.DeployFlow.
358
+ class GoogleCloudDialogflowCxV3DeployFlowResponse
359
+ include Google::Apis::Core::Hashable
360
+
361
+ # The name of the flow version Deployment. Format: `projects//locations//agents//
362
+ # environments//deployments/`.
363
+ # Corresponds to the JSON property `deployment`
364
+ # @return [String]
365
+ attr_accessor :deployment
366
+
367
+ # Represents an environment for an agent. You can create multiple versions of
368
+ # your agent and publish them to separate environments. When you edit an agent,
369
+ # you are editing the draft agent. At any point, you can save the draft agent as
370
+ # an agent version, which is an immutable snapshot of your agent. When you save
371
+ # the draft agent, it is published to the default environment. When you create
372
+ # agent versions, you can publish them to custom environments. You can create a
373
+ # variety of custom environments for testing, development, production, etc.
374
+ # Corresponds to the JSON property `environment`
375
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Environment]
376
+ attr_accessor :environment
377
+
378
+ def initialize(**args)
379
+ update!(**args)
380
+ end
381
+
382
+ # Update properties of this object
383
+ def update!(**args)
384
+ @deployment = args[:deployment] if args.key?(:deployment)
385
+ @environment = args[:environment] if args.key?(:environment)
386
+ end
387
+ end
388
+
338
389
  # Represents the input for dtmf event.
339
390
  class GoogleCloudDialogflowCxV3DtmfInput
340
391
  include Google::Apis::Core::Hashable
@@ -360,6 +411,121 @@ module Google
360
411
  end
361
412
  end
362
413
 
414
+ # Represents an environment for an agent. You can create multiple versions of
415
+ # your agent and publish them to separate environments. When you edit an agent,
416
+ # you are editing the draft agent. At any point, you can save the draft agent as
417
+ # an agent version, which is an immutable snapshot of your agent. When you save
418
+ # the draft agent, it is published to the default environment. When you create
419
+ # agent versions, you can publish them to custom environments. You can create a
420
+ # variety of custom environments for testing, development, production, etc.
421
+ class GoogleCloudDialogflowCxV3Environment
422
+ include Google::Apis::Core::Hashable
423
+
424
+ # The human-readable description of the environment. The maximum length is 500
425
+ # characters. If exceeded, the request is rejected.
426
+ # Corresponds to the JSON property `description`
427
+ # @return [String]
428
+ attr_accessor :description
429
+
430
+ # Required. The human-readable name of the environment (unique in an agent).
431
+ # Limit of 64 characters.
432
+ # Corresponds to the JSON property `displayName`
433
+ # @return [String]
434
+ attr_accessor :display_name
435
+
436
+ # The name of the environment. Format: `projects//locations//agents//
437
+ # environments/`.
438
+ # Corresponds to the JSON property `name`
439
+ # @return [String]
440
+ attr_accessor :name
441
+
442
+ # The configuration for continuous tests.
443
+ # Corresponds to the JSON property `testCasesConfig`
444
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig]
445
+ attr_accessor :test_cases_config
446
+
447
+ # Output only. Update time of this environment.
448
+ # Corresponds to the JSON property `updateTime`
449
+ # @return [String]
450
+ attr_accessor :update_time
451
+
452
+ # Required. A list of configurations for flow versions. You should include
453
+ # version configs for all flows that are reachable from `Start Flow` in the
454
+ # agent. Otherwise, an error will be returned.
455
+ # Corresponds to the JSON property `versionConfigs`
456
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig>]
457
+ attr_accessor :version_configs
458
+
459
+ def initialize(**args)
460
+ update!(**args)
461
+ end
462
+
463
+ # Update properties of this object
464
+ def update!(**args)
465
+ @description = args[:description] if args.key?(:description)
466
+ @display_name = args[:display_name] if args.key?(:display_name)
467
+ @name = args[:name] if args.key?(:name)
468
+ @test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
469
+ @update_time = args[:update_time] if args.key?(:update_time)
470
+ @version_configs = args[:version_configs] if args.key?(:version_configs)
471
+ end
472
+ end
473
+
474
+ # The configuration for continuous tests.
475
+ class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
476
+ include Google::Apis::Core::Hashable
477
+
478
+ # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
479
+ # false. If set to ture, run once a day.
480
+ # Corresponds to the JSON property `enableContinuousRun`
481
+ # @return [Boolean]
482
+ attr_accessor :enable_continuous_run
483
+ alias_method :enable_continuous_run?, :enable_continuous_run
484
+
485
+ # Whether to run test cases in TestCasesConfig.test_cases before deploying a
486
+ # flow version to the environment. Default false.
487
+ # Corresponds to the JSON property `enablePredeploymentRun`
488
+ # @return [Boolean]
489
+ attr_accessor :enable_predeployment_run
490
+ alias_method :enable_predeployment_run?, :enable_predeployment_run
491
+
492
+ # A list of test case names to run. They should be under the same agent. Format
493
+ # of each test case name: `projects//locations/ /agents//testCases/`
494
+ # Corresponds to the JSON property `testCases`
495
+ # @return [Array<String>]
496
+ attr_accessor :test_cases
497
+
498
+ def initialize(**args)
499
+ update!(**args)
500
+ end
501
+
502
+ # Update properties of this object
503
+ def update!(**args)
504
+ @enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
505
+ @enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
506
+ @test_cases = args[:test_cases] if args.key?(:test_cases)
507
+ end
508
+ end
509
+
510
+ # Configuration for the version.
511
+ class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
512
+ include Google::Apis::Core::Hashable
513
+
514
+ # Required. Format: projects//locations//agents//flows//versions/.
515
+ # Corresponds to the JSON property `version`
516
+ # @return [String]
517
+ attr_accessor :version
518
+
519
+ def initialize(**args)
520
+ update!(**args)
521
+ end
522
+
523
+ # Update properties of this object
524
+ def update!(**args)
525
+ @version = args[:version] if args.key?(:version)
526
+ end
527
+ end
528
+
363
529
  # An event handler specifies an event that can be handled during a session. When
364
530
  # the specified event happens, the following actions are taken in order: * If
365
531
  # there is a `trigger_fulfillment` associated with the event, it will be called.
@@ -2876,6 +3042,57 @@ module Google
2876
3042
  end
2877
3043
  end
2878
3044
 
3045
+ # Metadata returned for the Environments.DeployFlow long running operation.
3046
+ class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
3047
+ include Google::Apis::Core::Hashable
3048
+
3049
+ # Errors of running deployment tests.
3050
+ # Corresponds to the JSON property `testErrors`
3051
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError>]
3052
+ attr_accessor :test_errors
3053
+
3054
+ def initialize(**args)
3055
+ update!(**args)
3056
+ end
3057
+
3058
+ # Update properties of this object
3059
+ def update!(**args)
3060
+ @test_errors = args[:test_errors] if args.key?(:test_errors)
3061
+ end
3062
+ end
3063
+
3064
+ # The response message for Environments.DeployFlow.
3065
+ class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
3066
+ include Google::Apis::Core::Hashable
3067
+
3068
+ # The name of the flow version deployment. Format: `projects//locations//agents//
3069
+ # environments//deployments/`.
3070
+ # Corresponds to the JSON property `deployment`
3071
+ # @return [String]
3072
+ attr_accessor :deployment
3073
+
3074
+ # Represents an environment for an agent. You can create multiple versions of
3075
+ # your agent and publish them to separate environments. When you edit an agent,
3076
+ # you are editing the draft agent. At any point, you can save the draft agent as
3077
+ # an agent version, which is an immutable snapshot of your agent. When you save
3078
+ # the draft agent, it is published to the default environment. When you create
3079
+ # agent versions, you can publish them to custom environments. You can create a
3080
+ # variety of custom environments for testing, development, production, etc.
3081
+ # Corresponds to the JSON property `environment`
3082
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Environment]
3083
+ attr_accessor :environment
3084
+
3085
+ def initialize(**args)
3086
+ update!(**args)
3087
+ end
3088
+
3089
+ # Update properties of this object
3090
+ def update!(**args)
3091
+ @deployment = args[:deployment] if args.key?(:deployment)
3092
+ @environment = args[:environment] if args.key?(:environment)
3093
+ end
3094
+ end
3095
+
2879
3096
  # Represents the input for dtmf event.
2880
3097
  class GoogleCloudDialogflowCxV3beta1DtmfInput
2881
3098
  include Google::Apis::Core::Hashable
@@ -2901,6 +3118,121 @@ module Google
2901
3118
  end
2902
3119
  end
2903
3120
 
3121
+ # Represents an environment for an agent. You can create multiple versions of
3122
+ # your agent and publish them to separate environments. When you edit an agent,
3123
+ # you are editing the draft agent. At any point, you can save the draft agent as
3124
+ # an agent version, which is an immutable snapshot of your agent. When you save
3125
+ # the draft agent, it is published to the default environment. When you create
3126
+ # agent versions, you can publish them to custom environments. You can create a
3127
+ # variety of custom environments for testing, development, production, etc.
3128
+ class GoogleCloudDialogflowCxV3beta1Environment
3129
+ include Google::Apis::Core::Hashable
3130
+
3131
+ # The human-readable description of the environment. The maximum length is 500
3132
+ # characters. If exceeded, the request is rejected.
3133
+ # Corresponds to the JSON property `description`
3134
+ # @return [String]
3135
+ attr_accessor :description
3136
+
3137
+ # Required. The human-readable name of the environment (unique in an agent).
3138
+ # Limit of 64 characters.
3139
+ # Corresponds to the JSON property `displayName`
3140
+ # @return [String]
3141
+ attr_accessor :display_name
3142
+
3143
+ # The name of the environment. Format: `projects//locations//agents//
3144
+ # environments/`.
3145
+ # Corresponds to the JSON property `name`
3146
+ # @return [String]
3147
+ attr_accessor :name
3148
+
3149
+ # The configuration for continuous tests.
3150
+ # Corresponds to the JSON property `testCasesConfig`
3151
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]
3152
+ attr_accessor :test_cases_config
3153
+
3154
+ # Output only. Update time of this environment.
3155
+ # Corresponds to the JSON property `updateTime`
3156
+ # @return [String]
3157
+ attr_accessor :update_time
3158
+
3159
+ # Required. A list of configurations for flow versions. You should include
3160
+ # version configs for all flows that are reachable from `Start Flow` in the
3161
+ # agent. Otherwise, an error will be returned.
3162
+ # Corresponds to the JSON property `versionConfigs`
3163
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>]
3164
+ attr_accessor :version_configs
3165
+
3166
+ def initialize(**args)
3167
+ update!(**args)
3168
+ end
3169
+
3170
+ # Update properties of this object
3171
+ def update!(**args)
3172
+ @description = args[:description] if args.key?(:description)
3173
+ @display_name = args[:display_name] if args.key?(:display_name)
3174
+ @name = args[:name] if args.key?(:name)
3175
+ @test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
3176
+ @update_time = args[:update_time] if args.key?(:update_time)
3177
+ @version_configs = args[:version_configs] if args.key?(:version_configs)
3178
+ end
3179
+ end
3180
+
3181
+ # The configuration for continuous tests.
3182
+ class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
3183
+ include Google::Apis::Core::Hashable
3184
+
3185
+ # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
3186
+ # false. If set to true, run once a day.
3187
+ # Corresponds to the JSON property `enableContinuousRun`
3188
+ # @return [Boolean]
3189
+ attr_accessor :enable_continuous_run
3190
+ alias_method :enable_continuous_run?, :enable_continuous_run
3191
+
3192
+ # Whether to run test cases in TestCasesConfig.test_cases before deploying a
3193
+ # flow version to the environment. Default false.
3194
+ # Corresponds to the JSON property `enablePredeploymentRun`
3195
+ # @return [Boolean]
3196
+ attr_accessor :enable_predeployment_run
3197
+ alias_method :enable_predeployment_run?, :enable_predeployment_run
3198
+
3199
+ # A list of test case names to run. They should be under the same agent. Format
3200
+ # of each test case name: `projects//locations/ /agents//testCases/`
3201
+ # Corresponds to the JSON property `testCases`
3202
+ # @return [Array<String>]
3203
+ attr_accessor :test_cases
3204
+
3205
+ def initialize(**args)
3206
+ update!(**args)
3207
+ end
3208
+
3209
+ # Update properties of this object
3210
+ def update!(**args)
3211
+ @enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
3212
+ @enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
3213
+ @test_cases = args[:test_cases] if args.key?(:test_cases)
3214
+ end
3215
+ end
3216
+
3217
+ # Configuration for the version.
3218
+ class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
3219
+ include Google::Apis::Core::Hashable
3220
+
3221
+ # Required. Format: projects//locations//agents//flows//versions/.
3222
+ # Corresponds to the JSON property `version`
3223
+ # @return [String]
3224
+ attr_accessor :version
3225
+
3226
+ def initialize(**args)
3227
+ update!(**args)
3228
+ end
3229
+
3230
+ # Update properties of this object
3231
+ def update!(**args)
3232
+ @version = args[:version] if args.key?(:version)
3233
+ end
3234
+ end
3235
+
2904
3236
  # An event handler specifies an event that can be handled during a session. When
2905
3237
  # the specified event happens, the following actions are taken in order: * If
2906
3238
  # there is a `trigger_fulfillment` associated with the event, it will be called.
@@ -5584,10 +5916,13 @@ module Google
5584
5916
  # Required. ID of the Dialogflow agent environment to use. This project needs to
5585
5917
  # either be the same project as the conversation or you need to grant `service-@
5586
5918
  # gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API Service Agent`
5587
- # role in this project. Format: `projects//locations//agent/environments/`. If
5588
- # environment is not specified, the default `draft` environment is used. Refer
5589
- # to [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.
5590
- # dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest) for more details.
5919
+ # role in this project. - For ES agents, use format: `projects//locations//agent/
5920
+ # environments/`. If environment is not specified, the default `draft`
5921
+ # environment is used. Refer to [DetectIntentRequest](/dialogflow/docs/reference/
5922
+ # rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest)
5923
+ # for more details. - For CX agents, use format `projects//locations//agents//
5924
+ # environments/`. If environment is not specified, the default `draft`
5925
+ # environment is used.
5591
5926
  # Corresponds to the JSON property `agent`
5592
5927
  # @return [String]
5593
5928
  attr_accessor :agent
@@ -6133,9 +6468,10 @@ module Google
6133
6468
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfig]
6134
6469
  attr_accessor :human_agent_handoff_config
6135
6470
 
6136
- # Language which represents the conversationProfile. If unspecified, the default
6137
- # language code en-us applies. Users need to create a ConversationProfile for
6138
- # each language they want to support.
6471
+ # Language code for the conversation profile. If not specified, the language is
6472
+ # en-US. Language at ConversationProfile should be set for all non en-US
6473
+ # languages. This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.
6474
+ # txt) language tag. Example: "en-US".
6139
6475
  # Corresponds to the JSON property `languageCode`
6140
6476
  # @return [String]
6141
6477
  attr_accessor :language_code
@@ -6161,11 +6497,24 @@ module Google
6161
6497
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig]
6162
6498
  attr_accessor :notification_config
6163
6499
 
6500
+ # Name of the CX SecuritySettings reference for the agent. Format: `projects//
6501
+ # locations//securitySettings/`.
6502
+ # Corresponds to the JSON property `securitySettings`
6503
+ # @return [String]
6504
+ attr_accessor :security_settings
6505
+
6164
6506
  # Configures speech transcription for ConversationProfile.
6165
6507
  # Corresponds to the JSON property `sttConfig`
6166
6508
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig]
6167
6509
  attr_accessor :stt_config
6168
6510
 
6511
+ # The time zone of this conversational profile from the [time zone database](
6512
+ # https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
6513
+ # Defaults to America/New_York.
6514
+ # Corresponds to the JSON property `timeZone`
6515
+ # @return [String]
6516
+ attr_accessor :time_zone
6517
+
6169
6518
  # Output only. Update time of the conversation profile.
6170
6519
  # Corresponds to the JSON property `updateTime`
6171
6520
  # @return [String]
@@ -6187,7 +6536,9 @@ module Google
6187
6536
  @name = args[:name] if args.key?(:name)
6188
6537
  @new_message_event_notification_config = args[:new_message_event_notification_config] if args.key?(:new_message_event_notification_config)
6189
6538
  @notification_config = args[:notification_config] if args.key?(:notification_config)
6539
+ @security_settings = args[:security_settings] if args.key?(:security_settings)
6190
6540
  @stt_config = args[:stt_config] if args.key?(:stt_config)
6541
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
6191
6542
  @update_time = args[:update_time] if args.key?(:update_time)
6192
6543
  end
6193
6544
  end
@@ -7172,7 +7523,8 @@ module Google
7172
7523
  # custom model, there is no recommended value. Tune this value by starting from
7173
7524
  # a very low value and slowly increasing until you have desired results. If this
7174
7525
  # field is not set, it defaults to 0.0, which means that all suggestions are
7175
- # returned. Supported features: ARTICLE_SUGGESTION.
7526
+ # returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY,
7527
+ # SMART_COMPOSE.
7176
7528
  # Corresponds to the JSON property `confidenceThreshold`
7177
7529
  # @return [Float]
7178
7530
  attr_accessor :confidence_threshold
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.25.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 = "20210909"
25
+ REVISION = "20211105"
26
26
  end
27
27
  end
28
28
  end
@@ -82,12 +82,42 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleCloudDialogflowCxV3DeployFlowMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudDialogflowCxV3DeployFlowResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class GoogleCloudDialogflowCxV3DtmfInput
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
88
100
  include Google::Apis::Core::JsonObjectSupport
89
101
  end
90
102
 
103
+ class GoogleCloudDialogflowCxV3Environment
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
91
121
  class GoogleCloudDialogflowCxV3EventHandler
92
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
123
 
@@ -520,12 +550,42 @@ module Google
520
550
  include Google::Apis::Core::JsonObjectSupport
521
551
  end
522
552
 
553
+ class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
523
565
  class GoogleCloudDialogflowCxV3beta1DtmfInput
524
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
567
 
526
568
  include Google::Apis::Core::JsonObjectSupport
527
569
  end
528
570
 
571
+ class GoogleCloudDialogflowCxV3beta1Environment
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
529
589
  class GoogleCloudDialogflowCxV3beta1EventHandler
530
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
591
 
@@ -2417,6 +2477,23 @@ module Google
2417
2477
  end
2418
2478
  end
2419
2479
 
2480
+ class GoogleCloudDialogflowCxV3DeployFlowMetadata
2481
+ # @private
2482
+ class Representation < Google::Apis::Core::JsonRepresentation
2483
+ collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError::Representation
2484
+
2485
+ end
2486
+ end
2487
+
2488
+ class GoogleCloudDialogflowCxV3DeployFlowResponse
2489
+ # @private
2490
+ class Representation < Google::Apis::Core::JsonRepresentation
2491
+ property :deployment, as: 'deployment'
2492
+ property :environment, as: 'environment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Environment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Environment::Representation
2493
+
2494
+ end
2495
+ end
2496
+
2420
2497
  class GoogleCloudDialogflowCxV3DtmfInput
2421
2498
  # @private
2422
2499
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2425,6 +2502,36 @@ module Google
2425
2502
  end
2426
2503
  end
2427
2504
 
2505
+ class GoogleCloudDialogflowCxV3Environment
2506
+ # @private
2507
+ class Representation < Google::Apis::Core::JsonRepresentation
2508
+ property :description, as: 'description'
2509
+ property :display_name, as: 'displayName'
2510
+ property :name, as: 'name'
2511
+ property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig::Representation
2512
+
2513
+ property :update_time, as: 'updateTime'
2514
+ collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig::Representation
2515
+
2516
+ end
2517
+ end
2518
+
2519
+ class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
2520
+ # @private
2521
+ class Representation < Google::Apis::Core::JsonRepresentation
2522
+ property :enable_continuous_run, as: 'enableContinuousRun'
2523
+ property :enable_predeployment_run, as: 'enablePredeploymentRun'
2524
+ collection :test_cases, as: 'testCases'
2525
+ end
2526
+ end
2527
+
2528
+ class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
2529
+ # @private
2530
+ class Representation < Google::Apis::Core::JsonRepresentation
2531
+ property :version, as: 'version'
2532
+ end
2533
+ end
2534
+
2428
2535
  class GoogleCloudDialogflowCxV3EventHandler
2429
2536
  # @private
2430
2537
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3129,6 +3236,23 @@ module Google
3129
3236
  end
3130
3237
  end
3131
3238
 
3239
+ class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
3240
+ # @private
3241
+ class Representation < Google::Apis::Core::JsonRepresentation
3242
+ collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError::Representation
3243
+
3244
+ end
3245
+ end
3246
+
3247
+ class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
3248
+ # @private
3249
+ class Representation < Google::Apis::Core::JsonRepresentation
3250
+ property :deployment, as: 'deployment'
3251
+ property :environment, as: 'environment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Environment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Environment::Representation
3252
+
3253
+ end
3254
+ end
3255
+
3132
3256
  class GoogleCloudDialogflowCxV3beta1DtmfInput
3133
3257
  # @private
3134
3258
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3137,6 +3261,36 @@ module Google
3137
3261
  end
3138
3262
  end
3139
3263
 
3264
+ class GoogleCloudDialogflowCxV3beta1Environment
3265
+ # @private
3266
+ class Representation < Google::Apis::Core::JsonRepresentation
3267
+ property :description, as: 'description'
3268
+ property :display_name, as: 'displayName'
3269
+ property :name, as: 'name'
3270
+ property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig::Representation
3271
+
3272
+ property :update_time, as: 'updateTime'
3273
+ collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation
3274
+
3275
+ end
3276
+ end
3277
+
3278
+ class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
3279
+ # @private
3280
+ class Representation < Google::Apis::Core::JsonRepresentation
3281
+ property :enable_continuous_run, as: 'enableContinuousRun'
3282
+ property :enable_predeployment_run, as: 'enablePredeploymentRun'
3283
+ collection :test_cases, as: 'testCases'
3284
+ end
3285
+ end
3286
+
3287
+ class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
3288
+ # @private
3289
+ class Representation < Google::Apis::Core::JsonRepresentation
3290
+ property :version, as: 'version'
3291
+ end
3292
+ end
3293
+
3140
3294
  class GoogleCloudDialogflowCxV3beta1EventHandler
3141
3295
  # @private
3142
3296
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4025,8 +4179,10 @@ module Google
4025
4179
 
4026
4180
  property :notification_config, as: 'notificationConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig::Representation
4027
4181
 
4182
+ property :security_settings, as: 'securitySettings'
4028
4183
  property :stt_config, as: 'sttConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig::Representation
4029
4184
 
4185
+ property :time_zone, as: 'timeZone'
4030
4186
  property :update_time, as: 'updateTime'
4031
4187
  end
4032
4188
  end
@@ -1200,9 +1200,12 @@ module Google
1200
1200
  # Processes a natural language query and returns structured, actionable data as
1201
1201
  # a result. This method is not idempotent, because it may cause contexts and
1202
1202
  # session entity types to be updated, which in turn might affect results of
1203
- # future queries. Note: Always use agent versions for production traffic. See [
1204
- # Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
1205
- # versions).
1203
+ # future queries. If you might use [Agent Assist](https://cloud.google.com/
1204
+ # dialogflow/docs/#aa) or other CCAI products now or in the future, consider
1205
+ # using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
1206
+ # additional functionality for Agent Assist and other CCAI products. Note:
1207
+ # Always use agent versions for production traffic. See [Versions and
1208
+ # environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
1206
1209
  # @param [String] session
1207
1210
  # Required. The name of the session this query is sent to. Format: `projects//
1208
1211
  # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
@@ -2364,9 +2367,12 @@ module Google
2364
2367
  # Processes a natural language query and returns structured, actionable data as
2365
2368
  # a result. This method is not idempotent, because it may cause contexts and
2366
2369
  # session entity types to be updated, which in turn might affect results of
2367
- # future queries. Note: Always use agent versions for production traffic. See [
2368
- # Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
2369
- # versions).
2370
+ # future queries. If you might use [Agent Assist](https://cloud.google.com/
2371
+ # dialogflow/docs/#aa) or other CCAI products now or in the future, consider
2372
+ # using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
2373
+ # additional functionality for Agent Assist and other CCAI products. Note:
2374
+ # Always use agent versions for production traffic. See [Versions and
2375
+ # environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
2370
2376
  # @param [String] session
2371
2377
  # Required. The name of the session this query is sent to. Format: `projects//
2372
2378
  # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
@@ -5312,9 +5318,12 @@ module Google
5312
5318
  # Processes a natural language query and returns structured, actionable data as
5313
5319
  # a result. This method is not idempotent, because it may cause contexts and
5314
5320
  # session entity types to be updated, which in turn might affect results of
5315
- # future queries. Note: Always use agent versions for production traffic. See [
5316
- # Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
5317
- # versions).
5321
+ # future queries. If you might use [Agent Assist](https://cloud.google.com/
5322
+ # dialogflow/docs/#aa) or other CCAI products now or in the future, consider
5323
+ # using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
5324
+ # additional functionality for Agent Assist and other CCAI products. Note:
5325
+ # Always use agent versions for production traffic. See [Versions and
5326
+ # environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
5318
5327
  # @param [String] session
5319
5328
  # Required. The name of the session this query is sent to. Format: `projects//
5320
5329
  # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
@@ -6074,9 +6083,12 @@ module Google
6074
6083
  # Processes a natural language query and returns structured, actionable data as
6075
6084
  # a result. This method is not idempotent, because it may cause contexts and
6076
6085
  # session entity types to be updated, which in turn might affect results of
6077
- # future queries. Note: Always use agent versions for production traffic. See [
6078
- # Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
6079
- # versions).
6086
+ # future queries. If you might use [Agent Assist](https://cloud.google.com/
6087
+ # dialogflow/docs/#aa) or other CCAI products now or in the future, consider
6088
+ # using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has
6089
+ # additional functionality for Agent Assist and other CCAI products. Note:
6090
+ # Always use agent versions for production traffic. See [Versions and
6091
+ # environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
6080
6092
  # @param [String] session
6081
6093
  # Required. The name of the session this query is sent to. Format: `projects//
6082
6094
  # agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.25.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-09-13 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.21.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.25.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: