google-apis-dialogflow_v2 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7aae3b7a44d355f89bf7c9e5386ef5034c802ddf5ca8bcc5a95e833e95e1b00d
4
- data.tar.gz: db3e584fc3fd2cd6ab940e2e9e364b523dba879929e259f30bbd85d5c43d72d6
3
+ metadata.gz: f3386d93bb66ae4e5592277e5af45166b72afc14890d014a3e57406eb8c059af
4
+ data.tar.gz: c665528e6191dbbad744d99f5db5f10747c7b08e6dff585fec5d578cf50ef1a8
5
5
  SHA512:
6
- metadata.gz: bfff895545ddfafeb4560038659a6a395632d20429f0cd8b63090a85cbd1f7a83526cc7d95b62355a755cdfeb3bb5071a76366443e3b1aa1b6a4c6bce2682527
7
- data.tar.gz: fafd9e7ac503f2b1aa31916fdaed7783e54ad50ff2f77c2bcb58a93554ed9ff611b48342fdae22029487570db2d091dfb30f0223fc63caed9a6e11364c78d3f9
6
+ metadata.gz: c804c160aacacd7a9ec03663fc58fb3f0994f8f5fd406f1589ca68e2260909dc82ec48ba6835249df4e378230fd25dcd2eb569a2684e9182a19298bd44121ef2
7
+ data.tar.gz: bbf21b92e0335c887b27c147a3c91b576d73f5a948964df1d95a4432f9b87274f5c7509e3c9919cdf48ae8aa53ea878c9d5a74446481fe192b48876c5bbd29d2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.12.0 (2021-05-19)
4
+
5
+ * Regenerated from discovery document revision 20210517
6
+
3
7
  ### v0.11.0 (2021-04-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20210426
@@ -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.11.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 = "20210426"
25
+ REVISION = "20210517"
26
26
  end
27
27
  end
28
28
  end
@@ -1042,7 +1042,11 @@ module Google
1042
1042
 
1043
1043
  # Returns the list of all intents in the specified agent.
1044
1044
  # @param [String] parent
1045
- # Required. The agent to list all intents from. Format: `projects//agent`.
1045
+ # Required. The agent to list all intents from. Format: `projects//agent` or `
1046
+ # projects//locations//agent`. Alternatively, you can specify the environment to
1047
+ # list intents for. Format: `projects//agent/environments/` or `projects//
1048
+ # locations//agent/environments/`. Note: training phrases of the intents will
1049
+ # not be returned for non-draft environment.
1046
1050
  # @param [String] intent_view
1047
1051
  # Optional. The resource view to apply to the returned intent.
1048
1052
  # @param [String] language_code
@@ -1732,7 +1736,11 @@ module Google
1732
1736
 
1733
1737
  # Returns the list of all intents in the specified agent.
1734
1738
  # @param [String] parent
1735
- # Required. The agent to list all intents from. Format: `projects//agent`.
1739
+ # Required. The agent to list all intents from. Format: `projects//agent` or `
1740
+ # projects//locations//agent`. Alternatively, you can specify the environment to
1741
+ # list intents for. Format: `projects//agent/environments/` or `projects//
1742
+ # locations//agent/environments/`. Note: training phrases of the intents will
1743
+ # not be returned for non-draft environment.
1736
1744
  # @param [String] intent_view
1737
1745
  # Optional. The resource view to apply to the returned intent.
1738
1746
  # @param [String] language_code
@@ -4950,6 +4958,56 @@ module Google
4950
4958
  execute_or_queue_command(command, &block)
4951
4959
  end
4952
4960
 
4961
+ # Returns the list of all intents in the specified agent.
4962
+ # @param [String] parent
4963
+ # Required. The agent to list all intents from. Format: `projects//agent` or `
4964
+ # projects//locations//agent`. Alternatively, you can specify the environment to
4965
+ # list intents for. Format: `projects//agent/environments/` or `projects//
4966
+ # locations//agent/environments/`. Note: training phrases of the intents will
4967
+ # not be returned for non-draft environment.
4968
+ # @param [String] intent_view
4969
+ # Optional. The resource view to apply to the returned intent.
4970
+ # @param [String] language_code
4971
+ # Optional. The language used to access language-specific data. If not specified,
4972
+ # the agent's default language is used. For more information, see [Multilingual
4973
+ # intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
4974
+ # multilingual#intent-entity).
4975
+ # @param [Fixnum] page_size
4976
+ # Optional. The maximum number of items to return in a single page. By default
4977
+ # 100 and at most 1000.
4978
+ # @param [String] page_token
4979
+ # Optional. The next_page_token value returned from a previous list request.
4980
+ # @param [String] fields
4981
+ # Selector specifying which fields to include in a partial response.
4982
+ # @param [String] quota_user
4983
+ # Available to use for quota purposes for server-side applications. Can be any
4984
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4985
+ # @param [Google::Apis::RequestOptions] options
4986
+ # Request-specific options
4987
+ #
4988
+ # @yield [result, err] Result & error if block supplied
4989
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse] parsed result object
4990
+ # @yieldparam err [StandardError] error object if request failed
4991
+ #
4992
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse]
4993
+ #
4994
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4995
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4996
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4997
+ 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)
4998
+ command = make_simple_command(:get, 'v2/{+parent}/intents', options)
4999
+ command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse::Representation
5000
+ command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListIntentsResponse
5001
+ command.params['parent'] = parent unless parent.nil?
5002
+ command.query['intentView'] = intent_view unless intent_view.nil?
5003
+ command.query['languageCode'] = language_code unless language_code.nil?
5004
+ command.query['pageSize'] = page_size unless page_size.nil?
5005
+ command.query['pageToken'] = page_token unless page_token.nil?
5006
+ command.query['fields'] = fields unless fields.nil?
5007
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5008
+ execute_or_queue_command(command, &block)
5009
+ end
5010
+
4953
5011
  # Deletes all active contexts in the specified session.
4954
5012
  # @param [String] parent
4955
5013
  # Required. The name of the session to delete all contexts from. Format: `
@@ -5596,7 +5654,11 @@ module Google
5596
5654
 
5597
5655
  # Returns the list of all intents in the specified agent.
5598
5656
  # @param [String] parent
5599
- # Required. The agent to list all intents from. Format: `projects//agent`.
5657
+ # Required. The agent to list all intents from. Format: `projects//agent` or `
5658
+ # projects//locations//agent`. Alternatively, you can specify the environment to
5659
+ # list intents for. Format: `projects//agent/environments/` or `projects//
5660
+ # locations//agent/environments/`. Note: training phrases of the intents will
5661
+ # not be returned for non-draft environment.
5600
5662
  # @param [String] intent_view
5601
5663
  # Optional. The resource view to apply to the returned intent.
5602
5664
  # @param [String] language_code
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.11.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-18 00:00:00.000000000 Z
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_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.11.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.12.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: []