google-apis-dialogflow_v2beta1 0.4.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 230229644614ee6203320bf30af0ba1cf64bfb4b11f0c15806b5c26795ece9da
4
- data.tar.gz: d68a1c889685d9683e1c8088c79483d58754fc76520e440537fe71363c1b3abe
3
+ metadata.gz: 75bc7fe2d37a6648dc125a32da0a4d9cd1855a783195ea17772f35f1879d71fb
4
+ data.tar.gz: 24d889e5c89ec12a9dd001df449f01ff7d39fd7b8d6035aab9afb7a2dd644321
5
5
  SHA512:
6
- metadata.gz: 62f08e16f91426859806499e57dc11b2d5314790fc42bd0b991c1e6151a038b94c234618d5718116e13385b93c9a12e47a82966f7d078671619301db7e09e85a
7
- data.tar.gz: 36c205e7bba840d7096eaad4a561b5f524f7ef319e5e9506682e38db840b6ac94877b0e49ec3cb1480308fe028d4e76fd30f9501b10a684580bc54b79f5ec6cd
6
+ metadata.gz: df57807df3ebdeef37b3d0c505492df2bb42b71855ddc21aab888a31233595b66f57d1c0d14b7d7f6efea9fba15fd4f03e7627062e4a07a96aab4f347d2cd731
7
+ data.tar.gz: 84ca832e02b6cd7c959fc06af049089486f2bb606f31211a0fedb9b596d5d2fe11091504d0957cc7390b289fd74238d2de5fec8286eb460b4322e13ed53e75ac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.5.0 (2021-02-24)
4
+
5
+ * Regenerated from discovery document revision 20210222
6
+
3
7
  ### v0.4.0 (2021-02-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20210213
@@ -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.4.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 = "20210213"
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.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-02-22 00:00:00.000000000 Z
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.4.0
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.6
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