google-apis-dialogflow_v2 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: 4e9f488dc381f3e56d6dd118a910a580ec4f86e393792873c18c9f6f13c9d3ca
|
4
|
+
data.tar.gz: 0f2efea8e12b88ec6c7f89db79c1273b41d45e712510186f27029a663e9a613f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99cb514fc927bd14c4eea730fc2a7aa48fe106e5fd899b1bd23ca8874daf370fa00f685c800041b647c88c3f949564143f003fc2edfd02b9dd791c19894421b9
|
7
|
+
data.tar.gz: c7bf98046e03b3fe551a23efd6b67dda246b465456e841afa4c6320def60a2904fc54079f35c4388677f92b5b096f259e01440f777cd0405ed8b2878f394d512
|
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 DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 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
|
@@ -847,6 +847,52 @@ module Google
|
|
847
847
|
execute_or_queue_command(command, &block)
|
848
848
|
end
|
849
849
|
|
850
|
+
# Returns the list of all intents in the specified agent.
|
851
|
+
# @param [String] parent
|
852
|
+
# Required. The agent to list all intents from. Format: `projects//agent`.
|
853
|
+
# @param [String] intent_view
|
854
|
+
# Optional. The resource view to apply to the returned intent.
|
855
|
+
# @param [String] language_code
|
856
|
+
# Optional. The language used to access language-specific data. If not specified,
|
857
|
+
# the agent's default language is used. For more information, see [Multilingual
|
858
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
859
|
+
# multilingual#intent-entity).
|
860
|
+
# @param [Fixnum] page_size
|
861
|
+
# Optional. The maximum number of items to return in a single page. By default
|
862
|
+
# 100 and at most 1000.
|
863
|
+
# @param [String] page_token
|
864
|
+
# Optional. The next_page_token value returned from a previous list request.
|
865
|
+
# @param [String] fields
|
866
|
+
# Selector specifying which fields to include in a partial response.
|
867
|
+
# @param [String] quota_user
|
868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
870
|
+
# @param [Google::Apis::RequestOptions] options
|
871
|
+
# Request-specific options
|
872
|
+
#
|
873
|
+
# @yield [result, err] Result & error if block supplied
|
874
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse] parsed result object
|
875
|
+
# @yieldparam err [StandardError] error object if request failed
|
876
|
+
#
|
877
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse]
|
878
|
+
#
|
879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
882
|
+
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)
|
883
|
+
command = make_simple_command(:get, 'v2/{+parent}/intents', options)
|
884
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse::Representation
|
885
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse
|
886
|
+
command.params['parent'] = parent unless parent.nil?
|
887
|
+
command.query['intentView'] = intent_view unless intent_view.nil?
|
888
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
889
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
890
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
891
|
+
command.query['fields'] = fields unless fields.nil?
|
892
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
893
|
+
execute_or_queue_command(command, &block)
|
894
|
+
end
|
895
|
+
|
850
896
|
# Deletes all active contexts in the specified session.
|
851
897
|
# @param [String] parent
|
852
898
|
# Required. The name of the session to delete all contexts from. Format: `
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2
|
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_v2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.5.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
|
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 V2
|