google-apis-dialogflow_v2beta1 0.11.0 → 0.12.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_v2beta1/classes.rb +17 -1
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +65 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e14b127ec0999326c195c8a792767a91e6f8199815f16e349c33801ebdc6df8a
|
4
|
+
data.tar.gz: 811040576de6fcde760c849381b150f11e0c1d58ae1568af57c2b56bc76cfdac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f177a32c1b046b3c296fc4796b62fc09265addf99472d14b7f382afb32345b69e628ce7f2a5d55aa5fef91f6dc761ffa98898a1a4b2699c7a4c08099be9218a
|
7
|
+
data.tar.gz: ec89b4611f72d7d943e68227ab65ffa5e32b8da3f2f6ab354ceab66d1541f0c248fd71fac5bb8e0927ceffa49fdbeef7610f36ca794e174791f07e738c9448b1
|
data/CHANGELOG.md
CHANGED
@@ -7814,7 +7814,7 @@ module Google
|
|
7814
7814
|
include Google::Apis::Core::Hashable
|
7815
7815
|
|
7816
7816
|
# The collection of current Dialogflow CX agent session parameters at the time
|
7817
|
-
# of this response.
|
7817
|
+
# of this response. Deprecated: Use `parameters` instead.
|
7818
7818
|
# Corresponds to the JSON property `cxSessionParameters`
|
7819
7819
|
# @return [Hash<String,Object>]
|
7820
7820
|
attr_accessor :cx_session_parameters
|
@@ -7836,6 +7836,20 @@ module Google
|
|
7836
7836
|
# @return [String]
|
7837
7837
|
attr_accessor :intent
|
7838
7838
|
|
7839
|
+
# The confidence of the match. Values range from 0.0 (completely uncertain) to 1.
|
7840
|
+
# 0 (completely certain). This value is for informational purpose only and is
|
7841
|
+
# only used to help match the best intent within the classification threshold.
|
7842
|
+
# This value may change for the same end-user expression at any time due to a
|
7843
|
+
# model retraining or change in implementation.
|
7844
|
+
# Corresponds to the JSON property `matchConfidence`
|
7845
|
+
# @return [Float]
|
7846
|
+
attr_accessor :match_confidence
|
7847
|
+
|
7848
|
+
# The collection of current parameters at the time of this response.
|
7849
|
+
# Corresponds to the JSON property `parameters`
|
7850
|
+
# @return [Hash<String,Object>]
|
7851
|
+
attr_accessor :parameters
|
7852
|
+
|
7839
7853
|
# Response messages from the automated agent.
|
7840
7854
|
# Corresponds to the JSON property `responseMessages`
|
7841
7855
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage>]
|
@@ -7851,6 +7865,8 @@ module Google
|
|
7851
7865
|
@detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
|
7852
7866
|
@event = args[:event] if args.key?(:event)
|
7853
7867
|
@intent = args[:intent] if args.key?(:intent)
|
7868
|
+
@match_confidence = args[:match_confidence] if args.key?(:match_confidence)
|
7869
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
7854
7870
|
@response_messages = args[:response_messages] if args.key?(:response_messages)
|
7855
7871
|
end
|
7856
7872
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210517"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -4538,6 +4538,8 @@ module Google
|
|
4538
4538
|
|
4539
4539
|
property :event, as: 'event'
|
4540
4540
|
property :intent, as: 'intent'
|
4541
|
+
property :match_confidence, as: 'matchConfidence'
|
4542
|
+
hash :parameters, as: 'parameters'
|
4541
4543
|
collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage::Representation
|
4542
4544
|
|
4543
4545
|
end
|
@@ -1051,7 +1051,11 @@ module Google
|
|
1051
1051
|
|
1052
1052
|
# Returns the list of all intents in the specified agent.
|
1053
1053
|
# @param [String] parent
|
1054
|
-
# Required. The agent to list all intents from. Format: `projects//agent
|
1054
|
+
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
1055
|
+
# projects//locations//agent`. Alternatively, you can specify the environment to
|
1056
|
+
# list intents for. Format: `projects//agent/environments/` or `projects//
|
1057
|
+
# locations//agent/environments/`. Note: training phrases of the intents will
|
1058
|
+
# not be returned for non-draft environment.
|
1055
1059
|
# @param [String] intent_view
|
1056
1060
|
# Optional. The resource view to apply to the returned intent.
|
1057
1061
|
# @param [String] language_code
|
@@ -1772,7 +1776,11 @@ module Google
|
|
1772
1776
|
|
1773
1777
|
# Returns the list of all intents in the specified agent.
|
1774
1778
|
# @param [String] parent
|
1775
|
-
# Required. The agent to list all intents from. Format: `projects//agent
|
1779
|
+
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
1780
|
+
# projects//locations//agent`. Alternatively, you can specify the environment to
|
1781
|
+
# list intents for. Format: `projects//agent/environments/` or `projects//
|
1782
|
+
# locations//agent/environments/`. Note: training phrases of the intents will
|
1783
|
+
# not be returned for non-draft environment.
|
1776
1784
|
# @param [String] intent_view
|
1777
1785
|
# Optional. The resource view to apply to the returned intent.
|
1778
1786
|
# @param [String] language_code
|
@@ -5348,6 +5356,56 @@ module Google
|
|
5348
5356
|
execute_or_queue_command(command, &block)
|
5349
5357
|
end
|
5350
5358
|
|
5359
|
+
# Returns the list of all intents in the specified agent.
|
5360
|
+
# @param [String] parent
|
5361
|
+
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
5362
|
+
# projects//locations//agent`. Alternatively, you can specify the environment to
|
5363
|
+
# list intents for. Format: `projects//agent/environments/` or `projects//
|
5364
|
+
# locations//agent/environments/`. Note: training phrases of the intents will
|
5365
|
+
# not be returned for non-draft environment.
|
5366
|
+
# @param [String] intent_view
|
5367
|
+
# Optional. The resource view to apply to the returned intent.
|
5368
|
+
# @param [String] language_code
|
5369
|
+
# Optional. The language used to access language-specific data. If not specified,
|
5370
|
+
# the agent's default language is used. For more information, see [Multilingual
|
5371
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
5372
|
+
# multilingual#intent-entity).
|
5373
|
+
# @param [Fixnum] page_size
|
5374
|
+
# Optional. The maximum number of items to return in a single page. By default
|
5375
|
+
# 100 and at most 1000.
|
5376
|
+
# @param [String] page_token
|
5377
|
+
# Optional. The next_page_token value returned from a previous list request.
|
5378
|
+
# @param [String] fields
|
5379
|
+
# Selector specifying which fields to include in a partial response.
|
5380
|
+
# @param [String] quota_user
|
5381
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5382
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5383
|
+
# @param [Google::Apis::RequestOptions] options
|
5384
|
+
# Request-specific options
|
5385
|
+
#
|
5386
|
+
# @yield [result, err] Result & error if block supplied
|
5387
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse] parsed result object
|
5388
|
+
# @yieldparam err [StandardError] error object if request failed
|
5389
|
+
#
|
5390
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse]
|
5391
|
+
#
|
5392
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5393
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5394
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5395
|
+
def list_project_location_agent_environment_intents(parent, intent_view: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5396
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/intents', options)
|
5397
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse::Representation
|
5398
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse
|
5399
|
+
command.params['parent'] = parent unless parent.nil?
|
5400
|
+
command.query['intentView'] = intent_view unless intent_view.nil?
|
5401
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
5402
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
5403
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5404
|
+
command.query['fields'] = fields unless fields.nil?
|
5405
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5406
|
+
execute_or_queue_command(command, &block)
|
5407
|
+
end
|
5408
|
+
|
5351
5409
|
# Deletes all active contexts in the specified session.
|
5352
5410
|
# @param [String] parent
|
5353
5411
|
# Required. The name of the session to delete all contexts from. Supported
|
@@ -6025,7 +6083,11 @@ module Google
|
|
6025
6083
|
|
6026
6084
|
# Returns the list of all intents in the specified agent.
|
6027
6085
|
# @param [String] parent
|
6028
|
-
# Required. The agent to list all intents from. Format: `projects//agent
|
6086
|
+
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
6087
|
+
# projects//locations//agent`. Alternatively, you can specify the environment to
|
6088
|
+
# list intents for. Format: `projects//agent/environments/` or `projects//
|
6089
|
+
# locations//agent/environments/`. Note: training phrases of the intents will
|
6090
|
+
# not be returned for non-draft environment.
|
6029
6091
|
# @param [String] intent_view
|
6030
6092
|
# Optional. The resource view to apply to the returned intent.
|
6031
6093
|
# @param [String] language_code
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.12.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|