google-apis-dialogflow_v3beta1 0.98.0 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +718 -5
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +338 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +104 -0
- metadata +3 -3
@@ -3662,6 +3662,41 @@ module Google
|
|
3662
3662
|
execute_or_queue_command(command, &block)
|
3663
3663
|
end
|
3664
3664
|
|
3665
|
+
# Exports the specified playbook to a binary file. Note that resources (e.g.
|
3666
|
+
# examples, tools) that the playbook references will also be exported.
|
3667
|
+
# @param [String] name
|
3668
|
+
# Required. The name of the playbook to export. Format: `projects//locations//
|
3669
|
+
# agents//playbooks/`.
|
3670
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest] google_cloud_dialogflow_cx_v3beta1_export_playbook_request_object
|
3671
|
+
# @param [String] fields
|
3672
|
+
# Selector specifying which fields to include in a partial response.
|
3673
|
+
# @param [String] quota_user
|
3674
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3675
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3676
|
+
# @param [Google::Apis::RequestOptions] options
|
3677
|
+
# Request-specific options
|
3678
|
+
#
|
3679
|
+
# @yield [result, err] Result & error if block supplied
|
3680
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
3681
|
+
# @yieldparam err [StandardError] error object if request failed
|
3682
|
+
#
|
3683
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
3684
|
+
#
|
3685
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3686
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3687
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3688
|
+
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)
|
3689
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:export', options)
|
3690
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest::Representation
|
3691
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_export_playbook_request_object
|
3692
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
3693
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
3694
|
+
command.params['name'] = name unless name.nil?
|
3695
|
+
command.query['fields'] = fields unless fields.nil?
|
3696
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3697
|
+
execute_or_queue_command(command, &block)
|
3698
|
+
end
|
3699
|
+
|
3665
3700
|
# Retrieves the specified Playbook.
|
3666
3701
|
# @param [String] name
|
3667
3702
|
# Required. The name of the playbook. Format: `projects//locations//agents//
|
@@ -3693,6 +3728,40 @@ module Google
|
|
3693
3728
|
execute_or_queue_command(command, &block)
|
3694
3729
|
end
|
3695
3730
|
|
3731
|
+
# Imports the specified playbook to the specified agent from a binary file.
|
3732
|
+
# @param [String] parent
|
3733
|
+
# Required. The agent to import the playbook into. Format: `projects//locations//
|
3734
|
+
# agents/`.
|
3735
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest] google_cloud_dialogflow_cx_v3beta1_import_playbook_request_object
|
3736
|
+
# @param [String] fields
|
3737
|
+
# Selector specifying which fields to include in a partial response.
|
3738
|
+
# @param [String] quota_user
|
3739
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3740
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3741
|
+
# @param [Google::Apis::RequestOptions] options
|
3742
|
+
# Request-specific options
|
3743
|
+
#
|
3744
|
+
# @yield [result, err] Result & error if block supplied
|
3745
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
3746
|
+
# @yieldparam err [StandardError] error object if request failed
|
3747
|
+
#
|
3748
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
3749
|
+
#
|
3750
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3751
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3752
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3753
|
+
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)
|
3754
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/playbooks:import', options)
|
3755
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest::Representation
|
3756
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_import_playbook_request_object
|
3757
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
3758
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
3759
|
+
command.params['parent'] = parent unless parent.nil?
|
3760
|
+
command.query['fields'] = fields unless fields.nil?
|
3761
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3762
|
+
execute_or_queue_command(command, &block)
|
3763
|
+
end
|
3764
|
+
|
3696
3765
|
# Returns a list of playbooks in the specified agent.
|
3697
3766
|
# @param [String] parent
|
3698
3767
|
# Required. The agent to list playbooks from. Format: `projects//locations//
|
@@ -4080,6 +4149,41 @@ module Google
|
|
4080
4149
|
execute_or_queue_command(command, &block)
|
4081
4150
|
end
|
4082
4151
|
|
4152
|
+
# Retrieves the specified version of the Playbook and stores it as the current
|
4153
|
+
# playbook draft, returning the playbook with resources updated.
|
4154
|
+
# @param [String] name
|
4155
|
+
# Required. The name of the playbook version. Format: `projects//locations//
|
4156
|
+
# agents//playbooks//versions/`.
|
4157
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest] google_cloud_dialogflow_cx_v3beta1_restore_playbook_version_request_object
|
4158
|
+
# @param [String] fields
|
4159
|
+
# Selector specifying which fields to include in a partial response.
|
4160
|
+
# @param [String] quota_user
|
4161
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4162
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4163
|
+
# @param [Google::Apis::RequestOptions] options
|
4164
|
+
# Request-specific options
|
4165
|
+
#
|
4166
|
+
# @yield [result, err] Result & error if block supplied
|
4167
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse] parsed result object
|
4168
|
+
# @yieldparam err [StandardError] error object if request failed
|
4169
|
+
#
|
4170
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse]
|
4171
|
+
#
|
4172
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4173
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4174
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4175
|
+
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)
|
4176
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:restore', options)
|
4177
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest::Representation
|
4178
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_restore_playbook_version_request_object
|
4179
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse::Representation
|
4180
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse
|
4181
|
+
command.params['name'] = name unless name.nil?
|
4182
|
+
command.query['fields'] = fields unless fields.nil?
|
4183
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4184
|
+
execute_or_queue_command(command, &block)
|
4185
|
+
end
|
4186
|
+
|
4083
4187
|
# Processes a natural language query and returns structured, actionable data as
|
4084
4188
|
# a result. This method is not idempotent, because it may cause session entity
|
4085
4189
|
# types to be updated, which in turn might affect results of future queries.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.99.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.99.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|