google-apis-dialogflow_v2beta1 0.4.0 → 0.5.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: 75bc7fe2d37a6648dc125a32da0a4d9cd1855a783195ea17772f35f1879d71fb
|
4
|
+
data.tar.gz: 24d889e5c89ec12a9dd001df449f01ff7d39fd7b8d6035aab9afb7a2dd644321
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df57807df3ebdeef37b3d0c505492df2bb42b71855ddc21aab888a31233595b66f57d1c0d14b7d7f6efea9fba15fd4f03e7627062e4a07a96aab4f347d2cd731
|
7
|
+
data.tar.gz: 84ca832e02b6cd7c959fc06af049089486f2bb606f31211a0fedb9b596d5d2fe11091504d0957cc7390b289fd74238d2de5fec8286eb460b4322e13ed53e75ac
|
data/CHANGELOG.md
CHANGED
@@ -1371,7 +1371,7 @@ module Google
|
|
1371
1371
|
attr_accessor :intent
|
1372
1372
|
|
1373
1373
|
# Required. The language of the input. See [Language Support](https://cloud.
|
1374
|
-
# google.com/dialogflow/docs/reference/language) for a list of the currently
|
1374
|
+
# google.com/dialogflow/cx/docs/reference/language) for a list of the currently
|
1375
1375
|
# supported language codes. Note that queries in the same session do not
|
1376
1376
|
# necessarily need to specify the same language.
|
1377
1377
|
# Corresponds to the JSON property `languageCode`
|
@@ -3729,7 +3729,7 @@ module Google
|
|
3729
3729
|
attr_accessor :intent
|
3730
3730
|
|
3731
3731
|
# Required. The language of the input. See [Language Support](https://cloud.
|
3732
|
-
# google.com/dialogflow/docs/reference/language) for a list of the currently
|
3732
|
+
# google.com/dialogflow/cx/docs/reference/language) for a list of the currently
|
3733
3733
|
# supported language codes. Note that queries in the same session do not
|
3734
3734
|
# necessarily need to specify the same language.
|
3735
3735
|
# Corresponds to the JSON property `languageCode`
|
@@ -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.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210222"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -857,6 +857,52 @@ module Google
|
|
857
857
|
execute_or_queue_command(command, &block)
|
858
858
|
end
|
859
859
|
|
860
|
+
# Returns the list of all intents in the specified agent.
|
861
|
+
# @param [String] parent
|
862
|
+
# Required. The agent to list all intents from. Format: `projects//agent`.
|
863
|
+
# @param [String] intent_view
|
864
|
+
# Optional. The resource view to apply to the returned intent.
|
865
|
+
# @param [String] language_code
|
866
|
+
# Optional. The language used to access language-specific data. If not specified,
|
867
|
+
# the agent's default language is used. For more information, see [Multilingual
|
868
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
869
|
+
# multilingual#intent-entity).
|
870
|
+
# @param [Fixnum] page_size
|
871
|
+
# Optional. The maximum number of items to return in a single page. By default
|
872
|
+
# 100 and at most 1000.
|
873
|
+
# @param [String] page_token
|
874
|
+
# Optional. The next_page_token value returned from a previous list request.
|
875
|
+
# @param [String] fields
|
876
|
+
# Selector specifying which fields to include in a partial response.
|
877
|
+
# @param [String] quota_user
|
878
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
879
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
880
|
+
# @param [Google::Apis::RequestOptions] options
|
881
|
+
# Request-specific options
|
882
|
+
#
|
883
|
+
# @yield [result, err] Result & error if block supplied
|
884
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse] parsed result object
|
885
|
+
# @yieldparam err [StandardError] error object if request failed
|
886
|
+
#
|
887
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse]
|
888
|
+
#
|
889
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
890
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
891
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
892
|
+
def list_project_agent_environment_intents(parent, intent_view: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
893
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/intents', options)
|
894
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse::Representation
|
895
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse
|
896
|
+
command.params['parent'] = parent unless parent.nil?
|
897
|
+
command.query['intentView'] = intent_view unless intent_view.nil?
|
898
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
899
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
900
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
901
|
+
command.query['fields'] = fields unless fields.nil?
|
902
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
903
|
+
execute_or_queue_command(command, &block)
|
904
|
+
end
|
905
|
+
|
860
906
|
# Deletes all active contexts in the specified session.
|
861
907
|
# @param [String] parent
|
862
908
|
# Required. The name of the session to delete all contexts from. Supported
|
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.5.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-
|
11
|
+
date: 2021-03-01 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.5.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: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.11
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Dialogflow API V2beta1
|