google-apis-dialogflow_v3 0.78.0 → 0.80.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 926a04aa1e344f3ffe6c50619c52769a7899bfd1fc6663e6049312b83db87e22
|
4
|
+
data.tar.gz: bd3413dbebb68088b66a89438164849527b57c1b799f44e437f994f8e2a07743
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46fa9d6a489df796273f9ce6ce6388a813ccf515295b13ca99d4d52663b189b6b730216da7df40ccb86b6621392f92242e7e8c9566723237071848d0c79ab962
|
7
|
+
data.tar.gz: 65ad994eeeb6a5d1e5ef12d00446f51d75eac21368b4f4f0798751e9f64cb94b024d540c9c2a7228d2f51b1abb73492953ca7df8846d9f672a9b0a8cbb7462df
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3
|
2
2
|
|
3
|
+
### v0.80.0 (2024-02-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240215
|
6
|
+
|
7
|
+
### v0.79.0 (2024-02-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240131
|
10
|
+
|
3
11
|
### v0.78.0 (2024-01-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240122
|
@@ -226,7 +226,9 @@ module Google
|
|
226
226
|
|
227
227
|
# Immutable. Name of the start flow in this agent. A start flow will be
|
228
228
|
# automatically created when the agent is created, and can only be deleted by
|
229
|
-
# deleting the agent. Format: `projects//locations//agents//flows/`.
|
229
|
+
# deleting the agent. Format: `projects//locations//agents//flows/`. Currently
|
230
|
+
# only the default start flow with id "00000000-0000-0000-0000-000000000000" is
|
231
|
+
# allowed.
|
230
232
|
# Corresponds to the JSON property `startFlow`
|
231
233
|
# @return [String]
|
232
234
|
attr_accessor :start_flow
|
@@ -774,6 +776,11 @@ module Google
|
|
774
776
|
# @return [String]
|
775
777
|
attr_accessor :display_name
|
776
778
|
|
779
|
+
# The affected language code of the change.
|
780
|
+
# Corresponds to the JSON property `languageCode`
|
781
|
+
# @return [String]
|
782
|
+
attr_accessor :language_code
|
783
|
+
|
777
784
|
# The unique identifier of the changelog. Format: `projects//locations//agents//
|
778
785
|
# changelogs/`.
|
779
786
|
# Corresponds to the JSON property `name`
|
@@ -804,6 +811,7 @@ module Google
|
|
804
811
|
@action = args[:action] if args.key?(:action)
|
805
812
|
@create_time = args[:create_time] if args.key?(:create_time)
|
806
813
|
@display_name = args[:display_name] if args.key?(:display_name)
|
814
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
807
815
|
@name = args[:name] if args.key?(:name)
|
808
816
|
@resource = args[:resource] if args.key?(:resource)
|
809
817
|
@type = args[:type] if args.key?(:type)
|
@@ -2189,6 +2197,102 @@ module Google
|
|
2189
2197
|
end
|
2190
2198
|
end
|
2191
2199
|
|
2200
|
+
# Metadata returned for the EntityTypes.ExportEntityTypes long running operation.
|
2201
|
+
class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata
|
2202
|
+
include Google::Apis::Core::Hashable
|
2203
|
+
|
2204
|
+
def initialize(**args)
|
2205
|
+
update!(**args)
|
2206
|
+
end
|
2207
|
+
|
2208
|
+
# Update properties of this object
|
2209
|
+
def update!(**args)
|
2210
|
+
end
|
2211
|
+
end
|
2212
|
+
|
2213
|
+
# The request message for EntityTypes.ExportEntityTypes.
|
2214
|
+
class GoogleCloudDialogflowCxV3ExportEntityTypesRequest
|
2215
|
+
include Google::Apis::Core::Hashable
|
2216
|
+
|
2217
|
+
# Optional. The data format of the exported entity types. If not specified, `
|
2218
|
+
# BLOB` is assumed.
|
2219
|
+
# Corresponds to the JSON property `dataFormat`
|
2220
|
+
# @return [String]
|
2221
|
+
attr_accessor :data_format
|
2222
|
+
|
2223
|
+
# Required. The name of the entity types to export. Format: `projects//locations/
|
2224
|
+
# /agents//entityTypes/`.
|
2225
|
+
# Corresponds to the JSON property `entityTypes`
|
2226
|
+
# @return [Array<String>]
|
2227
|
+
attr_accessor :entity_types
|
2228
|
+
|
2229
|
+
# Optional. The option to return the serialized entity types inline.
|
2230
|
+
# Corresponds to the JSON property `entityTypesContentInline`
|
2231
|
+
# @return [Boolean]
|
2232
|
+
attr_accessor :entity_types_content_inline
|
2233
|
+
alias_method :entity_types_content_inline?, :entity_types_content_inline
|
2234
|
+
|
2235
|
+
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
2236
|
+
# URI to export the entity types to. The format of this URI must be `gs:///`.
|
2237
|
+
# Dialogflow performs a write operation for the Cloud Storage object on the
|
2238
|
+
# caller's behalf, so your request authentication must have write permissions
|
2239
|
+
# for the object. For more information, see [Dialogflow access control](https://
|
2240
|
+
# cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
2241
|
+
# Corresponds to the JSON property `entityTypesUri`
|
2242
|
+
# @return [String]
|
2243
|
+
attr_accessor :entity_types_uri
|
2244
|
+
|
2245
|
+
# Optional. The language to retrieve the entity type for. The following fields
|
2246
|
+
# are language dependent: * `EntityType.entities.value` * `EntityType.entities.
|
2247
|
+
# synonyms` * `EntityType.excluded_phrases.value` If not specified, all language
|
2248
|
+
# dependent fields will be retrieved. [Many languages](https://cloud.google.com/
|
2249
|
+
# dialogflow/docs/reference/language) are supported. Note: languages must be
|
2250
|
+
# enabled in the agent before they can be used.
|
2251
|
+
# Corresponds to the JSON property `languageCode`
|
2252
|
+
# @return [String]
|
2253
|
+
attr_accessor :language_code
|
2254
|
+
|
2255
|
+
def initialize(**args)
|
2256
|
+
update!(**args)
|
2257
|
+
end
|
2258
|
+
|
2259
|
+
# Update properties of this object
|
2260
|
+
def update!(**args)
|
2261
|
+
@data_format = args[:data_format] if args.key?(:data_format)
|
2262
|
+
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
2263
|
+
@entity_types_content_inline = args[:entity_types_content_inline] if args.key?(:entity_types_content_inline)
|
2264
|
+
@entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
|
2265
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
2266
|
+
end
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
# The response message for EntityTypes.ExportEntityTypes.
|
2270
|
+
class GoogleCloudDialogflowCxV3ExportEntityTypesResponse
|
2271
|
+
include Google::Apis::Core::Hashable
|
2272
|
+
|
2273
|
+
# Inline destination for a Dialogflow operation that writes or exports objects (
|
2274
|
+
# e.g. intents) outside of Dialogflow.
|
2275
|
+
# Corresponds to the JSON property `entityTypesContent`
|
2276
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination]
|
2277
|
+
attr_accessor :entity_types_content
|
2278
|
+
|
2279
|
+
# The URI to a file containing the exported entity types. This field is
|
2280
|
+
# populated only if `entity_types_uri` is specified in ExportEntityTypesRequest.
|
2281
|
+
# Corresponds to the JSON property `entityTypesUri`
|
2282
|
+
# @return [String]
|
2283
|
+
attr_accessor :entity_types_uri
|
2284
|
+
|
2285
|
+
def initialize(**args)
|
2286
|
+
update!(**args)
|
2287
|
+
end
|
2288
|
+
|
2289
|
+
# Update properties of this object
|
2290
|
+
def update!(**args)
|
2291
|
+
@entity_types_content = args[:entity_types_content] if args.key?(:entity_types_content)
|
2292
|
+
@entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
|
2293
|
+
end
|
2294
|
+
end
|
2295
|
+
|
2192
2296
|
# The request message for Flows.ExportFlow.
|
2193
2297
|
class GoogleCloudDialogflowCxV3ExportFlowRequest
|
2194
2298
|
include Google::Apis::Core::Hashable
|
@@ -3346,6 +3450,121 @@ module Google
|
|
3346
3450
|
end
|
3347
3451
|
end
|
3348
3452
|
|
3453
|
+
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
|
3454
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
|
3455
|
+
include Google::Apis::Core::Hashable
|
3456
|
+
|
3457
|
+
def initialize(**args)
|
3458
|
+
update!(**args)
|
3459
|
+
end
|
3460
|
+
|
3461
|
+
# Update properties of this object
|
3462
|
+
def update!(**args)
|
3463
|
+
end
|
3464
|
+
end
|
3465
|
+
|
3466
|
+
# The request message for EntityTypes.ImportEntityTypes.
|
3467
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesRequest
|
3468
|
+
include Google::Apis::Core::Hashable
|
3469
|
+
|
3470
|
+
# Inline source for a Dialogflow operation that reads or imports objects (e.g.
|
3471
|
+
# intents) into Dialogflow.
|
3472
|
+
# Corresponds to the JSON property `entityTypesContent`
|
3473
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource]
|
3474
|
+
attr_accessor :entity_types_content
|
3475
|
+
|
3476
|
+
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
3477
|
+
# import entity types from. The format of this URI must be `gs:///`. Dialogflow
|
3478
|
+
# performs a read operation for the Cloud Storage object on the caller's behalf,
|
3479
|
+
# so your request authentication must have read permissions for the object. For
|
3480
|
+
# more information, see [Dialogflow access control](https://cloud.google.com/
|
3481
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
3482
|
+
# Corresponds to the JSON property `entityTypesUri`
|
3483
|
+
# @return [String]
|
3484
|
+
attr_accessor :entity_types_uri
|
3485
|
+
|
3486
|
+
# Required. Merge option for importing entity types.
|
3487
|
+
# Corresponds to the JSON property `mergeOption`
|
3488
|
+
# @return [String]
|
3489
|
+
attr_accessor :merge_option
|
3490
|
+
|
3491
|
+
# Optional. The target entity type to import into. Format: `projects//locations//
|
3492
|
+
# agents//entity_types/`. If set, there should be only one entity type included
|
3493
|
+
# in entity_types, of which the type should match the type of the target entity
|
3494
|
+
# type. All entities in the imported entity type will be added to the target
|
3495
|
+
# entity type.
|
3496
|
+
# Corresponds to the JSON property `targetEntityType`
|
3497
|
+
# @return [String]
|
3498
|
+
attr_accessor :target_entity_type
|
3499
|
+
|
3500
|
+
def initialize(**args)
|
3501
|
+
update!(**args)
|
3502
|
+
end
|
3503
|
+
|
3504
|
+
# Update properties of this object
|
3505
|
+
def update!(**args)
|
3506
|
+
@entity_types_content = args[:entity_types_content] if args.key?(:entity_types_content)
|
3507
|
+
@entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
|
3508
|
+
@merge_option = args[:merge_option] if args.key?(:merge_option)
|
3509
|
+
@target_entity_type = args[:target_entity_type] if args.key?(:target_entity_type)
|
3510
|
+
end
|
3511
|
+
end
|
3512
|
+
|
3513
|
+
# The response message for EntityTypes.ImportEntityTypes.
|
3514
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesResponse
|
3515
|
+
include Google::Apis::Core::Hashable
|
3516
|
+
|
3517
|
+
# Conflicting resources detected during the import process. Only filled when
|
3518
|
+
# REPORT_CONFLICT is set in the request and there are conflicts in the display
|
3519
|
+
# names.
|
3520
|
+
# Corresponds to the JSON property `conflictingResources`
|
3521
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources]
|
3522
|
+
attr_accessor :conflicting_resources
|
3523
|
+
|
3524
|
+
# The unique identifier of the imported entity types. Format: `projects//
|
3525
|
+
# locations//agents//entity_types/`.
|
3526
|
+
# Corresponds to the JSON property `entityTypes`
|
3527
|
+
# @return [Array<String>]
|
3528
|
+
attr_accessor :entity_types
|
3529
|
+
|
3530
|
+
def initialize(**args)
|
3531
|
+
update!(**args)
|
3532
|
+
end
|
3533
|
+
|
3534
|
+
# Update properties of this object
|
3535
|
+
def update!(**args)
|
3536
|
+
@conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
|
3537
|
+
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
3538
|
+
end
|
3539
|
+
end
|
3540
|
+
|
3541
|
+
# Conflicting resources detected during the import process. Only filled when
|
3542
|
+
# REPORT_CONFLICT is set in the request and there are conflicts in the display
|
3543
|
+
# names.
|
3544
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources
|
3545
|
+
include Google::Apis::Core::Hashable
|
3546
|
+
|
3547
|
+
# Display names of conflicting entities.
|
3548
|
+
# Corresponds to the JSON property `entityDisplayNames`
|
3549
|
+
# @return [Array<String>]
|
3550
|
+
attr_accessor :entity_display_names
|
3551
|
+
|
3552
|
+
# Display names of conflicting entity types.
|
3553
|
+
# Corresponds to the JSON property `entityTypeDisplayNames`
|
3554
|
+
# @return [Array<String>]
|
3555
|
+
attr_accessor :entity_type_display_names
|
3556
|
+
|
3557
|
+
def initialize(**args)
|
3558
|
+
update!(**args)
|
3559
|
+
end
|
3560
|
+
|
3561
|
+
# Update properties of this object
|
3562
|
+
def update!(**args)
|
3563
|
+
@entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
|
3564
|
+
@entity_type_display_names = args[:entity_type_display_names] if args.key?(:entity_type_display_names)
|
3565
|
+
end
|
3566
|
+
end
|
3567
|
+
|
3349
3568
|
# The request message for Flows.ImportFlow.
|
3350
3569
|
class GoogleCloudDialogflowCxV3ImportFlowRequest
|
3351
3570
|
include Google::Apis::Core::Hashable
|
@@ -5315,6 +5534,21 @@ module Google
|
|
5315
5534
|
attr_accessor :allow_answer_feedback
|
5316
5535
|
alias_method :allow_answer_feedback?, :allow_answer_feedback
|
5317
5536
|
|
5537
|
+
# Flows represents the conversation flows when you build your chatbot agent. A
|
5538
|
+
# flow consists of many pages connected by the transition routes. Conversations
|
5539
|
+
# always start with the built-in Start Flow (with an all-0 ID). Transition
|
5540
|
+
# routes can direct the conversation session from the current flow (parent flow)
|
5541
|
+
# to another flow (sub flow). When the sub flow is finished, Dialogflow will
|
5542
|
+
# bring the session back to the parent flow, where the sub flow is started.
|
5543
|
+
# Usually, when a transition route is followed by a matched intent, the intent
|
5544
|
+
# will be "consumed". This means the intent won't activate more transition
|
5545
|
+
# routes. However, when the followed transition route moves the conversation
|
5546
|
+
# session into a different flow, the matched intent can be carried over and to
|
5547
|
+
# be consumed in the target flow.
|
5548
|
+
# Corresponds to the JSON property `currentFlow`
|
5549
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow]
|
5550
|
+
attr_accessor :current_flow
|
5551
|
+
|
5318
5552
|
# A Dialogflow CX conversation (session) can be described and visualized as a
|
5319
5553
|
# state machine. The states of a CX session are represented by pages. For each
|
5320
5554
|
# flow, you define many pages, where your combined pages can handle a complete
|
@@ -5433,6 +5667,21 @@ module Google
|
|
5433
5667
|
# @return [String]
|
5434
5668
|
attr_accessor :trigger_intent
|
5435
5669
|
|
5670
|
+
# The list of webhook display names in the order of call sequence.
|
5671
|
+
# Corresponds to the JSON property `webhookDisplayNames`
|
5672
|
+
# @return [Array<String>]
|
5673
|
+
attr_accessor :webhook_display_names
|
5674
|
+
|
5675
|
+
# The list of webhook ids in the order of call sequence.
|
5676
|
+
# Corresponds to the JSON property `webhookIds`
|
5677
|
+
# @return [Array<String>]
|
5678
|
+
attr_accessor :webhook_ids
|
5679
|
+
|
5680
|
+
# The list of webhook latencies in the order of call sequence.
|
5681
|
+
# Corresponds to the JSON property `webhookLatencies`
|
5682
|
+
# @return [Array<String>]
|
5683
|
+
attr_accessor :webhook_latencies
|
5684
|
+
|
5436
5685
|
# The list of webhook payload in WebhookResponse.payload, in the order of call
|
5437
5686
|
# sequence. If some webhook call fails or doesn't return any payload, an empty `
|
5438
5687
|
# Struct` would be used instead.
|
@@ -5445,6 +5694,11 @@ module Google
|
|
5445
5694
|
# @return [Array<Google::Apis::DialogflowV3::GoogleRpcStatus>]
|
5446
5695
|
attr_accessor :webhook_statuses
|
5447
5696
|
|
5697
|
+
# The list of webhook tags in the order of call sequence.
|
5698
|
+
# Corresponds to the JSON property `webhookTags`
|
5699
|
+
# @return [Array<String>]
|
5700
|
+
attr_accessor :webhook_tags
|
5701
|
+
|
5448
5702
|
def initialize(**args)
|
5449
5703
|
update!(**args)
|
5450
5704
|
end
|
@@ -5453,6 +5707,7 @@ module Google
|
|
5453
5707
|
def update!(**args)
|
5454
5708
|
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
5455
5709
|
@allow_answer_feedback = args[:allow_answer_feedback] if args.key?(:allow_answer_feedback)
|
5710
|
+
@current_flow = args[:current_flow] if args.key?(:current_flow)
|
5456
5711
|
@current_page = args[:current_page] if args.key?(:current_page)
|
5457
5712
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
5458
5713
|
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
@@ -5467,8 +5722,12 @@ module Google
|
|
5467
5722
|
@transcript = args[:transcript] if args.key?(:transcript)
|
5468
5723
|
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
5469
5724
|
@trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
|
5725
|
+
@webhook_display_names = args[:webhook_display_names] if args.key?(:webhook_display_names)
|
5726
|
+
@webhook_ids = args[:webhook_ids] if args.key?(:webhook_ids)
|
5727
|
+
@webhook_latencies = args[:webhook_latencies] if args.key?(:webhook_latencies)
|
5470
5728
|
@webhook_payloads = args[:webhook_payloads] if args.key?(:webhook_payloads)
|
5471
5729
|
@webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
|
5730
|
+
@webhook_tags = args[:webhook_tags] if args.key?(:webhook_tags)
|
5472
5731
|
end
|
5473
5732
|
end
|
5474
5733
|
|
@@ -5615,6 +5874,11 @@ module Google
|
|
5615
5874
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText]
|
5616
5875
|
attr_accessor :text
|
5617
5876
|
|
5877
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
5878
|
+
# Corresponds to the JSON property `toolCall`
|
5879
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolCall]
|
5880
|
+
attr_accessor :tool_call
|
5881
|
+
|
5618
5882
|
def initialize(**args)
|
5619
5883
|
update!(**args)
|
5620
5884
|
end
|
@@ -5633,6 +5897,7 @@ module Google
|
|
5633
5897
|
@response_type = args[:response_type] if args.key?(:response_type)
|
5634
5898
|
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
5635
5899
|
@text = args[:text] if args.key?(:text)
|
5900
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
5636
5901
|
end
|
5637
5902
|
end
|
5638
5903
|
|
@@ -6923,6 +7188,38 @@ module Google
|
|
6923
7188
|
end
|
6924
7189
|
end
|
6925
7190
|
|
7191
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
7192
|
+
class GoogleCloudDialogflowCxV3ToolCall
|
7193
|
+
include Google::Apis::Core::Hashable
|
7194
|
+
|
7195
|
+
# Required. The name of the tool's action associated with this call.
|
7196
|
+
# Corresponds to the JSON property `action`
|
7197
|
+
# @return [String]
|
7198
|
+
attr_accessor :action
|
7199
|
+
|
7200
|
+
# Optional. The action's input parameters.
|
7201
|
+
# Corresponds to the JSON property `inputParameters`
|
7202
|
+
# @return [Hash<String,Object>]
|
7203
|
+
attr_accessor :input_parameters
|
7204
|
+
|
7205
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
7206
|
+
# agents//tools/`.
|
7207
|
+
# Corresponds to the JSON property `tool`
|
7208
|
+
# @return [String]
|
7209
|
+
attr_accessor :tool
|
7210
|
+
|
7211
|
+
def initialize(**args)
|
7212
|
+
update!(**args)
|
7213
|
+
end
|
7214
|
+
|
7215
|
+
# Update properties of this object
|
7216
|
+
def update!(**args)
|
7217
|
+
@action = args[:action] if args.key?(:action)
|
7218
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
7219
|
+
@tool = args[:tool] if args.key?(:tool)
|
7220
|
+
end
|
7221
|
+
end
|
7222
|
+
|
6926
7223
|
# The request message for Flows.TrainFlow.
|
6927
7224
|
class GoogleCloudDialogflowCxV3TrainFlowRequest
|
6928
7225
|
include Google::Apis::Core::Hashable
|
@@ -8917,6 +9214,46 @@ module Google
|
|
8917
9214
|
end
|
8918
9215
|
end
|
8919
9216
|
|
9217
|
+
# Metadata returned for the EntityTypes.ExportEntityTypes long running operation.
|
9218
|
+
class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata
|
9219
|
+
include Google::Apis::Core::Hashable
|
9220
|
+
|
9221
|
+
def initialize(**args)
|
9222
|
+
update!(**args)
|
9223
|
+
end
|
9224
|
+
|
9225
|
+
# Update properties of this object
|
9226
|
+
def update!(**args)
|
9227
|
+
end
|
9228
|
+
end
|
9229
|
+
|
9230
|
+
# The response message for EntityTypes.ExportEntityTypes.
|
9231
|
+
class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse
|
9232
|
+
include Google::Apis::Core::Hashable
|
9233
|
+
|
9234
|
+
# Inline destination for a Dialogflow operation that writes or exports objects (
|
9235
|
+
# e.g. intents) outside of Dialogflow.
|
9236
|
+
# Corresponds to the JSON property `entityTypesContent`
|
9237
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination]
|
9238
|
+
attr_accessor :entity_types_content
|
9239
|
+
|
9240
|
+
# The URI to a file containing the exported entity types. This field is
|
9241
|
+
# populated only if `entity_types_uri` is specified in ExportEntityTypesRequest.
|
9242
|
+
# Corresponds to the JSON property `entityTypesUri`
|
9243
|
+
# @return [String]
|
9244
|
+
attr_accessor :entity_types_uri
|
9245
|
+
|
9246
|
+
def initialize(**args)
|
9247
|
+
update!(**args)
|
9248
|
+
end
|
9249
|
+
|
9250
|
+
# Update properties of this object
|
9251
|
+
def update!(**args)
|
9252
|
+
@entity_types_content = args[:entity_types_content] if args.key?(:entity_types_content)
|
9253
|
+
@entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
|
9254
|
+
end
|
9255
|
+
end
|
9256
|
+
|
8920
9257
|
# The response message for Flows.ExportFlow.
|
8921
9258
|
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
8922
9259
|
include Google::Apis::Core::Hashable
|
@@ -9457,6 +9794,74 @@ module Google
|
|
9457
9794
|
end
|
9458
9795
|
end
|
9459
9796
|
|
9797
|
+
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
|
9798
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
|
9799
|
+
include Google::Apis::Core::Hashable
|
9800
|
+
|
9801
|
+
def initialize(**args)
|
9802
|
+
update!(**args)
|
9803
|
+
end
|
9804
|
+
|
9805
|
+
# Update properties of this object
|
9806
|
+
def update!(**args)
|
9807
|
+
end
|
9808
|
+
end
|
9809
|
+
|
9810
|
+
# The response message for EntityTypes.ImportEntityTypes.
|
9811
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse
|
9812
|
+
include Google::Apis::Core::Hashable
|
9813
|
+
|
9814
|
+
# Conflicting resources detected during the import process. Only filled when
|
9815
|
+
# REPORT_CONFLICT is set in the request and there are conflicts in the display
|
9816
|
+
# names.
|
9817
|
+
# Corresponds to the JSON property `conflictingResources`
|
9818
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources]
|
9819
|
+
attr_accessor :conflicting_resources
|
9820
|
+
|
9821
|
+
# The unique identifier of the imported entity types. Format: `projects//
|
9822
|
+
# locations//agents//entity_types/`.
|
9823
|
+
# Corresponds to the JSON property `entityTypes`
|
9824
|
+
# @return [Array<String>]
|
9825
|
+
attr_accessor :entity_types
|
9826
|
+
|
9827
|
+
def initialize(**args)
|
9828
|
+
update!(**args)
|
9829
|
+
end
|
9830
|
+
|
9831
|
+
# Update properties of this object
|
9832
|
+
def update!(**args)
|
9833
|
+
@conflicting_resources = args[:conflicting_resources] if args.key?(:conflicting_resources)
|
9834
|
+
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
9835
|
+
end
|
9836
|
+
end
|
9837
|
+
|
9838
|
+
# Conflicting resources detected during the import process. Only filled when
|
9839
|
+
# REPORT_CONFLICT is set in the request and there are conflicts in the display
|
9840
|
+
# names.
|
9841
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources
|
9842
|
+
include Google::Apis::Core::Hashable
|
9843
|
+
|
9844
|
+
# Display names of conflicting entities.
|
9845
|
+
# Corresponds to the JSON property `entityDisplayNames`
|
9846
|
+
# @return [Array<String>]
|
9847
|
+
attr_accessor :entity_display_names
|
9848
|
+
|
9849
|
+
# Display names of conflicting entity types.
|
9850
|
+
# Corresponds to the JSON property `entityTypeDisplayNames`
|
9851
|
+
# @return [Array<String>]
|
9852
|
+
attr_accessor :entity_type_display_names
|
9853
|
+
|
9854
|
+
def initialize(**args)
|
9855
|
+
update!(**args)
|
9856
|
+
end
|
9857
|
+
|
9858
|
+
# Update properties of this object
|
9859
|
+
def update!(**args)
|
9860
|
+
@entity_display_names = args[:entity_display_names] if args.key?(:entity_display_names)
|
9861
|
+
@entity_type_display_names = args[:entity_type_display_names] if args.key?(:entity_type_display_names)
|
9862
|
+
end
|
9863
|
+
end
|
9864
|
+
|
9460
9865
|
# The response message for Flows.ImportFlow.
|
9461
9866
|
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
9462
9867
|
include Google::Apis::Core::Hashable
|
@@ -10255,6 +10660,11 @@ module Google
|
|
10255
10660
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput]
|
10256
10661
|
attr_accessor :text
|
10257
10662
|
|
10663
|
+
# The result of calling a tool's action that has been executed by the client.
|
10664
|
+
# Corresponds to the JSON property `toolCallResult`
|
10665
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult]
|
10666
|
+
attr_accessor :tool_call_result
|
10667
|
+
|
10258
10668
|
def initialize(**args)
|
10259
10669
|
update!(**args)
|
10260
10670
|
end
|
@@ -10267,6 +10677,7 @@ module Google
|
|
10267
10677
|
@intent = args[:intent] if args.key?(:intent)
|
10268
10678
|
@language_code = args[:language_code] if args.key?(:language_code)
|
10269
10679
|
@text = args[:text] if args.key?(:text)
|
10680
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
10270
10681
|
end
|
10271
10682
|
end
|
10272
10683
|
|
@@ -10383,6 +10794,11 @@ module Google
|
|
10383
10794
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
|
10384
10795
|
attr_accessor :text
|
10385
10796
|
|
10797
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
10798
|
+
# Corresponds to the JSON property `toolCall`
|
10799
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall]
|
10800
|
+
attr_accessor :tool_call
|
10801
|
+
|
10386
10802
|
def initialize(**args)
|
10387
10803
|
update!(**args)
|
10388
10804
|
end
|
@@ -10400,6 +10816,7 @@ module Google
|
|
10400
10816
|
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
10401
10817
|
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
10402
10818
|
@text = args[:text] if args.key?(:text)
|
10819
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
10403
10820
|
end
|
10404
10821
|
end
|
10405
10822
|
|
@@ -11022,6 +11439,95 @@ module Google
|
|
11022
11439
|
end
|
11023
11440
|
end
|
11024
11441
|
|
11442
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
11443
|
+
class GoogleCloudDialogflowCxV3beta1ToolCall
|
11444
|
+
include Google::Apis::Core::Hashable
|
11445
|
+
|
11446
|
+
# Required. The name of the tool's action associated with this call.
|
11447
|
+
# Corresponds to the JSON property `action`
|
11448
|
+
# @return [String]
|
11449
|
+
attr_accessor :action
|
11450
|
+
|
11451
|
+
# Optional. The action's input parameters.
|
11452
|
+
# Corresponds to the JSON property `inputParameters`
|
11453
|
+
# @return [Hash<String,Object>]
|
11454
|
+
attr_accessor :input_parameters
|
11455
|
+
|
11456
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
11457
|
+
# agents//tools/`.
|
11458
|
+
# Corresponds to the JSON property `tool`
|
11459
|
+
# @return [String]
|
11460
|
+
attr_accessor :tool
|
11461
|
+
|
11462
|
+
def initialize(**args)
|
11463
|
+
update!(**args)
|
11464
|
+
end
|
11465
|
+
|
11466
|
+
# Update properties of this object
|
11467
|
+
def update!(**args)
|
11468
|
+
@action = args[:action] if args.key?(:action)
|
11469
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
11470
|
+
@tool = args[:tool] if args.key?(:tool)
|
11471
|
+
end
|
11472
|
+
end
|
11473
|
+
|
11474
|
+
# The result of calling a tool's action that has been executed by the client.
|
11475
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResult
|
11476
|
+
include Google::Apis::Core::Hashable
|
11477
|
+
|
11478
|
+
# Required. The name of the tool's action associated with this call.
|
11479
|
+
# Corresponds to the JSON property `action`
|
11480
|
+
# @return [String]
|
11481
|
+
attr_accessor :action
|
11482
|
+
|
11483
|
+
# An error produced by the tool call.
|
11484
|
+
# Corresponds to the JSON property `error`
|
11485
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError]
|
11486
|
+
attr_accessor :error
|
11487
|
+
|
11488
|
+
# The tool call's output parameters.
|
11489
|
+
# Corresponds to the JSON property `outputParameters`
|
11490
|
+
# @return [Hash<String,Object>]
|
11491
|
+
attr_accessor :output_parameters
|
11492
|
+
|
11493
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
11494
|
+
# agents//tools/`.
|
11495
|
+
# Corresponds to the JSON property `tool`
|
11496
|
+
# @return [String]
|
11497
|
+
attr_accessor :tool
|
11498
|
+
|
11499
|
+
def initialize(**args)
|
11500
|
+
update!(**args)
|
11501
|
+
end
|
11502
|
+
|
11503
|
+
# Update properties of this object
|
11504
|
+
def update!(**args)
|
11505
|
+
@action = args[:action] if args.key?(:action)
|
11506
|
+
@error = args[:error] if args.key?(:error)
|
11507
|
+
@output_parameters = args[:output_parameters] if args.key?(:output_parameters)
|
11508
|
+
@tool = args[:tool] if args.key?(:tool)
|
11509
|
+
end
|
11510
|
+
end
|
11511
|
+
|
11512
|
+
# An error produced by the tool call.
|
11513
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResultError
|
11514
|
+
include Google::Apis::Core::Hashable
|
11515
|
+
|
11516
|
+
# Optional. The error message of the function.
|
11517
|
+
# Corresponds to the JSON property `message`
|
11518
|
+
# @return [String]
|
11519
|
+
attr_accessor :message
|
11520
|
+
|
11521
|
+
def initialize(**args)
|
11522
|
+
update!(**args)
|
11523
|
+
end
|
11524
|
+
|
11525
|
+
# Update properties of this object
|
11526
|
+
def update!(**args)
|
11527
|
+
@message = args[:message] if args.key?(:message)
|
11528
|
+
end
|
11529
|
+
end
|
11530
|
+
|
11025
11531
|
# A transition route specifies a intent that can be matched and/or a data
|
11026
11532
|
# condition that can be evaluated during a session. When a specified transition
|
11027
11533
|
# is matched, the following actions are taken in order: * If there is a `
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.80.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240215"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -376,6 +376,24 @@ module Google
|
|
376
376
|
include Google::Apis::Core::JsonObjectSupport
|
377
377
|
end
|
378
378
|
|
379
|
+
class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class GoogleCloudDialogflowCxV3ExportEntityTypesRequest
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
391
|
+
class GoogleCloudDialogflowCxV3ExportEntityTypesResponse
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
379
397
|
class GoogleCloudDialogflowCxV3ExportFlowRequest
|
380
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
399
|
|
@@ -568,6 +586,30 @@ module Google
|
|
568
586
|
include Google::Apis::Core::JsonObjectSupport
|
569
587
|
end
|
570
588
|
|
589
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
595
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesRequest
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
601
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesResponse
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
605
|
+
end
|
606
|
+
|
607
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
571
613
|
class GoogleCloudDialogflowCxV3ImportFlowRequest
|
572
614
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
615
|
|
@@ -1162,6 +1204,12 @@ module Google
|
|
1162
1204
|
include Google::Apis::Core::JsonObjectSupport
|
1163
1205
|
end
|
1164
1206
|
|
1207
|
+
class GoogleCloudDialogflowCxV3ToolCall
|
1208
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1209
|
+
|
1210
|
+
include Google::Apis::Core::JsonObjectSupport
|
1211
|
+
end
|
1212
|
+
|
1165
1213
|
class GoogleCloudDialogflowCxV3TrainFlowRequest
|
1166
1214
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1167
1215
|
|
@@ -1492,6 +1540,18 @@ module Google
|
|
1492
1540
|
include Google::Apis::Core::JsonObjectSupport
|
1493
1541
|
end
|
1494
1542
|
|
1543
|
+
class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata
|
1544
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1545
|
+
|
1546
|
+
include Google::Apis::Core::JsonObjectSupport
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse
|
1550
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1551
|
+
|
1552
|
+
include Google::Apis::Core::JsonObjectSupport
|
1553
|
+
end
|
1554
|
+
|
1495
1555
|
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
1496
1556
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1497
1557
|
|
@@ -1594,6 +1654,24 @@ module Google
|
|
1594
1654
|
include Google::Apis::Core::JsonObjectSupport
|
1595
1655
|
end
|
1596
1656
|
|
1657
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
|
1658
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1659
|
+
|
1660
|
+
include Google::Apis::Core::JsonObjectSupport
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse
|
1664
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1665
|
+
|
1666
|
+
include Google::Apis::Core::JsonObjectSupport
|
1667
|
+
end
|
1668
|
+
|
1669
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources
|
1670
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1671
|
+
|
1672
|
+
include Google::Apis::Core::JsonObjectSupport
|
1673
|
+
end
|
1674
|
+
|
1597
1675
|
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
1598
1676
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1599
1677
|
|
@@ -1852,6 +1930,24 @@ module Google
|
|
1852
1930
|
include Google::Apis::Core::JsonObjectSupport
|
1853
1931
|
end
|
1854
1932
|
|
1933
|
+
class GoogleCloudDialogflowCxV3beta1ToolCall
|
1934
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1935
|
+
|
1936
|
+
include Google::Apis::Core::JsonObjectSupport
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResult
|
1940
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1941
|
+
|
1942
|
+
include Google::Apis::Core::JsonObjectSupport
|
1943
|
+
end
|
1944
|
+
|
1945
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResultError
|
1946
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1947
|
+
|
1948
|
+
include Google::Apis::Core::JsonObjectSupport
|
1949
|
+
end
|
1950
|
+
|
1855
1951
|
class GoogleCloudDialogflowCxV3beta1TransitionRoute
|
1856
1952
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1857
1953
|
|
@@ -3209,6 +3305,7 @@ module Google
|
|
3209
3305
|
property :action, as: 'action'
|
3210
3306
|
property :create_time, as: 'createTime'
|
3211
3307
|
property :display_name, as: 'displayName'
|
3308
|
+
property :language_code, as: 'languageCode'
|
3212
3309
|
property :name, as: 'name'
|
3213
3310
|
property :resource, as: 'resource'
|
3214
3311
|
property :type, as: 'type'
|
@@ -3595,6 +3692,32 @@ module Google
|
|
3595
3692
|
end
|
3596
3693
|
end
|
3597
3694
|
|
3695
|
+
class GoogleCloudDialogflowCxV3ExportEntityTypesMetadata
|
3696
|
+
# @private
|
3697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3698
|
+
end
|
3699
|
+
end
|
3700
|
+
|
3701
|
+
class GoogleCloudDialogflowCxV3ExportEntityTypesRequest
|
3702
|
+
# @private
|
3703
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3704
|
+
property :data_format, as: 'dataFormat'
|
3705
|
+
collection :entity_types, as: 'entityTypes'
|
3706
|
+
property :entity_types_content_inline, as: 'entityTypesContentInline'
|
3707
|
+
property :entity_types_uri, as: 'entityTypesUri'
|
3708
|
+
property :language_code, as: 'languageCode'
|
3709
|
+
end
|
3710
|
+
end
|
3711
|
+
|
3712
|
+
class GoogleCloudDialogflowCxV3ExportEntityTypesResponse
|
3713
|
+
# @private
|
3714
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3715
|
+
property :entity_types_content, as: 'entityTypesContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineDestination::Representation
|
3716
|
+
|
3717
|
+
property :entity_types_uri, as: 'entityTypesUri'
|
3718
|
+
end
|
3719
|
+
end
|
3720
|
+
|
3598
3721
|
class GoogleCloudDialogflowCxV3ExportFlowRequest
|
3599
3722
|
# @private
|
3600
3723
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3909,6 +4032,40 @@ module Google
|
|
3909
4032
|
end
|
3910
4033
|
end
|
3911
4034
|
|
4035
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
|
4036
|
+
# @private
|
4037
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4038
|
+
end
|
4039
|
+
end
|
4040
|
+
|
4041
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesRequest
|
4042
|
+
# @private
|
4043
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4044
|
+
property :entity_types_content, as: 'entityTypesContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource::Representation
|
4045
|
+
|
4046
|
+
property :entity_types_uri, as: 'entityTypesUri'
|
4047
|
+
property :merge_option, as: 'mergeOption'
|
4048
|
+
property :target_entity_type, as: 'targetEntityType'
|
4049
|
+
end
|
4050
|
+
end
|
4051
|
+
|
4052
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesResponse
|
4053
|
+
# @private
|
4054
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4055
|
+
property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources::Representation
|
4056
|
+
|
4057
|
+
collection :entity_types, as: 'entityTypes'
|
4058
|
+
end
|
4059
|
+
end
|
4060
|
+
|
4061
|
+
class GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources
|
4062
|
+
# @private
|
4063
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4064
|
+
collection :entity_display_names, as: 'entityDisplayNames'
|
4065
|
+
collection :entity_type_display_names, as: 'entityTypeDisplayNames'
|
4066
|
+
end
|
4067
|
+
end
|
4068
|
+
|
3912
4069
|
class GoogleCloudDialogflowCxV3ImportFlowRequest
|
3913
4070
|
# @private
|
3914
4071
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4433,6 +4590,8 @@ module Google
|
|
4433
4590
|
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
|
4434
4591
|
|
4435
4592
|
property :allow_answer_feedback, as: 'allowAnswerFeedback'
|
4593
|
+
property :current_flow, as: 'currentFlow', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow::Representation
|
4594
|
+
|
4436
4595
|
property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page::Representation
|
4437
4596
|
|
4438
4597
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
@@ -4453,9 +4612,13 @@ module Google
|
|
4453
4612
|
property :transcript, as: 'transcript'
|
4454
4613
|
property :trigger_event, as: 'triggerEvent'
|
4455
4614
|
property :trigger_intent, as: 'triggerIntent'
|
4615
|
+
collection :webhook_display_names, as: 'webhookDisplayNames'
|
4616
|
+
collection :webhook_ids, as: 'webhookIds'
|
4617
|
+
collection :webhook_latencies, as: 'webhookLatencies'
|
4456
4618
|
collection :webhook_payloads, as: 'webhookPayloads'
|
4457
4619
|
collection :webhook_statuses, as: 'webhookStatuses', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
|
4458
4620
|
|
4621
|
+
collection :webhook_tags, as: 'webhookTags'
|
4459
4622
|
end
|
4460
4623
|
end
|
4461
4624
|
|
@@ -4499,6 +4662,8 @@ module Google
|
|
4499
4662
|
|
4500
4663
|
property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
|
4501
4664
|
|
4665
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolCall::Representation
|
4666
|
+
|
4502
4667
|
end
|
4503
4668
|
end
|
4504
4669
|
|
@@ -4876,6 +5041,15 @@ module Google
|
|
4876
5041
|
end
|
4877
5042
|
end
|
4878
5043
|
|
5044
|
+
class GoogleCloudDialogflowCxV3ToolCall
|
5045
|
+
# @private
|
5046
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5047
|
+
property :action, as: 'action'
|
5048
|
+
hash :input_parameters, as: 'inputParameters'
|
5049
|
+
property :tool, as: 'tool'
|
5050
|
+
end
|
5051
|
+
end
|
5052
|
+
|
4879
5053
|
class GoogleCloudDialogflowCxV3TrainFlowRequest
|
4880
5054
|
# @private
|
4881
5055
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5432,6 +5606,21 @@ module Google
|
|
5432
5606
|
end
|
5433
5607
|
end
|
5434
5608
|
|
5609
|
+
class GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata
|
5610
|
+
# @private
|
5611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5612
|
+
end
|
5613
|
+
end
|
5614
|
+
|
5615
|
+
class GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse
|
5616
|
+
# @private
|
5617
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5618
|
+
property :entity_types_content, as: 'entityTypesContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InlineDestination::Representation
|
5619
|
+
|
5620
|
+
property :entity_types_uri, as: 'entityTypesUri'
|
5621
|
+
end
|
5622
|
+
end
|
5623
|
+
|
5435
5624
|
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
5436
5625
|
# @private
|
5437
5626
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5586,6 +5775,29 @@ module Google
|
|
5586
5775
|
end
|
5587
5776
|
end
|
5588
5777
|
|
5778
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
|
5779
|
+
# @private
|
5780
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5781
|
+
end
|
5782
|
+
end
|
5783
|
+
|
5784
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse
|
5785
|
+
# @private
|
5786
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5787
|
+
property :conflicting_resources, as: 'conflictingResources', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources::Representation
|
5788
|
+
|
5789
|
+
collection :entity_types, as: 'entityTypes'
|
5790
|
+
end
|
5791
|
+
end
|
5792
|
+
|
5793
|
+
class GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources
|
5794
|
+
# @private
|
5795
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5796
|
+
collection :entity_display_names, as: 'entityDisplayNames'
|
5797
|
+
collection :entity_type_display_names, as: 'entityTypeDisplayNames'
|
5798
|
+
end
|
5799
|
+
end
|
5800
|
+
|
5589
5801
|
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
5590
5802
|
# @private
|
5591
5803
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5783,6 +5995,8 @@ module Google
|
|
5783
5995
|
property :language_code, as: 'languageCode'
|
5784
5996
|
property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput::Representation
|
5785
5997
|
|
5998
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult::Representation
|
5999
|
+
|
5786
6000
|
end
|
5787
6001
|
end
|
5788
6002
|
|
@@ -5817,6 +6031,8 @@ module Google
|
|
5817
6031
|
|
5818
6032
|
property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
|
5819
6033
|
|
6034
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall::Representation
|
6035
|
+
|
5820
6036
|
end
|
5821
6037
|
end
|
5822
6038
|
|
@@ -6006,6 +6222,33 @@ module Google
|
|
6006
6222
|
end
|
6007
6223
|
end
|
6008
6224
|
|
6225
|
+
class GoogleCloudDialogflowCxV3beta1ToolCall
|
6226
|
+
# @private
|
6227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6228
|
+
property :action, as: 'action'
|
6229
|
+
hash :input_parameters, as: 'inputParameters'
|
6230
|
+
property :tool, as: 'tool'
|
6231
|
+
end
|
6232
|
+
end
|
6233
|
+
|
6234
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResult
|
6235
|
+
# @private
|
6236
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6237
|
+
property :action, as: 'action'
|
6238
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError::Representation
|
6239
|
+
|
6240
|
+
hash :output_parameters, as: 'outputParameters'
|
6241
|
+
property :tool, as: 'tool'
|
6242
|
+
end
|
6243
|
+
end
|
6244
|
+
|
6245
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResultError
|
6246
|
+
# @private
|
6247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6248
|
+
property :message, as: 'message'
|
6249
|
+
end
|
6250
|
+
end
|
6251
|
+
|
6009
6252
|
class GoogleCloudDialogflowCxV3beta1TransitionRoute
|
6010
6253
|
# @private
|
6011
6254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -687,6 +687,40 @@ module Google
|
|
687
687
|
execute_or_queue_command(command, &block)
|
688
688
|
end
|
689
689
|
|
690
|
+
# Exports the selected entity types.
|
691
|
+
# @param [String] parent
|
692
|
+
# Required. The name of the parent agent to export entity types. Format: `
|
693
|
+
# projects//locations//agents/`.
|
694
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportEntityTypesRequest] google_cloud_dialogflow_cx_v3_export_entity_types_request_object
|
695
|
+
# @param [String] fields
|
696
|
+
# Selector specifying which fields to include in a partial response.
|
697
|
+
# @param [String] quota_user
|
698
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
699
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
700
|
+
# @param [Google::Apis::RequestOptions] options
|
701
|
+
# Request-specific options
|
702
|
+
#
|
703
|
+
# @yield [result, err] Result & error if block supplied
|
704
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
|
705
|
+
# @yieldparam err [StandardError] error object if request failed
|
706
|
+
#
|
707
|
+
# @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
|
708
|
+
#
|
709
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
710
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
711
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
712
|
+
def export_project_location_agent_entity_type(parent, google_cloud_dialogflow_cx_v3_export_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
713
|
+
command = make_simple_command(:post, 'v3/{+parent}/entityTypes:export', options)
|
714
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportEntityTypesRequest::Representation
|
715
|
+
command.request_object = google_cloud_dialogflow_cx_v3_export_entity_types_request_object
|
716
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
|
717
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
|
718
|
+
command.params['parent'] = parent unless parent.nil?
|
719
|
+
command.query['fields'] = fields unless fields.nil?
|
720
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
721
|
+
execute_or_queue_command(command, &block)
|
722
|
+
end
|
723
|
+
|
690
724
|
# Retrieves the specified entity type.
|
691
725
|
# @param [String] name
|
692
726
|
# Required. The name of the entity type. Format: `projects//locations//agents//
|
@@ -726,6 +760,40 @@ module Google
|
|
726
760
|
execute_or_queue_command(command, &block)
|
727
761
|
end
|
728
762
|
|
763
|
+
# Imports the specified entitytypes into the agent.
|
764
|
+
# @param [String] parent
|
765
|
+
# Required. The agent to import the entity types into. Format: `projects//
|
766
|
+
# locations//agents/`.
|
767
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesRequest] google_cloud_dialogflow_cx_v3_import_entity_types_request_object
|
768
|
+
# @param [String] fields
|
769
|
+
# Selector specifying which fields to include in a partial response.
|
770
|
+
# @param [String] quota_user
|
771
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
772
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
773
|
+
# @param [Google::Apis::RequestOptions] options
|
774
|
+
# Request-specific options
|
775
|
+
#
|
776
|
+
# @yield [result, err] Result & error if block supplied
|
777
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
|
778
|
+
# @yieldparam err [StandardError] error object if request failed
|
779
|
+
#
|
780
|
+
# @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
|
781
|
+
#
|
782
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
783
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
784
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
785
|
+
def import_project_location_agent_entity_type(parent, google_cloud_dialogflow_cx_v3_import_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
786
|
+
command = make_simple_command(:post, 'v3/{+parent}/entityTypes:import', options)
|
787
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesRequest::Representation
|
788
|
+
command.request_object = google_cloud_dialogflow_cx_v3_import_entity_types_request_object
|
789
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
|
790
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
|
791
|
+
command.params['parent'] = parent unless parent.nil?
|
792
|
+
command.query['fields'] = fields unless fields.nil?
|
793
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
794
|
+
execute_or_queue_command(command, &block)
|
795
|
+
end
|
796
|
+
|
729
797
|
# Returns the list of all entity types in the specified agent.
|
730
798
|
# @param [String] parent
|
731
799
|
# Required. The agent to list all entity types for. Format: `projects//locations/
|
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.
|
4
|
+
version: 0.80.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: 2024-
|
11
|
+
date: 2024-02-18 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/main/generated/google-apis-dialogflow_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.80.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|