google-apis-dialogflow_v3beta1 0.90.0 → 0.91.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +164 -0
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +76 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +108 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1876e63a27b5ebc4852399a4ee03b2bd1414fe6af26c79a600c3cefa28481546
|
4
|
+
data.tar.gz: e34093f6e5447e7919bea46636b7a2adc6039779d057766565a31b40240f7f8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe100c14fa4e64d6babbd5e9d877afd2122df50e946f5b67271a6a75e10bb901c8bad38c8a3a9449699ed9e784cc346a5f22dd6d6992dba0bf1a3b9691a633fe
|
7
|
+
data.tar.gz: 84d74142ada51202212d0a2bccce0b96c4e2c90438d5703f1398771825c62bc6e2dec501d15c3e22427c646c41c5b2ab5c8fe03a8b7ede54762615086a6a8a14
|
data/CHANGELOG.md
CHANGED
@@ -5091,6 +5091,11 @@ module Google
|
|
5091
5091
|
class GoogleCloudDialogflowCxV3beta1ConversationInteraction
|
5092
5092
|
include Google::Apis::Core::Hashable
|
5093
5093
|
|
5094
|
+
# Stores information about feedback provided by users about a response.
|
5095
|
+
# Corresponds to the JSON property `answerFeedback`
|
5096
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback]
|
5097
|
+
attr_accessor :answer_feedback
|
5098
|
+
|
5094
5099
|
# The time that the interaction was created.
|
5095
5100
|
# Corresponds to the JSON property `createTime`
|
5096
5101
|
# @return [String]
|
@@ -5136,6 +5141,7 @@ module Google
|
|
5136
5141
|
|
5137
5142
|
# Update properties of this object
|
5138
5143
|
def update!(**args)
|
5144
|
+
@answer_feedback = args[:answer_feedback] if args.key?(:answer_feedback)
|
5139
5145
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5140
5146
|
@missing_transition = args[:missing_transition] if args.key?(:missing_transition)
|
5141
5147
|
@partial_responses = args[:partial_responses] if args.key?(:partial_responses)
|
@@ -7210,6 +7216,38 @@ module Google
|
|
7210
7216
|
end
|
7211
7217
|
end
|
7212
7218
|
|
7219
|
+
# The request message for Playbooks.ExportPlaybook.
|
7220
|
+
class GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest
|
7221
|
+
include Google::Apis::Core::Hashable
|
7222
|
+
|
7223
|
+
# Optional. The data format of the exported agent. If not specified, `BLOB` is
|
7224
|
+
# assumed.
|
7225
|
+
# Corresponds to the JSON property `dataFormat`
|
7226
|
+
# @return [String]
|
7227
|
+
attr_accessor :data_format
|
7228
|
+
|
7229
|
+
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
7230
|
+
# URI to export the playbook to. The format of this URI must be `gs:///`. If
|
7231
|
+
# left unspecified, the serialized playbook is returned inline. Dialogflow
|
7232
|
+
# performs a write operation for the Cloud Storage object on the caller's behalf,
|
7233
|
+
# so your request authentication must have write permissions for the object.
|
7234
|
+
# For more information, see [Dialogflow access control](https://cloud.google.com/
|
7235
|
+
# dialogflow/cx/docs/concept/access-control#storage).
|
7236
|
+
# Corresponds to the JSON property `playbookUri`
|
7237
|
+
# @return [String]
|
7238
|
+
attr_accessor :playbook_uri
|
7239
|
+
|
7240
|
+
def initialize(**args)
|
7241
|
+
update!(**args)
|
7242
|
+
end
|
7243
|
+
|
7244
|
+
# Update properties of this object
|
7245
|
+
def update!(**args)
|
7246
|
+
@data_format = args[:data_format] if args.key?(:data_format)
|
7247
|
+
@playbook_uri = args[:playbook_uri] if args.key?(:playbook_uri)
|
7248
|
+
end
|
7249
|
+
end
|
7250
|
+
|
7213
7251
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
7214
7252
|
# This message currently has no fields.
|
7215
7253
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
@@ -7515,6 +7553,11 @@ module Google
|
|
7515
7553
|
class GoogleCloudDialogflowCxV3beta1FlowInvocation
|
7516
7554
|
include Google::Apis::Core::Hashable
|
7517
7555
|
|
7556
|
+
# Output only. The display name of the flow.
|
7557
|
+
# Corresponds to the JSON property `displayName`
|
7558
|
+
# @return [String]
|
7559
|
+
attr_accessor :display_name
|
7560
|
+
|
7518
7561
|
# Required. The unique identifier of the flow. Format: `projects//locations//
|
7519
7562
|
# agents//flows/`.
|
7520
7563
|
# Corresponds to the JSON property `flow`
|
@@ -7542,6 +7585,7 @@ module Google
|
|
7542
7585
|
|
7543
7586
|
# Update properties of this object
|
7544
7587
|
def update!(**args)
|
7588
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7545
7589
|
@flow = args[:flow] if args.key?(:flow)
|
7546
7590
|
@flow_state = args[:flow_state] if args.key?(:flow_state)
|
7547
7591
|
@input_action_parameters = args[:input_action_parameters] if args.key?(:input_action_parameters)
|
@@ -8669,6 +8713,40 @@ module Google
|
|
8669
8713
|
end
|
8670
8714
|
end
|
8671
8715
|
|
8716
|
+
# The request message for Playbooks.ImportPlaybook.
|
8717
|
+
class GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest
|
8718
|
+
include Google::Apis::Core::Hashable
|
8719
|
+
|
8720
|
+
# The playbook import strategy used for resource conflict resolution associated
|
8721
|
+
# with an ImportPlaybookRequest.
|
8722
|
+
# Corresponds to the JSON property `importStrategy`
|
8723
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy]
|
8724
|
+
attr_accessor :import_strategy
|
8725
|
+
|
8726
|
+
# Uncompressed raw byte content for playbook.
|
8727
|
+
# Corresponds to the JSON property `playbookContent`
|
8728
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
8729
|
+
# @return [String]
|
8730
|
+
attr_accessor :playbook_content
|
8731
|
+
|
8732
|
+
# [Dialogflow access control] (https://cloud.google.com/dialogflow/cx/docs/
|
8733
|
+
# concept/access-control#storage).
|
8734
|
+
# Corresponds to the JSON property `playbookUri`
|
8735
|
+
# @return [String]
|
8736
|
+
attr_accessor :playbook_uri
|
8737
|
+
|
8738
|
+
def initialize(**args)
|
8739
|
+
update!(**args)
|
8740
|
+
end
|
8741
|
+
|
8742
|
+
# Update properties of this object
|
8743
|
+
def update!(**args)
|
8744
|
+
@import_strategy = args[:import_strategy] if args.key?(:import_strategy)
|
8745
|
+
@playbook_content = args[:playbook_content] if args.key?(:playbook_content)
|
8746
|
+
@playbook_uri = args[:playbook_uri] if args.key?(:playbook_uri)
|
8747
|
+
end
|
8748
|
+
end
|
8749
|
+
|
8672
8750
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
8673
8751
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
8674
8752
|
include Google::Apis::Core::Hashable
|
@@ -10599,6 +10677,43 @@ module Google
|
|
10599
10677
|
end
|
10600
10678
|
end
|
10601
10679
|
|
10680
|
+
# The playbook import strategy used for resource conflict resolution associated
|
10681
|
+
# with an ImportPlaybookRequest.
|
10682
|
+
class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
|
10683
|
+
include Google::Apis::Core::Hashable
|
10684
|
+
|
10685
|
+
# Optional. Specifies the import strategy used when resolving conflicts with the
|
10686
|
+
# main playbook. If not specified, 'CREATE_NEW' is assumed.
|
10687
|
+
# Corresponds to the JSON property `mainPlaybookImportStrategy`
|
10688
|
+
# @return [String]
|
10689
|
+
attr_accessor :main_playbook_import_strategy
|
10690
|
+
|
10691
|
+
# Optional. Specifies the import strategy used when resolving referenced
|
10692
|
+
# playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.
|
10693
|
+
# Corresponds to the JSON property `nestedResourceImportStrategy`
|
10694
|
+
# @return [String]
|
10695
|
+
attr_accessor :nested_resource_import_strategy
|
10696
|
+
|
10697
|
+
# Optional. Specifies the import strategy used when resolving tool conflicts. If
|
10698
|
+
# not specified, 'CREATE_NEW' is assumed. This will be applied after the main
|
10699
|
+
# playbook and nested resource import strategies, meaning if the playbook that
|
10700
|
+
# references the tool is skipped, the tool will also be skipped.
|
10701
|
+
# Corresponds to the JSON property `toolImportStrategy`
|
10702
|
+
# @return [String]
|
10703
|
+
attr_accessor :tool_import_strategy
|
10704
|
+
|
10705
|
+
def initialize(**args)
|
10706
|
+
update!(**args)
|
10707
|
+
end
|
10708
|
+
|
10709
|
+
# Update properties of this object
|
10710
|
+
def update!(**args)
|
10711
|
+
@main_playbook_import_strategy = args[:main_playbook_import_strategy] if args.key?(:main_playbook_import_strategy)
|
10712
|
+
@nested_resource_import_strategy = args[:nested_resource_import_strategy] if args.key?(:nested_resource_import_strategy)
|
10713
|
+
@tool_import_strategy = args[:tool_import_strategy] if args.key?(:tool_import_strategy)
|
10714
|
+
end
|
10715
|
+
end
|
10716
|
+
|
10602
10717
|
# Input of the playbook.
|
10603
10718
|
class GoogleCloudDialogflowCxV3beta1PlaybookInput
|
10604
10719
|
include Google::Apis::Core::Hashable
|
@@ -10648,6 +10763,11 @@ module Google
|
|
10648
10763
|
class GoogleCloudDialogflowCxV3beta1PlaybookInvocation
|
10649
10764
|
include Google::Apis::Core::Hashable
|
10650
10765
|
|
10766
|
+
# Output only. The display name of the playbook.
|
10767
|
+
# Corresponds to the JSON property `displayName`
|
10768
|
+
# @return [String]
|
10769
|
+
attr_accessor :display_name
|
10770
|
+
|
10651
10771
|
# Required. The unique identifier of the playbook. Format: `projects//locations//
|
10652
10772
|
# agents//playbooks/`.
|
10653
10773
|
# Corresponds to the JSON property `playbook`
|
@@ -10675,6 +10795,7 @@ module Google
|
|
10675
10795
|
|
10676
10796
|
# Update properties of this object
|
10677
10797
|
def update!(**args)
|
10798
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
10678
10799
|
@playbook = args[:playbook] if args.key?(:playbook)
|
10679
10800
|
@playbook_input = args[:playbook_input] if args.key?(:playbook_input)
|
10680
10801
|
@playbook_output = args[:playbook_output] if args.key?(:playbook_output)
|
@@ -11713,6 +11834,43 @@ module Google
|
|
11713
11834
|
end
|
11714
11835
|
end
|
11715
11836
|
|
11837
|
+
# The request message for Playbooks.RestorePlaybookVersion.
|
11838
|
+
class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest
|
11839
|
+
include Google::Apis::Core::Hashable
|
11840
|
+
|
11841
|
+
def initialize(**args)
|
11842
|
+
update!(**args)
|
11843
|
+
end
|
11844
|
+
|
11845
|
+
# Update properties of this object
|
11846
|
+
def update!(**args)
|
11847
|
+
end
|
11848
|
+
end
|
11849
|
+
|
11850
|
+
# The response message for Playbooks.RestorePlaybookVersion.
|
11851
|
+
class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse
|
11852
|
+
include Google::Apis::Core::Hashable
|
11853
|
+
|
11854
|
+
# Playbook is the basic building block to instruct the LLM how to execute a
|
11855
|
+
# certain task. A playbook consists of a goal to accomplish, an optional list of
|
11856
|
+
# step by step instructions (the step instruction may refers to name of the
|
11857
|
+
# custom or default plugin tools to use) to perform the task, a list of
|
11858
|
+
# contextual input data to be passed in at the beginning of the invoked, and a
|
11859
|
+
# list of output parameters to store the playbook result.
|
11860
|
+
# Corresponds to the JSON property `playbook`
|
11861
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook]
|
11862
|
+
attr_accessor :playbook
|
11863
|
+
|
11864
|
+
def initialize(**args)
|
11865
|
+
update!(**args)
|
11866
|
+
end
|
11867
|
+
|
11868
|
+
# Update properties of this object
|
11869
|
+
def update!(**args)
|
11870
|
+
@playbook = args[:playbook] if args.key?(:playbook)
|
11871
|
+
end
|
11872
|
+
end
|
11873
|
+
|
11716
11874
|
# The configuration for auto rollout.
|
11717
11875
|
class GoogleCloudDialogflowCxV3beta1RolloutConfig
|
11718
11876
|
include Google::Apis::Core::Hashable
|
@@ -13232,6 +13390,11 @@ module Google
|
|
13232
13390
|
# @return [String]
|
13233
13391
|
attr_accessor :action
|
13234
13392
|
|
13393
|
+
# Output only. The display name of the tool.
|
13394
|
+
# Corresponds to the JSON property `displayName`
|
13395
|
+
# @return [String]
|
13396
|
+
attr_accessor :display_name
|
13397
|
+
|
13235
13398
|
# Optional. A list of input parameters for the action.
|
13236
13399
|
# Corresponds to the JSON property `inputActionParameters`
|
13237
13400
|
# @return [Hash<String,Object>]
|
@@ -13255,6 +13418,7 @@ module Google
|
|
13255
13418
|
# Update properties of this object
|
13256
13419
|
def update!(**args)
|
13257
13420
|
@action = args[:action] if args.key?(:action)
|
13421
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
13258
13422
|
@input_action_parameters = args[:input_action_parameters] if args.key?(:input_action_parameters)
|
13259
13423
|
@output_action_parameters = args[:output_action_parameters] if args.key?(:output_action_parameters)
|
13260
13424
|
@tool = args[:tool] if args.key?(:tool)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.91.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241212"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1150,6 +1150,12 @@ module Google
|
|
1150
1150
|
include Google::Apis::Core::JsonObjectSupport
|
1151
1151
|
end
|
1152
1152
|
|
1153
|
+
class GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest
|
1154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1155
|
+
|
1156
|
+
include Google::Apis::Core::JsonObjectSupport
|
1157
|
+
end
|
1158
|
+
|
1153
1159
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
1154
1160
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1155
1161
|
|
@@ -1384,6 +1390,12 @@ module Google
|
|
1384
1390
|
include Google::Apis::Core::JsonObjectSupport
|
1385
1391
|
end
|
1386
1392
|
|
1393
|
+
class GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest
|
1394
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1395
|
+
|
1396
|
+
include Google::Apis::Core::JsonObjectSupport
|
1397
|
+
end
|
1398
|
+
|
1387
1399
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
1388
1400
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1389
1401
|
|
@@ -1708,6 +1720,12 @@ module Google
|
|
1708
1720
|
include Google::Apis::Core::JsonObjectSupport
|
1709
1721
|
end
|
1710
1722
|
|
1723
|
+
class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
|
1724
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1725
|
+
|
1726
|
+
include Google::Apis::Core::JsonObjectSupport
|
1727
|
+
end
|
1728
|
+
|
1711
1729
|
class GoogleCloudDialogflowCxV3beta1PlaybookInput
|
1712
1730
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1713
1731
|
|
@@ -1846,6 +1864,18 @@ module Google
|
|
1846
1864
|
include Google::Apis::Core::JsonObjectSupport
|
1847
1865
|
end
|
1848
1866
|
|
1867
|
+
class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest
|
1868
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1869
|
+
|
1870
|
+
include Google::Apis::Core::JsonObjectSupport
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse
|
1874
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1875
|
+
|
1876
|
+
include Google::Apis::Core::JsonObjectSupport
|
1877
|
+
end
|
1878
|
+
|
1849
1879
|
class GoogleCloudDialogflowCxV3beta1RolloutConfig
|
1850
1880
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1851
1881
|
|
@@ -4885,6 +4915,8 @@ module Google
|
|
4885
4915
|
class GoogleCloudDialogflowCxV3beta1ConversationInteraction
|
4886
4916
|
# @private
|
4887
4917
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4918
|
+
property :answer_feedback, as: 'answerFeedback', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback::Representation
|
4919
|
+
|
4888
4920
|
property :create_time, as: 'createTime'
|
4889
4921
|
property :missing_transition, as: 'missingTransition', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition::Representation
|
4890
4922
|
|
@@ -5456,6 +5488,14 @@ module Google
|
|
5456
5488
|
end
|
5457
5489
|
end
|
5458
5490
|
|
5491
|
+
class GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest
|
5492
|
+
# @private
|
5493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5494
|
+
property :data_format, as: 'dataFormat'
|
5495
|
+
property :playbook_uri, as: 'playbookUri'
|
5496
|
+
end
|
5497
|
+
end
|
5498
|
+
|
5459
5499
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
5460
5500
|
# @private
|
5461
5501
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5530,6 +5570,7 @@ module Google
|
|
5530
5570
|
class GoogleCloudDialogflowCxV3beta1FlowInvocation
|
5531
5571
|
# @private
|
5532
5572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5573
|
+
property :display_name, as: 'displayName'
|
5533
5574
|
property :flow, as: 'flow'
|
5534
5575
|
property :flow_state, as: 'flowState'
|
5535
5576
|
hash :input_action_parameters, as: 'inputActionParameters'
|
@@ -5847,6 +5888,16 @@ module Google
|
|
5847
5888
|
end
|
5848
5889
|
end
|
5849
5890
|
|
5891
|
+
class GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest
|
5892
|
+
# @private
|
5893
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5894
|
+
property :import_strategy, as: 'importStrategy', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy::Representation
|
5895
|
+
|
5896
|
+
property :playbook_content, :base64 => true, as: 'playbookContent'
|
5897
|
+
property :playbook_uri, as: 'playbookUri'
|
5898
|
+
end
|
5899
|
+
end
|
5900
|
+
|
5850
5901
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
5851
5902
|
# @private
|
5852
5903
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6379,6 +6430,15 @@ module Google
|
|
6379
6430
|
end
|
6380
6431
|
end
|
6381
6432
|
|
6433
|
+
class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
|
6434
|
+
# @private
|
6435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6436
|
+
property :main_playbook_import_strategy, as: 'mainPlaybookImportStrategy'
|
6437
|
+
property :nested_resource_import_strategy, as: 'nestedResourceImportStrategy'
|
6438
|
+
property :tool_import_strategy, as: 'toolImportStrategy'
|
6439
|
+
end
|
6440
|
+
end
|
6441
|
+
|
6382
6442
|
class GoogleCloudDialogflowCxV3beta1PlaybookInput
|
6383
6443
|
# @private
|
6384
6444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6398,6 +6458,7 @@ module Google
|
|
6398
6458
|
class GoogleCloudDialogflowCxV3beta1PlaybookInvocation
|
6399
6459
|
# @private
|
6400
6460
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6461
|
+
property :display_name, as: 'displayName'
|
6401
6462
|
property :playbook, as: 'playbook'
|
6402
6463
|
property :playbook_input, as: 'playbookInput', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput::Representation
|
6403
6464
|
|
@@ -6654,6 +6715,20 @@ module Google
|
|
6654
6715
|
end
|
6655
6716
|
end
|
6656
6717
|
|
6718
|
+
class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest
|
6719
|
+
# @private
|
6720
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6721
|
+
end
|
6722
|
+
end
|
6723
|
+
|
6724
|
+
class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse
|
6725
|
+
# @private
|
6726
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6727
|
+
property :playbook, as: 'playbook', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook::Representation
|
6728
|
+
|
6729
|
+
end
|
6730
|
+
end
|
6731
|
+
|
6657
6732
|
class GoogleCloudDialogflowCxV3beta1RolloutConfig
|
6658
6733
|
# @private
|
6659
6734
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7101,6 +7176,7 @@ module Google
|
|
7101
7176
|
# @private
|
7102
7177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7103
7178
|
property :action, as: 'action'
|
7179
|
+
property :display_name, as: 'displayName'
|
7104
7180
|
hash :input_action_parameters, as: 'inputActionParameters'
|
7105
7181
|
hash :output_action_parameters, as: 'outputActionParameters'
|
7106
7182
|
property :tool, as: 'tool'
|
@@ -3658,6 +3658,41 @@ module Google
|
|
3658
3658
|
execute_or_queue_command(command, &block)
|
3659
3659
|
end
|
3660
3660
|
|
3661
|
+
# Exports the specified playbook to a binary file. Note that resources (e.g.
|
3662
|
+
# examples, tools) that the playbook references will also be exported.
|
3663
|
+
# @param [String] name
|
3664
|
+
# Required. The name of the playbook to export. Format: `projects//locations//
|
3665
|
+
# agents//playbooks/`.
|
3666
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest] google_cloud_dialogflow_cx_v3beta1_export_playbook_request_object
|
3667
|
+
# @param [String] fields
|
3668
|
+
# Selector specifying which fields to include in a partial response.
|
3669
|
+
# @param [String] quota_user
|
3670
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3671
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3672
|
+
# @param [Google::Apis::RequestOptions] options
|
3673
|
+
# Request-specific options
|
3674
|
+
#
|
3675
|
+
# @yield [result, err] Result & error if block supplied
|
3676
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
3677
|
+
# @yieldparam err [StandardError] error object if request failed
|
3678
|
+
#
|
3679
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
3680
|
+
#
|
3681
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3682
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3683
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3684
|
+
def export_project_location_agent_playbook(name, google_cloud_dialogflow_cx_v3beta1_export_playbook_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3685
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:export', options)
|
3686
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest::Representation
|
3687
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_export_playbook_request_object
|
3688
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
3689
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
3690
|
+
command.params['name'] = name unless name.nil?
|
3691
|
+
command.query['fields'] = fields unless fields.nil?
|
3692
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3693
|
+
execute_or_queue_command(command, &block)
|
3694
|
+
end
|
3695
|
+
|
3661
3696
|
# Retrieves the specified Playbook.
|
3662
3697
|
# @param [String] name
|
3663
3698
|
# Required. The name of the playbook. Format: `projects//locations//agents//
|
@@ -3689,6 +3724,40 @@ module Google
|
|
3689
3724
|
execute_or_queue_command(command, &block)
|
3690
3725
|
end
|
3691
3726
|
|
3727
|
+
# Imports the specified playbook to the specified agent from a binary file.
|
3728
|
+
# @param [String] parent
|
3729
|
+
# Required. The agent to import the playbook into. Format: `projects//locations//
|
3730
|
+
# agents/`.
|
3731
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest] google_cloud_dialogflow_cx_v3beta1_import_playbook_request_object
|
3732
|
+
# @param [String] fields
|
3733
|
+
# Selector specifying which fields to include in a partial response.
|
3734
|
+
# @param [String] quota_user
|
3735
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3736
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3737
|
+
# @param [Google::Apis::RequestOptions] options
|
3738
|
+
# Request-specific options
|
3739
|
+
#
|
3740
|
+
# @yield [result, err] Result & error if block supplied
|
3741
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
3742
|
+
# @yieldparam err [StandardError] error object if request failed
|
3743
|
+
#
|
3744
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
3745
|
+
#
|
3746
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3747
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3748
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3749
|
+
def import_project_location_agent_playbook(parent, google_cloud_dialogflow_cx_v3beta1_import_playbook_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3750
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/playbooks:import', options)
|
3751
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest::Representation
|
3752
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_import_playbook_request_object
|
3753
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
3754
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
3755
|
+
command.params['parent'] = parent unless parent.nil?
|
3756
|
+
command.query['fields'] = fields unless fields.nil?
|
3757
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3758
|
+
execute_or_queue_command(command, &block)
|
3759
|
+
end
|
3760
|
+
|
3692
3761
|
# Returns a list of playbooks in the specified agent.
|
3693
3762
|
# @param [String] parent
|
3694
3763
|
# Required. The agent to list playbooks from. Format: `projects//locations//
|
@@ -4076,6 +4145,41 @@ module Google
|
|
4076
4145
|
execute_or_queue_command(command, &block)
|
4077
4146
|
end
|
4078
4147
|
|
4148
|
+
# Retrieves the specified version of the Playbook and stores it as the current
|
4149
|
+
# playbook draft, returning the playbook with resources updated.
|
4150
|
+
# @param [String] name
|
4151
|
+
# Required. The name of the playbook version. Format: `projects//locations//
|
4152
|
+
# agents//playbooks//versions/`.
|
4153
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest] google_cloud_dialogflow_cx_v3beta1_restore_playbook_version_request_object
|
4154
|
+
# @param [String] fields
|
4155
|
+
# Selector specifying which fields to include in a partial response.
|
4156
|
+
# @param [String] quota_user
|
4157
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4158
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4159
|
+
# @param [Google::Apis::RequestOptions] options
|
4160
|
+
# Request-specific options
|
4161
|
+
#
|
4162
|
+
# @yield [result, err] Result & error if block supplied
|
4163
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse] parsed result object
|
4164
|
+
# @yieldparam err [StandardError] error object if request failed
|
4165
|
+
#
|
4166
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse]
|
4167
|
+
#
|
4168
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4169
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4170
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4171
|
+
def restore_project_location_agent_playbook_version(name, google_cloud_dialogflow_cx_v3beta1_restore_playbook_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4172
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:restore', options)
|
4173
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest::Representation
|
4174
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_restore_playbook_version_request_object
|
4175
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse::Representation
|
4176
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse
|
4177
|
+
command.params['name'] = name unless name.nil?
|
4178
|
+
command.query['fields'] = fields unless fields.nil?
|
4179
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4180
|
+
execute_or_queue_command(command, &block)
|
4181
|
+
end
|
4182
|
+
|
4079
4183
|
# Processes a natural language query and returns structured, actionable data as
|
4080
4184
|
# a result. This method is not idempotent, because it may cause session entity
|
4081
4185
|
# types to be updated, which in turn might affect results of future queries.
|
@@ -5536,8 +5640,8 @@ module Google
|
|
5536
5640
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
5537
5641
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
5538
5642
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
5539
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
5540
|
-
# corresponding to `Code.CANCELLED`.
|
5643
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
5644
|
+
# , corresponding to `Code.CANCELLED`.
|
5541
5645
|
# @param [String] name
|
5542
5646
|
# The name of the operation resource to be cancelled.
|
5543
5647
|
# @param [String] fields
|
@@ -5819,8 +5923,8 @@ module Google
|
|
5819
5923
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
5820
5924
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
5821
5925
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
5822
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
5823
|
-
# corresponding to `Code.CANCELLED`.
|
5926
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
5927
|
+
# , corresponding to `Code.CANCELLED`.
|
5824
5928
|
# @param [String] name
|
5825
5929
|
# The name of the operation resource to be cancelled.
|
5826
5930
|
# @param [String] fields
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.91.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-12-
|
11
|
+
date: 2024-12-15 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_v3beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.91.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Dialogflow API V3beta1
|