diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3216a5009..20b8d3639 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,14 @@
[1]: https://pypi.org/project/dialogflow/#history
+## [0.8.0](https://www.github.com/googleapis/dialogflow-python-client-v2/compare/v0.7.2...v0.8.0) (2020-03-26)
+
+
+### Features
+
+* **dialogflow:** add `MediaContent`, `BrowseCarouselCard`, `ColumnProperties`in v2; add `SpeechContext`, `SpeechWordInfo`in v2; add `enable_word_info`, `speech_contexts`,`model` to InputAudioConfig in v2; add `subtitles` to `Intent.Message.ListSelect` in `v2beta1`; add `language_code` to `ListKnowledgeBase` in v2beta1; add `webhook_headers` to `QueryParameters` in v2beta1 ([#175](https://www.github.com/googleapis/dialogflow-python-client-v2/issues/175)) ([713846b](https://www.github.com/googleapis/dialogflow-python-client-v2/commit/713846b7ed99eaf78cdf383aa9d39b43731b9a0d))
+* add validation support to v2; add `output_audio_config_mask` to `detect_intent` method in v2beta1 and v2; add sub agent to v2beta1 (via synth) ([#179](https://www.github.com/googleapis/dialogflow-python-client-v2/issues/179)) ([5a6f18e](https://www.github.com/googleapis/dialogflow-python-client-v2/commit/5a6f18e362b5dd87affbe75e0d0bfc0c21ab87a9))
+
### [0.7.2](https://www.github.com/googleapis/dialogflow-python-client-v2/compare/v0.7.1...v0.7.2) (2019-10-18)
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
deleted file mode 100644
index b8d3342a4..000000000
--- a/CONTRIBUTING.rst
+++ /dev/null
@@ -1,219 +0,0 @@
-############
-Contributing
-############
-
-#. **Please sign one of the contributor license agreements below.**
-#. Fork the repo, develop and test your code changes, add docs.
-#. Make sure that your commit messages clearly describe the changes.
-#. Send a pull request. (Please Read: `Faster Pull Request Reviews`_)
-
-.. _Faster Pull Request Reviews: https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#best-practices-for-faster-reviews
-
-.. contents:: Here are some guidelines for hacking on the Google Cloud Client libraries.
-
-***************
-Adding Features
-***************
-
-In order to add a feature:
-
-- The feature must be documented in both the API and narrative
- documentation.
-
-- The feature must work fully on the following CPython versions: 2.7,
- 3.5, 3.6, and 3.7 on both UNIX and Windows.
-
-- The feature must not add unnecessary dependencies (where
- "unnecessary" is of course subjective, but new dependencies should
- be discussed).
-
-****************************
-Using a Development Checkout
-****************************
-
-You'll have to create a development environment using a Git checkout:
-
-- While logged into your GitHub account, navigate to the
- ``dialogflow-python-client-v2`` `repo`_ on GitHub.
-
-- Fork and clone the ``dialogflow-python-client-v2`` repository to your GitHub account by
- clicking the "Fork" button.
-
-- Clone your fork of ``dialogflow-python-client-v2`` from your GitHub account to your local
- computer, substituting your account username and specifying the destination
- as ``hack-on-dialogflow-python-client-v2``. E.g.::
-
- $ cd ${HOME}
- $ git clone git@github.com:USERNAME/dialogflow-python-client-v2.git hack-on-dialogflow-python-client-v2
- $ cd hack-on-dialogflow-python-client-v2
- # Configure remotes such that you can pull changes from the googleapis/dialogflow-python-client-v2
- # repository into your local repository.
- $ git remote add upstream git@github.com:googleapis/dialogflow-python-client-v2.git
- # fetch and merge changes from upstream into master
- $ git fetch upstream
- $ git merge upstream/master
-
-Now your local repo is set up such that you will push changes to your GitHub
-repo, from which you can submit a pull request.
-
-To work on the codebase and run the tests, we recommend using ``nox``,
-but you can also use a ``virtualenv`` of your own creation.
-
-.. _repo: https://github.com/googleapis/dialogflow-python-client-v2
-
-Using ``nox``
-=============
-
-We use `nox `__ to instrument our tests.
-
-- To test your changes, run unit tests with ``nox``::
-
- $ nox -s unit-2.7
- $ nox -s unit-3.7
- $ ...
-
- .. note::
-
- The unit tests and system tests are described in the
- ``noxfile.py`` files in each directory.
-
-.. nox: https://pypi.org/project/nox/
-
-Note on Editable Installs / Develop Mode
-========================================
-
-- As mentioned previously, using ``setuptools`` in `develop mode`_
- or a ``pip`` `editable install`_ is not possible with this
- library. This is because this library uses `namespace packages`_.
- For context see `Issue #2316`_ and the relevant `PyPA issue`_.
-
- Since ``editable`` / ``develop`` mode can't be used, packages
- need to be installed directly. Hence your changes to the source
- tree don't get incorporated into the **already installed**
- package.
-
-.. _namespace packages: https://www.python.org/dev/peps/pep-0420/
-.. _Issue #2316: https://github.com/GoogleCloudPlatform/google-cloud-python/issues/2316
-.. _PyPA issue: https://github.com/pypa/packaging-problems/issues/12
-.. _develop mode: https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode
-.. _editable install: https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs
-
-*****************************************
-I'm getting weird errors... Can you help?
-*****************************************
-
-If the error mentions ``Python.h`` not being found,
-install ``python-dev`` and try again.
-On Debian/Ubuntu::
-
- $ sudo apt-get install python-dev
-
-************
-Coding Style
-************
-
-- PEP8 compliance, with exceptions defined in the linter configuration.
- If you have ``nox`` installed, you can test that you have not introduced
- any non-compliant code via::
-
- $ nox -s lint
-
-- In order to make ``nox -s lint`` run faster, you can set some environment
- variables::
-
- export GOOGLE_CLOUD_TESTING_REMOTE="upstream"
- export GOOGLE_CLOUD_TESTING_BRANCH="master"
-
- By doing this, you are specifying the location of the most up-to-date
- version of ``dialogflow-python-client-v2``. The the suggested remote name ``upstream``
- should point to the official ``googleapis`` checkout and the
- the branch should be the main branch on that remote (``master``).
-
-Exceptions to PEP8:
-
-- Many unit tests use a helper method, ``_call_fut`` ("FUT" is short for
- "Function-Under-Test"), which is PEP8-incompliant, but more readable.
- Some also use a local variable, ``MUT`` (short for "Module-Under-Test").
-
-*************
-Test Coverage
-*************
-
-- The codebase *must* have 100% test statement coverage after each commit.
- You can test coverage via ``nox -s cover``.
-
-******************************************************
-Documentation Coverage and Building HTML Documentation
-******************************************************
-
-If you fix a bug, and the bug requires an API or behavior modification, all
-documentation in this package which references that API or behavior must be
-changed to reflect the bug fix, ideally in the same commit that fixes the bug
-or adds the feature.
-
-Build the docs via:
-
- $ nox -s docs
-
-********************************************
-Note About ``README`` as it pertains to PyPI
-********************************************
-
-The `description on PyPI`_ for the project comes directly from the
-``README``. Due to the reStructuredText (``rst``) parser used by
-PyPI, relative links which will work on GitHub (e.g. ``CONTRIBUTING.rst``
-instead of
-``https://github.com/googleapis/dialogflow-python-client-v2/blob/master/CONTRIBUTING.rst``)
-may cause problems creating links or rendering the description.
-
-.. _description on PyPI: https://pypi.org/project/dialogflow
-
-
-*************************
-Supported Python Versions
-*************************
-
-We support:
-
-- `Python 3.5`_
-- `Python 3.6`_
-- `Python 3.7`_
-
-.. _Python 3.5: https://docs.python.org/3.5/
-.. _Python 3.6: https://docs.python.org/3.6/
-.. _Python 3.7: https://docs.python.org/3.7/
-
-
-Supported versions can be found in our ``noxfile.py`` `config`_.
-
-.. _config: https://github.com/googleapis/dialogflow-python-client-v2/blob/master/noxfile.py
-
-
-**********
-Versioning
-**********
-
-This library follows `Semantic Versioning`_.
-
-.. _Semantic Versioning: http://semver.org/
-
-Some packages are currently in major version zero (``0.y.z``), which means that
-anything may change at any time and the public API should not be considered
-stable.
-
-******************************
-Contributor License Agreements
-******************************
-
-Before we can accept your pull requests you'll need to sign a Contributor
-License Agreement (CLA):
-
-- **If you are an individual writing original source code** and **you own the
- intellectual property**, then you'll need to sign an
- `individual CLA `__.
-- **If you work for a company that wants to allow you to contribute your work**,
- then you'll need to sign a
- `corporate CLA `__.
-
-You can sign these electronically (just scroll to the bottom). After that,
-we'll be able to accept your pull requests.
diff --git a/dialogflow_v2/__init__.py b/dialogflow_v2/__init__.py
index 38f7de3ca..51b4739c3 100644
--- a/dialogflow_v2/__init__.py
+++ b/dialogflow_v2/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -16,6 +16,8 @@
from __future__ import absolute_import
+import sys
+import warnings
from dialogflow_v2 import types
from dialogflow_v2.gapic import agents_client
@@ -27,6 +29,15 @@
from dialogflow_v2.gapic import sessions_client
+if sys.version_info[:2] == (2, 7):
+ message = (
+ "A future version of this library will drop support for Python 2.7."
+ "More details about Python 2 support for Google Cloud Client Libraries"
+ "can be found at https://cloud.google.com/python/docs/python2-sunset/"
+ )
+ warnings.warn(message, DeprecationWarning)
+
+
class AgentsClient(agents_client.AgentsClient):
__doc__ = agents_client.AgentsClient.__doc__
enums = enums
diff --git a/dialogflow_v2/gapic/agents_client.py b/dialogflow_v2/gapic/agents_client.py
index 5f4a350a5..319a21355 100644
--- a/dialogflow_v2/gapic/agents_client.py
+++ b/dialogflow_v2/gapic/agents_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -39,6 +39,7 @@
from dialogflow_v2.gapic.transports import agents_grpc_transport
from dialogflow_v2.proto import agent_pb2
from dialogflow_v2.proto import agent_pb2_grpc
+from dialogflow_v2.proto import validation_result_pb2
from google.longrunning import operations_pb2
from google.protobuf import empty_pb2
from google.protobuf import field_mask_pb2
@@ -932,3 +933,80 @@ def restore_agent(
empty_pb2.Empty,
metadata_type=struct_pb2.Struct,
)
+
+ def get_validation_result(
+ self,
+ parent=None,
+ language_code=None,
+ retry=google.api_core.gapic_v1.method.DEFAULT,
+ timeout=google.api_core.gapic_v1.method.DEFAULT,
+ metadata=None,
+ ):
+ """
+ Gets agent validation result. Agent validation is performed during
+ training time and is updated automatically when training is completed.
+
+ Example:
+ >>> import dialogflow_v2
+ >>>
+ >>> client = dialogflow_v2.AgentsClient()
+ >>>
+ >>> response = client.get_validation_result()
+
+ Args:
+ parent (str): Required. The project that the agent is associated with. Format:
+ ``projects/``.
+ language_code (str): Optional. The language for which you want a validation result. If not
+ specified, the agent's default language is used. `Many
+ languages `__
+ are supported. Note: languages must be enabled in the agent before they
+ can be used.
+ retry (Optional[google.api_core.retry.Retry]): A retry object used
+ to retry requests. If ``None`` is specified, requests will
+ be retried using a default configuration.
+ timeout (Optional[float]): The amount of time, in seconds, to wait
+ for the request to complete. Note that if ``retry`` is
+ specified, the timeout applies to each individual attempt.
+ metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata
+ that is provided to the method.
+
+ Returns:
+ A :class:`~google.cloud.dialogflow_v2.types.ValidationResult` instance.
+
+ Raises:
+ google.api_core.exceptions.GoogleAPICallError: If the request
+ failed for any reason.
+ google.api_core.exceptions.RetryError: If the request failed due
+ to a retryable error and retry attempts failed.
+ ValueError: If the parameters are invalid.
+ """
+ # Wrap the transport method to add retry and timeout logic.
+ if "get_validation_result" not in self._inner_api_calls:
+ self._inner_api_calls[
+ "get_validation_result"
+ ] = google.api_core.gapic_v1.method.wrap_method(
+ self.transport.get_validation_result,
+ default_retry=self._method_configs["GetValidationResult"].retry,
+ default_timeout=self._method_configs["GetValidationResult"].timeout,
+ client_info=self._client_info,
+ )
+
+ request = agent_pb2.GetValidationResultRequest(
+ parent=parent, language_code=language_code
+ )
+ if metadata is None:
+ metadata = []
+ metadata = list(metadata)
+ try:
+ routing_header = [("parent", parent)]
+ except AttributeError:
+ pass
+ else:
+ routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(
+ routing_header
+ )
+ metadata.append(routing_metadata)
+
+ return self._inner_api_calls["get_validation_result"](
+ request, retry=retry, timeout=timeout, metadata=metadata
+ )
diff --git a/dialogflow_v2/gapic/agents_client_config.py b/dialogflow_v2/gapic/agents_client_config.py
index 0d252dfba..425f1066b 100644
--- a/dialogflow_v2/gapic/agents_client_config.py
+++ b/dialogflow_v2/gapic/agents_client_config.py
@@ -57,6 +57,11 @@
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
+ "GetValidationResult": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "idempotent",
+ "retry_params_name": "default",
+ },
},
}
}
diff --git a/dialogflow_v2/gapic/contexts_client.py b/dialogflow_v2/gapic/contexts_client.py
index ed495c13c..c4425f1a1 100644
--- a/dialogflow_v2/gapic/contexts_client.py
+++ b/dialogflow_v2/gapic/contexts_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -38,6 +38,7 @@
from dialogflow_v2.proto import agent_pb2_grpc
from dialogflow_v2.proto import context_pb2
from dialogflow_v2.proto import context_pb2_grpc
+from dialogflow_v2.proto import validation_result_pb2
from google.longrunning import operations_pb2
from google.protobuf import empty_pb2
from google.protobuf import field_mask_pb2
@@ -260,7 +261,11 @@ def list_contexts(
Args:
parent (str): Required. The session to list all contexts from. Format:
- ``projects//agent/sessions/``.
+ ``projects//agent/sessions/`` or
+ ``projects//agent/environments//users//sessions/``.
+ If ``Environment ID`` is not specified, we assume default 'draft'
+ environment. If ``User ID`` is not specified, we assume default '-'
+ user.
page_size (int): The maximum number of resources contained in the
underlying API response. If page streaming is performed per-
resource, this parameter does not affect the return value. If page
@@ -349,7 +354,12 @@ def get_context(
Args:
name (str): Required. The name of the context. Format:
- ``projects//agent/sessions//contexts/``.
+ ``projects//agent/sessions//contexts/``
+ or
+ ``projects//agent/environments//users//sessions//contexts/``.
+ If ``Environment ID`` is not specified, we assume default 'draft'
+ environment. If ``User ID`` is not specified, we assume default '-'
+ user.
retry (Optional[google.api_core.retry.Retry]): A retry object used
to retry requests. If ``None`` is specified, requests will
be retried using a default configuration.
@@ -425,7 +435,11 @@ def create_context(
Args:
parent (str): Required. The session to create a context for. Format:
- ``projects//agent/sessions/``.
+ ``projects//agent/sessions/`` or
+ ``projects//agent/environments//users//sessions/``.
+ If ``Environment ID`` is not specified, we assume default 'draft'
+ environment. If ``User ID`` is not specified, we assume default '-'
+ user.
context (Union[dict, ~google.cloud.dialogflow_v2.types.Context]): Required. The context to create.
If a dict is provided, it must be of the same form as the protobuf
@@ -579,7 +593,12 @@ def delete_context(
Args:
name (str): Required. The name of the context to delete. Format:
- ``projects//agent/sessions//contexts/``.
+ ``projects//agent/sessions//contexts/``
+ or
+ ``projects//agent/environments//users//sessions//contexts/``.
+ If ``Environment ID`` is not specified, we assume default 'draft'
+ environment. If ``User ID`` is not specified, we assume default '-'
+ user.
retry (Optional[google.api_core.retry.Retry]): A retry object used
to retry requests. If ``None`` is specified, requests will
be retried using a default configuration.
@@ -646,7 +665,11 @@ def delete_all_contexts(
Args:
parent (str): Required. The name of the session to delete all contexts from. Format:
- ``projects//agent/sessions/``.
+ ``projects//agent/sessions/`` or
+ ``projects//agent/environments//users//sessions/``.
+ If ``Environment ID`` is not specified we assume default 'draft'
+ environment. If ``User ID`` is not specified, we assume default '-'
+ user.
retry (Optional[google.api_core.retry.Retry]): A retry object used
to retry requests. If ``None`` is specified, requests will
be retried using a default configuration.
diff --git a/dialogflow_v2/gapic/entity_types_client.py b/dialogflow_v2/gapic/entity_types_client.py
index 4a1169f28..4efa3ead2 100644
--- a/dialogflow_v2/gapic/entity_types_client.py
+++ b/dialogflow_v2/gapic/entity_types_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -43,6 +43,7 @@
from dialogflow_v2.proto import context_pb2_grpc
from dialogflow_v2.proto import entity_type_pb2
from dialogflow_v2.proto import entity_type_pb2_grpc
+from dialogflow_v2.proto import validation_result_pb2
from google.longrunning import operations_pb2
from google.protobuf import empty_pb2
from google.protobuf import field_mask_pb2
@@ -68,12 +69,12 @@ class EntityTypesClient(object):
common data types such as date, time, currency, and so on. A system
entity is represented by the ``EntityType`` type.
- - **Developer** - entities that are defined by you that represent
+ - **Custom** - entities that are defined by you that represent
actionable data that is meaningful to your application. For example,
you could define a ``pizza.sauce`` entity for red or white pizza
sauce, a ``pizza.cheese`` entity for the different types of cheese on
a pizza, a ``pizza.topping`` entity for different toppings, and so
- on. A developer entity is represented by the ``EntityType`` type.
+ on. A custom entity is represented by the ``EntityType`` type.
- **User** - entities that are built for an individual user such as
favorites, preferences, playlists, and so on. A user entity is
@@ -1138,7 +1139,7 @@ def batch_delete_entities(
Args:
parent (str): Required. The name of the entity type to delete entries for. Format:
``projects//agent/entityTypes/``.
- entity_values (list[str]): Required. The canonical ``values`` of the entities to delete. Note that
+ entity_values (list[str]): Required. The reference ``values`` of the entities to delete. Note that
these are not fully-qualified names, i.e. they don't start with
``projects/``.
language_code (str): Optional. The language of entity synonyms defined in ``entities``. If
diff --git a/dialogflow_v2/gapic/enums.py b/dialogflow_v2/gapic/enums.py
index 0afbcb4f2..10f193ac9 100644
--- a/dialogflow_v2/gapic/enums.py
+++ b/dialogflow_v2/gapic/enums.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -103,7 +103,7 @@ class OutputAudioEncoding(enum.IntEnum):
OUTPUT_AUDIO_ENCODING_UNSPECIFIED (int): Not specified.
OUTPUT_AUDIO_ENCODING_LINEAR_16 (int): Uncompressed 16-bit signed little-endian samples (Linear PCM).
Audio content returned as LINEAR16 also contains a WAV header.
- OUTPUT_AUDIO_ENCODING_MP3 (int): MP3 audio.
+ OUTPUT_AUDIO_ENCODING_MP3 (int): MP3 audio at 32kbps.
OUTPUT_AUDIO_ENCODING_OGG_OPUS (int): Opus encoded audio wrapped in an ogg container. The result will be a
file which can be played natively on Android, and in browsers (at least
Chrome and Firefox). The quality of the encoding is considerably higher
@@ -206,7 +206,7 @@ class MatchMode(enum.IntEnum):
MATCH_MODE_HYBRID (int): Best for agents with a small number of examples in intents and/or wide
use of templates syntax and composite entities.
MATCH_MODE_ML_ONLY (int): Can be used for agents with a large number of examples in intents,
- especially the ones using @sys.any or very large developer entities.
+ especially the ones using @sys.any or very large custom entities.
"""
MATCH_MODE_UNSPECIFIED = 0
@@ -252,9 +252,9 @@ class Kind(enum.IntEnum):
Attributes:
KIND_UNSPECIFIED (int): Not specified. This value should be never used.
- KIND_MAP (int): Map entity types allow mapping of a group of synonyms to a canonical
+ KIND_MAP (int): Map entity types allow mapping of a group of synonyms to a reference
value.
- KIND_LIST (int): List entity types contain a set of entries that do not map to canonical
+ KIND_LIST (int): List entity types contain a set of entries that do not map to reference
values. However, list entity types can contain references to other entity
types (with or without aliases).
KIND_REGEXP (int): Regexp entity types allow to specify regular expressions in entries
@@ -393,6 +393,83 @@ class Platform(enum.IntEnum):
ACTIONS_ON_GOOGLE = 8
GOOGLE_HANGOUTS = 11
+ class MediaContent(object):
+ class ResponseMediaType(enum.IntEnum):
+ """
+ Format of response media type.
+
+ Attributes:
+ RESPONSE_MEDIA_TYPE_UNSPECIFIED (int): Unspecified.
+ AUDIO (int): Response media type is audio.
+ """
+
+ RESPONSE_MEDIA_TYPE_UNSPECIFIED = 0
+ AUDIO = 1
+
+ class BrowseCarouselCard(object):
+ class ImageDisplayOptions(enum.IntEnum):
+ """
+ Image display options for Actions on Google. This should be used for
+ when the image's aspect ratio does not match the image container's
+ aspect ratio.
+
+ Attributes:
+ IMAGE_DISPLAY_OPTIONS_UNSPECIFIED (int): Fill the gaps between the image and the image container with gray
+ bars.
+ GRAY (int): Fill the gaps between the image and the image container with gray
+ bars.
+ WHITE (int): Fill the gaps between the image and the image container with white
+ bars.
+ CROPPED (int): Image is scaled such that the image width and height match or exceed
+ the container dimensions. This may crop the top and bottom of the
+ image if the scaled image height is greater than the container
+ height, or crop the left and right of the image if the scaled image
+ width is greater than the container width. This is similar to "Zoom
+ Mode" on a widescreen TV when playing a 4:3 video.
+ BLURRED_BACKGROUND (int): Pad the gaps between image and image frame with a blurred copy of the
+ same image.
+ """
+
+ IMAGE_DISPLAY_OPTIONS_UNSPECIFIED = 0
+ GRAY = 1
+ WHITE = 2
+ CROPPED = 3
+ BLURRED_BACKGROUND = 4
+
+ class BrowseCarouselCardItem(object):
+ class OpenUrlAction(object):
+ class UrlTypeHint(enum.IntEnum):
+ """
+ Type of the URI.
+
+ Attributes:
+ URL_TYPE_HINT_UNSPECIFIED (int): Unspecified
+ AMP_ACTION (int): Url would be an amp action
+ AMP_CONTENT (int): URL that points directly to AMP content, or to a canonical URL
+ which refers to AMP content via .
+ """
+
+ URL_TYPE_HINT_UNSPECIFIED = 0
+ AMP_ACTION = 1
+ AMP_CONTENT = 2
+
+ class ColumnProperties(object):
+ class HorizontalAlignment(enum.IntEnum):
+ """
+ Text alignments within a cell.
+
+ Attributes:
+ HORIZONTAL_ALIGNMENT_UNSPECIFIED (int): Text is aligned to the leading edge of the column.
+ LEADING (int): Text is aligned to the leading edge of the column.
+ CENTER (int): Text is centered in the column.
+ TRAILING (int): Text is aligned to the trailing edge of the column.
+ """
+
+ HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0
+ LEADING = 1
+ CENTER = 2
+ TRAILING = 3
+
class SessionEntityType(object):
class EntityOverrideMode(enum.IntEnum):
@@ -402,16 +479,16 @@ class EntityOverrideMode(enum.IntEnum):
Attributes:
ENTITY_OVERRIDE_MODE_UNSPECIFIED (int): Not specified. This value should be never used.
ENTITY_OVERRIDE_MODE_OVERRIDE (int): The collection of session entities overrides the collection of entities
- in the corresponding developer entity type.
+ in the corresponding custom entity type.
ENTITY_OVERRIDE_MODE_SUPPLEMENT (int): The collection of session entities extends the collection of entities in
- the corresponding developer entity type.
+ the corresponding custom entity type.
Note: Even in this override mode calls to ``ListSessionEntityTypes``,
``GetSessionEntityType``, ``CreateSessionEntityType`` and
``UpdateSessionEntityType`` only return the additional entities added in
this session entity type. If you want to get the supplemented list,
- please call ``EntityTypes.GetEntityType`` on the developer entity type
- and merge.
+ please call ``EntityTypes.GetEntityType`` on the custom entity type and
+ merge.
"""
ENTITY_OVERRIDE_MODE_UNSPECIFIED = 0
@@ -440,3 +517,23 @@ class MessageType(enum.IntEnum):
MESSAGE_TYPE_UNSPECIFIED = 0
TRANSCRIPT = 1
END_OF_SINGLE_UTTERANCE = 2
+
+
+class ValidationError(object):
+ class Severity(enum.IntEnum):
+ """
+ Represents a level of severity.
+
+ Attributes:
+ SEVERITY_UNSPECIFIED (int): Not specified. This value should never be used.
+ INFO (int): The agent doesn't follow Dialogflow best practicies.
+ WARNING (int): The agent may not behave as expected.
+ ERROR (int): The agent may experience partial failures.
+ CRITICAL (int): The agent may completely fail.
+ """
+
+ SEVERITY_UNSPECIFIED = 0
+ INFO = 1
+ WARNING = 2
+ ERROR = 3
+ CRITICAL = 4
diff --git a/dialogflow_v2/gapic/intents_client.py b/dialogflow_v2/gapic/intents_client.py
index bf9c668b8..4f4e092fd 100644
--- a/dialogflow_v2/gapic/intents_client.py
+++ b/dialogflow_v2/gapic/intents_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -45,6 +45,7 @@
from dialogflow_v2.proto import entity_type_pb2_grpc
from dialogflow_v2.proto import intent_pb2
from dialogflow_v2.proto import intent_pb2_grpc
+from dialogflow_v2.proto import validation_result_pb2
from google.longrunning import operations_pb2
from google.protobuf import empty_pb2
from google.protobuf import field_mask_pb2
@@ -541,7 +542,7 @@ def create_intent(
def update_intent(
self,
intent,
- language_code,
+ language_code=None,
update_mask=None,
intent_view=None,
retry=google.api_core.gapic_v1.method.DEFAULT,
@@ -559,10 +560,7 @@ def update_intent(
>>> # TODO: Initialize `intent`:
>>> intent = {}
>>>
- >>> # TODO: Initialize `language_code`:
- >>> language_code = ''
- >>>
- >>> response = client.update_intent(intent, language_code)
+ >>> response = client.update_intent(intent)
Args:
intent (Union[dict, ~google.cloud.dialogflow_v2.types.Intent]): Required. The intent to update.
@@ -704,9 +702,9 @@ def delete_intent(
def batch_update_intents(
self,
parent,
- language_code,
intent_batch_uri=None,
intent_batch_inline=None,
+ language_code=None,
update_mask=None,
intent_view=None,
retry=google.api_core.gapic_v1.method.DEFAULT,
@@ -725,10 +723,7 @@ def batch_update_intents(
>>>
>>> parent = client.project_agent_path('[PROJECT]')
>>>
- >>> # TODO: Initialize `language_code`:
- >>> language_code = ''
- >>>
- >>> response = client.batch_update_intents(parent, language_code)
+ >>> response = client.batch_update_intents(parent)
>>>
>>> def callback(operation_future):
... # Handle result.
@@ -742,12 +737,6 @@ def batch_update_intents(
Args:
parent (str): Required. The name of the agent to update or create intents in. Format:
``projects//agent``.
- language_code (str): Optional. The language of training phrases, parameters and rich messages
- defined in ``intents``. If not specified, the agent's default language
- is used. `Many
- languages `__
- are supported. Note: languages must be enabled in the agent before they
- can be used.
intent_batch_uri (str): The URI to a Google Cloud Storage file containing intents to update or
create. The file format can either be a serialized proto (of IntentBatch
type) or JSON object. Note: The URI must start with "gs://".
@@ -755,6 +744,12 @@ def batch_update_intents(
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dialogflow_v2.types.IntentBatch`
+ language_code (str): Optional. The language of training phrases, parameters and rich messages
+ defined in ``intents``. If not specified, the agent's default language
+ is used. `Many
+ languages `__
+ are supported. Note: languages must be enabled in the agent before they
+ can be used.
update_mask (Union[dict, ~google.cloud.dialogflow_v2.types.FieldMask]): Optional. The mask to control which fields get updated.
If a dict is provided, it must be of the same form as the protobuf
@@ -798,9 +793,9 @@ def batch_update_intents(
request = intent_pb2.BatchUpdateIntentsRequest(
parent=parent,
- language_code=language_code,
intent_batch_uri=intent_batch_uri,
intent_batch_inline=intent_batch_inline,
+ language_code=language_code,
update_mask=update_mask,
intent_view=intent_view,
)
diff --git a/dialogflow_v2/gapic/session_entity_types_client.py b/dialogflow_v2/gapic/session_entity_types_client.py
index 2bf8449e0..27f21c1fd 100644
--- a/dialogflow_v2/gapic/session_entity_types_client.py
+++ b/dialogflow_v2/gapic/session_entity_types_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -44,6 +44,7 @@
from dialogflow_v2.proto import intent_pb2_grpc
from dialogflow_v2.proto import session_entity_type_pb2
from dialogflow_v2.proto import session_entity_type_pb2_grpc
+from dialogflow_v2.proto import validation_result_pb2
from google.longrunning import operations_pb2
from google.protobuf import empty_pb2
from google.protobuf import field_mask_pb2
@@ -270,7 +271,11 @@ def list_session_entity_types(
Args:
parent (str): Required. The session to list all session entity types from. Format:
- ``projects//agent/sessions/``.
+ ``projects//agent/sessions/`` or
+ ``projects//agent/environments//users// sessions/``.
+ If ``Environment ID`` is not specified, we assume default 'draft'
+ environment. If ``User ID`` is not specified, we assume default '-'
+ user.
page_size (int): The maximum number of resources contained in the
underlying API response. If page streaming is performed per-
resource, this parameter does not affect the return value. If page
@@ -365,7 +370,12 @@ def get_session_entity_type(
Args:
name (str): Required. The name of the session entity type. Format:
- ``projects//agent/sessions//entityTypes/``.
+ ``projects//agent/sessions//entityTypes/``
+ or
+ ``projects//agent/environments//users//sessions//entityTypes/``.
+ If ``Environment ID`` is not specified, we assume default 'draft'
+ environment. If ``User ID`` is not specified, we assume default '-'
+ user.
retry (Optional[google.api_core.retry.Retry]): A retry object used
to retry requests. If ``None`` is specified, requests will
be retried using a default configuration.
@@ -446,7 +456,11 @@ def create_session_entity_type(
Args:
parent (str): Required. The session to create a session entity type for. Format:
- ``projects//agent/sessions/``.
+ ``projects//agent/sessions/`` or
+ ``projects//agent/environments//users// sessions/``.
+ If ``Environment ID`` is not specified, we assume default 'draft'
+ environment. If ``User ID`` is not specified, we assume default '-'
+ user.
session_entity_type (Union[dict, ~google.cloud.dialogflow_v2.types.SessionEntityType]): Required. The session entity type to create.
If a dict is provided, it must be of the same form as the protobuf
@@ -527,8 +541,7 @@ def update_session_entity_type(
>>> response = client.update_session_entity_type(session_entity_type)
Args:
- session_entity_type (Union[dict, ~google.cloud.dialogflow_v2.types.SessionEntityType]): Required. The entity type to update. Format:
- ``projects//agent/sessions//entityTypes/``.
+ session_entity_type (Union[dict, ~google.cloud.dialogflow_v2.types.SessionEntityType]): Required. The session entity type to update.
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dialogflow_v2.types.SessionEntityType`
@@ -611,7 +624,12 @@ def delete_session_entity_type(
Args:
name (str): Required. The name of the entity type to delete. Format:
- ``projects//agent/sessions//entityTypes/``.
+ ``projects//agent/sessions//entityTypes/``
+ or
+ ``projects//agent/environments//users//sessions//entityTypes/``.
+ If ``Environment ID`` is not specified, we assume default 'draft'
+ environment. If ``User ID`` is not specified, we assume default '-'
+ user.
retry (Optional[google.api_core.retry.Retry]): A retry object used
to retry requests. If ``None`` is specified, requests will
be retried using a default configuration.
diff --git a/dialogflow_v2/gapic/sessions_client.py b/dialogflow_v2/gapic/sessions_client.py
index 41df4a78c..c0b62e2ed 100644
--- a/dialogflow_v2/gapic/sessions_client.py
+++ b/dialogflow_v2/gapic/sessions_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -45,6 +45,7 @@
from dialogflow_v2.proto import session_entity_type_pb2_grpc
from dialogflow_v2.proto import session_pb2
from dialogflow_v2.proto import session_pb2_grpc
+from dialogflow_v2.proto import validation_result_pb2
from google.longrunning import operations_pb2
from google.protobuf import empty_pb2
from google.protobuf import field_mask_pb2
@@ -216,6 +217,7 @@ def detect_intent(
query_input,
query_params=None,
output_audio_config=None,
+ output_audio_config_mask=None,
input_audio=None,
retry=google.api_core.gapic_v1.method.DEFAULT,
timeout=google.api_core.gapic_v1.method.DEFAULT,
@@ -241,10 +243,14 @@ def detect_intent(
Args:
session (str): Required. The name of the session this query is sent to. Format:
- ``projects//agent/sessions/``. It's up to the
- API caller to choose an appropriate session ID. It can be a random
- number or some type of user identifier (preferably hashed). The length
- of the session ID must not exceed 36 bytes.
+ ``projects//agent/sessions/``, or
+ ``projects//agent/environments//users//sessions/``.
+ If ``Environment ID`` is not specified, we assume default 'draft'
+ environment. If ``User ID`` is not specified, we are using "-". It's up
+ to the API caller to choose an appropriate ``Session ID`` and
+ ``User Id``. They can be a random number or some type of user and
+ session identifiers (preferably hashed). The length of the
+ ``Session ID`` and ``User ID`` must not exceed 36 characters.
query_input (Union[dict, ~google.cloud.dialogflow_v2.types.QueryInput]): Required. The input specification. It can be set to:
1. an audio config
@@ -256,19 +262,28 @@ def detect_intent(
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dialogflow_v2.types.QueryInput`
- query_params (Union[dict, ~google.cloud.dialogflow_v2.types.QueryParameters]): Optional. The parameters of this query.
+ query_params (Union[dict, ~google.cloud.dialogflow_v2.types.QueryParameters]): The parameters of this query.
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dialogflow_v2.types.QueryParameters`
- output_audio_config (Union[dict, ~google.cloud.dialogflow_v2.types.OutputAudioConfig]): Optional. Instructs the speech synthesizer how to generate the output
+ output_audio_config (Union[dict, ~google.cloud.dialogflow_v2.types.OutputAudioConfig]): Instructs the speech synthesizer how to generate the output
audio. If this field is not set and agent-level speech synthesizer is not
configured, no output audio is generated.
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dialogflow_v2.types.OutputAudioConfig`
- input_audio (bytes): Optional. The natural language speech audio to be processed. This field
- should be populated iff ``query_input`` is set to an input audio config.
- A single request can contain up to 1 minute of speech audio data.
+ output_audio_config_mask (Union[dict, ~google.cloud.dialogflow_v2.types.FieldMask]): Mask for ``output_audio_config`` indicating which settings in this
+ request-level config should override speech synthesizer settings defined
+ at agent-level.
+
+ If unspecified or empty, ``output_audio_config`` replaces the
+ agent-level config in its entirety.
+
+ If a dict is provided, it must be of the same form as the protobuf
+ message :class:`~google.cloud.dialogflow_v2.types.FieldMask`
+ input_audio (bytes): The natural language speech audio to be processed. This field should be
+ populated iff ``query_input`` is set to an input audio config. A single
+ request can contain up to 1 minute of speech audio data.
retry (Optional[google.api_core.retry.Retry]): A retry object used
to retry requests. If ``None`` is specified, requests will
be retried using a default configuration.
@@ -304,6 +319,7 @@ def detect_intent(
query_input=query_input,
query_params=query_params,
output_audio_config=output_audio_config,
+ output_audio_config_mask=output_audio_config_mask,
input_audio=input_audio,
)
if metadata is None:
@@ -335,8 +351,6 @@ def streaming_detect_intent(
and returns structured, actionable data as a result. This method is only
available via the gRPC API (not REST).
- EXPERIMENTAL: This method interface might change in the future.
-
Example:
>>> import dialogflow_v2
>>>
diff --git a/dialogflow_v2/gapic/transports/agents_grpc_transport.py b/dialogflow_v2/gapic/transports/agents_grpc_transport.py
index 25e2792cf..c3783f96a 100644
--- a/dialogflow_v2/gapic/transports/agents_grpc_transport.py
+++ b/dialogflow_v2/gapic/transports/agents_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -240,3 +240,17 @@ def restore_agent(self):
deserialized response object.
"""
return self._stubs["agents_stub"].RestoreAgent
+
+ @property
+ def get_validation_result(self):
+ """Return the gRPC stub for :meth:`AgentsClient.get_validation_result`.
+
+ Gets agent validation result. Agent validation is performed during
+ training time and is updated automatically when training is completed.
+
+ Returns:
+ Callable: A callable which accepts the appropriate
+ deserialized request object and returns a
+ deserialized response object.
+ """
+ return self._stubs["agents_stub"].GetValidationResult
diff --git a/dialogflow_v2/gapic/transports/contexts_grpc_transport.py b/dialogflow_v2/gapic/transports/contexts_grpc_transport.py
index f1d2bb53a..f85c8918d 100644
--- a/dialogflow_v2/gapic/transports/contexts_grpc_transport.py
+++ b/dialogflow_v2/gapic/transports/contexts_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2/gapic/transports/entity_types_grpc_transport.py b/dialogflow_v2/gapic/transports/entity_types_grpc_transport.py
index 714ac1804..f99c74d1c 100644
--- a/dialogflow_v2/gapic/transports/entity_types_grpc_transport.py
+++ b/dialogflow_v2/gapic/transports/entity_types_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2/gapic/transports/intents_grpc_transport.py b/dialogflow_v2/gapic/transports/intents_grpc_transport.py
index 320812bae..520c66ff8 100644
--- a/dialogflow_v2/gapic/transports/intents_grpc_transport.py
+++ b/dialogflow_v2/gapic/transports/intents_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2/gapic/transports/session_entity_types_grpc_transport.py b/dialogflow_v2/gapic/transports/session_entity_types_grpc_transport.py
index 59a738a29..ab03ff5ea 100644
--- a/dialogflow_v2/gapic/transports/session_entity_types_grpc_transport.py
+++ b/dialogflow_v2/gapic/transports/session_entity_types_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2/gapic/transports/sessions_grpc_transport.py b/dialogflow_v2/gapic/transports/sessions_grpc_transport.py
index caaa6f38c..fa9773ddb 100644
--- a/dialogflow_v2/gapic/transports/sessions_grpc_transport.py
+++ b/dialogflow_v2/gapic/transports/sessions_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2/proto/agent_pb2.py b/dialogflow_v2/proto/agent_pb2.py
index 1485b7ff2..3a79368d6 100644
--- a/dialogflow_v2/proto/agent_pb2.py
+++ b/dialogflow_v2/proto/agent_pb2.py
@@ -19,6 +19,9 @@
from google.api import client_pb2 as google_dot_api_dot_client__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
+from dialogflow_v2.proto import (
+ validation_result_pb2 as google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_validation__result__pb2,
+)
from google.longrunning import (
operations_pb2 as google_dot_longrunning_dot_operations__pb2,
)
@@ -34,13 +37,14 @@
"\n\036com.google.cloud.dialogflow.v2B\nAgentProtoP\001ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2"
),
serialized_pb=_b(
- '\n,google/cloud/dialogflow_v2/proto/agent.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\xb0\x06\n\x05\x41gent\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12"\n\x15\x64\x65\x66\x61ult_language_code\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12%\n\x18supported_language_codes\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x16\n\ttime_zone\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\navatar_uri\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65nable_logging\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x12\x44\n\nmatch_mode\x18\t \x01(\x0e\x32+.google.cloud.dialogflow.v2.Agent.MatchModeB\x03\xe0\x41\x01\x12%\n\x18\x63lassification_threshold\x18\n \x01(\x02\x42\x03\xe0\x41\x01\x12\x46\n\x0b\x61pi_version\x18\x0e \x01(\x0e\x32,.google.cloud.dialogflow.v2.Agent.ApiVersionB\x03\xe0\x41\x01\x12\x39\n\x04tier\x18\x0f \x01(\x0e\x32&.google.cloud.dialogflow.v2.Agent.TierB\x03\xe0\x41\x01"V\n\tMatchMode\x12\x1a\n\x16MATCH_MODE_UNSPECIFIED\x10\x00\x12\x15\n\x11MATCH_MODE_HYBRID\x10\x01\x12\x16\n\x12MATCH_MODE_ML_ONLY\x10\x02"l\n\nApiVersion\x12\x1b\n\x17\x41PI_VERSION_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x41PI_VERSION_V1\x10\x01\x12\x12\n\x0e\x41PI_VERSION_V2\x10\x02\x12\x19\n\x15\x41PI_VERSION_V2_BETA_1\x10\x03"^\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x11\n\rTIER_STANDARD\x10\x01\x12\x13\n\x0fTIER_ENTERPRISE\x10\x02\x12\x18\n\x14TIER_ENTERPRISE_PLUS\x10\x03"V\n\x0fGetAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project"~\n\x0fSetAgentRequest\x12\x35\n\x05\x61gent\x18\x01 \x01(\x0b\x32!.google.cloud.dialogflow.v2.AgentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01"Y\n\x12\x44\x65leteAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project"\x86\x01\n\x13SearchAgentsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t"b\n\x14SearchAgentsResponse\x12\x31\n\x06\x61gents\x18\x01 \x03(\x0b\x32!.google.cloud.dialogflow.v2.Agent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"X\n\x11TrainAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project"q\n\x12\x45xportAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tagent_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02"L\n\x13\x45xportAgentResponse\x12\x13\n\tagent_uri\x18\x01 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x02 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"\x90\x01\n\x12ImportAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"\x91\x01\n\x13RestoreAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x42\x07\n\x05\x61gent2\x8f\x0c\n\x06\x41gents\x12\x8a\x01\n\x08GetAgent\x12+.google.cloud.dialogflow.v2.GetAgentRequest\x1a!.google.cloud.dialogflow.v2.Agent".\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v2/{parent=projects/*}/agent\xda\x41\x06parent\x12\x96\x01\n\x08SetAgent\x12+.google.cloud.dialogflow.v2.SetAgentRequest\x1a!.google.cloud.dialogflow.v2.Agent":\x82\xd3\xe4\x93\x02,"#/v2/{agent.parent=projects/*}/agent:\x05\x61gent\xda\x41\x05\x61gent\x12\x85\x01\n\x0b\x44\x65leteAgent\x12..google.cloud.dialogflow.v2.DeleteAgentRequest\x1a\x16.google.protobuf.Empty".\x82\xd3\xe4\x93\x02\x1f*\x1d/v2/{parent=projects/*}/agent\xda\x41\x06parent\x12\xa8\x01\n\x0cSearchAgents\x12/.google.cloud.dialogflow.v2.SearchAgentsRequest\x1a\x30.google.cloud.dialogflow.v2.SearchAgentsResponse"5\x82\xd3\xe4\x93\x02&\x12$/v2/{parent=projects/*}/agent:search\xda\x41\x06parent\x12\xc5\x01\n\nTrainAgent\x12-.google.cloud.dialogflow.v2.TrainAgentRequest\x1a\x1d.google.longrunning.Operation"i\x82\xd3\xe4\x93\x02("#/v2/{parent=projects/*}/agent:train:\x01*\xda\x41\x06parent\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\xe2\x01\n\x0b\x45xportAgent\x12..google.cloud.dialogflow.v2.ExportAgentRequest\x1a\x1d.google.longrunning.Operation"\x83\x01\x82\xd3\xe4\x93\x02)"$/v2/{parent=projects/*}/agent:export:\x01*\xda\x41\x06parent\xca\x41H\n.google.cloud.dialogflow.v2.ExportAgentResponse\x12\x16google.protobuf.Struct\x12\xbf\x01\n\x0bImportAgent\x12..google.cloud.dialogflow.v2.ImportAgentRequest\x1a\x1d.google.longrunning.Operation"a\x82\xd3\xe4\x93\x02)"$/v2/{parent=projects/*}/agent:import:\x01*\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\xc2\x01\n\x0cRestoreAgent\x12/.google.cloud.dialogflow.v2.RestoreAgentRequest\x1a\x1d.google.longrunning.Operation"b\x82\xd3\xe4\x93\x02*"%/v2/{parent=projects/*}/agent:restore:\x01*\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x99\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\nAgentProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
+ '\n,google/cloud/dialogflow_v2/proto/agent.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/dialogflow_v2/proto/validation_result.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\xf0\x06\n\x05\x41gent\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12"\n\x15\x64\x65\x66\x61ult_language_code\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12%\n\x18supported_language_codes\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x16\n\ttime_zone\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\navatar_uri\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65nable_logging\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x12\x44\n\nmatch_mode\x18\t \x01(\x0e\x32+.google.cloud.dialogflow.v2.Agent.MatchModeB\x03\xe0\x41\x01\x12%\n\x18\x63lassification_threshold\x18\n \x01(\x02\x42\x03\xe0\x41\x01\x12\x46\n\x0b\x61pi_version\x18\x0e \x01(\x0e\x32,.google.cloud.dialogflow.v2.Agent.ApiVersionB\x03\xe0\x41\x01\x12\x39\n\x04tier\x18\x0f \x01(\x0e\x32&.google.cloud.dialogflow.v2.Agent.TierB\x03\xe0\x41\x01"V\n\tMatchMode\x12\x1a\n\x16MATCH_MODE_UNSPECIFIED\x10\x00\x12\x15\n\x11MATCH_MODE_HYBRID\x10\x01\x12\x16\n\x12MATCH_MODE_ML_ONLY\x10\x02"l\n\nApiVersion\x12\x1b\n\x17\x41PI_VERSION_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x41PI_VERSION_V1\x10\x01\x12\x12\n\x0e\x41PI_VERSION_V2\x10\x02\x12\x19\n\x15\x41PI_VERSION_V2_BETA_1\x10\x03"^\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x11\n\rTIER_STANDARD\x10\x01\x12\x13\n\x0fTIER_ENTERPRISE\x10\x02\x12\x18\n\x14TIER_ENTERPRISE_PLUS\x10\x03:>\xea\x41;\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x18projects/{project}/agent"V\n\x0fGetAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project"~\n\x0fSetAgentRequest\x12\x35\n\x05\x61gent\x18\x01 \x01(\x0b\x32!.google.cloud.dialogflow.v2.AgentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01"Y\n\x12\x44\x65leteAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project"\x86\x01\n\x13SearchAgentsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t"b\n\x14SearchAgentsResponse\x12\x31\n\x06\x61gents\x18\x01 \x03(\x0b\x32!.google.cloud.dialogflow.v2.Agent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"X\n\x11TrainAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project"q\n\x12\x45xportAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tagent_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02"L\n\x13\x45xportAgentResponse\x12\x13\n\tagent_uri\x18\x01 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x02 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"\x90\x01\n\x12ImportAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"\x91\x01\n\x13RestoreAgentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"}\n\x1aGetValidationResultRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x32\xc5\r\n\x06\x41gents\x12\x8a\x01\n\x08GetAgent\x12+.google.cloud.dialogflow.v2.GetAgentRequest\x1a!.google.cloud.dialogflow.v2.Agent".\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v2/{parent=projects/*}/agent\xda\x41\x06parent\x12\x96\x01\n\x08SetAgent\x12+.google.cloud.dialogflow.v2.SetAgentRequest\x1a!.google.cloud.dialogflow.v2.Agent":\x82\xd3\xe4\x93\x02,"#/v2/{agent.parent=projects/*}/agent:\x05\x61gent\xda\x41\x05\x61gent\x12\x85\x01\n\x0b\x44\x65leteAgent\x12..google.cloud.dialogflow.v2.DeleteAgentRequest\x1a\x16.google.protobuf.Empty".\x82\xd3\xe4\x93\x02\x1f*\x1d/v2/{parent=projects/*}/agent\xda\x41\x06parent\x12\xa8\x01\n\x0cSearchAgents\x12/.google.cloud.dialogflow.v2.SearchAgentsRequest\x1a\x30.google.cloud.dialogflow.v2.SearchAgentsResponse"5\x82\xd3\xe4\x93\x02&\x12$/v2/{parent=projects/*}/agent:search\xda\x41\x06parent\x12\xc5\x01\n\nTrainAgent\x12-.google.cloud.dialogflow.v2.TrainAgentRequest\x1a\x1d.google.longrunning.Operation"i\x82\xd3\xe4\x93\x02("#/v2/{parent=projects/*}/agent:train:\x01*\xda\x41\x06parent\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\xe2\x01\n\x0b\x45xportAgent\x12..google.cloud.dialogflow.v2.ExportAgentRequest\x1a\x1d.google.longrunning.Operation"\x83\x01\x82\xd3\xe4\x93\x02)"$/v2/{parent=projects/*}/agent:export:\x01*\xda\x41\x06parent\xca\x41H\n.google.cloud.dialogflow.v2.ExportAgentResponse\x12\x16google.protobuf.Struct\x12\xbf\x01\n\x0bImportAgent\x12..google.cloud.dialogflow.v2.ImportAgentRequest\x1a\x1d.google.longrunning.Operation"a\x82\xd3\xe4\x93\x02)"$/v2/{parent=projects/*}/agent:import:\x01*\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\xc2\x01\n\x0cRestoreAgent\x12/.google.cloud.dialogflow.v2.RestoreAgentRequest\x1a\x1d.google.longrunning.Operation"b\x82\xd3\xe4\x93\x02*"%/v2/{parent=projects/*}/agent:restore:\x01*\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\xb3\x01\n\x13GetValidationResult\x12\x36.google.cloud.dialogflow.v2.GetValidationResultRequest\x1a,.google.cloud.dialogflow.v2.ValidationResult"6\x82\xd3\xe4\x93\x02\x30\x12./v2/{parent=projects/*}/agent/validationResult\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x99\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\nAgentProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
),
dependencies=[
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
google_dot_api_dot_client__pb2.DESCRIPTOR,
google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,
google_dot_api_dot_resource__pb2.DESCRIPTOR,
+ google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_validation__result__pb2.DESCRIPTOR,
google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,
google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,
google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
@@ -78,8 +82,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=816,
- serialized_end=902,
+ serialized_start=874,
+ serialized_end=960,
)
_sym_db.RegisterEnumDescriptor(_AGENT_MATCHMODE)
@@ -112,8 +116,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=904,
- serialized_end=1012,
+ serialized_start=962,
+ serialized_end=1070,
)
_sym_db.RegisterEnumDescriptor(_AGENT_APIVERSION)
@@ -150,8 +154,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=1014,
- serialized_end=1108,
+ serialized_start=1072,
+ serialized_end=1166,
)
_sym_db.RegisterEnumDescriptor(_AGENT_TIER)
@@ -385,13 +389,15 @@
extensions=[],
nested_types=[],
enum_types=[_AGENT_MATCHMODE, _AGENT_APIVERSION, _AGENT_TIER],
- serialized_options=None,
+ serialized_options=_b(
+ "\352A;\n\037dialogflow.googleapis.com/Agent\022\030projects/{project}/agent"
+ ),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=292,
- serialized_end=1108,
+ serialized_start=350,
+ serialized_end=1230,
)
@@ -431,8 +437,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1110,
- serialized_end=1196,
+ serialized_start=1232,
+ serialized_end=1318,
)
@@ -488,8 +494,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1198,
- serialized_end=1324,
+ serialized_start=1320,
+ serialized_end=1446,
)
@@ -529,8 +535,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1326,
- serialized_end=1415,
+ serialized_start=1448,
+ serialized_end=1537,
)
@@ -606,8 +612,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1418,
- serialized_end=1552,
+ serialized_start=1540,
+ serialized_end=1674,
)
@@ -663,8 +669,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1554,
- serialized_end=1652,
+ serialized_start=1676,
+ serialized_end=1774,
)
@@ -704,8 +710,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1654,
- serialized_end=1742,
+ serialized_start=1776,
+ serialized_end=1864,
)
@@ -763,8 +769,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1744,
- serialized_end=1857,
+ serialized_start=1866,
+ serialized_end=1979,
)
@@ -828,8 +834,8 @@
fields=[],
)
],
- serialized_start=1859,
- serialized_end=1935,
+ serialized_start=1981,
+ serialized_end=2057,
)
@@ -913,8 +919,8 @@
fields=[],
)
],
- serialized_start=1938,
- serialized_end=2082,
+ serialized_start=2060,
+ serialized_end=2204,
)
@@ -998,8 +1004,67 @@
fields=[],
)
],
- serialized_start=2085,
- serialized_end=2230,
+ serialized_start=2207,
+ serialized_end=2352,
+)
+
+
+_GETVALIDATIONRESULTREQUEST = _descriptor.Descriptor(
+ name="GetValidationResultRequest",
+ full_name="google.cloud.dialogflow.v2.GetValidationResultRequest",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="parent",
+ full_name="google.cloud.dialogflow.v2.GetValidationResultRequest.parent",
+ index=0,
+ number=1,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b(
+ "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project"
+ ),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="language_code",
+ full_name="google.cloud.dialogflow.v2.GetValidationResultRequest.language_code",
+ index=1,
+ number=3,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=2354,
+ serialized_end=2479,
)
_AGENT.fields_by_name["match_mode"].enum_type = _AGENT_MATCHMODE
@@ -1060,6 +1125,9 @@
DESCRIPTOR.message_types_by_name["ExportAgentResponse"] = _EXPORTAGENTRESPONSE
DESCRIPTOR.message_types_by_name["ImportAgentRequest"] = _IMPORTAGENTREQUEST
DESCRIPTOR.message_types_by_name["RestoreAgentRequest"] = _RESTOREAGENTREQUEST
+DESCRIPTOR.message_types_by_name[
+ "GetValidationResultRequest"
+] = _GETVALIDATIONRESULTREQUEST
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Agent = _reflection.GeneratedProtocolMessageType(
@@ -1364,6 +1432,32 @@
)
_sym_db.RegisterMessage(RestoreAgentRequest)
+GetValidationResultRequest = _reflection.GeneratedProtocolMessageType(
+ "GetValidationResultRequest",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_GETVALIDATIONRESULTREQUEST,
+ __module__="google.cloud.dialogflow_v2.proto.agent_pb2",
+ __doc__="""The request message for
+ [Agents.GetValidationResult][google.cloud.dialogflow.v2.Agents.GetValidationResult].
+
+
+ Attributes:
+ parent:
+ Required. The project that the agent is associated with.
+ Format: ``projects/``.
+ language_code:
+ Optional. The language for which you want a validation result.
+ If not specified, the agent's default language is used. `Many
+ languages `__ are supported. Note: languages must be enabled in
+ the agent before they can be used.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.GetValidationResultRequest)
+ ),
+)
+_sym_db.RegisterMessage(GetValidationResultRequest)
+
DESCRIPTOR._options = None
_AGENT.fields_by_name["parent"]._options = None
@@ -1378,6 +1472,7 @@
_AGENT.fields_by_name["classification_threshold"]._options = None
_AGENT.fields_by_name["api_version"]._options = None
_AGENT.fields_by_name["tier"]._options = None
+_AGENT._options = None
_GETAGENTREQUEST.fields_by_name["parent"]._options = None
_SETAGENTREQUEST.fields_by_name["agent"]._options = None
_SETAGENTREQUEST.fields_by_name["update_mask"]._options = None
@@ -1389,6 +1484,8 @@
_EXPORTAGENTREQUEST.fields_by_name["agent_uri"]._options = None
_IMPORTAGENTREQUEST.fields_by_name["parent"]._options = None
_RESTOREAGENTREQUEST.fields_by_name["parent"]._options = None
+_GETVALIDATIONRESULTREQUEST.fields_by_name["parent"]._options = None
+_GETVALIDATIONRESULTREQUEST.fields_by_name["language_code"]._options = None
_AGENTS = _descriptor.ServiceDescriptor(
name="Agents",
@@ -1398,8 +1495,8 @@
serialized_options=_b(
"\312A\031dialogflow.googleapis.com\322AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
),
- serialized_start=2233,
- serialized_end=3784,
+ serialized_start=2482,
+ serialized_end=4215,
methods=[
_descriptor.MethodDescriptor(
name="GetAgent",
@@ -1489,6 +1586,17 @@
'\202\323\344\223\002*"%/v2/{parent=projects/*}/agent:restore:\001*\312A/\n\025google.protobuf.Empty\022\026google.protobuf.Struct'
),
),
+ _descriptor.MethodDescriptor(
+ name="GetValidationResult",
+ full_name="google.cloud.dialogflow.v2.Agents.GetValidationResult",
+ index=8,
+ containing_service=None,
+ input_type=_GETVALIDATIONRESULTREQUEST,
+ output_type=google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_validation__result__pb2._VALIDATIONRESULT,
+ serialized_options=_b(
+ "\202\323\344\223\0020\022./v2/{parent=projects/*}/agent/validationResult"
+ ),
+ ),
],
)
_sym_db.RegisterServiceDescriptor(_AGENTS)
diff --git a/dialogflow_v2/proto/agent_pb2_grpc.py b/dialogflow_v2/proto/agent_pb2_grpc.py
index 0192da477..afffcd76f 100644
--- a/dialogflow_v2/proto/agent_pb2_grpc.py
+++ b/dialogflow_v2/proto/agent_pb2_grpc.py
@@ -4,6 +4,9 @@
from dialogflow_v2.proto import (
agent_pb2 as google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_agent__pb2,
)
+from dialogflow_v2.proto import (
+ validation_result_pb2 as google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_validation__result__pb2,
+)
from google.longrunning import (
operations_pb2 as google_dot_longrunning_dot_operations__pb2,
)
@@ -87,6 +90,11 @@ def __init__(self, channel):
request_serializer=google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_agent__pb2.RestoreAgentRequest.SerializeToString,
response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString,
)
+ self.GetValidationResult = channel.unary_unary(
+ "/google.cloud.dialogflow.v2.Agents/GetValidationResult",
+ request_serializer=google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_agent__pb2.GetValidationResultRequest.SerializeToString,
+ response_deserializer=google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_validation__result__pb2.ValidationResult.FromString,
+ )
class AgentsServicer(object):
@@ -197,6 +205,14 @@ def RestoreAgent(self, request, context):
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
+ def GetValidationResult(self, request, context):
+ """Gets agent validation result. Agent validation is performed during
+ training time and is updated automatically when training is completed.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
def add_AgentsServicer_to_server(servicer, server):
rpc_method_handlers = {
@@ -240,6 +256,11 @@ def add_AgentsServicer_to_server(servicer, server):
request_deserializer=google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_agent__pb2.RestoreAgentRequest.FromString,
response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString,
),
+ "GetValidationResult": grpc.unary_unary_rpc_method_handler(
+ servicer.GetValidationResult,
+ request_deserializer=google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_agent__pb2.GetValidationResultRequest.FromString,
+ response_serializer=google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_validation__result__pb2.ValidationResult.SerializeToString,
+ ),
}
generic_handler = grpc.method_handlers_generic_handler(
"google.cloud.dialogflow.v2.Agents", rpc_method_handlers
diff --git a/dialogflow_v2/proto/audio_config_pb2.py b/dialogflow_v2/proto/audio_config_pb2.py
index 32f720ca7..7b3a05634 100644
--- a/dialogflow_v2/proto/audio_config_pb2.py
+++ b/dialogflow_v2/proto/audio_config_pb2.py
@@ -16,6 +16,8 @@
_sym_db = _symbol_database.Default()
+from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
+from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
@@ -28,9 +30,11 @@
"\n\036com.google.cloud.dialogflow.v2B\020AudioConfigProtoP\001ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2"
),
serialized_pb=_b(
- '\n3google/cloud/dialogflow_v2/proto/audio_config.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/api/annotations.proto"\xfe\x01\n\x10InputAudioConfig\x12\x41\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32).google.cloud.dialogflow.v2.AudioEncoding\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\x12\x14\n\x0cphrase_hints\x18\x04 \x03(\t\x12\x45\n\rmodel_variant\x18\n \x01(\x0e\x32..google.cloud.dialogflow.v2.SpeechModelVariant\x12\x18\n\x10single_utterance\x18\x08 \x01(\x08"f\n\x14VoiceSelectionParams\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\x0bssml_gender\x18\x02 \x01(\x0e\x32+.google.cloud.dialogflow.v2.SsmlVoiceGender"\xb3\x01\n\x16SynthesizeSpeechConfig\x12\x15\n\rspeaking_rate\x18\x01 \x01(\x01\x12\r\n\x05pitch\x18\x02 \x01(\x01\x12\x16\n\x0evolume_gain_db\x18\x03 \x01(\x01\x12\x1a\n\x12\x65\x66\x66\x65\x63ts_profile_id\x18\x05 \x03(\t\x12?\n\x05voice\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.VoiceSelectionParams"\xcd\x01\n\x11OutputAudioConfig\x12G\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32/.google.cloud.dialogflow.v2.OutputAudioEncoding\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12T\n\x18synthesize_speech_config\x18\x03 \x01(\x0b\x32\x32.google.cloud.dialogflow.v2.SynthesizeSpeechConfig*\xfb\x01\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41UDIO_ENCODING_LINEAR_16\x10\x01\x12\x17\n\x13\x41UDIO_ENCODING_FLAC\x10\x02\x12\x18\n\x14\x41UDIO_ENCODING_MULAW\x10\x03\x12\x16\n\x12\x41UDIO_ENCODING_AMR\x10\x04\x12\x19\n\x15\x41UDIO_ENCODING_AMR_WB\x10\x05\x12\x1b\n\x17\x41UDIO_ENCODING_OGG_OPUS\x10\x06\x12)\n%AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE\x10\x07*v\n\x12SpeechModelVariant\x12$\n SPEECH_MODEL_VARIANT_UNSPECIFIED\x10\x00\x12\x16\n\x12USE_BEST_AVAILABLE\x10\x01\x12\x10\n\x0cUSE_STANDARD\x10\x02\x12\x10\n\x0cUSE_ENHANCED\x10\x03*\x8d\x01\n\x0fSsmlVoiceGender\x12!\n\x1dSSML_VOICE_GENDER_UNSPECIFIED\x10\x00\x12\x1a\n\x16SSML_VOICE_GENDER_MALE\x10\x01\x12\x1c\n\x18SSML_VOICE_GENDER_FEMALE\x10\x02\x12\x1d\n\x19SSML_VOICE_GENDER_NEUTRAL\x10\x03*\xa4\x01\n\x13OutputAudioEncoding\x12%\n!OUTPUT_AUDIO_ENCODING_UNSPECIFIED\x10\x00\x12#\n\x1fOUTPUT_AUDIO_ENCODING_LINEAR_16\x10\x01\x12\x1d\n\x19OUTPUT_AUDIO_ENCODING_MP3\x10\x02\x12"\n\x1eOUTPUT_AUDIO_ENCODING_OGG_OPUS\x10\x03\x42\x9f\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x10\x41udioConfigProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
+ '\n3google/cloud/dialogflow_v2/proto/audio_config.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/api/annotations.proto"/\n\rSpeechContext\x12\x0f\n\x07phrases\x18\x01 \x03(\t\x12\r\n\x05\x62oost\x18\x02 \x01(\x02"\x92\x01\n\x0eSpeechWordInfo\x12\x0c\n\x04word\x18\x03 \x01(\t\x12/\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\nconfidence\x18\x04 \x01(\x02"\xef\x02\n\x10InputAudioConfig\x12\x41\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32).google.cloud.dialogflow.v2.AudioEncoding\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\x12\x18\n\x10\x65nable_word_info\x18\r \x01(\x08\x12\x18\n\x0cphrase_hints\x18\x04 \x03(\tB\x02\x18\x01\x12\x42\n\x0fspeech_contexts\x18\x0b \x03(\x0b\x32).google.cloud.dialogflow.v2.SpeechContext\x12\r\n\x05model\x18\x07 \x01(\t\x12\x45\n\rmodel_variant\x18\n \x01(\x0e\x32..google.cloud.dialogflow.v2.SpeechModelVariant\x12\x18\n\x10single_utterance\x18\x08 \x01(\x08"f\n\x14VoiceSelectionParams\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\x0bssml_gender\x18\x02 \x01(\x0e\x32+.google.cloud.dialogflow.v2.SsmlVoiceGender"\xb3\x01\n\x16SynthesizeSpeechConfig\x12\x15\n\rspeaking_rate\x18\x01 \x01(\x01\x12\r\n\x05pitch\x18\x02 \x01(\x01\x12\x16\n\x0evolume_gain_db\x18\x03 \x01(\x01\x12\x1a\n\x12\x65\x66\x66\x65\x63ts_profile_id\x18\x05 \x03(\t\x12?\n\x05voice\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.VoiceSelectionParams"\xd2\x01\n\x11OutputAudioConfig\x12L\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32/.google.cloud.dialogflow.v2.OutputAudioEncodingB\x03\xe0\x41\x02\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12T\n\x18synthesize_speech_config\x18\x03 \x01(\x0b\x32\x32.google.cloud.dialogflow.v2.SynthesizeSpeechConfig*\xfb\x01\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41UDIO_ENCODING_LINEAR_16\x10\x01\x12\x17\n\x13\x41UDIO_ENCODING_FLAC\x10\x02\x12\x18\n\x14\x41UDIO_ENCODING_MULAW\x10\x03\x12\x16\n\x12\x41UDIO_ENCODING_AMR\x10\x04\x12\x19\n\x15\x41UDIO_ENCODING_AMR_WB\x10\x05\x12\x1b\n\x17\x41UDIO_ENCODING_OGG_OPUS\x10\x06\x12)\n%AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE\x10\x07*v\n\x12SpeechModelVariant\x12$\n SPEECH_MODEL_VARIANT_UNSPECIFIED\x10\x00\x12\x16\n\x12USE_BEST_AVAILABLE\x10\x01\x12\x10\n\x0cUSE_STANDARD\x10\x02\x12\x10\n\x0cUSE_ENHANCED\x10\x03*\x8d\x01\n\x0fSsmlVoiceGender\x12!\n\x1dSSML_VOICE_GENDER_UNSPECIFIED\x10\x00\x12\x1a\n\x16SSML_VOICE_GENDER_MALE\x10\x01\x12\x1c\n\x18SSML_VOICE_GENDER_FEMALE\x10\x02\x12\x1d\n\x19SSML_VOICE_GENDER_NEUTRAL\x10\x03*\xa4\x01\n\x13OutputAudioEncoding\x12%\n!OUTPUT_AUDIO_ENCODING_UNSPECIFIED\x10\x00\x12#\n\x1fOUTPUT_AUDIO_ENCODING_LINEAR_16\x10\x01\x12\x1d\n\x19OUTPUT_AUDIO_ENCODING_MP3\x10\x02\x12"\n\x1eOUTPUT_AUDIO_ENCODING_OGG_OPUS\x10\x03\x42\x9f\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x10\x41udioConfigProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
),
dependencies=[
+ google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,
+ google_dot_api_dot_resource__pb2.DESCRIPTOR,
google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
],
@@ -101,8 +105,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=897,
- serialized_end=1148,
+ serialized_start=1273,
+ serialized_end=1524,
)
_sym_db.RegisterEnumDescriptor(_AUDIOENCODING)
@@ -136,8 +140,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=1150,
- serialized_end=1268,
+ serialized_start=1526,
+ serialized_end=1644,
)
_sym_db.RegisterEnumDescriptor(_SPEECHMODELVARIANT)
@@ -179,8 +183,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=1271,
- serialized_end=1412,
+ serialized_start=1647,
+ serialized_end=1788,
)
_sym_db.RegisterEnumDescriptor(_SSMLVOICEGENDER)
@@ -222,8 +226,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=1415,
- serialized_end=1579,
+ serialized_start=1791,
+ serialized_end=1955,
)
_sym_db.RegisterEnumDescriptor(_OUTPUTAUDIOENCODING)
@@ -250,6 +254,156 @@
OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3
+_SPEECHCONTEXT = _descriptor.Descriptor(
+ name="SpeechContext",
+ full_name="google.cloud.dialogflow.v2.SpeechContext",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="phrases",
+ full_name="google.cloud.dialogflow.v2.SpeechContext.phrases",
+ index=0,
+ number=1,
+ type=9,
+ cpp_type=9,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="boost",
+ full_name="google.cloud.dialogflow.v2.SpeechContext.boost",
+ index=1,
+ number=2,
+ type=2,
+ cpp_type=6,
+ label=1,
+ has_default_value=False,
+ default_value=float(0),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=205,
+ serialized_end=252,
+)
+
+
+_SPEECHWORDINFO = _descriptor.Descriptor(
+ name="SpeechWordInfo",
+ full_name="google.cloud.dialogflow.v2.SpeechWordInfo",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="word",
+ full_name="google.cloud.dialogflow.v2.SpeechWordInfo.word",
+ index=0,
+ number=3,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="start_offset",
+ full_name="google.cloud.dialogflow.v2.SpeechWordInfo.start_offset",
+ index=1,
+ number=1,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="end_offset",
+ full_name="google.cloud.dialogflow.v2.SpeechWordInfo.end_offset",
+ index=2,
+ number=2,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="confidence",
+ full_name="google.cloud.dialogflow.v2.SpeechWordInfo.confidence",
+ index=3,
+ number=4,
+ type=2,
+ cpp_type=6,
+ label=1,
+ has_default_value=False,
+ default_value=float(0),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=255,
+ serialized_end=401,
+)
+
+
_INPUTAUDIOCONFIG = _descriptor.Descriptor(
name="InputAudioConfig",
full_name="google.cloud.dialogflow.v2.InputAudioConfig",
@@ -311,10 +465,28 @@
serialized_options=None,
file=DESCRIPTOR,
),
+ _descriptor.FieldDescriptor(
+ name="enable_word_info",
+ full_name="google.cloud.dialogflow.v2.InputAudioConfig.enable_word_info",
+ index=3,
+ number=13,
+ type=8,
+ cpp_type=7,
+ label=1,
+ has_default_value=False,
+ default_value=False,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
_descriptor.FieldDescriptor(
name="phrase_hints",
full_name="google.cloud.dialogflow.v2.InputAudioConfig.phrase_hints",
- index=3,
+ index=4,
number=4,
type=9,
cpp_type=9,
@@ -326,13 +498,49 @@
containing_type=None,
is_extension=False,
extension_scope=None,
+ serialized_options=_b("\030\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="speech_contexts",
+ full_name="google.cloud.dialogflow.v2.InputAudioConfig.speech_contexts",
+ index=5,
+ number=11,
+ type=11,
+ cpp_type=10,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="model",
+ full_name="google.cloud.dialogflow.v2.InputAudioConfig.model",
+ index=6,
+ number=7,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="model_variant",
full_name="google.cloud.dialogflow.v2.InputAudioConfig.model_variant",
- index=4,
+ index=7,
number=10,
type=14,
cpp_type=8,
@@ -350,7 +558,7 @@
_descriptor.FieldDescriptor(
name="single_utterance",
full_name="google.cloud.dialogflow.v2.InputAudioConfig.single_utterance",
- index=5,
+ index=8,
number=8,
type=8,
cpp_type=7,
@@ -374,8 +582,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=146,
- serialized_end=400,
+ serialized_start=404,
+ serialized_end=771,
)
@@ -431,8 +639,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=402,
- serialized_end=504,
+ serialized_start=773,
+ serialized_end=875,
)
@@ -542,8 +750,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=507,
- serialized_end=686,
+ serialized_start=878,
+ serialized_end=1057,
)
@@ -569,7 +777,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=None,
+ serialized_options=_b("\340A\002"),
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -617,11 +825,18 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=689,
- serialized_end=894,
+ serialized_start=1060,
+ serialized_end=1270,
)
+_SPEECHWORDINFO.fields_by_name[
+ "start_offset"
+].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
+_SPEECHWORDINFO.fields_by_name[
+ "end_offset"
+].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_INPUTAUDIOCONFIG.fields_by_name["audio_encoding"].enum_type = _AUDIOENCODING
+_INPUTAUDIOCONFIG.fields_by_name["speech_contexts"].message_type = _SPEECHCONTEXT
_INPUTAUDIOCONFIG.fields_by_name["model_variant"].enum_type = _SPEECHMODELVARIANT
_VOICESELECTIONPARAMS.fields_by_name["ssml_gender"].enum_type = _SSMLVOICEGENDER
_SYNTHESIZESPEECHCONFIG.fields_by_name["voice"].message_type = _VOICESELECTIONPARAMS
@@ -629,6 +844,8 @@
_OUTPUTAUDIOCONFIG.fields_by_name[
"synthesize_speech_config"
].message_type = _SYNTHESIZESPEECHCONFIG
+DESCRIPTOR.message_types_by_name["SpeechContext"] = _SPEECHCONTEXT
+DESCRIPTOR.message_types_by_name["SpeechWordInfo"] = _SPEECHWORDINFO
DESCRIPTOR.message_types_by_name["InputAudioConfig"] = _INPUTAUDIOCONFIG
DESCRIPTOR.message_types_by_name["VoiceSelectionParams"] = _VOICESELECTIONPARAMS
DESCRIPTOR.message_types_by_name["SynthesizeSpeechConfig"] = _SYNTHESIZESPEECHCONFIG
@@ -639,13 +856,86 @@
DESCRIPTOR.enum_types_by_name["OutputAudioEncoding"] = _OUTPUTAUDIOENCODING
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
+SpeechContext = _reflection.GeneratedProtocolMessageType(
+ "SpeechContext",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_SPEECHCONTEXT,
+ __module__="google.cloud.dialogflow_v2.proto.audio_config_pb2",
+ __doc__="""Hints for the speech recognizer to help with recognition
+ in a specific conversation state.
+
+
+ Attributes:
+ phrases:
+ Optional. A list of strings containing words and phrases that
+ the speech recognizer should recognize with higher likelihood.
+ This list can be used to: \* improve accuracy for words and
+ phrases you expect the user to say, e.g. typical commands for
+ your Dialogflow agent \* add additional words to the speech
+ recognizer vocabulary \* ... See the `Cloud Speech
+ documentation `__ for usage limits.
+ boost:
+ Optional. Boost for this context compared to other contexts:
+ \* If the boost is positive, Dialogflow will increase the
+ probability that the phrases in this context are recognized
+ over similar sounding phrases. \* If the boost is unspecified
+ or non-positive, Dialogflow will not apply any boost.
+ Dialogflow recommends that you use boosts in the range (0, 20]
+ and that you find a value that fits your use case with binary
+ search.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.SpeechContext)
+ ),
+)
+_sym_db.RegisterMessage(SpeechContext)
+
+SpeechWordInfo = _reflection.GeneratedProtocolMessageType(
+ "SpeechWordInfo",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_SPEECHWORDINFO,
+ __module__="google.cloud.dialogflow_v2.proto.audio_config_pb2",
+ __doc__="""Information for a word recognized by the speech
+ recognizer.
+
+
+ Attributes:
+ word:
+ The word this info is for.
+ start_offset:
+ Time offset relative to the beginning of the audio that
+ corresponds to the start of the spoken word. This is an
+ experimental feature and the accuracy of the time offset can
+ vary.
+ end_offset:
+ Time offset relative to the beginning of the audio that
+ corresponds to the end of the spoken word. This is an
+ experimental feature and the accuracy of the time offset can
+ vary.
+ confidence:
+ The Speech confidence between 0.0 and 1.0 for this word. A
+ higher number indicates an estimated greater likelihood that
+ the recognized word is correct. The default of 0.0 is a
+ sentinel value indicating that confidence was not set. This
+ field is not guaranteed to be fully stable over time for the
+ same audio input. Users should also not rely on it to always
+ be provided.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.SpeechWordInfo)
+ ),
+)
+_sym_db.RegisterMessage(SpeechWordInfo)
+
InputAudioConfig = _reflection.GeneratedProtocolMessageType(
"InputAudioConfig",
(_message.Message,),
dict(
DESCRIPTOR=_INPUTAUDIOCONFIG,
__module__="google.cloud.dialogflow_v2.proto.audio_config_pb2",
- __doc__="""Instructs the speech recognizer how to process the audio content.
+ __doc__="""Instructs the speech recognizer how to process the audio
+ content.
Attributes:
@@ -663,25 +953,50 @@
the currently supported language codes. Note that queries in
the same session do not necessarily need to specify the same
language.
+ enable_word_info:
+ If ``true``, Dialogflow returns
+ [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
+ [StreamingRecognitionResult][google.cloud.dialogflow.v2.Stream
+ ingRecognitionResult] with information about the recognized
+ speech words, e.g. start and end time offsets. If false or
+ unspecified, Speech doesn't return any word-level information.
phrase_hints:
- Optional. A list of strings containing words and phrases that
- the speech recognizer should recognize with higher likelihood.
- See `the Cloud Speech documentation
- `__ for more details.
+ A list of strings containing words and phrases that the speech
+ recognizer should recognize with higher likelihood. See `the
+ Cloud Speech documentation `__ for more details. This
+ field is deprecated. Please use `speech\_contexts`
+ instead. If you specify both `phrase\_hints` and
+ `speech\_contexts`, Dialogflow will treat the
+ `phrase\_hints` as a single additional `SpeechContext`.
+ speech_contexts:
+ Context information to assist speech recognition. See `the
+ Cloud Speech documentation `__ for more details.
+ model:
+ Which Speech model to select for the given request. Select the
+ model best suited to your domain to get best results. If a
+ model is not explicitly specified, then we auto-select a model
+ based on the parameters in the InputAudioConfig. If enhanced
+ speech model is enabled for the agent and an enhanced version
+ of the specified model for the language does not exist, then
+ the speech is recognized using the standard version of the
+ specified model. Refer to `Cloud Speech API documentation
+ `__ for more details.
model_variant:
- Optional. Which variant of the [Speech
+ Which variant of the [Speech
model][google.cloud.dialogflow.v2.InputAudioConfig.model] to
use.
single_utterance:
- Optional. If ``false`` (default), recognition does not cease
- until the client closes the stream. If ``true``, the
- recognizer will detect a single spoken utterance in input
- audio. Recognition ceases when it detects the audio's voice
- has stopped or paused. In this case, once a detected intent is
- received, the client should close the stream and start a new
- request with a new stream as needed. Note: This setting is
- relevant only for streaming methods. Note: When specified,
+ If ``false`` (default), recognition does not cease until the
+ client closes the stream. If ``true``, the recognizer will
+ detect a single spoken utterance in input audio. Recognition
+ ceases when it detects the audio's voice has stopped or
+ paused. In this case, once a detected intent is received, the
+ client should close the stream and start a new request with a
+ new stream as needed. Note: This setting is relevant only for
+ streaming methods. Note: When specified,
InputAudioConfig.single\_utterance takes precedence over
StreamingDetectIntentRequest.single\_utterance.
""",
@@ -703,14 +1018,17 @@
name:
Optional. The name of the voice. If not set, the service will
choose a voice based on the other parameters such as
- language\_code and gender.
+ language\_code and [ssml\_gender][google.cloud.dialogflow.v2.V
+ oiceSelectionParams.ssml\_gender].
ssml_gender:
Optional. The preferred gender of the voice. If not set, the
service will choose a voice based on the other parameters such
- as language\_code and name. Note that this is only a
- preference, not requirement. If a voice of the appropriate
- gender is not available, the synthesizer should substitute a
- voice with a different gender rather than failing the request.
+ as language\_code and
+ [name][google.cloud.dialogflow.v2.VoiceSelectionParams.name].
+ Note that this is only a preference, not requirement. If a
+ voice of the appropriate gender is not available, the
+ synthesizer should substitute a voice with a different gender
+ rather than failing the request.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.VoiceSelectionParams)
),
@@ -766,22 +1084,23 @@
dict(
DESCRIPTOR=_OUTPUTAUDIOCONFIG,
__module__="google.cloud.dialogflow_v2.proto.audio_config_pb2",
- __doc__="""Instructs the speech synthesizer on how to generate the output audio
- content.
+ __doc__="""Instructs the speech synthesizer on how to generate the
+ output audio content. If this audio config is supplied in a request, it
+ overrides all existing text-to-speech settings applied to the agent.
Attributes:
audio_encoding:
Required. Audio encoding of the synthesized audio content.
sample_rate_hertz:
- Optional. The synthesis sample rate (in hertz) for this audio.
- If not provided, then the synthesizer will use the default
- sample rate based on the audio encoding. If this is different
- from the voice's natural sample rate, then the synthesizer
- will honor this request by converting to the desired sample
- rate (which might result in worse audio quality).
+ The synthesis sample rate (in hertz) for this audio. If not
+ provided, then the synthesizer will use the default sample
+ rate based on the audio encoding. If this is different from
+ the voice's natural sample rate, then the synthesizer will
+ honor this request by converting to the desired sample rate
+ (which might result in worse audio quality).
synthesize_speech_config:
- Optional. Configuration of how speech should be synthesized.
+ Configuration of how speech should be synthesized.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.OutputAudioConfig)
),
@@ -790,4 +1109,6 @@
DESCRIPTOR._options = None
+_INPUTAUDIOCONFIG.fields_by_name["phrase_hints"]._options = None
+_OUTPUTAUDIOCONFIG.fields_by_name["audio_encoding"]._options = None
# @@protoc_insertion_point(module_scope)
diff --git a/dialogflow_v2/proto/context_pb2.py b/dialogflow_v2/proto/context_pb2.py
index dfbd895e3..bc8e0d8cb 100644
--- a/dialogflow_v2/proto/context_pb2.py
+++ b/dialogflow_v2/proto/context_pb2.py
@@ -32,7 +32,7 @@
"\n\036com.google.cloud.dialogflow.v2B\014ContextProtoP\001ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2"
),
serialized_pb=_b(
- '\n.google/cloud/dialogflow_v2/proto/context.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto"\xd3\x01\n\x07\x43ontext\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0elifespan_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x30\n\nparameters\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01:f\xea\x41\x63\n!dialogflow.googleapis.com/Context\x12>projects/{project}/agent/sessions/{session}/contexts/{context}"[\n\x13ListContextsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01"f\n\x14ListContextsResponse\x12\x35\n\x08\x63ontexts\x18\x01 \x03(\x0b\x32#.google.cloud.dialogflow.v2.Context\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"L\n\x11GetContextRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Context"f\n\x14\x43reateContextRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x07\x63ontext\x18\x02 \x01(\x0b\x32#.google.cloud.dialogflow.v2.ContextB\x03\xe0\x41\x02"\x87\x01\n\x14UpdateContextRequest\x12\x39\n\x07\x63ontext\x18\x01 \x01(\x0b\x32#.google.cloud.dialogflow.v2.ContextB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01"O\n\x14\x44\x65leteContextRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Context"/\n\x18\x44\x65leteAllContextsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x32\xf2\x08\n\x08\x43ontexts\x12\xb5\x01\n\x0cListContexts\x12/.google.cloud.dialogflow.v2.ListContextsRequest\x1a\x30.google.cloud.dialogflow.v2.ListContextsResponse"B\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{parent=projects/*/agent/sessions/*}/contexts\xda\x41\x06parent\x12\x9b\x01\n\nGetContext\x12-.google.cloud.dialogflow.v2.GetContextRequest\x1a#.google.cloud.dialogflow.v2.Context"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{name=projects/*/agent/sessions/*/contexts/*}\x12\xaa\x01\n\rCreateContext\x12\x30.google.cloud.dialogflow.v2.CreateContextRequest\x1a#.google.cloud.dialogflow.v2.Context"B\x82\xd3\xe4\x93\x02<"1/v2/{parent=projects/*/agent/sessions/*}/contexts:\x07\x63ontext\x12\xb2\x01\n\rUpdateContext\x12\x30.google.cloud.dialogflow.v2.UpdateContextRequest\x1a#.google.cloud.dialogflow.v2.Context"J\x82\xd3\xe4\x93\x02\x44\x32\x39/v2/{context.name=projects/*/agent/sessions/*/contexts/*}:\x07\x63ontext\x12\x94\x01\n\rDeleteContext\x12\x30.google.cloud.dialogflow.v2.DeleteContextRequest\x1a\x16.google.protobuf.Empty"9\x82\xd3\xe4\x93\x02\x33*1/v2/{name=projects/*/agent/sessions/*/contexts/*}\x12\x9c\x01\n\x11\x44\x65leteAllContexts\x12\x34.google.cloud.dialogflow.v2.DeleteAllContextsRequest\x1a\x16.google.protobuf.Empty"9\x82\xd3\xe4\x93\x02\x33*1/v2/{parent=projects/*/agent/sessions/*}/contexts\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x9b\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0c\x43ontextProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
+ '\n.google/cloud/dialogflow_v2/proto/context.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto"\xd3\x01\n\x07\x43ontext\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0elifespan_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x30\n\nparameters\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01:f\xea\x41\x63\n!dialogflow.googleapis.com/Context\x12>projects/{project}/agent/sessions/{session}/contexts/{context}"[\n\x13ListContextsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01"f\n\x14ListContextsResponse\x12\x35\n\x08\x63ontexts\x18\x01 \x03(\x0b\x32#.google.cloud.dialogflow.v2.Context\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"L\n\x11GetContextRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Context"\x8c\x01\n\x14\x43reateContextRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Context\x12\x39\n\x07\x63ontext\x18\x02 \x01(\x0b\x32#.google.cloud.dialogflow.v2.ContextB\x03\xe0\x41\x02"\x87\x01\n\x14UpdateContextRequest\x12\x39\n\x07\x63ontext\x18\x01 \x01(\x0b\x32#.google.cloud.dialogflow.v2.ContextB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01"O\n\x14\x44\x65leteContextRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Context"U\n\x18\x44\x65leteAllContextsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dialogflow.googleapis.com/Context2\x9a\r\n\x08\x43ontexts\x12\x82\x02\n\x0cListContexts\x12/.google.cloud.dialogflow.v2.ListContextsRequest\x1a\x30.google.cloud.dialogflow.v2.ListContextsResponse"\x8e\x01\x82\xd3\xe4\x93\x02\x7f\x12\x31/v2/{parent=projects/*/agent/sessions/*}/contextsZJ\x12H/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts\xda\x41\x06parent\x12\xef\x01\n\nGetContext\x12-.google.cloud.dialogflow.v2.GetContextRequest\x1a#.google.cloud.dialogflow.v2.Context"\x8c\x01\x82\xd3\xe4\x93\x02\x7f\x12\x31/v2/{name=projects/*/agent/sessions/*/contexts/*}ZJ\x12H/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}\xda\x41\x04name\x12\x92\x02\n\rCreateContext\x12\x30.google.cloud.dialogflow.v2.CreateContextRequest\x1a#.google.cloud.dialogflow.v2.Context"\xa9\x01\x82\xd3\xe4\x93\x02\x91\x01"1/v2/{parent=projects/*/agent/sessions/*}/contexts:\x07\x63ontextZS"H/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts:\x07\x63ontext\xda\x41\x0eparent,context\x12\xa7\x02\n\rUpdateContext\x12\x30.google.cloud.dialogflow.v2.UpdateContextRequest\x1a#.google.cloud.dialogflow.v2.Context"\xbe\x01\x82\xd3\xe4\x93\x02\xa1\x01\x32\x39/v2/{context.name=projects/*/agent/sessions/*/contexts/*}:\x07\x63ontextZ[2P/v2/{context.name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}:\x07\x63ontext\xda\x41\x13\x63ontext,update_mask\x12\xe8\x01\n\rDeleteContext\x12\x30.google.cloud.dialogflow.v2.DeleteContextRequest\x1a\x16.google.protobuf.Empty"\x8c\x01\x82\xd3\xe4\x93\x02\x7f*1/v2/{name=projects/*/agent/sessions/*/contexts/*}ZJ*H/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}\xda\x41\x04name\x12\xf2\x01\n\x11\x44\x65leteAllContexts\x12\x34.google.cloud.dialogflow.v2.DeleteAllContextsRequest\x1a\x16.google.protobuf.Empty"\x8e\x01\x82\xd3\xe4\x93\x02\x7f*1/v2/{parent=projects/*/agent/sessions/*}/contextsZJ*H/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts\xda\x41\x06parent\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x9b\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0c\x43ontextProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
),
dependencies=[
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
@@ -318,7 +318,9 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\002"),
+ serialized_options=_b(
+ "\340A\002\372A#\022!dialogflow.googleapis.com/Context"
+ ),
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -348,8 +350,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=775,
- serialized_end=877,
+ serialized_start=776,
+ serialized_end=916,
)
@@ -405,8 +407,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=880,
- serialized_end=1015,
+ serialized_start=919,
+ serialized_end=1054,
)
@@ -446,8 +448,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1017,
- serialized_end=1096,
+ serialized_start=1056,
+ serialized_end=1135,
)
@@ -473,7 +475,9 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\002"),
+ serialized_options=_b(
+ "\340A\002\372A#\022!dialogflow.googleapis.com/Context"
+ ),
file=DESCRIPTOR,
)
],
@@ -485,8 +489,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1098,
- serialized_end=1145,
+ serialized_start=1137,
+ serialized_end=1222,
)
_CONTEXT.fields_by_name[
@@ -521,9 +525,18 @@
name:
Required. The unique identifier of the context. Format:
``projects//agent/sessions//contexts/``. The ``Context ID`` is always
- converted to lowercase, may only contain characters in
- [a-zA-Z0-9\_-%] and may be at most 250 bytes long.
+ ID>/contexts/``, or ``projects//agent/environments//users//sessions//contexts/``. The
+ ``Context ID`` is always converted to lowercase, may only
+ contain characters in a-zA-Z0-9\_-% and may be at most 250
+ bytes long. If ``Environment ID`` is not specified, we assume
+ default 'draft' environment. If ``User ID`` is not specified,
+ we assume default '-' user. The following context names are
+ reserved for internal use by Dialogflow. You should not use
+ these contexts or create contexts with these names: -
+ ``__system_counters__`` - ``*_id_dialog_context`` -
+ ``*_dialog_params_size``
lifespan_count:
Optional. The number of conversational query requests after
which the context expires. If set to ``0`` (the default) the
@@ -553,7 +566,11 @@
Attributes:
parent:
Required. The session to list all contexts from. Format:
- ``projects//agent/sessions/``.
+ ``projects//agent/sessions/`` or
+ ``projects//agent/environments//users//sessions/``. If ``Environment
+ ID`` is not specified, we assume default 'draft' environment.
+ If ``User ID`` is not specified, we assume default '-' user.
page_size:
Optional. The maximum number of items to return in a single
page. By default 100 and at most 1000.
@@ -602,7 +619,12 @@
Attributes:
name:
Required. The name of the context. Format: ``projects//agent/sessions//contexts/``.
+ ID>/agent/sessions//contexts/`` or
+ ``projects//agent/environments//users//sessions//contexts/``. If ``Environment ID`` is not specified, we assume
+ default 'draft' environment. If ``User ID`` is not specified,
+ we assume default '-' user.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.GetContextRequest)
),
@@ -622,7 +644,11 @@
Attributes:
parent:
Required. The session to create a context for. Format:
- ``projects//agent/sessions/``.
+ ``projects//agent/sessions/`` or
+ ``projects//agent/environments//users//sessions/``. If ``Environment
+ ID`` is not specified, we assume default 'draft' environment.
+ If ``User ID`` is not specified, we assume default '-' user.
context:
Required. The context to create.
""",
@@ -666,7 +692,12 @@
name:
Required. The name of the context to delete. Format:
``projects//agent/sessions//contexts/``.
+ ID>/contexts/`` or ``projects//agent/environments//users//sessions//contexts/``. If
+ ``Environment ID`` is not specified, we assume default 'draft'
+ environment. If ``User ID`` is not specified, we assume
+ default '-' user.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.DeleteContextRequest)
),
@@ -686,7 +717,11 @@
Attributes:
parent:
Required. The name of the session to delete all contexts from.
- Format: ``projects//agent/sessions/``.
+ Format: ``projects//agent/sessions/``
+ or ``projects//agent/environments//users//sessions/``. If ``Environment
+ ID`` is not specified we assume default 'draft' environment.
+ If ``User ID`` is not specified, we assume default '-' user.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.DeleteAllContextsRequest)
),
@@ -718,8 +753,8 @@
serialized_options=_b(
"\312A\031dialogflow.googleapis.com\322AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
),
- serialized_start=1148,
- serialized_end=2286,
+ serialized_start=1225,
+ serialized_end=2915,
methods=[
_descriptor.MethodDescriptor(
name="ListContexts",
@@ -729,7 +764,7 @@
input_type=_LISTCONTEXTSREQUEST,
output_type=_LISTCONTEXTSRESPONSE,
serialized_options=_b(
- "\202\323\344\223\0023\0221/v2/{parent=projects/*/agent/sessions/*}/contexts\332A\006parent"
+ "\202\323\344\223\002\177\0221/v2/{parent=projects/*/agent/sessions/*}/contextsZJ\022H/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts\332A\006parent"
),
),
_descriptor.MethodDescriptor(
@@ -740,7 +775,7 @@
input_type=_GETCONTEXTREQUEST,
output_type=_CONTEXT,
serialized_options=_b(
- "\202\323\344\223\0023\0221/v2/{name=projects/*/agent/sessions/*/contexts/*}"
+ "\202\323\344\223\002\177\0221/v2/{name=projects/*/agent/sessions/*/contexts/*}ZJ\022H/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}\332A\004name"
),
),
_descriptor.MethodDescriptor(
@@ -751,7 +786,7 @@
input_type=_CREATECONTEXTREQUEST,
output_type=_CONTEXT,
serialized_options=_b(
- '\202\323\344\223\002<"1/v2/{parent=projects/*/agent/sessions/*}/contexts:\007context'
+ '\202\323\344\223\002\221\001"1/v2/{parent=projects/*/agent/sessions/*}/contexts:\007contextZS"H/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts:\007context\332A\016parent,context'
),
),
_descriptor.MethodDescriptor(
@@ -762,7 +797,7 @@
input_type=_UPDATECONTEXTREQUEST,
output_type=_CONTEXT,
serialized_options=_b(
- "\202\323\344\223\002D29/v2/{context.name=projects/*/agent/sessions/*/contexts/*}:\007context"
+ "\202\323\344\223\002\241\00129/v2/{context.name=projects/*/agent/sessions/*/contexts/*}:\007contextZ[2P/v2/{context.name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}:\007context\332A\023context,update_mask"
),
),
_descriptor.MethodDescriptor(
@@ -773,7 +808,7 @@
input_type=_DELETECONTEXTREQUEST,
output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
serialized_options=_b(
- "\202\323\344\223\0023*1/v2/{name=projects/*/agent/sessions/*/contexts/*}"
+ "\202\323\344\223\002\177*1/v2/{name=projects/*/agent/sessions/*/contexts/*}ZJ*H/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}\332A\004name"
),
),
_descriptor.MethodDescriptor(
@@ -784,7 +819,7 @@
input_type=_DELETEALLCONTEXTSREQUEST,
output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
serialized_options=_b(
- "\202\323\344\223\0023*1/v2/{parent=projects/*/agent/sessions/*}/contexts"
+ "\202\323\344\223\002\177*1/v2/{parent=projects/*/agent/sessions/*}/contextsZJ*H/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts\332A\006parent"
),
),
],
diff --git a/dialogflow_v2/proto/entity_type_pb2.py b/dialogflow_v2/proto/entity_type_pb2.py
index 02b062c42..cf5462e84 100644
--- a/dialogflow_v2/proto/entity_type_pb2.py
+++ b/dialogflow_v2/proto/entity_type_pb2.py
@@ -34,7 +34,7 @@
"\n\036com.google.cloud.dialogflow.v2B\017EntityTypeProtoP\001ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2"
),
serialized_pb=_b(
- '\n2google/cloud/dialogflow_v2/proto/entity_type.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\xf8\x04\n\nEntityType\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x04kind\x18\x03 \x01(\x0e\x32+.google.cloud.dialogflow.v2.EntityType.KindB\x03\xe0\x41\x02\x12Z\n\x13\x61uto_expansion_mode\x18\x04 \x01(\x0e\x32\x38.google.cloud.dialogflow.v2.EntityType.AutoExpansionModeB\x03\xe0\x41\x01\x12\x44\n\x08\x65ntities\x18\x06 \x03(\x0b\x32-.google.cloud.dialogflow.v2.EntityType.EntityB\x03\xe0\x41\x01\x12$\n\x17\x65nable_fuzzy_extraction\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x33\n\x06\x45ntity\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08synonyms\x18\x02 \x03(\tB\x03\xe0\x41\x02"J\n\x04Kind\x12\x14\n\x10KIND_UNSPECIFIED\x10\x00\x12\x0c\n\x08KIND_MAP\x10\x01\x12\r\n\tKIND_LIST\x10\x02\x12\x0f\n\x0bKIND_REGEXP\x10\x03"Y\n\x11\x41utoExpansionMode\x12#\n\x1f\x41UTO_EXPANSION_MODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41UTO_EXPANSION_MODE_DEFAULT\x10\x01:]\xea\x41Z\n$dialogflow.googleapis.com/EntityType\x12\x32projects/{project}/agent/entityTypes/{entity_type}"\x9e\x01\n\x16ListEntityTypesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01"p\n\x17ListEntityTypesResponse\x12<\n\x0c\x65ntity_types\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.v2.EntityType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"n\n\x14GetEntityTypeRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01"\xb0\x01\n\x17\x43reateEntityTypeRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12@\n\x0b\x65ntity_type\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.v2.EntityTypeB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01"\xad\x01\n\x17UpdateEntityTypeRequest\x12@\n\x0b\x65ntity_type\x18\x01 \x01(\x0b\x32&.google.cloud.dialogflow.v2.EntityTypeB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01"U\n\x17\x44\x65leteEntityTypeRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType"\xb1\x02\n\x1d\x42\x61tchUpdateEntityTypesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x1f\n\x15\x65ntity_type_batch_uri\x18\x02 \x01(\tH\x00\x12O\n\x18\x65ntity_type_batch_inline\x18\x03 \x01(\x0b\x32+.google.cloud.dialogflow.v2.EntityTypeBatchH\x00\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x42\x13\n\x11\x65ntity_type_batch"^\n\x1e\x42\x61tchUpdateEntityTypesResponse\x12<\n\x0c\x65ntity_types\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.v2.EntityType"x\n\x1d\x42\x61tchDeleteEntityTypesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x1e\n\x11\x65ntity_type_names\x18\x02 \x03(\tB\x03\xe0\x41\x02"\xbc\x01\n\x1a\x42\x61tchCreateEntitiesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12\x44\n\x08\x65ntities\x18\x02 \x03(\x0b\x32-.google.cloud.dialogflow.v2.EntityType.EntityB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01"\xf2\x01\n\x1a\x42\x61tchUpdateEntitiesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12\x44\n\x08\x65ntities\x18\x02 \x03(\x0b\x32-.google.cloud.dialogflow.v2.EntityType.EntityB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01"\x92\x01\n\x1a\x42\x61tchDeleteEntitiesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12\x1a\n\rentity_values\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01"O\n\x0f\x45ntityTypeBatch\x12<\n\x0c\x65ntity_types\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.v2.EntityType2\xff\x12\n\x0b\x45ntityTypes\x12\xcd\x01\n\x0fListEntityTypes\x12\x32.google.cloud.dialogflow.v2.ListEntityTypesRequest\x1a\x33.google.cloud.dialogflow.v2.ListEntityTypesResponse"Q\x82\xd3\xe4\x93\x02+\x12)/v2/{parent=projects/*/agent}/entityTypes\xda\x41\x06parent\xda\x41\x14parent,language_code\x12\xb8\x01\n\rGetEntityType\x12\x30.google.cloud.dialogflow.v2.GetEntityTypeRequest\x1a&.google.cloud.dialogflow.v2.EntityType"M\x82\xd3\xe4\x93\x02+\x12)/v2/{name=projects/*/agent/entityTypes/*}\xda\x41\x04name\xda\x41\x12name,language_code\x12\xe7\x01\n\x10\x43reateEntityType\x12\x33.google.cloud.dialogflow.v2.CreateEntityTypeRequest\x1a&.google.cloud.dialogflow.v2.EntityType"v\x82\xd3\xe4\x93\x02\x38")/v2/{parent=projects/*/agent}/entityTypes:\x0b\x65ntity_type\xda\x41\x12parent,entity_type\xda\x41 parent,entity_type,language_code\x12\xe5\x01\n\x10UpdateEntityType\x12\x33.google.cloud.dialogflow.v2.UpdateEntityTypeRequest\x1a&.google.cloud.dialogflow.v2.EntityType"t\x82\xd3\xe4\x93\x02\x44\x32\x35/v2/{entity_type.name=projects/*/agent/entityTypes/*}:\x0b\x65ntity_type\xda\x41\x0b\x65ntity_type\xda\x41\x19\x65ntity_type,language_code\x12\x99\x01\n\x10\x44\x65leteEntityType\x12\x33.google.cloud.dialogflow.v2.DeleteEntityTypeRequest\x1a\x16.google.protobuf.Empty"8\x82\xd3\xe4\x93\x02+*)/v2/{name=projects/*/agent/entityTypes/*}\xda\x41\x04name\x12\x8b\x02\n\x16\x42\x61tchUpdateEntityTypes\x12\x39.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest\x1a\x1d.google.longrunning.Operation"\x96\x01\x82\xd3\xe4\x93\x02:"5/v2/{parent=projects/*/agent}/entityTypes:batchUpdate:\x01*\xca\x41S\n9google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse\x12\x16google.protobuf.Struct\x12\xe6\x01\n\x16\x42\x61tchDeleteEntityTypes\x12\x39.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest\x1a\x1d.google.longrunning.Operation"r\x82\xd3\xe4\x93\x02:"5/v2/{parent=projects/*/agent}/entityTypes:batchDelete:\x01*\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\x9e\x02\n\x13\x42\x61tchCreateEntities\x12\x36.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest\x1a\x1d.google.longrunning.Operation"\xaf\x01\x82\xd3\xe4\x93\x02\x45"@/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchCreate:\x01*\xda\x41\x0fparent,entities\xda\x41\x1dparent,entities,language_code\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\xeb\x01\n\x13\x42\x61tchUpdateEntities\x12\x36.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest\x1a\x1d.google.longrunning.Operation"}\x82\xd3\xe4\x93\x02\x45"@/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchUpdate:\x01*\xda\x41\x0fparent,entities\xda\x41\x1dparent,entities,language_code\x12\xf6\x01\n\x13\x42\x61tchDeleteEntities\x12\x36.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest\x1a\x1d.google.longrunning.Operation"\x87\x01\x82\xd3\xe4\x93\x02\x45"@/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchDelete:\x01*\xda\x41\x14parent,entity_values\xda\x41"parent,entity_values,language_code\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x9e\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0f\x45ntityTypeProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
+ '\n2google/cloud/dialogflow_v2/proto/entity_type.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\xf8\x04\n\nEntityType\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x04kind\x18\x03 \x01(\x0e\x32+.google.cloud.dialogflow.v2.EntityType.KindB\x03\xe0\x41\x02\x12Z\n\x13\x61uto_expansion_mode\x18\x04 \x01(\x0e\x32\x38.google.cloud.dialogflow.v2.EntityType.AutoExpansionModeB\x03\xe0\x41\x01\x12\x44\n\x08\x65ntities\x18\x06 \x03(\x0b\x32-.google.cloud.dialogflow.v2.EntityType.EntityB\x03\xe0\x41\x01\x12$\n\x17\x65nable_fuzzy_extraction\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x33\n\x06\x45ntity\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08synonyms\x18\x02 \x03(\tB\x03\xe0\x41\x02"J\n\x04Kind\x12\x14\n\x10KIND_UNSPECIFIED\x10\x00\x12\x0c\n\x08KIND_MAP\x10\x01\x12\r\n\tKIND_LIST\x10\x02\x12\x0f\n\x0bKIND_REGEXP\x10\x03"Y\n\x11\x41utoExpansionMode\x12#\n\x1f\x41UTO_EXPANSION_MODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41UTO_EXPANSION_MODE_DEFAULT\x10\x01:]\xea\x41Z\n$dialogflow.googleapis.com/EntityType\x12\x32projects/{project}/agent/entityTypes/{entity_type}"\x9e\x01\n\x16ListEntityTypesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01"p\n\x17ListEntityTypesResponse\x12<\n\x0c\x65ntity_types\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.v2.EntityType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"n\n\x14GetEntityTypeRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01"\xb0\x01\n\x17\x43reateEntityTypeRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12@\n\x0b\x65ntity_type\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.v2.EntityTypeB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01"\xad\x01\n\x17UpdateEntityTypeRequest\x12@\n\x0b\x65ntity_type\x18\x01 \x01(\x0b\x32&.google.cloud.dialogflow.v2.EntityTypeB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01"U\n\x17\x44\x65leteEntityTypeRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType"\xb1\x02\n\x1d\x42\x61tchUpdateEntityTypesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x1f\n\x15\x65ntity_type_batch_uri\x18\x02 \x01(\tH\x00\x12O\n\x18\x65ntity_type_batch_inline\x18\x03 \x01(\x0b\x32+.google.cloud.dialogflow.v2.EntityTypeBatchH\x00\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x42\x13\n\x11\x65ntity_type_batch"^\n\x1e\x42\x61tchUpdateEntityTypesResponse\x12<\n\x0c\x65ntity_types\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.v2.EntityType"x\n\x1d\x42\x61tchDeleteEntityTypesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x1e\n\x11\x65ntity_type_names\x18\x02 \x03(\tB\x03\xe0\x41\x02"\xbc\x01\n\x1a\x42\x61tchCreateEntitiesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12\x44\n\x08\x65ntities\x18\x02 \x03(\x0b\x32-.google.cloud.dialogflow.v2.EntityType.EntityB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01"\xf2\x01\n\x1a\x42\x61tchUpdateEntitiesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12\x44\n\x08\x65ntities\x18\x02 \x03(\x0b\x32-.google.cloud.dialogflow.v2.EntityType.EntityB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01"\x92\x01\n\x1a\x42\x61tchDeleteEntitiesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$dialogflow.googleapis.com/EntityType\x12\x1a\n\rentity_values\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01"O\n\x0f\x45ntityTypeBatch\x12<\n\x0c\x65ntity_types\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.v2.EntityType2\x80\x14\n\x0b\x45ntityTypes\x12\xcd\x01\n\x0fListEntityTypes\x12\x32.google.cloud.dialogflow.v2.ListEntityTypesRequest\x1a\x33.google.cloud.dialogflow.v2.ListEntityTypesResponse"Q\x82\xd3\xe4\x93\x02+\x12)/v2/{parent=projects/*/agent}/entityTypes\xda\x41\x06parent\xda\x41\x14parent,language_code\x12\xb8\x01\n\rGetEntityType\x12\x30.google.cloud.dialogflow.v2.GetEntityTypeRequest\x1a&.google.cloud.dialogflow.v2.EntityType"M\x82\xd3\xe4\x93\x02+\x12)/v2/{name=projects/*/agent/entityTypes/*}\xda\x41\x04name\xda\x41\x12name,language_code\x12\xe7\x01\n\x10\x43reateEntityType\x12\x33.google.cloud.dialogflow.v2.CreateEntityTypeRequest\x1a&.google.cloud.dialogflow.v2.EntityType"v\x82\xd3\xe4\x93\x02\x38")/v2/{parent=projects/*/agent}/entityTypes:\x0b\x65ntity_type\xda\x41\x12parent,entity_type\xda\x41 parent,entity_type,language_code\x12\xe5\x01\n\x10UpdateEntityType\x12\x33.google.cloud.dialogflow.v2.UpdateEntityTypeRequest\x1a&.google.cloud.dialogflow.v2.EntityType"t\x82\xd3\xe4\x93\x02\x44\x32\x35/v2/{entity_type.name=projects/*/agent/entityTypes/*}:\x0b\x65ntity_type\xda\x41\x0b\x65ntity_type\xda\x41\x19\x65ntity_type,language_code\x12\x99\x01\n\x10\x44\x65leteEntityType\x12\x33.google.cloud.dialogflow.v2.DeleteEntityTypeRequest\x1a\x16.google.protobuf.Empty"8\x82\xd3\xe4\x93\x02+*)/v2/{name=projects/*/agent/entityTypes/*}\xda\x41\x04name\x12\x8b\x02\n\x16\x42\x61tchUpdateEntityTypes\x12\x39.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest\x1a\x1d.google.longrunning.Operation"\x96\x01\x82\xd3\xe4\x93\x02:"5/v2/{parent=projects/*/agent}/entityTypes:batchUpdate:\x01*\xca\x41S\n9google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse\x12\x16google.protobuf.Struct\x12\x82\x02\n\x16\x42\x61tchDeleteEntityTypes\x12\x39.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest\x1a\x1d.google.longrunning.Operation"\x8d\x01\x82\xd3\xe4\x93\x02:"5/v2/{parent=projects/*/agent}/entityTypes:batchDelete:\x01*\xda\x41\x18parent,entity_type_names\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\x9e\x02\n\x13\x42\x61tchCreateEntities\x12\x36.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest\x1a\x1d.google.longrunning.Operation"\xaf\x01\x82\xd3\xe4\x93\x02\x45"@/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchCreate:\x01*\xda\x41\x0fparent,entities\xda\x41\x1dparent,entities,language_code\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\x9e\x02\n\x13\x42\x61tchUpdateEntities\x12\x36.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest\x1a\x1d.google.longrunning.Operation"\xaf\x01\x82\xd3\xe4\x93\x02\x45"@/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchUpdate:\x01*\xda\x41\x0fparent,entities\xda\x41\x1dparent,entities,language_code\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\xa8\x02\n\x13\x42\x61tchDeleteEntities\x12\x36.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest\x1a\x1d.google.longrunning.Operation"\xb9\x01\x82\xd3\xe4\x93\x02\x45"@/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchDelete:\x01*\xda\x41\x14parent,entity_values\xda\x41"parent,entity_values,language_code\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x9e\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0f\x45ntityTypeProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
),
dependencies=[
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
@@ -1291,7 +1291,7 @@
Required. The primary value associated with this entity entry.
For example, if the entity type is *vegetable*, the value
could be *scallions*. For ``KIND_MAP`` entity types: - A
- canonical value to be used in place of synonyms. For
+ reference value to be used in place of synonyms. For
``KIND_LIST`` entity types: - A string that can contain
references to other entity types (with or without aliases).
synonyms:
@@ -1306,8 +1306,8 @@
),
DESCRIPTOR=_ENTITYTYPE,
__module__="google.cloud.dialogflow_v2.proto.entity_type_pb2",
- __doc__="""Represents an entity type. Entity types serve as a tool for extracting
- parameter values from natural language queries.
+ __doc__="""Represents an entity type. Entity types serve as a tool
+ for extracting parameter values from natural language queries.
Attributes:
@@ -1656,7 +1656,7 @@
Format: ``projects//agent/entityTypes/``.
entity_values:
- Required. The canonical ``values`` of the entities to delete.
+ Required. The reference ``values`` of the entities to delete.
Note that these are not fully-qualified names, i.e. they don't
start with ``projects/``.
language_code:
@@ -1677,7 +1677,8 @@
dict(
DESCRIPTOR=_ENTITYTYPEBATCH,
__module__="google.cloud.dialogflow_v2.proto.entity_type_pb2",
- __doc__="""This message is a wrapper around a collection of entity types.
+ __doc__="""This message is a wrapper around a collection of entity
+ types.
Attributes:
@@ -1737,7 +1738,7 @@
"\312A\031dialogflow.googleapis.com\322AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
),
serialized_start=2954,
- serialized_end=5385,
+ serialized_end=5514,
methods=[
_descriptor.MethodDescriptor(
name="ListEntityTypes",
@@ -1813,7 +1814,7 @@
input_type=_BATCHDELETEENTITYTYPESREQUEST,
output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
serialized_options=_b(
- '\202\323\344\223\002:"5/v2/{parent=projects/*/agent}/entityTypes:batchDelete:\001*\312A/\n\025google.protobuf.Empty\022\026google.protobuf.Struct'
+ '\202\323\344\223\002:"5/v2/{parent=projects/*/agent}/entityTypes:batchDelete:\001*\332A\030parent,entity_type_names\312A/\n\025google.protobuf.Empty\022\026google.protobuf.Struct'
),
),
_descriptor.MethodDescriptor(
@@ -1835,7 +1836,7 @@
input_type=_BATCHUPDATEENTITIESREQUEST,
output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
serialized_options=_b(
- '\202\323\344\223\002E"@/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchUpdate:\001*\332A\017parent,entities\332A\035parent,entities,language_code'
+ '\202\323\344\223\002E"@/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchUpdate:\001*\332A\017parent,entities\332A\035parent,entities,language_code\312A/\n\025google.protobuf.Empty\022\026google.protobuf.Struct'
),
),
_descriptor.MethodDescriptor(
@@ -1846,7 +1847,7 @@
input_type=_BATCHDELETEENTITIESREQUEST,
output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
serialized_options=_b(
- '\202\323\344\223\002E"@/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchDelete:\001*\332A\024parent,entity_values\332A"parent,entity_values,language_code'
+ '\202\323\344\223\002E"@/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchDelete:\001*\332A\024parent,entity_values\332A"parent,entity_values,language_code\312A/\n\025google.protobuf.Empty\022\026google.protobuf.Struct'
),
),
],
diff --git a/dialogflow_v2/proto/entity_type_pb2_grpc.py b/dialogflow_v2/proto/entity_type_pb2_grpc.py
index a1012102d..bc46abafb 100644
--- a/dialogflow_v2/proto/entity_type_pb2_grpc.py
+++ b/dialogflow_v2/proto/entity_type_pb2_grpc.py
@@ -25,11 +25,11 @@ class EntityTypesStub(object):
data types such as date, time, currency, and so on. A system entity is
represented by the `EntityType` type.
- * **Developer** - entities that are defined by you that represent
+ * **Custom** - entities that are defined by you that represent
actionable data that is meaningful to your application. For example,
you could define a `pizza.sauce` entity for red or white pizza sauce,
a `pizza.cheese` entity for the different types of cheese on a pizza,
- a `pizza.topping` entity for different toppings, and so on. A developer
+ a `pizza.topping` entity for different toppings, and so on. A custom
entity is represented by the `EntityType` type.
* **User** - entities that are built for an individual user such as
@@ -114,11 +114,11 @@ class EntityTypesServicer(object):
data types such as date, time, currency, and so on. A system entity is
represented by the `EntityType` type.
- * **Developer** - entities that are defined by you that represent
+ * **Custom** - entities that are defined by you that represent
actionable data that is meaningful to your application. For example,
you could define a `pizza.sauce` entity for red or white pizza sauce,
a `pizza.cheese` entity for the different types of cheese on a pizza,
- a `pizza.topping` entity for different toppings, and so on. A developer
+ a `pizza.topping` entity for different toppings, and so on. A custom
entity is represented by the `EntityType` type.
* **User** - entities that are built for an individual user such as
@@ -197,6 +197,7 @@ def BatchUpdateEntities(self, request, context):
method does not affect entities in the entity type that aren't explicitly
specified in the request.
+
Operation
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
@@ -206,6 +207,7 @@ def BatchUpdateEntities(self, request, context):
def BatchDeleteEntities(self, request, context):
"""Deletes entities in the specified entity type.
+
Operation
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
diff --git a/dialogflow_v2/proto/intent_pb2.py b/dialogflow_v2/proto/intent_pb2.py
index 8f2f824d9..ea0d72d55 100644
--- a/dialogflow_v2/proto/intent_pb2.py
+++ b/dialogflow_v2/proto/intent_pb2.py
@@ -43,7 +43,7 @@
"\n\036com.google.cloud.dialogflow.v2B\013IntentProtoP\001ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2"
),
serialized_pb=_b(
- '\n-google/cloud/dialogflow_v2/proto/intent.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/dialogflow_v2/proto/audio_config.proto\x1a.google/cloud/dialogflow_v2/proto/context.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto"\x90$\n\x06Intent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\rwebhook_state\x18\x06 \x01(\x0e\x32/.google.cloud.dialogflow.v2.Intent.WebhookStateB\x03\xe0\x41\x01\x12\x15\n\x08priority\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x18\n\x0bis_fallback\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0bml_disabled\x18\x13 \x01(\x08\x42\x03\xe0\x41\x01\x12 \n\x13input_context_names\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x65vents\x18\x08 \x03(\tB\x03\xe0\x41\x01\x12P\n\x10training_phrases\x18\t \x03(\x0b\x32\x31.google.cloud.dialogflow.v2.Intent.TrainingPhraseB\x03\xe0\x41\x01\x12\x13\n\x06\x61\x63tion\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x0foutput_contexts\x18\x0b \x03(\x0b\x32#.google.cloud.dialogflow.v2.ContextB\x03\xe0\x41\x01\x12\x1b\n\x0ereset_contexts\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x45\n\nparameters\x18\r \x03(\x0b\x32,.google.cloud.dialogflow.v2.Intent.ParameterB\x03\xe0\x41\x01\x12\x41\n\x08messages\x18\x0e \x03(\x0b\x32*.google.cloud.dialogflow.v2.Intent.MessageB\x03\xe0\x41\x01\x12\\\n\x1a\x64\x65\x66\x61ult_response_platforms\x18\x0f \x03(\x0e\x32\x33.google.cloud.dialogflow.v2.Intent.Message.PlatformB\x03\xe0\x41\x01\x12!\n\x19root_followup_intent_name\x18\x10 \x01(\t\x12#\n\x1bparent_followup_intent_name\x18\x11 \x01(\t\x12S\n\x14\x66ollowup_intent_info\x18\x12 \x03(\x0b\x32\x35.google.cloud.dialogflow.v2.Intent.FollowupIntentInfo\x1a\xf1\x02\n\x0eTrainingPhrase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12I\n\x04type\x18\x02 \x01(\x0e\x32\x36.google.cloud.dialogflow.v2.Intent.TrainingPhrase.TypeB\x03\xe0\x41\x02\x12J\n\x05parts\x18\x03 \x03(\x0b\x32\x36.google.cloud.dialogflow.v2.Intent.TrainingPhrase.PartB\x03\xe0\x41\x02\x12\x1e\n\x11times_added_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x1a]\n\x04Part\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x18\n\x0b\x65ntity_type\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x61lias\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cuser_defined\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45XAMPLE\x10\x01\x12\x10\n\x08TEMPLATE\x10\x02\x1a\x02\x08\x01\x1a\xca\x01\n\tParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x12\n\x05value\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rdefault_value\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18\x65ntity_type_display_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tmandatory\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x14\n\x07prompts\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12\x14\n\x07is_list\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xe3\x16\n\x07Message\x12?\n\x04text\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.v2.Intent.Message.TextH\x00\x12\x41\n\x05image\x18\x02 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageH\x00\x12P\n\rquick_replies\x18\x03 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2.Intent.Message.QuickRepliesH\x00\x12?\n\x04\x63\x61rd\x18\x04 \x01(\x0b\x32/.google.cloud.dialogflow.v2.Intent.Message.CardH\x00\x12*\n\x07payload\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12V\n\x10simple_responses\x18\x07 \x01(\x0b\x32:.google.cloud.dialogflow.v2.Intent.Message.SimpleResponsesH\x00\x12J\n\nbasic_card\x18\x08 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.Intent.Message.BasicCardH\x00\x12M\n\x0bsuggestions\x18\t \x01(\x0b\x32\x36.google.cloud.dialogflow.v2.Intent.Message.SuggestionsH\x00\x12[\n\x13link_out_suggestion\x18\n \x01(\x0b\x32<.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestionH\x00\x12L\n\x0blist_select\x18\x0b \x01(\x0b\x32\x35.google.cloud.dialogflow.v2.Intent.Message.ListSelectH\x00\x12T\n\x0f\x63\x61rousel_select\x18\x0c \x01(\x0b\x32\x39.google.cloud.dialogflow.v2.Intent.Message.CarouselSelectH\x00\x12J\n\x08platform\x18\x06 \x01(\x0e\x32\x33.google.cloud.dialogflow.v2.Intent.Message.PlatformB\x03\xe0\x41\x01\x1a\x19\n\x04Text\x12\x11\n\x04text\x18\x01 \x03(\tB\x03\xe0\x41\x01\x1a@\n\x05Image\x12\x16\n\timage_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x61\x63\x63\x65ssibility_text\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a>\n\x0cQuickReplies\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rquick_replies\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a\xcb\x01\n\x04\x43\x61rd\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08subtitle\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\timage_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12L\n\x07\x62uttons\x18\x04 \x03(\x0b\x32\x36.google.cloud.dialogflow.v2.Intent.Message.Card.ButtonB\x03\xe0\x41\x01\x1a\x32\n\x06\x42utton\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08postback\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1aQ\n\x0eSimpleResponse\x12\x16\n\x0etext_to_speech\x18\x01 \x01(\t\x12\x0c\n\x04ssml\x18\x02 \x01(\t\x12\x19\n\x0c\x64isplay_text\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1ak\n\x0fSimpleResponses\x12X\n\x10simple_responses\x18\x01 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.Intent.Message.SimpleResponseB\x03\xe0\x41\x02\x1a\x88\x03\n\tBasicCard\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08subtitle\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\x0e\x66ormatted_text\x18\x03 \x01(\t\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageB\x03\xe0\x41\x01\x12Q\n\x07\x62uttons\x18\x05 \x03(\x0b\x32;.google.cloud.dialogflow.v2.Intent.Message.BasicCard.ButtonB\x03\xe0\x41\x01\x1a\x9e\x01\n\x06\x42utton\x12\r\n\x05title\x18\x01 \x01(\t\x12g\n\x0fopen_uri_action\x18\x02 \x01(\x0b\x32I.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriActionB\x03\xe0\x41\x02\x1a\x1c\n\rOpenUriAction\x12\x0b\n\x03uri\x18\x01 \x01(\t\x1a \n\nSuggestion\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a^\n\x0bSuggestions\x12O\n\x0bsuggestions\x18\x01 \x03(\x0b\x32\x35.google.cloud.dialogflow.v2.Intent.Message.SuggestionB\x03\xe0\x41\x02\x1a\x44\n\x11LinkOutSuggestion\x12\x1d\n\x10\x64\x65stination_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\xbb\x02\n\nListSelect\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12N\n\x05items\x18\x02 \x03(\x0b\x32:.google.cloud.dialogflow.v2.Intent.Message.ListSelect.ItemB\x03\xe0\x41\x02\x1a\xc8\x01\n\x04Item\x12L\n\x04info\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfoB\x03\xe0\x41\x02\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageB\x03\xe0\x41\x01\x1a\xaf\x02\n\x0e\x43\x61rouselSelect\x12R\n\x05items\x18\x01 \x03(\x0b\x32>.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.ItemB\x03\xe0\x41\x02\x1a\xc8\x01\n\x04Item\x12L\n\x04info\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfoB\x03\xe0\x41\x02\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageB\x03\xe0\x41\x01\x1a\x39\n\x0eSelectItemInfo\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08synonyms\x18\x02 \x03(\tB\x03\xe0\x41\x01"\xa0\x01\n\x08Platform\x12\x18\n\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x46\x41\x43\x45\x42OOK\x10\x01\x12\t\n\x05SLACK\x10\x02\x12\x0c\n\x08TELEGRAM\x10\x03\x12\x07\n\x03KIK\x10\x04\x12\t\n\x05SKYPE\x10\x05\x12\x08\n\x04LINE\x10\x06\x12\t\n\x05VIBER\x10\x07\x12\x15\n\x11\x41\x43TIONS_ON_GOOGLE\x10\x08\x12\x13\n\x0fGOOGLE_HANGOUTS\x10\x0b\x42\t\n\x07message\x1aW\n\x12\x46ollowupIntentInfo\x12\x1c\n\x14\x66ollowup_intent_name\x18\x01 \x01(\t\x12#\n\x1bparent_followup_intent_name\x18\x02 \x01(\t"t\n\x0cWebhookState\x12\x1d\n\x19WEBHOOK_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15WEBHOOK_STATE_ENABLED\x10\x01\x12*\n&WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING\x10\x02:L\xea\x41I\n\x1cpubsub.googleapis.com/Intent\x12)projects/{project}/agent/intents/{intent}"\xdc\x01\n\x12ListIntentsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12@\n\x0bintent_view\x18\x03 \x01(\x0e\x32&.google.cloud.dialogflow.v2.IntentViewB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01"c\n\x13ListIntentsResponse\x12\x33\n\x07intents\x18\x01 \x03(\x0b\x32".google.cloud.dialogflow.v2.Intent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xa8\x01\n\x10GetIntentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41"\n dialogflow.googleapis.com/Intent\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12@\n\x0bintent_view\x18\x03 \x01(\x0e\x32&.google.cloud.dialogflow.v2.IntentViewB\x03\xe0\x41\x01"\xe5\x01\n\x13\x43reateIntentRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x37\n\x06intent\x18\x02 \x01(\x0b\x32".google.cloud.dialogflow.v2.IntentB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12@\n\x0bintent_view\x18\x04 \x01(\x0e\x32&.google.cloud.dialogflow.v2.IntentViewB\x03\xe0\x41\x01"\xe2\x01\n\x13UpdateIntentRequest\x12\x37\n\x06intent\x18\x01 \x01(\x0b\x32".google.cloud.dialogflow.v2.IntentB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12@\n\x0bintent_view\x18\x04 \x01(\x0e\x32&.google.cloud.dialogflow.v2.IntentViewB\x03\xe0\x41\x01"M\n\x13\x44\x65leteIntentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41"\n dialogflow.googleapis.com/Intent"\xdc\x02\n\x19\x42\x61tchUpdateIntentsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x1a\n\x10intent_batch_uri\x18\x02 \x01(\tH\x00\x12\x46\n\x13intent_batch_inline\x18\x03 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.IntentBatchH\x00\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12@\n\x0bintent_view\x18\x06 \x01(\x0e\x32&.google.cloud.dialogflow.v2.IntentViewB\x03\xe0\x41\x01\x42\x0e\n\x0cintent_batch"Q\n\x1a\x42\x61tchUpdateIntentsResponse\x12\x33\n\x07intents\x18\x01 \x03(\x0b\x32".google.cloud.dialogflow.v2.Intent"\x8e\x01\n\x19\x42\x61tchDeleteIntentsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x38\n\x07intents\x18\x02 \x03(\x0b\x32".google.cloud.dialogflow.v2.IntentB\x03\xe0\x41\x02"B\n\x0bIntentBatch\x12\x33\n\x07intents\x18\x01 \x03(\x0b\x32".google.cloud.dialogflow.v2.Intent*?\n\nIntentView\x12\x1b\n\x17INTENT_VIEW_UNSPECIFIED\x10\x00\x12\x14\n\x10INTENT_VIEW_FULL\x10\x01\x32\x93\x0c\n\x07Intents\x12\xbd\x01\n\x0bListIntents\x12..google.cloud.dialogflow.v2.ListIntentsRequest\x1a/.google.cloud.dialogflow.v2.ListIntentsResponse"M\x82\xd3\xe4\x93\x02\'\x12%/v2/{parent=projects/*/agent}/intents\xda\x41\x06parent\xda\x41\x14parent,language_code\x12\xa8\x01\n\tGetIntent\x12,.google.cloud.dialogflow.v2.GetIntentRequest\x1a".google.cloud.dialogflow.v2.Intent"I\x82\xd3\xe4\x93\x02\'\x12%/v2/{name=projects/*/agent/intents/*}\xda\x41\x04name\xda\x41\x12name,language_code\x12\xc8\x01\n\x0c\x43reateIntent\x12/.google.cloud.dialogflow.v2.CreateIntentRequest\x1a".google.cloud.dialogflow.v2.Intent"c\x82\xd3\xe4\x93\x02/"%/v2/{parent=projects/*/agent}/intents:\x06intent\xda\x41\rparent,intent\xda\x41\x1bparent,intent,language_code\x12\xdb\x01\n\x0cUpdateIntent\x12/.google.cloud.dialogflow.v2.UpdateIntentRequest\x1a".google.cloud.dialogflow.v2.Intent"v\x82\xd3\xe4\x93\x02\x36\x32,/v2/{intent.name=projects/*/agent/intents/*}:\x06intent\xda\x41\x14intent,language_code\xda\x41 intent,language_code,update_mask\x12\x8d\x01\n\x0c\x44\x65leteIntent\x12/.google.cloud.dialogflow.v2.DeleteIntentRequest\x1a\x16.google.protobuf.Empty"4\x82\xd3\xe4\x93\x02\'*%/v2/{name=projects/*/agent/intents/*}\xda\x41\x04name\x12\xfb\x01\n\x12\x42\x61tchUpdateIntents\x12\x35.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest\x1a\x1d.google.longrunning.Operation"\x8e\x01\x82\xd3\xe4\x93\x02\x36"1/v2/{parent=projects/*/agent}/intents:batchUpdate:\x01*\xca\x41O\n5google.cloud.dialogflow.v2.BatchUpdateIntentsResponse\x12\x16google.protobuf.Struct\x12\xeb\x01\n\x12\x42\x61tchDeleteIntents\x12\x35.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest\x1a\x1d.google.longrunning.Operation"\x7f\x82\xd3\xe4\x93\x02\x36"1/v2/{parent=projects/*/agent}/intents:batchDelete:\x01*\xda\x41\x0eparent,intents\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x9a\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0bIntentProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
+ '\n-google/cloud/dialogflow_v2/proto/intent.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/dialogflow_v2/proto/audio_config.proto\x1a.google/cloud/dialogflow_v2/proto/context.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto"\xc7\x37\n\x06Intent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\rwebhook_state\x18\x06 \x01(\x0e\x32/.google.cloud.dialogflow.v2.Intent.WebhookStateB\x03\xe0\x41\x01\x12\x15\n\x08priority\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x18\n\x0bis_fallback\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0bml_disabled\x18\x13 \x01(\x08\x42\x03\xe0\x41\x01\x12 \n\x13input_context_names\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x65vents\x18\x08 \x03(\tB\x03\xe0\x41\x01\x12P\n\x10training_phrases\x18\t \x03(\x0b\x32\x31.google.cloud.dialogflow.v2.Intent.TrainingPhraseB\x03\xe0\x41\x01\x12\x13\n\x06\x61\x63tion\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x0foutput_contexts\x18\x0b \x03(\x0b\x32#.google.cloud.dialogflow.v2.ContextB\x03\xe0\x41\x01\x12\x1b\n\x0ereset_contexts\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x45\n\nparameters\x18\r \x03(\x0b\x32,.google.cloud.dialogflow.v2.Intent.ParameterB\x03\xe0\x41\x01\x12\x41\n\x08messages\x18\x0e \x03(\x0b\x32*.google.cloud.dialogflow.v2.Intent.MessageB\x03\xe0\x41\x01\x12\\\n\x1a\x64\x65\x66\x61ult_response_platforms\x18\x0f \x03(\x0e\x32\x33.google.cloud.dialogflow.v2.Intent.Message.PlatformB\x03\xe0\x41\x01\x12!\n\x19root_followup_intent_name\x18\x10 \x01(\t\x12#\n\x1bparent_followup_intent_name\x18\x11 \x01(\t\x12S\n\x14\x66ollowup_intent_info\x18\x12 \x03(\x0b\x32\x35.google.cloud.dialogflow.v2.Intent.FollowupIntentInfo\x1a\xf1\x02\n\x0eTrainingPhrase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12I\n\x04type\x18\x02 \x01(\x0e\x32\x36.google.cloud.dialogflow.v2.Intent.TrainingPhrase.TypeB\x03\xe0\x41\x02\x12J\n\x05parts\x18\x03 \x03(\x0b\x32\x36.google.cloud.dialogflow.v2.Intent.TrainingPhrase.PartB\x03\xe0\x41\x02\x12\x1e\n\x11times_added_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x1a]\n\x04Part\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x18\n\x0b\x65ntity_type\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x61lias\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cuser_defined\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45XAMPLE\x10\x01\x12\x10\n\x08TEMPLATE\x10\x02\x1a\x02\x08\x01\x1a\xca\x01\n\tParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x12\n\x05value\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rdefault_value\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18\x65ntity_type_display_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tmandatory\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x14\n\x07prompts\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12\x14\n\x07is_list\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x96*\n\x07Message\x12?\n\x04text\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.v2.Intent.Message.TextH\x00\x12\x41\n\x05image\x18\x02 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageH\x00\x12P\n\rquick_replies\x18\x03 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2.Intent.Message.QuickRepliesH\x00\x12?\n\x04\x63\x61rd\x18\x04 \x01(\x0b\x32/.google.cloud.dialogflow.v2.Intent.Message.CardH\x00\x12*\n\x07payload\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12V\n\x10simple_responses\x18\x07 \x01(\x0b\x32:.google.cloud.dialogflow.v2.Intent.Message.SimpleResponsesH\x00\x12J\n\nbasic_card\x18\x08 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.Intent.Message.BasicCardH\x00\x12M\n\x0bsuggestions\x18\t \x01(\x0b\x32\x36.google.cloud.dialogflow.v2.Intent.Message.SuggestionsH\x00\x12[\n\x13link_out_suggestion\x18\n \x01(\x0b\x32<.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestionH\x00\x12L\n\x0blist_select\x18\x0b \x01(\x0b\x32\x35.google.cloud.dialogflow.v2.Intent.Message.ListSelectH\x00\x12T\n\x0f\x63\x61rousel_select\x18\x0c \x01(\x0b\x32\x39.google.cloud.dialogflow.v2.Intent.Message.CarouselSelectH\x00\x12]\n\x14\x62rowse_carousel_card\x18\x16 \x01(\x0b\x32=.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCardH\x00\x12J\n\ntable_card\x18\x17 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.Intent.Message.TableCardH\x00\x12P\n\rmedia_content\x18\x18 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2.Intent.Message.MediaContentH\x00\x12J\n\x08platform\x18\x06 \x01(\x0e\x32\x33.google.cloud.dialogflow.v2.Intent.Message.PlatformB\x03\xe0\x41\x01\x1a\x19\n\x04Text\x12\x11\n\x04text\x18\x01 \x03(\tB\x03\xe0\x41\x01\x1a@\n\x05Image\x12\x16\n\timage_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x61\x63\x63\x65ssibility_text\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a>\n\x0cQuickReplies\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rquick_replies\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a\xcb\x01\n\x04\x43\x61rd\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08subtitle\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\timage_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12L\n\x07\x62uttons\x18\x04 \x03(\x0b\x32\x36.google.cloud.dialogflow.v2.Intent.Message.Card.ButtonB\x03\xe0\x41\x01\x1a\x32\n\x06\x42utton\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08postback\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1aQ\n\x0eSimpleResponse\x12\x16\n\x0etext_to_speech\x18\x01 \x01(\t\x12\x0c\n\x04ssml\x18\x02 \x01(\t\x12\x19\n\x0c\x64isplay_text\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1ak\n\x0fSimpleResponses\x12X\n\x10simple_responses\x18\x01 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.Intent.Message.SimpleResponseB\x03\xe0\x41\x02\x1a\x88\x03\n\tBasicCard\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08subtitle\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\x0e\x66ormatted_text\x18\x03 \x01(\t\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageB\x03\xe0\x41\x01\x12Q\n\x07\x62uttons\x18\x05 \x03(\x0b\x32;.google.cloud.dialogflow.v2.Intent.Message.BasicCard.ButtonB\x03\xe0\x41\x01\x1a\x9e\x01\n\x06\x42utton\x12\r\n\x05title\x18\x01 \x01(\t\x12g\n\x0fopen_uri_action\x18\x02 \x01(\x0b\x32I.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriActionB\x03\xe0\x41\x02\x1a\x1c\n\rOpenUriAction\x12\x0b\n\x03uri\x18\x01 \x01(\t\x1a \n\nSuggestion\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a^\n\x0bSuggestions\x12O\n\x0bsuggestions\x18\x01 \x03(\x0b\x32\x35.google.cloud.dialogflow.v2.Intent.Message.SuggestionB\x03\xe0\x41\x02\x1a\x44\n\x11LinkOutSuggestion\x12\x1d\n\x10\x64\x65stination_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\xd2\x02\n\nListSelect\x12\x12\n\x05title\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12N\n\x05items\x18\x02 \x03(\x0b\x32:.google.cloud.dialogflow.v2.Intent.Message.ListSelect.ItemB\x03\xe0\x41\x02\x12\x15\n\x08subtitle\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a\xc8\x01\n\x04Item\x12L\n\x04info\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfoB\x03\xe0\x41\x02\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageB\x03\xe0\x41\x01\x1a\xaf\x02\n\x0e\x43\x61rouselSelect\x12R\n\x05items\x18\x01 \x03(\x0b\x32>.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.ItemB\x03\xe0\x41\x02\x1a\xc8\x01\n\x04Item\x12L\n\x04info\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfoB\x03\xe0\x41\x02\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageB\x03\xe0\x41\x01\x1a\x39\n\x0eSelectItemInfo\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08synonyms\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a\x8e\x04\n\x0cMediaContent\x12\x62\n\nmedia_type\x18\x01 \x01(\x0e\x32I.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaTypeB\x03\xe0\x41\x01\x12\x62\n\rmedia_objects\x18\x02 \x03(\x0b\x32K.google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject\x1a\xf0\x01\n\x13ResponseMediaObject\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12L\n\x0blarge_image\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageB\x03\xe0\x41\x01H\x00\x12\x45\n\x04icon\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageB\x03\xe0\x41\x01H\x00\x12\x13\n\x0b\x63ontent_url\x18\x05 \x01(\tB\x07\n\x05image"C\n\x11ResponseMediaType\x12#\n\x1fRESPONSE_MEDIA_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x41UDIO\x10\x01\x1a\xff\x06\n\x12\x42rowseCarouselCard\x12\x63\n\x05items\x18\x01 \x03(\x0b\x32T.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem\x12u\n\x15image_display_options\x18\x02 \x01(\x0e\x32Q.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.ImageDisplayOptionsB\x03\xe0\x41\x01\x1a\x94\x04\n\x16\x42rowseCarouselCardItem\x12{\n\x0fopen_uri_action\x18\x01 \x01(\x0b\x32\x62.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction\x12\r\n\x05title\x18\x02 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageB\x03\xe0\x41\x01\x12\x13\n\x06\x66ooter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\xf8\x01\n\rOpenUrlAction\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x8a\x01\n\rurl_type_hint\x18\x03 \x01(\x0e\x32n.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHintB\x03\xe0\x41\x01"M\n\x0bUrlTypeHint\x12\x1d\n\x19URL_TYPE_HINT_UNSPECIFIED\x10\x00\x12\x0e\n\nAMP_ACTION\x10\x01\x12\x0f\n\x0b\x41MP_CONTENT\x10\x02"v\n\x13ImageDisplayOptions\x12%\n!IMAGE_DISPLAY_OPTIONS_UNSPECIFIED\x10\x00\x12\x08\n\x04GRAY\x10\x01\x12\t\n\x05WHITE\x10\x02\x12\x0b\n\x07\x43ROPPED\x10\x03\x12\x16\n\x12\x42LURRED_BACKGROUND\x10\x04\x1a\xf3\x02\n\tTableCard\x12\r\n\x05title\x18\x01 \x01(\t\x12\x15\n\x08subtitle\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x05image\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.Intent.Message.ImageB\x03\xe0\x41\x01\x12[\n\x11\x63olumn_properties\x18\x04 \x03(\x0b\x32;.google.cloud.dialogflow.v2.Intent.Message.ColumnPropertiesB\x03\xe0\x41\x01\x12J\n\x04rows\x18\x05 \x03(\x0b\x32\x37.google.cloud.dialogflow.v2.Intent.Message.TableCardRowB\x03\xe0\x41\x01\x12Q\n\x07\x62uttons\x18\x06 \x03(\x0b\x32;.google.cloud.dialogflow.v2.Intent.Message.BasicCard.ButtonB\x03\xe0\x41\x01\x1a\xfa\x01\n\x10\x43olumnProperties\x12\x0e\n\x06header\x18\x01 \x01(\t\x12r\n\x14horizontal_alignment\x18\x02 \x01(\x0e\x32O.google.cloud.dialogflow.v2.Intent.Message.ColumnProperties.HorizontalAlignmentB\x03\xe0\x41\x01"b\n\x13HorizontalAlignment\x12$\n HORIZONTAL_ALIGNMENT_UNSPECIFIED\x10\x00\x12\x0b\n\x07LEADING\x10\x01\x12\n\n\x06\x43\x45NTER\x10\x02\x12\x0c\n\x08TRAILING\x10\x03\x1ax\n\x0cTableCardRow\x12L\n\x05\x63\x65lls\x18\x01 \x03(\x0b\x32\x38.google.cloud.dialogflow.v2.Intent.Message.TableCardCellB\x03\xe0\x41\x01\x12\x1a\n\rdivider_after\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x1d\n\rTableCardCell\x12\x0c\n\x04text\x18\x01 \x01(\t"\xa0\x01\n\x08Platform\x12\x18\n\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x46\x41\x43\x45\x42OOK\x10\x01\x12\t\n\x05SLACK\x10\x02\x12\x0c\n\x08TELEGRAM\x10\x03\x12\x07\n\x03KIK\x10\x04\x12\t\n\x05SKYPE\x10\x05\x12\x08\n\x04LINE\x10\x06\x12\t\n\x05VIBER\x10\x07\x12\x15\n\x11\x41\x43TIONS_ON_GOOGLE\x10\x08\x12\x13\n\x0fGOOGLE_HANGOUTS\x10\x0b\x42\t\n\x07message\x1aW\n\x12\x46ollowupIntentInfo\x12\x1c\n\x14\x66ollowup_intent_name\x18\x01 \x01(\t\x12#\n\x1bparent_followup_intent_name\x18\x02 \x01(\t"t\n\x0cWebhookState\x12\x1d\n\x19WEBHOOK_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15WEBHOOK_STATE_ENABLED\x10\x01\x12*\n&WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING\x10\x02:P\xea\x41M\n dialogflow.googleapis.com/Intent\x12)projects/{project}/agent/intents/{intent}"\xdc\x01\n\x12ListIntentsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12@\n\x0bintent_view\x18\x03 \x01(\x0e\x32&.google.cloud.dialogflow.v2.IntentViewB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01"c\n\x13ListIntentsResponse\x12\x33\n\x07intents\x18\x01 \x03(\x0b\x32".google.cloud.dialogflow.v2.Intent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xa8\x01\n\x10GetIntentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41"\n dialogflow.googleapis.com/Intent\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12@\n\x0bintent_view\x18\x03 \x01(\x0e\x32&.google.cloud.dialogflow.v2.IntentViewB\x03\xe0\x41\x01"\xe5\x01\n\x13\x43reateIntentRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x37\n\x06intent\x18\x02 \x01(\x0b\x32".google.cloud.dialogflow.v2.IntentB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12@\n\x0bintent_view\x18\x04 \x01(\x0e\x32&.google.cloud.dialogflow.v2.IntentViewB\x03\xe0\x41\x01"\xe2\x01\n\x13UpdateIntentRequest\x12\x37\n\x06intent\x18\x01 \x01(\x0b\x32".google.cloud.dialogflow.v2.IntentB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12@\n\x0bintent_view\x18\x04 \x01(\x0e\x32&.google.cloud.dialogflow.v2.IntentViewB\x03\xe0\x41\x01"M\n\x13\x44\x65leteIntentRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41"\n dialogflow.googleapis.com/Intent"\xdc\x02\n\x19\x42\x61tchUpdateIntentsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x1a\n\x10intent_batch_uri\x18\x02 \x01(\tH\x00\x12\x46\n\x13intent_batch_inline\x18\x03 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.IntentBatchH\x00\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12@\n\x0bintent_view\x18\x06 \x01(\x0e\x32&.google.cloud.dialogflow.v2.IntentViewB\x03\xe0\x41\x01\x42\x0e\n\x0cintent_batch"Q\n\x1a\x42\x61tchUpdateIntentsResponse\x12\x33\n\x07intents\x18\x01 \x03(\x0b\x32".google.cloud.dialogflow.v2.Intent"\x8e\x01\n\x19\x42\x61tchDeleteIntentsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x38\n\x07intents\x18\x02 \x03(\x0b\x32".google.cloud.dialogflow.v2.IntentB\x03\xe0\x41\x02"B\n\x0bIntentBatch\x12\x33\n\x07intents\x18\x01 \x03(\x0b\x32".google.cloud.dialogflow.v2.Intent*?\n\nIntentView\x12\x1b\n\x17INTENT_VIEW_UNSPECIFIED\x10\x00\x12\x14\n\x10INTENT_VIEW_FULL\x10\x01\x32\x93\x0c\n\x07Intents\x12\xbd\x01\n\x0bListIntents\x12..google.cloud.dialogflow.v2.ListIntentsRequest\x1a/.google.cloud.dialogflow.v2.ListIntentsResponse"M\x82\xd3\xe4\x93\x02\'\x12%/v2/{parent=projects/*/agent}/intents\xda\x41\x06parent\xda\x41\x14parent,language_code\x12\xa8\x01\n\tGetIntent\x12,.google.cloud.dialogflow.v2.GetIntentRequest\x1a".google.cloud.dialogflow.v2.Intent"I\x82\xd3\xe4\x93\x02\'\x12%/v2/{name=projects/*/agent/intents/*}\xda\x41\x04name\xda\x41\x12name,language_code\x12\xc8\x01\n\x0c\x43reateIntent\x12/.google.cloud.dialogflow.v2.CreateIntentRequest\x1a".google.cloud.dialogflow.v2.Intent"c\x82\xd3\xe4\x93\x02/"%/v2/{parent=projects/*/agent}/intents:\x06intent\xda\x41\rparent,intent\xda\x41\x1bparent,intent,language_code\x12\xdb\x01\n\x0cUpdateIntent\x12/.google.cloud.dialogflow.v2.UpdateIntentRequest\x1a".google.cloud.dialogflow.v2.Intent"v\x82\xd3\xe4\x93\x02\x36\x32,/v2/{intent.name=projects/*/agent/intents/*}:\x06intent\xda\x41\x14intent,language_code\xda\x41 intent,language_code,update_mask\x12\x8d\x01\n\x0c\x44\x65leteIntent\x12/.google.cloud.dialogflow.v2.DeleteIntentRequest\x1a\x16.google.protobuf.Empty"4\x82\xd3\xe4\x93\x02\'*%/v2/{name=projects/*/agent/intents/*}\xda\x41\x04name\x12\xfb\x01\n\x12\x42\x61tchUpdateIntents\x12\x35.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest\x1a\x1d.google.longrunning.Operation"\x8e\x01\x82\xd3\xe4\x93\x02\x36"1/v2/{parent=projects/*/agent}/intents:batchUpdate:\x01*\xca\x41O\n5google.cloud.dialogflow.v2.BatchUpdateIntentsResponse\x12\x16google.protobuf.Struct\x12\xeb\x01\n\x12\x42\x61tchDeleteIntents\x12\x35.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest\x1a\x1d.google.longrunning.Operation"\x7f\x82\xd3\xe4\x93\x02\x36"1/v2/{parent=projects/*/agent}/intents:batchDelete:\x01*\xda\x41\x0eparent,intents\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x9a\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0bIntentProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
),
dependencies=[
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
@@ -83,8 +83,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=6764,
- serialized_end=6827,
+ serialized_start=9251,
+ serialized_end=9314,
)
_sym_db.RegisterEnumDescriptor(_INTENTVIEW)
@@ -124,6 +124,126 @@
)
_sym_db.RegisterEnumDescriptor(_INTENT_TRAININGPHRASE_TYPE)
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIATYPE = _descriptor.EnumDescriptor(
+ name="ResponseMediaType",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaType",
+ filename=None,
+ file=DESCRIPTOR,
+ values=[
+ _descriptor.EnumValueDescriptor(
+ name="RESPONSE_MEDIA_TYPE_UNSPECIFIED",
+ index=0,
+ number=0,
+ serialized_options=None,
+ type=None,
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="AUDIO", index=1, number=1, serialized_options=None, type=None
+ ),
+ ],
+ containing_type=None,
+ serialized_options=None,
+ serialized_start=5359,
+ serialized_end=5426,
+)
+_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIATYPE)
+
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION_URLTYPEHINT = _descriptor.EnumDescriptor(
+ name="UrlTypeHint",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHint",
+ filename=None,
+ file=DESCRIPTOR,
+ values=[
+ _descriptor.EnumValueDescriptor(
+ name="URL_TYPE_HINT_UNSPECIFIED",
+ index=0,
+ number=0,
+ serialized_options=None,
+ type=None,
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="AMP_ACTION", index=1, number=1, serialized_options=None, type=None
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="AMP_CONTENT", index=2, number=2, serialized_options=None, type=None
+ ),
+ ],
+ containing_type=None,
+ serialized_options=None,
+ serialized_start=6127,
+ serialized_end=6204,
+)
+_sym_db.RegisterEnumDescriptor(
+ _INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION_URLTYPEHINT
+)
+
+_INTENT_MESSAGE_BROWSECAROUSELCARD_IMAGEDISPLAYOPTIONS = _descriptor.EnumDescriptor(
+ name="ImageDisplayOptions",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions",
+ filename=None,
+ file=DESCRIPTOR,
+ values=[
+ _descriptor.EnumValueDescriptor(
+ name="IMAGE_DISPLAY_OPTIONS_UNSPECIFIED",
+ index=0,
+ number=0,
+ serialized_options=None,
+ type=None,
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="GRAY", index=1, number=1, serialized_options=None, type=None
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="WHITE", index=2, number=2, serialized_options=None, type=None
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="CROPPED", index=3, number=3, serialized_options=None, type=None
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="BLURRED_BACKGROUND",
+ index=4,
+ number=4,
+ serialized_options=None,
+ type=None,
+ ),
+ ],
+ containing_type=None,
+ serialized_options=None,
+ serialized_start=6206,
+ serialized_end=6324,
+)
+_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_BROWSECAROUSELCARD_IMAGEDISPLAYOPTIONS)
+
+_INTENT_MESSAGE_COLUMNPROPERTIES_HORIZONTALALIGNMENT = _descriptor.EnumDescriptor(
+ name="HorizontalAlignment",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.ColumnProperties.HorizontalAlignment",
+ filename=None,
+ file=DESCRIPTOR,
+ values=[
+ _descriptor.EnumValueDescriptor(
+ name="HORIZONTAL_ALIGNMENT_UNSPECIFIED",
+ index=0,
+ number=0,
+ serialized_options=None,
+ type=None,
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="LEADING", index=1, number=1, serialized_options=None, type=None
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="CENTER", index=2, number=2, serialized_options=None, type=None
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="TRAILING", index=3, number=3, serialized_options=None, type=None
+ ),
+ ],
+ containing_type=None,
+ serialized_options=None,
+ serialized_start=6853,
+ serialized_end=6951,
+)
+_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_COLUMNPROPERTIES_HORIZONTALALIGNMENT)
+
_INTENT_MESSAGE_PLATFORM = _descriptor.EnumDescriptor(
name="Platform",
full_name="google.cloud.dialogflow.v2.Intent.Message.Platform",
@@ -175,8 +295,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=4624,
- serialized_end=4784,
+ serialized_start=7107,
+ serialized_end=7267,
)
_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_PLATFORM)
@@ -210,8 +330,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=4886,
- serialized_end=5002,
+ serialized_start=7369,
+ serialized_end=7485,
)
_sym_db.RegisterEnumDescriptor(_INTENT_WEBHOOKSTATE)
@@ -598,8 +718,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2790,
- serialized_end=2815,
+ serialized_start=3043,
+ serialized_end=3068,
)
_INTENT_MESSAGE_IMAGE = _descriptor.Descriptor(
@@ -654,8 +774,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2817,
- serialized_end=2881,
+ serialized_start=3070,
+ serialized_end=3134,
)
_INTENT_MESSAGE_QUICKREPLIES = _descriptor.Descriptor(
@@ -710,8 +830,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2883,
- serialized_end=2945,
+ serialized_start=3136,
+ serialized_end=3198,
)
_INTENT_MESSAGE_CARD_BUTTON = _descriptor.Descriptor(
@@ -766,8 +886,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3101,
- serialized_end=3151,
+ serialized_start=3354,
+ serialized_end=3404,
)
_INTENT_MESSAGE_CARD = _descriptor.Descriptor(
@@ -858,8 +978,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2948,
- serialized_end=3151,
+ serialized_start=3201,
+ serialized_end=3404,
)
_INTENT_MESSAGE_SIMPLERESPONSE = _descriptor.Descriptor(
@@ -932,8 +1052,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3153,
- serialized_end=3234,
+ serialized_start=3406,
+ serialized_end=3487,
)
_INTENT_MESSAGE_SIMPLERESPONSES = _descriptor.Descriptor(
@@ -970,8 +1090,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3236,
- serialized_end=3343,
+ serialized_start=3489,
+ serialized_end=3596,
)
_INTENT_MESSAGE_BASICCARD_BUTTON_OPENURIACTION = _descriptor.Descriptor(
@@ -1008,8 +1128,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3710,
- serialized_end=3738,
+ serialized_start=3963,
+ serialized_end=3991,
)
_INTENT_MESSAGE_BASICCARD_BUTTON = _descriptor.Descriptor(
@@ -1064,8 +1184,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3580,
- serialized_end=3738,
+ serialized_start=3833,
+ serialized_end=3991,
)
_INTENT_MESSAGE_BASICCARD = _descriptor.Descriptor(
@@ -1174,8 +1294,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3346,
- serialized_end=3738,
+ serialized_start=3599,
+ serialized_end=3991,
)
_INTENT_MESSAGE_SUGGESTION = _descriptor.Descriptor(
@@ -1212,8 +1332,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3740,
- serialized_end=3772,
+ serialized_start=3993,
+ serialized_end=4025,
)
_INTENT_MESSAGE_SUGGESTIONS = _descriptor.Descriptor(
@@ -1250,8 +1370,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3774,
- serialized_end=3868,
+ serialized_start=4027,
+ serialized_end=4121,
)
_INTENT_MESSAGE_LINKOUTSUGGESTION = _descriptor.Descriptor(
@@ -1306,8 +1426,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3870,
- serialized_end=3938,
+ serialized_start=4123,
+ serialized_end=4191,
)
_INTENT_MESSAGE_LISTSELECT_ITEM = _descriptor.Descriptor(
@@ -1398,8 +1518,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4056,
- serialized_end=4256,
+ serialized_start=4332,
+ serialized_end=4532,
)
_INTENT_MESSAGE_LISTSELECT = _descriptor.Descriptor(
@@ -1445,6 +1565,24 @@
serialized_options=_b("\340A\002"),
file=DESCRIPTOR,
),
+ _descriptor.FieldDescriptor(
+ name="subtitle",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.ListSelect.subtitle",
+ index=2,
+ number=3,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
],
extensions=[],
nested_types=[_INTENT_MESSAGE_LISTSELECT_ITEM],
@@ -1454,8 +1592,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3941,
- serialized_end=4256,
+ serialized_start=4194,
+ serialized_end=4532,
)
_INTENT_MESSAGE_CAROUSELSELECT_ITEM = _descriptor.Descriptor(
@@ -1502,10 +1640,688 @@
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
- name="description",
- full_name="google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item.description",
- index=2,
- number=3,
+ name="description",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item.description",
+ index=2,
+ number=3,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="image",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item.image",
+ index=3,
+ number=4,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=4332,
+ serialized_end=4532,
+)
+
+_INTENT_MESSAGE_CAROUSELSELECT = _descriptor.Descriptor(
+ name="CarouselSelect",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.CarouselSelect",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="items",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.items",
+ index=0,
+ number=1,
+ type=11,
+ cpp_type=10,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\002"),
+ file=DESCRIPTOR,
+ )
+ ],
+ extensions=[],
+ nested_types=[_INTENT_MESSAGE_CAROUSELSELECT_ITEM],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=4535,
+ serialized_end=4838,
+)
+
+_INTENT_MESSAGE_SELECTITEMINFO = _descriptor.Descriptor(
+ name="SelectItemInfo",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="key",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo.key",
+ index=0,
+ number=1,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\002"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="synonyms",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo.synonyms",
+ index=1,
+ number=2,
+ type=9,
+ cpp_type=9,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=4840,
+ serialized_end=4897,
+)
+
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT = _descriptor.Descriptor(
+ name="ResponseMediaObject",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="name",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject.name",
+ index=0,
+ number=1,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="description",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject.description",
+ index=1,
+ number=2,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="large_image",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject.large_image",
+ index=2,
+ number=3,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="icon",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject.icon",
+ index=3,
+ number=4,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="content_url",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject.content_url",
+ index=4,
+ number=5,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[
+ _descriptor.OneofDescriptor(
+ name="image",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject.image",
+ index=0,
+ containing_type=None,
+ fields=[],
+ )
+ ],
+ serialized_start=5117,
+ serialized_end=5357,
+)
+
+_INTENT_MESSAGE_MEDIACONTENT = _descriptor.Descriptor(
+ name="MediaContent",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="media_type",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent.media_type",
+ index=0,
+ number=1,
+ type=14,
+ cpp_type=8,
+ label=1,
+ has_default_value=False,
+ default_value=0,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="media_objects",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.MediaContent.media_objects",
+ index=1,
+ number=2,
+ type=11,
+ cpp_type=10,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT],
+ enum_types=[_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIATYPE],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=4900,
+ serialized_end=5426,
+)
+
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION = _descriptor.Descriptor(
+ name="OpenUrlAction",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="url",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.url",
+ index=0,
+ number=1,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="url_type_hint",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.url_type_hint",
+ index=1,
+ number=3,
+ type=14,
+ cpp_type=8,
+ label=1,
+ has_default_value=False,
+ default_value=0,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[
+ _INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION_URLTYPEHINT
+ ],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=5956,
+ serialized_end=6204,
+)
+
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM = _descriptor.Descriptor(
+ name="BrowseCarouselCardItem",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="open_uri_action",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.open_uri_action",
+ index=0,
+ number=1,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="title",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.title",
+ index=1,
+ number=2,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="description",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.description",
+ index=2,
+ number=3,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="image",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.image",
+ index=3,
+ number=4,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="footer",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.footer",
+ index=4,
+ number=5,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[
+ _INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION
+ ],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=5672,
+ serialized_end=6204,
+)
+
+_INTENT_MESSAGE_BROWSECAROUSELCARD = _descriptor.Descriptor(
+ name="BrowseCarouselCard",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="items",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.items",
+ index=0,
+ number=1,
+ type=11,
+ cpp_type=10,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="image_display_options",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.image_display_options",
+ index=1,
+ number=2,
+ type=14,
+ cpp_type=8,
+ label=1,
+ has_default_value=False,
+ default_value=0,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM],
+ enum_types=[_INTENT_MESSAGE_BROWSECAROUSELCARD_IMAGEDISPLAYOPTIONS],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=5429,
+ serialized_end=6324,
+)
+
+_INTENT_MESSAGE_TABLECARD = _descriptor.Descriptor(
+ name="TableCard",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCard",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="title",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCard.title",
+ index=0,
+ number=1,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="subtitle",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCard.subtitle",
+ index=1,
+ number=2,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="image",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCard.image",
+ index=2,
+ number=3,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="column_properties",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCard.column_properties",
+ index=3,
+ number=4,
+ type=11,
+ cpp_type=10,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="rows",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCard.rows",
+ index=4,
+ number=5,
+ type=11,
+ cpp_type=10,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="buttons",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCard.buttons",
+ index=5,
+ number=6,
+ type=11,
+ cpp_type=10,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=6327,
+ serialized_end=6698,
+)
+
+_INTENT_MESSAGE_COLUMNPROPERTIES = _descriptor.Descriptor(
+ name="ColumnProperties",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.ColumnProperties",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="header",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.ColumnProperties.header",
+ index=0,
+ number=1,
type=9,
cpp_type=9,
label=1,
@@ -1516,19 +2332,19 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
- name="image",
- full_name="google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item.image",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
+ name="horizontal_alignment",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.ColumnProperties.horizontal_alignment",
+ index=1,
+ number=2,
+ type=14,
+ cpp_type=8,
label=1,
has_default_value=False,
- default_value=None,
+ default_value=0,
message_type=None,
enum_type=None,
containing_type=None,
@@ -1540,26 +2356,26 @@
],
extensions=[],
nested_types=[],
- enum_types=[],
+ enum_types=[_INTENT_MESSAGE_COLUMNPROPERTIES_HORIZONTALALIGNMENT],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4056,
- serialized_end=4256,
+ serialized_start=6701,
+ serialized_end=6951,
)
-_INTENT_MESSAGE_CAROUSELSELECT = _descriptor.Descriptor(
- name="CarouselSelect",
- full_name="google.cloud.dialogflow.v2.Intent.Message.CarouselSelect",
+_INTENT_MESSAGE_TABLECARDROW = _descriptor.Descriptor(
+ name="TableCardRow",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCardRow",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
- name="items",
- full_name="google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.items",
+ name="cells",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCardRow.cells",
index=0,
number=1,
type=11,
@@ -1572,32 +2388,50 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\002"),
+ serialized_options=_b("\340A\001"),
file=DESCRIPTOR,
- )
+ ),
+ _descriptor.FieldDescriptor(
+ name="divider_after",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCardRow.divider_after",
+ index=1,
+ number=2,
+ type=8,
+ cpp_type=7,
+ label=1,
+ has_default_value=False,
+ default_value=False,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
],
extensions=[],
- nested_types=[_INTENT_MESSAGE_CAROUSELSELECT_ITEM],
+ nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4259,
- serialized_end=4562,
+ serialized_start=6953,
+ serialized_end=7073,
)
-_INTENT_MESSAGE_SELECTITEMINFO = _descriptor.Descriptor(
- name="SelectItemInfo",
- full_name="google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo",
+_INTENT_MESSAGE_TABLECARDCELL = _descriptor.Descriptor(
+ name="TableCardCell",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCardCell",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
- name="key",
- full_name="google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo.key",
+ name="text",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.TableCardCell.text",
index=0,
number=1,
type=9,
@@ -1610,27 +2444,9 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\002"),
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="synonyms",
- full_name="google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo.synonyms",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
- ),
+ )
],
extensions=[],
nested_types=[],
@@ -1640,8 +2456,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4564,
- serialized_end=4621,
+ serialized_start=7075,
+ serialized_end=7104,
)
_INTENT_MESSAGE = _descriptor.Descriptor(
@@ -1849,10 +2665,64 @@
serialized_options=None,
file=DESCRIPTOR,
),
+ _descriptor.FieldDescriptor(
+ name="browse_carousel_card",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.browse_carousel_card",
+ index=11,
+ number=22,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="table_card",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.table_card",
+ index=12,
+ number=23,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="media_content",
+ full_name="google.cloud.dialogflow.v2.Intent.Message.media_content",
+ index=13,
+ number=24,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
_descriptor.FieldDescriptor(
name="platform",
full_name="google.cloud.dialogflow.v2.Intent.Message.platform",
- index=11,
+ index=14,
number=6,
type=14,
cpp_type=8,
@@ -1883,6 +2753,12 @@
_INTENT_MESSAGE_LISTSELECT,
_INTENT_MESSAGE_CAROUSELSELECT,
_INTENT_MESSAGE_SELECTITEMINFO,
+ _INTENT_MESSAGE_MEDIACONTENT,
+ _INTENT_MESSAGE_BROWSECAROUSELCARD,
+ _INTENT_MESSAGE_TABLECARD,
+ _INTENT_MESSAGE_COLUMNPROPERTIES,
+ _INTENT_MESSAGE_TABLECARDROW,
+ _INTENT_MESSAGE_TABLECARDCELL,
],
enum_types=[_INTENT_MESSAGE_PLATFORM],
serialized_options=None,
@@ -1899,7 +2775,7 @@
)
],
serialized_start=1880,
- serialized_end=4795,
+ serialized_end=7278,
)
_INTENT_FOLLOWUPINTENTINFO = _descriptor.Descriptor(
@@ -1954,8 +2830,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4797,
- serialized_end=4884,
+ serialized_start=7280,
+ serialized_end=7367,
)
_INTENT = _descriptor.Descriptor(
@@ -2299,14 +3175,14 @@
],
enum_types=[_INTENT_WEBHOOKSTATE],
serialized_options=_b(
- "\352AI\n\034pubsub.googleapis.com/Intent\022)projects/{project}/agent/intents/{intent}"
+ "\352AM\n dialogflow.googleapis.com/Intent\022)projects/{project}/agent/intents/{intent}"
),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=456,
- serialized_end=5080,
+ serialized_end=7567,
)
@@ -2418,8 +3294,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5083,
- serialized_end=5303,
+ serialized_start=7570,
+ serialized_end=7790,
)
@@ -2475,8 +3351,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5305,
- serialized_end=5404,
+ serialized_start=7792,
+ serialized_end=7891,
)
@@ -2550,8 +3426,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5407,
- serialized_end=5575,
+ serialized_start=7894,
+ serialized_end=8062,
)
@@ -2645,8 +3521,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5578,
- serialized_end=5807,
+ serialized_start=8065,
+ serialized_end=8294,
)
@@ -2738,8 +3614,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5810,
- serialized_end=6036,
+ serialized_start=8297,
+ serialized_end=8523,
)
@@ -2777,8 +3653,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6038,
- serialized_end=6115,
+ serialized_start=8525,
+ serialized_end=8602,
)
@@ -2916,8 +3792,8 @@
fields=[],
)
],
- serialized_start=6118,
- serialized_end=6466,
+ serialized_start=8605,
+ serialized_end=8953,
)
@@ -2955,8 +3831,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6468,
- serialized_end=6549,
+ serialized_start=8955,
+ serialized_end=9036,
)
@@ -3014,8 +3890,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6552,
- serialized_end=6694,
+ serialized_start=9039,
+ serialized_end=9181,
)
@@ -3053,8 +3929,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6696,
- serialized_end=6762,
+ serialized_start=9183,
+ serialized_end=9249,
)
_INTENT_TRAININGPHRASE_PART.containing_type = _INTENT_TRAININGPHRASE
@@ -3119,6 +3995,94 @@
].message_type = _INTENT_MESSAGE_CAROUSELSELECT_ITEM
_INTENT_MESSAGE_CAROUSELSELECT.containing_type = _INTENT_MESSAGE
_INTENT_MESSAGE_SELECTITEMINFO.containing_type = _INTENT_MESSAGE
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.fields_by_name[
+ "large_image"
+].message_type = _INTENT_MESSAGE_IMAGE
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.fields_by_name[
+ "icon"
+].message_type = _INTENT_MESSAGE_IMAGE
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.containing_type = (
+ _INTENT_MESSAGE_MEDIACONTENT
+)
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.oneofs_by_name["image"].fields.append(
+ _INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.fields_by_name["large_image"]
+)
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.fields_by_name[
+ "large_image"
+].containing_oneof = _INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.oneofs_by_name[
+ "image"
+]
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.oneofs_by_name["image"].fields.append(
+ _INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.fields_by_name["icon"]
+)
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.fields_by_name[
+ "icon"
+].containing_oneof = _INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.oneofs_by_name[
+ "image"
+]
+_INTENT_MESSAGE_MEDIACONTENT.fields_by_name[
+ "media_type"
+].enum_type = _INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIATYPE
+_INTENT_MESSAGE_MEDIACONTENT.fields_by_name[
+ "media_objects"
+].message_type = _INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT
+_INTENT_MESSAGE_MEDIACONTENT.containing_type = _INTENT_MESSAGE
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIATYPE.containing_type = (
+ _INTENT_MESSAGE_MEDIACONTENT
+)
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION.fields_by_name[
+ "url_type_hint"
+].enum_type = (
+ _INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION_URLTYPEHINT
+)
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION.containing_type = (
+ _INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM
+)
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION_URLTYPEHINT.containing_type = (
+ _INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION
+)
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM.fields_by_name[
+ "open_uri_action"
+].message_type = _INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM.fields_by_name[
+ "image"
+].message_type = _INTENT_MESSAGE_IMAGE
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM.containing_type = (
+ _INTENT_MESSAGE_BROWSECAROUSELCARD
+)
+_INTENT_MESSAGE_BROWSECAROUSELCARD.fields_by_name[
+ "items"
+].message_type = _INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM
+_INTENT_MESSAGE_BROWSECAROUSELCARD.fields_by_name[
+ "image_display_options"
+].enum_type = _INTENT_MESSAGE_BROWSECAROUSELCARD_IMAGEDISPLAYOPTIONS
+_INTENT_MESSAGE_BROWSECAROUSELCARD.containing_type = _INTENT_MESSAGE
+_INTENT_MESSAGE_BROWSECAROUSELCARD_IMAGEDISPLAYOPTIONS.containing_type = (
+ _INTENT_MESSAGE_BROWSECAROUSELCARD
+)
+_INTENT_MESSAGE_TABLECARD.fields_by_name["image"].message_type = _INTENT_MESSAGE_IMAGE
+_INTENT_MESSAGE_TABLECARD.fields_by_name[
+ "column_properties"
+].message_type = _INTENT_MESSAGE_COLUMNPROPERTIES
+_INTENT_MESSAGE_TABLECARD.fields_by_name[
+ "rows"
+].message_type = _INTENT_MESSAGE_TABLECARDROW
+_INTENT_MESSAGE_TABLECARD.fields_by_name[
+ "buttons"
+].message_type = _INTENT_MESSAGE_BASICCARD_BUTTON
+_INTENT_MESSAGE_TABLECARD.containing_type = _INTENT_MESSAGE
+_INTENT_MESSAGE_COLUMNPROPERTIES.fields_by_name[
+ "horizontal_alignment"
+].enum_type = _INTENT_MESSAGE_COLUMNPROPERTIES_HORIZONTALALIGNMENT
+_INTENT_MESSAGE_COLUMNPROPERTIES.containing_type = _INTENT_MESSAGE
+_INTENT_MESSAGE_COLUMNPROPERTIES_HORIZONTALALIGNMENT.containing_type = (
+ _INTENT_MESSAGE_COLUMNPROPERTIES
+)
+_INTENT_MESSAGE_TABLECARDROW.fields_by_name[
+ "cells"
+].message_type = _INTENT_MESSAGE_TABLECARDCELL
+_INTENT_MESSAGE_TABLECARDROW.containing_type = _INTENT_MESSAGE
+_INTENT_MESSAGE_TABLECARDCELL.containing_type = _INTENT_MESSAGE
_INTENT_MESSAGE.fields_by_name["text"].message_type = _INTENT_MESSAGE_TEXT
_INTENT_MESSAGE.fields_by_name["image"].message_type = _INTENT_MESSAGE_IMAGE
_INTENT_MESSAGE.fields_by_name[
@@ -3140,6 +4104,13 @@
_INTENT_MESSAGE.fields_by_name[
"carousel_select"
].message_type = _INTENT_MESSAGE_CAROUSELSELECT
+_INTENT_MESSAGE.fields_by_name[
+ "browse_carousel_card"
+].message_type = _INTENT_MESSAGE_BROWSECAROUSELCARD
+_INTENT_MESSAGE.fields_by_name["table_card"].message_type = _INTENT_MESSAGE_TABLECARD
+_INTENT_MESSAGE.fields_by_name[
+ "media_content"
+].message_type = _INTENT_MESSAGE_MEDIACONTENT
_INTENT_MESSAGE.fields_by_name["platform"].enum_type = _INTENT_MESSAGE_PLATFORM
_INTENT_MESSAGE.containing_type = _INTENT
_INTENT_MESSAGE_PLATFORM.containing_type = _INTENT_MESSAGE
@@ -3209,6 +4180,24 @@
_INTENT_MESSAGE.fields_by_name[
"carousel_select"
].containing_oneof = _INTENT_MESSAGE.oneofs_by_name["message"]
+_INTENT_MESSAGE.oneofs_by_name["message"].fields.append(
+ _INTENT_MESSAGE.fields_by_name["browse_carousel_card"]
+)
+_INTENT_MESSAGE.fields_by_name[
+ "browse_carousel_card"
+].containing_oneof = _INTENT_MESSAGE.oneofs_by_name["message"]
+_INTENT_MESSAGE.oneofs_by_name["message"].fields.append(
+ _INTENT_MESSAGE.fields_by_name["table_card"]
+)
+_INTENT_MESSAGE.fields_by_name[
+ "table_card"
+].containing_oneof = _INTENT_MESSAGE.oneofs_by_name["message"]
+_INTENT_MESSAGE.oneofs_by_name["message"].fields.append(
+ _INTENT_MESSAGE.fields_by_name["media_content"]
+)
+_INTENT_MESSAGE.fields_by_name[
+ "media_content"
+].containing_oneof = _INTENT_MESSAGE.oneofs_by_name["message"]
_INTENT_FOLLOWUPINTENTINFO.containing_type = _INTENT
_INTENT.fields_by_name["webhook_state"].enum_type = _INTENT_WEBHOOKSTATE
_INTENT.fields_by_name["training_phrases"].message_type = _INTENT_TRAININGPHRASE
@@ -3515,8 +4504,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_SIMPLERESPONSES,
__module__="google.cloud.dialogflow_v2.proto.intent_pb2",
- __doc__="""The collection of simple response candidates. This message in
- ``QueryResult.fulfillment_messages`` and
+ __doc__="""The collection of simple response candidates. This message
+ in ``QueryResult.fulfillment_messages`` and
``WebhookResponse.fulfillment_messages`` should contain only one
``SimpleResponse``.
@@ -3592,8 +4581,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_SUGGESTION,
__module__="google.cloud.dialogflow_v2.proto.intent_pb2",
- __doc__="""The suggestion chip message that the user can tap to quickly post a
- reply to the conversation.
+ __doc__="""The suggestion chip message that the user can tap to
+ quickly post a reply to the conversation.
Attributes:
@@ -3625,8 +4614,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_LINKOUTSUGGESTION,
__module__="google.cloud.dialogflow_v2.proto.intent_pb2",
- __doc__="""The suggestion chip message that allows the user to jump out to the app
- or website associated with this agent.
+ __doc__="""The suggestion chip message that allows the user to jump
+ out to the app or website associated with this agent.
Attributes:
@@ -3675,6 +4664,8 @@
Optional. The overall title of the list.
items:
Required. List items.
+ subtitle:
+ Optional. Subtitle of the list.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.ListSelect)
),
@@ -3707,7 +4698,8 @@
),
DESCRIPTOR=_INTENT_MESSAGE_CAROUSELSELECT,
__module__="google.cloud.dialogflow_v2.proto.intent_pb2",
- __doc__="""The card for presenting a carousel of options to select from.
+ __doc__="""The card for presenting a carousel of options to select
+ from.
Attributes:
@@ -3723,8 +4715,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_SELECTITEMINFO,
__module__="google.cloud.dialogflow_v2.proto.intent_pb2",
- __doc__="""Additional info about the select item for when it is triggered in a
- dialog.
+ __doc__="""Additional info about the select item for when it is
+ triggered in a dialog.
Attributes:
@@ -3738,9 +4730,203 @@
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo)
),
),
+ MediaContent=_reflection.GeneratedProtocolMessageType(
+ "MediaContent",
+ (_message.Message,),
+ dict(
+ ResponseMediaObject=_reflection.GeneratedProtocolMessageType(
+ "ResponseMediaObject",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT,
+ __module__="google.cloud.dialogflow_v2.proto.intent_pb2",
+ __doc__="""Response media object for media content card.
+
+
+ Attributes:
+ name:
+ Required. Name of media card.
+ description:
+ Optional. Description of media card.
+ image:
+ Image to show with the media card.
+ large_image:
+ Optional. Image to display above media content.
+ icon:
+ Optional. Icon to display above media content.
+ content_url:
+ Required. Url where the media is stored.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.MediaContent.ResponseMediaObject)
+ ),
+ ),
+ DESCRIPTOR=_INTENT_MESSAGE_MEDIACONTENT,
+ __module__="google.cloud.dialogflow_v2.proto.intent_pb2",
+ __doc__="""The media content card for Actions on Google.
+
+
+ Attributes:
+ media_type:
+ Optional. What type of media is the content (ie "audio").
+ media_objects:
+ Required. List of media objects.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.MediaContent)
+ ),
+ ),
+ BrowseCarouselCard=_reflection.GeneratedProtocolMessageType(
+ "BrowseCarouselCard",
+ (_message.Message,),
+ dict(
+ BrowseCarouselCardItem=_reflection.GeneratedProtocolMessageType(
+ "BrowseCarouselCardItem",
+ (_message.Message,),
+ dict(
+ OpenUrlAction=_reflection.GeneratedProtocolMessageType(
+ "OpenUrlAction",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION,
+ __module__="google.cloud.dialogflow_v2.proto.intent_pb2",
+ __doc__="""Actions on Google action to open a given url.
+
+
+ Attributes:
+ url:
+ Required. URL
+ url_type_hint:
+ Optional. Specifies the type of viewer that is used when
+ opening the URL. Defaults to opening via web browser.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction)
+ ),
+ ),
+ DESCRIPTOR=_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM,
+ __module__="google.cloud.dialogflow_v2.proto.intent_pb2",
+ __doc__="""Browsing carousel tile
+
+
+ Attributes:
+ open_uri_action:
+ Required. Action to present to the user.
+ title:
+ Required. Title of the carousel item. Maximum of two lines of
+ text.
+ description:
+ Optional. Description of the carousel item. Maximum of four
+ lines of text.
+ image:
+ Optional. Hero image for the carousel item.
+ footer:
+ Optional. Text that appears at the bottom of the Browse
+ Carousel Card. Maximum of one line of text.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem)
+ ),
+ ),
+ DESCRIPTOR=_INTENT_MESSAGE_BROWSECAROUSELCARD,
+ __module__="google.cloud.dialogflow_v2.proto.intent_pb2",
+ __doc__="""Browse Carousel Card for Actions on Google.
+ https://developers.google.com/actions/assistant/responses#browsing\_carousel
+
+
+ Attributes:
+ items:
+ Required. List of items in the Browse Carousel Card. Minimum
+ of two items, maximum of ten.
+ image_display_options:
+ Optional. Settings for displaying the image. Applies to every
+ image in [items][google.cloud.dialogflow.v2.Intent.Message.Bro
+ wseCarouselCard.items].
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard)
+ ),
+ ),
+ TableCard=_reflection.GeneratedProtocolMessageType(
+ "TableCard",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_INTENT_MESSAGE_TABLECARD,
+ __module__="google.cloud.dialogflow_v2.proto.intent_pb2",
+ __doc__="""Table card for Actions on Google.
+
+
+ Attributes:
+ title:
+ Required. Title of the card.
+ subtitle:
+ Optional. Subtitle to the title.
+ image:
+ Optional. Image which should be displayed on the card.
+ column_properties:
+ Optional. Display properties for the columns in this table.
+ rows:
+ Optional. Rows in this table of data.
+ buttons:
+ Optional. List of buttons for the card.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.TableCard)
+ ),
+ ),
+ ColumnProperties=_reflection.GeneratedProtocolMessageType(
+ "ColumnProperties",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_INTENT_MESSAGE_COLUMNPROPERTIES,
+ __module__="google.cloud.dialogflow_v2.proto.intent_pb2",
+ __doc__="""Column properties for
+ [TableCard][google.cloud.dialogflow.v2.Intent.Message.TableCard].
+
+
+ Attributes:
+ header:
+ Required. Column heading.
+ horizontal_alignment:
+ Optional. Defines text alignment for all cells in this column.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.ColumnProperties)
+ ),
+ ),
+ TableCardRow=_reflection.GeneratedProtocolMessageType(
+ "TableCardRow",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_INTENT_MESSAGE_TABLECARDROW,
+ __module__="google.cloud.dialogflow_v2.proto.intent_pb2",
+ __doc__="""Row of
+ [TableCard][google.cloud.dialogflow.v2.Intent.Message.TableCard].
+
+
+ Attributes:
+ cells:
+ Optional. List of cells that make up this row.
+ divider_after:
+ Optional. Whether to add a visual divider after this row.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.TableCardRow)
+ ),
+ ),
+ TableCardCell=_reflection.GeneratedProtocolMessageType(
+ "TableCardCell",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_INTENT_MESSAGE_TABLECARDCELL,
+ __module__="google.cloud.dialogflow_v2.proto.intent_pb2",
+ __doc__="""Cell of
+ [TableCardRow][google.cloud.dialogflow.v2.Intent.Message.TableCardRow].
+
+
+ Attributes:
+ text:
+ Required. Text in this cell.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.Intent.Message.TableCardCell)
+ ),
+ ),
DESCRIPTOR=_INTENT_MESSAGE,
__module__="google.cloud.dialogflow_v2.proto.intent_pb2",
- __doc__="""Corresponds to the ``Response`` field in the Dialogflow console.
+ __doc__="""Corresponds to the ``Response`` field in the Dialogflow
+ console.
Attributes:
@@ -3771,6 +4957,12 @@
The list card response for Actions on Google.
carousel_select:
The carousel card response for Actions on Google.
+ browse_carousel_card:
+ Browse carousel card for Actions on Google.
+ table_card:
+ Table card for Actions on Google.
+ media_content:
+ The media content card for Actions on Google.
platform:
Optional. The platform that this message is intended for.
""",
@@ -3799,9 +4991,9 @@
),
DESCRIPTOR=_INTENT,
__module__="google.cloud.dialogflow_v2.proto.intent_pb2",
- __doc__="""Represents an intent. Intents convert a number of user expressions or
- patterns into an action. An action is an extraction of a user command or
- sentence semantics.
+ __doc__="""Represents an intent. Intents convert a number of user
+ expressions or patterns into an action. An action is an extraction of a
+ user command or sentence semantics.
Attributes:
@@ -3818,14 +5010,16 @@
intent.
priority:
Optional. The priority of this intent. Higher numbers
- represent higher priorities. If this is zero or unspecified,
- we use the default priority 500000. Negative numbers mean
- that the intent is disabled.
+ represent higher priorities. - If the supplied value is
+ unspecified or 0, the service translates the value to
+ 500,000, which corresponds to the ``Normal`` priority in the
+ console. - If the supplied value is negative, the intent is
+ ignored in runtime detect intent requests.
is_fallback:
Optional. Indicates whether this is a fallback intent.
ml_disabled:
Optional. Indicates whether Machine Learning is disabled for
- the intent. Note: If ``ml_diabled`` setting is set to true,
+ the intent. Note: If ``ml_disabled`` setting is set to true,
then this intent is not taken into account during inference in
``ML ONLY`` match mode. Also, auto-markup in the UI is turned
off.
@@ -3837,7 +5031,8 @@
Optional. The collection of event names that trigger the
intent. If the collection of input contexts is not empty, all
of the contexts must be present in the active user session for
- an event to trigger this intent.
+ an event to trigger this intent. Event names are limited to
+ 150 characters.
training_phrases:
Optional. The collection of examples that the agent is trained
on.
@@ -3873,11 +5068,12 @@
parent_followup_intent_name:
Read-only after creation. The unique identifier of the parent
intent in the chain of followup intents. You can set this
- field when creating an intent, for example with
- [CreateIntent][] or [BatchUpdateIntents][], in order to make
- this intent a followup intent. It identifies the parent
- followup intent. Format: ``projects//agent/intents/``.
+ field when creating an intent, for example with [CreateIntent]
+ [google.cloud.dialogflow.v2.Intents.CreateIntent] or [BatchUpd
+ ateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateInte
+ nts], in order to make this intent a followup intent. It
+ identifies the parent followup intent. Format:
+ ``projects//agent/intents/``.
followup_intent_info:
Read-only. Information about all followup intents that have
this intent as a direct or indirect parent. We populate this
@@ -3909,6 +5105,17 @@
_sym_db.RegisterMessage(Intent.Message.CarouselSelect)
_sym_db.RegisterMessage(Intent.Message.CarouselSelect.Item)
_sym_db.RegisterMessage(Intent.Message.SelectItemInfo)
+_sym_db.RegisterMessage(Intent.Message.MediaContent)
+_sym_db.RegisterMessage(Intent.Message.MediaContent.ResponseMediaObject)
+_sym_db.RegisterMessage(Intent.Message.BrowseCarouselCard)
+_sym_db.RegisterMessage(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem)
+_sym_db.RegisterMessage(
+ Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
+)
+_sym_db.RegisterMessage(Intent.Message.TableCard)
+_sym_db.RegisterMessage(Intent.Message.ColumnProperties)
+_sym_db.RegisterMessage(Intent.Message.TableCardRow)
+_sym_db.RegisterMessage(Intent.Message.TableCardCell)
_sym_db.RegisterMessage(Intent.FollowupIntentInfo)
ListIntentsRequest = _reflection.GeneratedProtocolMessageType(
@@ -4223,6 +5430,7 @@
_INTENT_MESSAGE_LISTSELECT_ITEM.fields_by_name["image"]._options = None
_INTENT_MESSAGE_LISTSELECT.fields_by_name["title"]._options = None
_INTENT_MESSAGE_LISTSELECT.fields_by_name["items"]._options = None
+_INTENT_MESSAGE_LISTSELECT.fields_by_name["subtitle"]._options = None
_INTENT_MESSAGE_CAROUSELSELECT_ITEM.fields_by_name["info"]._options = None
_INTENT_MESSAGE_CAROUSELSELECT_ITEM.fields_by_name["title"]._options = None
_INTENT_MESSAGE_CAROUSELSELECT_ITEM.fields_by_name["description"]._options = None
@@ -4230,6 +5438,37 @@
_INTENT_MESSAGE_CAROUSELSELECT.fields_by_name["items"]._options = None
_INTENT_MESSAGE_SELECTITEMINFO.fields_by_name["key"]._options = None
_INTENT_MESSAGE_SELECTITEMINFO.fields_by_name["synonyms"]._options = None
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.fields_by_name[
+ "description"
+]._options = None
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.fields_by_name[
+ "large_image"
+]._options = None
+_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT.fields_by_name["icon"]._options = None
+_INTENT_MESSAGE_MEDIACONTENT.fields_by_name["media_type"]._options = None
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION.fields_by_name[
+ "url_type_hint"
+]._options = None
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM.fields_by_name[
+ "description"
+]._options = None
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM.fields_by_name[
+ "image"
+]._options = None
+_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM.fields_by_name[
+ "footer"
+]._options = None
+_INTENT_MESSAGE_BROWSECAROUSELCARD.fields_by_name[
+ "image_display_options"
+]._options = None
+_INTENT_MESSAGE_TABLECARD.fields_by_name["subtitle"]._options = None
+_INTENT_MESSAGE_TABLECARD.fields_by_name["image"]._options = None
+_INTENT_MESSAGE_TABLECARD.fields_by_name["column_properties"]._options = None
+_INTENT_MESSAGE_TABLECARD.fields_by_name["rows"]._options = None
+_INTENT_MESSAGE_TABLECARD.fields_by_name["buttons"]._options = None
+_INTENT_MESSAGE_COLUMNPROPERTIES.fields_by_name["horizontal_alignment"]._options = None
+_INTENT_MESSAGE_TABLECARDROW.fields_by_name["cells"]._options = None
+_INTENT_MESSAGE_TABLECARDROW.fields_by_name["divider_after"]._options = None
_INTENT_MESSAGE.fields_by_name["platform"]._options = None
_INTENT.fields_by_name["display_name"]._options = None
_INTENT.fields_by_name["webhook_state"]._options = None
@@ -4278,8 +5517,8 @@
serialized_options=_b(
"\312A\031dialogflow.googleapis.com\322AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
),
- serialized_start=6830,
- serialized_end=8385,
+ serialized_start=9317,
+ serialized_end=10872,
methods=[
_descriptor.MethodDescriptor(
name="ListIntents",
diff --git a/dialogflow_v2/proto/session_entity_type_pb2.py b/dialogflow_v2/proto/session_entity_type_pb2.py
index c94894c28..9fdf48c69 100644
--- a/dialogflow_v2/proto/session_entity_type_pb2.py
+++ b/dialogflow_v2/proto/session_entity_type_pb2.py
@@ -34,7 +34,7 @@
"\n\036com.google.cloud.dialogflow.v2B\026SessionEntityTypeProtoP\001ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2"
),
serialized_pb=_b(
- '\n:google/cloud/dialogflow_v2/proto/session_entity_type.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/dialogflow_v2/proto/entity_type.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\xcb\x03\n\x11SessionEntityType\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x63\n\x14\x65ntity_override_mode\x18\x02 \x01(\x0e\x32@.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideModeB\x03\xe0\x41\x02\x12\x44\n\x08\x65ntities\x18\x03 \x03(\x0b\x32-.google.cloud.dialogflow.v2.EntityType.EntityB\x03\xe0\x41\x02"\x82\x01\n\x12\x45ntityOverrideMode\x12$\n ENTITY_OVERRIDE_MODE_UNSPECIFIED\x10\x00\x12!\n\x1d\x45NTITY_OVERRIDE_MODE_OVERRIDE\x10\x01\x12#\n\x1f\x45NTITY_OVERRIDE_MODE_SUPPLEMENT\x10\x02:s\xea\x41p\n\'pubsub.googleapis.com/SessionEntityType\x12\x45projects/{project}/agent/sessions/{session}/entityTypes/{entity_type}"e\n\x1dListSessionEntityTypesRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01"\x86\x01\n\x1eListSessionEntityTypesResponse\x12K\n\x14session_entity_types\x18\x01 \x03(\x0b\x32-.google.cloud.dialogflow.v2.SessionEntityType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"`\n\x1bGetSessionEntityTypeRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+dialogflow.googleapis.com/SessionEntityType"\x86\x01\n\x1e\x43reateSessionEntityTypeRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\x13session_entity_type\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SessionEntityTypeB\x03\xe0\x41\x02"\xa7\x01\n\x1eUpdateSessionEntityTypeRequest\x12O\n\x13session_entity_type\x18\x01 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SessionEntityTypeB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01"Y\n\x1e\x44\x65leteSessionEntityTypeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Context2\xd6\t\n\x12SessionEntityTypes\x12\xd6\x01\n\x16ListSessionEntityTypes\x12\x39.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest\x1a:.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse"E\x82\xd3\xe4\x93\x02\x36\x12\x34/v2/{parent=projects/*/agent/sessions/*}/entityTypes\xda\x41\x06parent\x12\xbc\x01\n\x14GetSessionEntityType\x12\x37.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest\x1a-.google.cloud.dialogflow.v2.SessionEntityType"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v2/{name=projects/*/agent/sessions/*/entityTypes/*}\x12\xf4\x01\n\x17\x43reateSessionEntityType\x12:.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest\x1a-.google.cloud.dialogflow.v2.SessionEntityType"n\x82\xd3\xe4\x93\x02K"4/v2/{parent=projects/*/agent/sessions/*}/entityTypes:\x13session_entity_type\xda\x41\x1aparent,session_entity_type\x12\x81\x02\n\x17UpdateSessionEntityType\x12:.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest\x1a-.google.cloud.dialogflow.v2.SessionEntityType"{\x82\xd3\xe4\x93\x02_2H/v2/{session_entity_type.name=projects/*/agent/sessions/*/entityTypes/*}:\x13session_entity_type\xda\x41\x13session_entity_type\x12\xb2\x01\n\x17\x44\x65leteSessionEntityType\x12:.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest\x1a\x16.google.protobuf.Empty"C\x82\xd3\xe4\x93\x02\x36*4/v2/{name=projects/*/agent/sessions/*/entityTypes/*}\xda\x41\x04name\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xa5\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x16SessionEntityTypeProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
+ '\n:google/cloud/dialogflow_v2/proto/session_entity_type.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/dialogflow_v2/proto/entity_type.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto"\xcf\x03\n\x11SessionEntityType\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x63\n\x14\x65ntity_override_mode\x18\x02 \x01(\x0e\x32@.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideModeB\x03\xe0\x41\x02\x12\x44\n\x08\x65ntities\x18\x03 \x03(\x0b\x32-.google.cloud.dialogflow.v2.EntityType.EntityB\x03\xe0\x41\x02"\x82\x01\n\x12\x45ntityOverrideMode\x12$\n ENTITY_OVERRIDE_MODE_UNSPECIFIED\x10\x00\x12!\n\x1d\x45NTITY_OVERRIDE_MODE_OVERRIDE\x10\x01\x12#\n\x1f\x45NTITY_OVERRIDE_MODE_SUPPLEMENT\x10\x02:w\xea\x41t\n+dialogflow.googleapis.com/SessionEntityType\x12\x45projects/{project}/agent/sessions/{session}/entityTypes/{entity_type}"e\n\x1dListSessionEntityTypesRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01"\x86\x01\n\x1eListSessionEntityTypesResponse\x12K\n\x14session_entity_types\x18\x01 \x03(\x0b\x32-.google.cloud.dialogflow.v2.SessionEntityType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"`\n\x1bGetSessionEntityTypeRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+dialogflow.googleapis.com/SessionEntityType"\x86\x01\n\x1e\x43reateSessionEntityTypeRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\x13session_entity_type\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SessionEntityTypeB\x03\xe0\x41\x02"\xa7\x01\n\x1eUpdateSessionEntityTypeRequest\x12O\n\x13session_entity_type\x18\x01 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SessionEntityTypeB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01"Y\n\x1e\x44\x65leteSessionEntityTypeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Context2\xbc\r\n\x12SessionEntityTypes\x12\xa7\x02\n\x16ListSessionEntityTypes\x12\x39.google.cloud.dialogflow.v2.ListSessionEntityTypesRequest\x1a:.google.cloud.dialogflow.v2.ListSessionEntityTypesResponse"\x95\x01\x82\xd3\xe4\x93\x02\x85\x01\x12\x34/v2/{parent=projects/*/agent/sessions/*}/entityTypesZM\x12K/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/entityTypes\xda\x41\x06parent\x12\x94\x02\n\x14GetSessionEntityType\x12\x37.google.cloud.dialogflow.v2.GetSessionEntityTypeRequest\x1a-.google.cloud.dialogflow.v2.SessionEntityType"\x93\x01\x82\xd3\xe4\x93\x02\x85\x01\x12\x34/v2/{name=projects/*/agent/sessions/*/entityTypes/*}ZM\x12K/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}\xda\x41\x04name\x12\xda\x02\n\x17\x43reateSessionEntityType\x12:.google.cloud.dialogflow.v2.CreateSessionEntityTypeRequest\x1a-.google.cloud.dialogflow.v2.SessionEntityType"\xd3\x01\x82\xd3\xe4\x93\x02\xaf\x01"4/v2/{parent=projects/*/agent/sessions/*}/entityTypes:\x13session_entity_typeZb"K/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/entityTypes:\x13session_entity_type\xda\x41\x1aparent,session_entity_type\x12\x87\x03\n\x17UpdateSessionEntityType\x12:.google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest\x1a-.google.cloud.dialogflow.v2.SessionEntityType"\x80\x02\x82\xd3\xe4\x93\x02\xd7\x01\x32H/v2/{session_entity_type.name=projects/*/agent/sessions/*/entityTypes/*}:\x13session_entity_typeZv2_/v2/{session_entity_type.name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}:\x13session_entity_type\xda\x41\x1fsession_entity_type,update_mask\x12\x83\x02\n\x17\x44\x65leteSessionEntityType\x12:.google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest\x1a\x16.google.protobuf.Empty"\x93\x01\x82\xd3\xe4\x93\x02\x85\x01*4/v2/{name=projects/*/agent/sessions/*/entityTypes/*}ZM*K/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}\xda\x41\x04name\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xa5\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x16SessionEntityTypeProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
),
dependencies=[
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
@@ -150,14 +150,14 @@
nested_types=[],
enum_types=[_SESSIONENTITYTYPE_ENTITYOVERRIDEMODE],
serialized_options=_b(
- "\352Ap\n'pubsub.googleapis.com/SessionEntityType\022Eprojects/{project}/agent/sessions/{session}/entityTypes/{entity_type}"
+ "\352At\n+dialogflow.googleapis.com/SessionEntityType\022Eprojects/{project}/agent/sessions/{session}/entityTypes/{entity_type}"
),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=321,
- serialized_end=780,
+ serialized_end=784,
)
@@ -231,8 +231,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=782,
- serialized_end=883,
+ serialized_start=786,
+ serialized_end=887,
)
@@ -288,8 +288,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=886,
- serialized_end=1020,
+ serialized_start=890,
+ serialized_end=1024,
)
@@ -329,8 +329,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1022,
- serialized_end=1118,
+ serialized_start=1026,
+ serialized_end=1122,
)
@@ -386,8 +386,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1121,
- serialized_end=1255,
+ serialized_start=1125,
+ serialized_end=1259,
)
@@ -443,8 +443,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1258,
- serialized_end=1425,
+ serialized_start=1262,
+ serialized_end=1429,
)
@@ -484,8 +484,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1427,
- serialized_end=1516,
+ serialized_start=1431,
+ serialized_end=1520,
)
_SESSIONENTITYTYPE.fields_by_name[
@@ -538,9 +538,9 @@
__module__="google.cloud.dialogflow_v2.proto.session_entity_type_pb2",
__doc__="""Represents a session entity type.
- Extends or replaces a developer entity type at the user session level
- (we refer to the entity types defined at the agent level as "developer
- entity types").
+ Extends or replaces a custom entity type at the user session level (we
+ refer to the entity types defined at the agent level as "custom entity
+ types").
Note: session entity types apply to all queries, regardless of the
language.
@@ -550,13 +550,17 @@
name:
Required. The unique identifier of this session entity type.
Format: ``projects//agent/sessions//entityTypes/``. ```` must be the display name of an existing entity
- type in the same agent that will be overridden or
- supplemented.
+ ID>/entityTypes/``, or
+ ``projects//agent/environments//users//sessions//entityTypes/``. If ``Environment ID`` is not specified,
+ we assume default 'draft' environment. If ``User ID`` is not
+ specified, we assume default '-' user. ```` must be the display name of an existing entity type in
+ the same agent that will be overridden or supplemented.
entity_override_mode:
Required. Indicates whether the additional data should
- override or supplement the developer entity type definition.
+ override or supplement the custom entity type definition.
entities:
Required. The collection of entities associated with this
session entity type.
@@ -579,7 +583,11 @@
Attributes:
parent:
Required. The session to list all session entity types from.
- Format: ``projects//agent/sessions/``.
+ Format: ``projects//agent/sessions/``
+ or ``projects//agent/environments//users// sessions/``. If ``Environment
+ ID`` is not specified, we assume default 'draft' environment.
+ If ``User ID`` is not specified, we assume default '-' user.
page_size:
Optional. The maximum number of items to return in a single
page. By default 100 and at most 1000.
@@ -630,7 +638,12 @@
name:
Required. The name of the session entity type. Format:
``projects//agent/sessions//entityTypes/``.
+ ID>/entityTypes/`` or
+ ``projects//agent/environments//users//sessions//entityTypes/``. If ``Environment ID`` is not specified,
+ we assume default 'draft' environment. If ``User ID`` is not
+ specified, we assume default '-' user.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.GetSessionEntityTypeRequest)
),
@@ -650,7 +663,11 @@
Attributes:
parent:
Required. The session to create a session entity type for.
- Format: ``projects//agent/sessions/``.
+ Format: ``projects//agent/sessions/``
+ or ``projects//agent/environments//users// sessions/``. If ``Environment
+ ID`` is not specified, we assume default 'draft' environment.
+ If ``User ID`` is not specified, we assume default '-' user.
session_entity_type:
Required. The session entity type to create.
""",
@@ -671,9 +688,7 @@
Attributes:
session_entity_type:
- Required. The entity type to update. Format:
- ``projects//agent/sessions//entityTypes/``.
+ Required. The session entity type to update.
update_mask:
Optional. The mask to control which fields get updated.
""",
@@ -696,7 +711,12 @@
name:
Required. The name of the entity type to delete. Format:
``projects//agent/sessions//entityTypes/``.
+ ID>/entityTypes/`` or
+ ``projects//agent/environments//users//sessions//entityTypes/``. If ``Environment ID`` is not specified,
+ we assume default 'draft' environment. If ``User ID`` is not
+ specified, we assume default '-' user.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.DeleteSessionEntityTypeRequest)
),
@@ -727,8 +747,8 @@
serialized_options=_b(
"\312A\031dialogflow.googleapis.com\322AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
),
- serialized_start=1519,
- serialized_end=2757,
+ serialized_start=1523,
+ serialized_end=3247,
methods=[
_descriptor.MethodDescriptor(
name="ListSessionEntityTypes",
@@ -738,7 +758,7 @@
input_type=_LISTSESSIONENTITYTYPESREQUEST,
output_type=_LISTSESSIONENTITYTYPESRESPONSE,
serialized_options=_b(
- "\202\323\344\223\0026\0224/v2/{parent=projects/*/agent/sessions/*}/entityTypes\332A\006parent"
+ "\202\323\344\223\002\205\001\0224/v2/{parent=projects/*/agent/sessions/*}/entityTypesZM\022K/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/entityTypes\332A\006parent"
),
),
_descriptor.MethodDescriptor(
@@ -749,7 +769,7 @@
input_type=_GETSESSIONENTITYTYPEREQUEST,
output_type=_SESSIONENTITYTYPE,
serialized_options=_b(
- "\202\323\344\223\0026\0224/v2/{name=projects/*/agent/sessions/*/entityTypes/*}"
+ "\202\323\344\223\002\205\001\0224/v2/{name=projects/*/agent/sessions/*/entityTypes/*}ZM\022K/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}\332A\004name"
),
),
_descriptor.MethodDescriptor(
@@ -760,7 +780,7 @@
input_type=_CREATESESSIONENTITYTYPEREQUEST,
output_type=_SESSIONENTITYTYPE,
serialized_options=_b(
- '\202\323\344\223\002K"4/v2/{parent=projects/*/agent/sessions/*}/entityTypes:\023session_entity_type\332A\032parent,session_entity_type'
+ '\202\323\344\223\002\257\001"4/v2/{parent=projects/*/agent/sessions/*}/entityTypes:\023session_entity_typeZb"K/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/entityTypes:\023session_entity_type\332A\032parent,session_entity_type'
),
),
_descriptor.MethodDescriptor(
@@ -771,7 +791,7 @@
input_type=_UPDATESESSIONENTITYTYPEREQUEST,
output_type=_SESSIONENTITYTYPE,
serialized_options=_b(
- "\202\323\344\223\002_2H/v2/{session_entity_type.name=projects/*/agent/sessions/*/entityTypes/*}:\023session_entity_type\332A\023session_entity_type"
+ "\202\323\344\223\002\327\0012H/v2/{session_entity_type.name=projects/*/agent/sessions/*/entityTypes/*}:\023session_entity_typeZv2_/v2/{session_entity_type.name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}:\023session_entity_type\332A\037session_entity_type,update_mask"
),
),
_descriptor.MethodDescriptor(
@@ -782,7 +802,7 @@
input_type=_DELETESESSIONENTITYTYPEREQUEST,
output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
serialized_options=_b(
- "\202\323\344\223\0026*4/v2/{name=projects/*/agent/sessions/*/entityTypes/*}\332A\004name"
+ "\202\323\344\223\002\205\001*4/v2/{name=projects/*/agent/sessions/*/entityTypes/*}ZM*K/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}\332A\004name"
),
),
],
diff --git a/dialogflow_v2/proto/session_pb2.py b/dialogflow_v2/proto/session_pb2.py
index 51255e7ae..ae703d050 100644
--- a/dialogflow_v2/proto/session_pb2.py
+++ b/dialogflow_v2/proto/session_pb2.py
@@ -19,6 +19,7 @@
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import client_pb2 as google_dot_api_dot_client__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
+from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
from dialogflow_v2.proto import (
audio_config_pb2 as google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_audio__config__pb2,
)
@@ -32,6 +33,7 @@
session_entity_type_pb2 as google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_session__entity__type__pb2,
)
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
+from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
from google.type import latlng_pb2 as google_dot_type_dot_latlng__pb2
@@ -42,20 +44,22 @@
package="google.cloud.dialogflow.v2",
syntax="proto3",
serialized_options=_b(
- "\n\036com.google.cloud.dialogflow.v2B\014SessionProtoP\001ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2"
+ "\n\036com.google.cloud.dialogflow.v2B\014SessionProtoP\001ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2\352A\222\001\n!dialogflow.googleapis.com/Session\022@projects/{project}/locations/{location}/agent/sessions/{session}\022+projects/{project}/agent/sessions/{session}"
),
serialized_pb=_b(
- '\n.google/cloud/dialogflow_v2/proto/session.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x33google/cloud/dialogflow_v2/proto/audio_config.proto\x1a.google/cloud/dialogflow_v2/proto/context.proto\x1a-google/cloud/dialogflow_v2/proto/intent.proto\x1a:google/cloud/dialogflow_v2/proto/session_entity_type.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/rpc/status.proto\x1a\x18google/type/latlng.proto"\xa0\x02\n\x13\x44\x65tectIntentRequest\x12\x14\n\x07session\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x0cquery_params\x18\x02 \x01(\x0b\x32+.google.cloud.dialogflow.v2.QueryParametersB\x03\xe0\x41\x01\x12@\n\x0bquery_input\x18\x03 \x01(\x0b\x32&.google.cloud.dialogflow.v2.QueryInputB\x03\xe0\x41\x02\x12O\n\x13output_audio_config\x18\x04 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfigB\x03\xe0\x41\x01\x12\x18\n\x0binput_audio\x18\x05 \x01(\x0c\x42\x03\xe0\x41\x01"\xf8\x01\n\x14\x44\x65tectIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12=\n\x0cquery_result\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.QueryResult\x12*\n\x0ewebhook_status\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12\x14\n\x0coutput_audio\x18\x04 \x01(\x0c\x12J\n\x13output_audio_config\x18\x06 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig"\x9f\x03\n\x0fQueryParameters\x12\x16\n\ttime_zone\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12.\n\x0cgeo_location\x18\x02 \x01(\x0b\x32\x13.google.type.LatLngB\x03\xe0\x41\x01\x12:\n\x08\x63ontexts\x18\x03 \x03(\x0b\x32#.google.cloud.dialogflow.v2.ContextB\x03\xe0\x41\x01\x12\x1b\n\x0ereset_contexts\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12P\n\x14session_entity_types\x18\x05 \x03(\x0b\x32-.google.cloud.dialogflow.v2.SessionEntityTypeB\x03\xe0\x41\x01\x12-\n\x07payload\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12j\n!sentiment_analysis_request_config\x18\n \x01(\x0b\x32:.google.cloud.dialogflow.v2.SentimentAnalysisRequestConfigB\x03\xe0\x41\x01"\xcb\x01\n\nQueryInput\x12\x44\n\x0c\x61udio_config\x18\x01 \x01(\x0b\x32,.google.cloud.dialogflow.v2.InputAudioConfigH\x00\x12\x35\n\x04text\x18\x02 \x01(\x0b\x32%.google.cloud.dialogflow.v2.TextInputH\x00\x12\x37\n\x05\x65vent\x18\x03 \x01(\x0b\x32&.google.cloud.dialogflow.v2.EventInputH\x00\x42\x07\n\x05input"\x90\x05\n\x0bQueryResult\x12\x12\n\nquery_text\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x0f \x01(\t\x12%\n\x1dspeech_recognition_confidence\x18\x02 \x01(\x02\x12\x0e\n\x06\x61\x63tion\x18\x03 \x01(\t\x12+\n\nparameters\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12#\n\x1b\x61ll_required_params_present\x18\x05 \x01(\x08\x12\x18\n\x10\x66ulfillment_text\x18\x06 \x01(\t\x12H\n\x14\x66ulfillment_messages\x18\x07 \x03(\x0b\x32*.google.cloud.dialogflow.v2.Intent.Message\x12\x16\n\x0ewebhook_source\x18\x08 \x01(\t\x12\x30\n\x0fwebhook_payload\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12<\n\x0foutput_contexts\x18\n \x03(\x0b\x32#.google.cloud.dialogflow.v2.Context\x12\x32\n\x06intent\x18\x0b \x01(\x0b\x32".google.cloud.dialogflow.v2.Intent\x12#\n\x1bintent_detection_confidence\x18\x0c \x01(\x02\x12\x30\n\x0f\x64iagnostic_info\x18\x0e \x01(\x0b\x32\x17.google.protobuf.Struct\x12V\n\x19sentiment_analysis_result\x18\x11 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.SentimentAnalysisResult"\xca\x02\n\x1cStreamingDetectIntentRequest\x12\x14\n\x07session\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x0cquery_params\x18\x02 \x01(\x0b\x32+.google.cloud.dialogflow.v2.QueryParametersB\x03\xe0\x41\x01\x12@\n\x0bquery_input\x18\x03 \x01(\x0b\x32&.google.cloud.dialogflow.v2.QueryInputB\x03\xe0\x41\x02\x12\x1f\n\x10single_utterance\x18\x04 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12O\n\x13output_audio_config\x18\x05 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfigB\x03\xe0\x41\x01\x12\x18\n\x0binput_audio\x18\x06 \x01(\x0c\x42\x03\xe0\x41\x01"\xd5\x02\n\x1dStreamingDetectIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12R\n\x12recognition_result\x18\x02 \x01(\x0b\x32\x36.google.cloud.dialogflow.v2.StreamingRecognitionResult\x12=\n\x0cquery_result\x18\x03 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.QueryResult\x12*\n\x0ewebhook_status\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\x12\x14\n\x0coutput_audio\x18\x05 \x01(\x0c\x12J\n\x13output_audio_config\x18\x06 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig"\x8a\x02\n\x1aStreamingRecognitionResult\x12X\n\x0cmessage_type\x18\x01 \x01(\x0e\x32\x42.google.cloud.dialogflow.v2.StreamingRecognitionResult.MessageType\x12\x12\n\ntranscript\x18\x02 \x01(\t\x12\x10\n\x08is_final\x18\x03 \x01(\x08\x12\x12\n\nconfidence\x18\x04 \x01(\x02"X\n\x0bMessageType\x12\x1c\n\x18MESSAGE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nTRANSCRIPT\x10\x01\x12\x1b\n\x17\x45ND_OF_SINGLE_UTTERANCE\x10\x02":\n\tTextInput\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x02"m\n\nEventInput\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\nparameters\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x02"K\n\x1eSentimentAnalysisRequestConfig\x12)\n\x1c\x61nalyze_query_text_sentiment\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01"^\n\x17SentimentAnalysisResult\x12\x43\n\x14query_text_sentiment\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.v2.Sentiment"-\n\tSentiment\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x11\n\tmagnitude\x18\x02 \x01(\x02\x32\xe6\x03\n\x08Sessions\x12\xca\x01\n\x0c\x44\x65tectIntent\x12/.google.cloud.dialogflow.v2.DetectIntentRequest\x1a\x30.google.cloud.dialogflow.v2.DetectIntentResponse"W\x82\xd3\xe4\x93\x02;"6/v2/{session=projects/*/agent/sessions/*}:detectIntent:\x01*\xda\x41\x13session,query_input\x12\x92\x01\n\x15StreamingDetectIntent\x12\x38.google.cloud.dialogflow.v2.StreamingDetectIntentRequest\x1a\x39.google.cloud.dialogflow.v2.StreamingDetectIntentResponse"\x00(\x01\x30\x01\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x9b\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0cSessionProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
+ '\n.google/cloud/dialogflow_v2/proto/session.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/dialogflow_v2/proto/audio_config.proto\x1a.google/cloud/dialogflow_v2/proto/context.proto\x1a-google/cloud/dialogflow_v2/proto/intent.proto\x1a:google/cloud/dialogflow_v2/proto/session_entity_type.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/rpc/status.proto\x1a\x18google/type/latlng.proto"\xf5\x02\n\x13\x44\x65tectIntentRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x41\n\x0cquery_params\x18\x02 \x01(\x0b\x32+.google.cloud.dialogflow.v2.QueryParameters\x12@\n\x0bquery_input\x18\x03 \x01(\x0b\x32&.google.cloud.dialogflow.v2.QueryInputB\x03\xe0\x41\x02\x12J\n\x13output_audio_config\x18\x04 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig\x12<\n\x18output_audio_config_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x13\n\x0binput_audio\x18\x05 \x01(\x0c"\xf8\x01\n\x14\x44\x65tectIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12=\n\x0cquery_result\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.QueryResult\x12*\n\x0ewebhook_status\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12\x14\n\x0coutput_audio\x18\x04 \x01(\x0c\x12J\n\x13output_audio_config\x18\x06 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig"\xfc\x02\n\x0fQueryParameters\x12\x11\n\ttime_zone\x18\x01 \x01(\t\x12)\n\x0cgeo_location\x18\x02 \x01(\x0b\x32\x13.google.type.LatLng\x12\x35\n\x08\x63ontexts\x18\x03 \x03(\x0b\x32#.google.cloud.dialogflow.v2.Context\x12\x16\n\x0ereset_contexts\x18\x04 \x01(\x08\x12K\n\x14session_entity_types\x18\x05 \x03(\x0b\x32-.google.cloud.dialogflow.v2.SessionEntityType\x12(\n\x07payload\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x65\n!sentiment_analysis_request_config\x18\n \x01(\x0b\x32:.google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig"\xcb\x01\n\nQueryInput\x12\x44\n\x0c\x61udio_config\x18\x01 \x01(\x0b\x32,.google.cloud.dialogflow.v2.InputAudioConfigH\x00\x12\x35\n\x04text\x18\x02 \x01(\x0b\x32%.google.cloud.dialogflow.v2.TextInputH\x00\x12\x37\n\x05\x65vent\x18\x03 \x01(\x0b\x32&.google.cloud.dialogflow.v2.EventInputH\x00\x42\x07\n\x05input"\x90\x05\n\x0bQueryResult\x12\x12\n\nquery_text\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x0f \x01(\t\x12%\n\x1dspeech_recognition_confidence\x18\x02 \x01(\x02\x12\x0e\n\x06\x61\x63tion\x18\x03 \x01(\t\x12+\n\nparameters\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12#\n\x1b\x61ll_required_params_present\x18\x05 \x01(\x08\x12\x18\n\x10\x66ulfillment_text\x18\x06 \x01(\t\x12H\n\x14\x66ulfillment_messages\x18\x07 \x03(\x0b\x32*.google.cloud.dialogflow.v2.Intent.Message\x12\x16\n\x0ewebhook_source\x18\x08 \x01(\t\x12\x30\n\x0fwebhook_payload\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12<\n\x0foutput_contexts\x18\n \x03(\x0b\x32#.google.cloud.dialogflow.v2.Context\x12\x32\n\x06intent\x18\x0b \x01(\x0b\x32".google.cloud.dialogflow.v2.Intent\x12#\n\x1bintent_detection_confidence\x18\x0c \x01(\x02\x12\x30\n\x0f\x64iagnostic_info\x18\x0e \x01(\x0b\x32\x17.google.protobuf.Struct\x12V\n\x19sentiment_analysis_result\x18\x11 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.SentimentAnalysisResult"\x9c\x03\n\x1cStreamingDetectIntentRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x41\n\x0cquery_params\x18\x02 \x01(\x0b\x32+.google.cloud.dialogflow.v2.QueryParameters\x12@\n\x0bquery_input\x18\x03 \x01(\x0b\x32&.google.cloud.dialogflow.v2.QueryInputB\x03\xe0\x41\x02\x12\x1c\n\x10single_utterance\x18\x04 \x01(\x08\x42\x02\x18\x01\x12J\n\x13output_audio_config\x18\x05 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig\x12<\n\x18output_audio_config_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x13\n\x0binput_audio\x18\x06 \x01(\x0c"\xd5\x02\n\x1dStreamingDetectIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12R\n\x12recognition_result\x18\x02 \x01(\x0b\x32\x36.google.cloud.dialogflow.v2.StreamingRecognitionResult\x12=\n\x0cquery_result\x18\x03 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.QueryResult\x12*\n\x0ewebhook_status\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\x12\x14\n\x0coutput_audio\x18\x05 \x01(\x0c\x12J\n\x13output_audio_config\x18\x06 \x01(\x0b\x32-.google.cloud.dialogflow.v2.OutputAudioConfig"\x86\x03\n\x1aStreamingRecognitionResult\x12X\n\x0cmessage_type\x18\x01 \x01(\x0e\x32\x42.google.cloud.dialogflow.v2.StreamingRecognitionResult.MessageType\x12\x12\n\ntranscript\x18\x02 \x01(\t\x12\x10\n\x08is_final\x18\x03 \x01(\x08\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12\x44\n\x10speech_word_info\x18\x07 \x03(\x0b\x32*.google.cloud.dialogflow.v2.SpeechWordInfo\x12\x34\n\x11speech_end_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration"X\n\x0bMessageType\x12\x1c\n\x18MESSAGE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nTRANSCRIPT\x10\x01\x12\x1b\n\x17\x45ND_OF_SINGLE_UTTERANCE\x10\x02":\n\tTextInput\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x02"h\n\nEventInput\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12+\n\nparameters\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x02"F\n\x1eSentimentAnalysisRequestConfig\x12$\n\x1c\x61nalyze_query_text_sentiment\x18\x01 \x01(\x08"^\n\x17SentimentAnalysisResult\x12\x43\n\x14query_text_sentiment\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.v2.Sentiment"-\n\tSentiment\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x11\n\tmagnitude\x18\x02 \x01(\x02\x32\xbc\x04\n\x08Sessions\x12\xa0\x02\n\x0c\x44\x65tectIntent\x12/.google.cloud.dialogflow.v2.DetectIntentRequest\x1a\x30.google.cloud.dialogflow.v2.DetectIntentResponse"\xac\x01\x82\xd3\xe4\x93\x02\x8f\x01"6/v2/{session=projects/*/agent/sessions/*}:detectIntent:\x01*ZR"M/v2/{session=projects/*/agent/environments/*/users/*/sessions/*}:detectIntent:\x01*\xda\x41\x13session,query_input\x12\x92\x01\n\x15StreamingDetectIntent\x12\x38.google.cloud.dialogflow.v2.StreamingDetectIntentRequest\x1a\x39.google.cloud.dialogflow.v2.StreamingDetectIntentResponse"\x00(\x01\x30\x01\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb1\x02\n\x1e\x63om.google.cloud.dialogflow.v2B\x0cSessionProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2\xea\x41\x92\x01\n!dialogflow.googleapis.com/Session\x12@projects/{project}/locations/{location}/agent/sessions/{session}\x12+projects/{project}/agent/sessions/{session}b\x06proto3'
),
dependencies=[
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
google_dot_api_dot_client__pb2.DESCRIPTOR,
google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,
+ google_dot_api_dot_resource__pb2.DESCRIPTOR,
google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_audio__config__pb2.DESCRIPTOR,
google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_context__pb2.DESCRIPTOR,
google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_intent__pb2.DESCRIPTOR,
google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_session__entity__type__pb2.DESCRIPTOR,
google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,
+ google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,
google_dot_rpc_dot_status__pb2.DESCRIPTOR,
google_dot_type_dot_latlng__pb2.DESCRIPTOR,
@@ -89,8 +93,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=3168,
- serialized_end=3256,
+ serialized_start=3485,
+ serialized_end=3573,
)
_sym_db.RegisterEnumDescriptor(_STREAMINGRECOGNITIONRESULT_MESSAGETYPE)
@@ -117,7 +121,9 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\002"),
+ serialized_options=_b(
+ "\340A\002\372A#\n!dialogflow.googleapis.com/Session"
+ ),
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -135,7 +141,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -171,13 +177,31 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="output_audio_config_mask",
+ full_name="google.cloud.dialogflow.v2.DetectIntentRequest.output_audio_config_mask",
+ index=4,
+ number=7,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="input_audio",
full_name="google.cloud.dialogflow.v2.DetectIntentRequest.input_audio",
- index=4,
+ index=5,
number=5,
type=12,
cpp_type=9,
@@ -189,7 +213,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
],
@@ -201,8 +225,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=488,
- serialized_end=776,
+ serialized_start=549,
+ serialized_end=922,
)
@@ -312,8 +336,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=779,
- serialized_end=1027,
+ serialized_start=925,
+ serialized_end=1173,
)
@@ -339,7 +363,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -357,7 +381,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -375,7 +399,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -393,7 +417,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -411,7 +435,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -429,7 +453,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -447,7 +471,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
],
@@ -459,8 +483,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1030,
- serialized_end=1445,
+ serialized_start=1176,
+ serialized_end=1556,
)
@@ -542,8 +566,8 @@
fields=[],
)
],
- serialized_start=1448,
- serialized_end=1651,
+ serialized_start=1559,
+ serialized_end=1762,
)
@@ -833,8 +857,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1654,
- serialized_end=2310,
+ serialized_start=1765,
+ serialized_end=2421,
)
@@ -860,7 +884,9 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\002"),
+ serialized_options=_b(
+ "\340A\002\372A#\n!dialogflow.googleapis.com/Session"
+ ),
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -878,7 +904,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -914,7 +940,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\030\001\340A\001"),
+ serialized_options=_b("\030\001"),
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -932,13 +958,31 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="output_audio_config_mask",
+ full_name="google.cloud.dialogflow.v2.StreamingDetectIntentRequest.output_audio_config_mask",
+ index=5,
+ number=7,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="input_audio",
full_name="google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio",
- index=5,
+ index=6,
number=6,
type=12,
cpp_type=9,
@@ -950,7 +994,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
],
@@ -962,8 +1006,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2313,
- serialized_end=2643,
+ serialized_start=2424,
+ serialized_end=2836,
)
@@ -1091,8 +1135,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2646,
- serialized_end=2987,
+ serialized_start=2839,
+ serialized_end=3180,
)
@@ -1175,6 +1219,42 @@
serialized_options=None,
file=DESCRIPTOR,
),
+ _descriptor.FieldDescriptor(
+ name="speech_word_info",
+ full_name="google.cloud.dialogflow.v2.StreamingRecognitionResult.speech_word_info",
+ index=4,
+ number=7,
+ type=11,
+ cpp_type=10,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="speech_end_offset",
+ full_name="google.cloud.dialogflow.v2.StreamingRecognitionResult.speech_end_offset",
+ index=5,
+ number=8,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
],
extensions=[],
nested_types=[],
@@ -1184,8 +1264,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2990,
- serialized_end=3256,
+ serialized_start=3183,
+ serialized_end=3573,
)
@@ -1241,8 +1321,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3258,
- serialized_end=3316,
+ serialized_start=3575,
+ serialized_end=3633,
)
@@ -1286,7 +1366,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -1316,8 +1396,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3318,
- serialized_end=3427,
+ serialized_start=3635,
+ serialized_end=3739,
)
@@ -1343,7 +1423,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=_b("\340A\001"),
+ serialized_options=None,
file=DESCRIPTOR,
)
],
@@ -1355,8 +1435,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3429,
- serialized_end=3504,
+ serialized_start=3741,
+ serialized_end=3811,
)
@@ -1394,8 +1474,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3506,
- serialized_end=3600,
+ serialized_start=3813,
+ serialized_end=3907,
)
@@ -1451,8 +1531,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3602,
- serialized_end=3647,
+ serialized_start=3909,
+ serialized_end=3954,
)
_DETECTINTENTREQUEST.fields_by_name["query_params"].message_type = _QUERYPARAMETERS
@@ -1462,6 +1542,9 @@
].message_type = (
google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_audio__config__pb2._OUTPUTAUDIOCONFIG
)
+_DETECTINTENTREQUEST.fields_by_name[
+ "output_audio_config_mask"
+].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
_DETECTINTENTRESPONSE.fields_by_name["query_result"].message_type = _QUERYRESULT
_DETECTINTENTRESPONSE.fields_by_name[
"webhook_status"
@@ -1541,6 +1624,9 @@
].message_type = (
google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_audio__config__pb2._OUTPUTAUDIOCONFIG
)
+_STREAMINGDETECTINTENTREQUEST.fields_by_name[
+ "output_audio_config_mask"
+].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
_STREAMINGDETECTINTENTRESPONSE.fields_by_name[
"recognition_result"
].message_type = _STREAMINGRECOGNITIONRESULT
@@ -1558,6 +1644,14 @@
_STREAMINGRECOGNITIONRESULT.fields_by_name[
"message_type"
].enum_type = _STREAMINGRECOGNITIONRESULT_MESSAGETYPE
+_STREAMINGRECOGNITIONRESULT.fields_by_name[
+ "speech_word_info"
+].message_type = (
+ google_dot_cloud_dot_dialogflow__v2_dot_proto_dot_audio__config__pb2._SPEECHWORDINFO
+)
+_STREAMINGRECOGNITIONRESULT.fields_by_name[
+ "speech_end_offset"
+].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_STREAMINGRECOGNITIONRESULT_MESSAGETYPE.containing_type = _STREAMINGRECOGNITIONRESULT
_EVENTINPUT.fields_by_name[
"parameters"
@@ -1594,19 +1688,25 @@
dict(
DESCRIPTOR=_DETECTINTENTREQUEST,
__module__="google.cloud.dialogflow_v2.proto.session_pb2",
- __doc__="""The request to detect user's intent.
+ __doc__="""
+ Requests and responses for custom methods. The request to detect user's
+ intent.
Attributes:
session:
Required. The name of the session this query is sent to.
- Format: ``projects//agent/sessions/``.
- It's up to the API caller to choose an appropriate session ID.
- It can be a random number or some type of user identifier
- (preferably hashed). The length of the session ID must not
- exceed 36 bytes.
+ Format: ``projects//agent/sessions/``,
+ or ``projects//agent/environments//users//sessions/``. If ``Environment
+ ID`` is not specified, we assume default 'draft' environment.
+ If ``User ID`` is not specified, we are using "-". It's up to
+ the API caller to choose an appropriate ``Session ID`` and
+ ``User Id``. They can be a random number or some type of user
+ and session identifiers (preferably hashed). The length of the
+ ``Session ID`` and ``User ID`` must not exceed 36 characters.
query_params:
- Optional. The parameters of this query.
+ The parameters of this query.
query_input:
Required. The input specification. It can be set to: 1. an
audio config which instructs the speech recognizer how to
@@ -1614,14 +1714,22 @@
form of text, or 3. an event that specifies which intent to
trigger.
output_audio_config:
- Optional. Instructs the speech synthesizer how to generate the
- output audio. If this field is not set and agent-level speech
+ Instructs the speech synthesizer how to generate the output
+ audio. If this field is not set and agent-level speech
synthesizer is not configured, no output audio is generated.
+ output_audio_config_mask:
+ Mask for [output\_audio\_config][google.cloud.dialogflow.v2.De
+ tectIntentRequest.output\_audio\_config] indicating which
+ settings in this request-level config should override speech
+ synthesizer settings defined at agent-level. If unspecified
+ or empty, [output\_audio\_config][google.cloud.dialogflow.v2.D
+ etectIntentRequest.output\_audio\_config] replaces the agent-
+ level config in its entirety.
input_audio:
- Optional. The natural language speech audio to be processed.
- This field should be populated iff ``query_input`` is set to
- an input audio config. A single request can contain up to 1
- minute of speech audio data.
+ The natural language speech audio to be processed. This field
+ should be populated iff ``query_input`` is set to an input
+ audio config. A single request can contain up to 1 minute of
+ speech audio data.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.DetectIntentRequest)
),
@@ -1676,29 +1784,29 @@
Attributes:
time_zone:
- Optional. The time zone of this conversational query from the
- `time zone database `__,
- e.g., America/New\_York, Europe/Paris. If not provided, the
- time zone specified in agent settings is used.
+ The time zone of this conversational query from the `time zone
+ database `__, e.g.,
+ America/New\_York, Europe/Paris. If not provided, the time
+ zone specified in agent settings is used.
geo_location:
- Optional. The geo location of this conversational query.
+ The geo location of this conversational query.
contexts:
- Optional. The collection of contexts to be activated before
- this query is executed.
+ The collection of contexts to be activated before this query
+ is executed.
reset_contexts:
- Optional. Specifies whether to delete all contexts in the
- current session before the new ones are activated.
+ Specifies whether to delete all contexts in the current
+ session before the new ones are activated.
session_entity_types:
- Optional. Additional session entity types to replace or extend
- developer entity types with. The entity synonyms apply to all
- languages and persist for the session of this query.
+ Additional session entity types to replace or extend developer
+ entity types with. The entity synonyms apply to all languages
+ and persist for the session of this query.
payload:
- Optional. This field can be used to pass custom data into the
- webhook associated with the agent. Arbitrary JSON objects are
+ This field can be used to pass custom data into the webhook
+ associated with the agent. Arbitrary JSON objects are
supported.
sentiment_analysis_request_config:
- Optional. Configures the type of sentiment analysis to
- perform. If not provided, sentiment analysis is not performed.
+ Configures the type of sentiment analysis to perform. If not
+ provided, sentiment analysis is not performed.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.QueryParameters)
),
@@ -1743,7 +1851,8 @@
dict(
DESCRIPTOR=_QUERYRESULT,
__module__="google.cloud.dialogflow_v2.proto.session_pb2",
- __doc__="""Represents the result of conversational query or event processing.
+ __doc__="""Represents the result of conversational query or event
+ processing.
Attributes:
@@ -1815,9 +1924,11 @@
is set to the greatest ``knowledgeAnswers.match_confidence``
value in the list.
diagnostic_info:
- The free-form diagnostic info. For example, this field could
- contain webhook call latency. The string keys of the Struct's
- fields map can change without notice.
+ Free-form diagnostic information for the associated detect
+ intent request. The fields of this data can change without
+ notice, so you should not write code that depends on its
+ structure. The data may contain: - webhook call latency -
+ webhook errors
sentiment_analysis_result:
The sentiment analysis result, which depends on the
``sentiment_analysis_request_config`` specified in the
@@ -1835,27 +1946,31 @@
DESCRIPTOR=_STREAMINGDETECTINTENTREQUEST,
__module__="google.cloud.dialogflow_v2.proto.session_pb2",
__doc__="""The top-level message sent by the client to the
- [StreamingDetectIntent][] method.
+ [Sessions.StreamingDetectIntent][google.cloud.dialogflow.v2.Sessions.StreamingDetectIntent]
+ method.
Multiple request messages should be sent in order:
1. The first message must contain
- [StreamingDetectIntentRequest.session][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.session],
- [StreamingDetectIntentRequest.query\_input] plus optionally
- [StreamingDetectIntentRequest.query\_params]. If the client wants to
- receive an audio response, it should also contain
- [StreamingDetectIntentRequest.output\_audio\_config][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.output\_audio\_config].
+ [session][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.session],
+ [query\_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query\_input]
+ plus optionally
+ [query\_params][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query\_params].
+ If the client wants to receive an audio response, it should also
+ contain
+ [output\_audio\_config][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.output\_audio\_config].
The message must not contain
- [StreamingDetectIntentRequest.input\_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input\_audio].
+ [input\_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input\_audio].
2. If
- [StreamingDetectIntentRequest.query\_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query\_input]
+ [query\_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query\_input]
was set to
- [StreamingDetectIntentRequest.query\_input.audio\_config][], all
- subsequent messages must contain
- [StreamingDetectIntentRequest.input\_audio] to continue with Speech
- recognition. If you decide to rather detect an intent from text input
- after you already started Speech recognition, please send a message
- with [StreamingDetectIntentRequest.query\_input.text][].
+ [query\_input.audio\_config][google.cloud.dialogflow.v2.InputAudioConfig],
+ all subsequent messages must contain
+ [input\_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input\_audio]
+ to continue with Speech recognition. If you decide to rather detect
+ an intent from text input after you already started Speech
+ recognition, please send a message with
+ [query\_input.text][google.cloud.dialogflow.v2.QueryInput.text].
However, note that:
@@ -1872,12 +1987,17 @@
session:
Required. The name of the session the query is sent to. Format
of the session name: ``projects//agent/sessions/``. It's up to the API caller
- to choose an appropriate ``Session ID``. It can be a random
- number or some type of user identifier (preferably hashed).
- The length of the session ID must not exceed 36 characters.
+ ID>/agent/sessions/``, or ``projects//agent/environments//users//sessions/``. If ``Environment ID`` is not
+ specified, we assume default 'draft' environment. If ``User
+ ID`` is not specified, we are using "-". It's up to the API
+ caller to choose an appropriate ``Session ID`` and ``User
+ Id``. They can be a random number or some type of user and
+ session identifiers (preferably hashed). The length of the
+ ``Session ID`` and ``User ID`` must not exceed 36 characters.
query_params:
- Optional. The parameters of this query.
+ The parameters of this query.
query_input:
Required. The input specification. It can be set to: 1. an
audio config which instructs the speech recognizer how to
@@ -1885,25 +2005,33 @@
form of text, or 3. an event that specifies which intent to
trigger.
single_utterance:
- Optional. Please use [InputAudioConfig.single\_utterance][goog
- le.cloud.dialogflow.v2.InputAudioConfig.single\_utterance]
- instead. If ``false`` (default), recognition does not cease
- until the client closes the stream. If ``true``, the
- recognizer will detect a single spoken utterance in input
- audio. Recognition ceases when it detects the audio's voice
- has stopped or paused. In this case, once a detected intent is
- received, the client should close the stream and start a new
- request with a new stream as needed. This setting is ignored
- when ``query_input`` is a piece of text or an event.
+ Please use [InputAudioConfig.single\_utterance][google.cloud.d
+ ialogflow.v2.InputAudioConfig.single\_utterance] instead. If
+ ``false`` (default), recognition does not cease until the
+ client closes the stream. If ``true``, the recognizer will
+ detect a single spoken utterance in input audio. Recognition
+ ceases when it detects the audio's voice has stopped or
+ paused. In this case, once a detected intent is received, the
+ client should close the stream and start a new request with a
+ new stream as needed. This setting is ignored when
+ ``query_input`` is a piece of text or an event.
output_audio_config:
- Optional. Instructs the speech synthesizer how to generate the
- output audio. If this field is not set and agent-level speech
+ Instructs the speech synthesizer how to generate the output
+ audio. If this field is not set and agent-level speech
synthesizer is not configured, no output audio is generated.
+ output_audio_config_mask:
+ Mask for [output\_audio\_config][google.cloud.dialogflow.v2.St
+ reamingDetectIntentRequest.output\_audio\_config] indicating
+ which settings in this request-level config should override
+ speech synthesizer settings defined at agent-level. If
+ unspecified or empty, [output\_audio\_config][google.cloud.dia
+ logflow.v2.StreamingDetectIntentRequest.output\_audio\_config]
+ replaces the agent-level config in its entirety.
input_audio:
- Optional. The input audio content to be recognized. Must be
- sent if ``query_input`` was set to a streaming input audio
- config. The complete audio over all streaming messages must
- not exceed 1 minute.
+ The input audio content to be recognized. Must be sent if
+ ``query_input`` was set to a streaming input audio config. The
+ complete audio over all streaming messages must not exceed 1
+ minute.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.StreamingDetectIntentRequest)
),
@@ -1916,8 +2044,8 @@
dict(
DESCRIPTOR=_STREAMINGDETECTINTENTRESPONSE,
__module__="google.cloud.dialogflow_v2.proto.session_pb2",
- __doc__="""The top-level message returned from the ``StreamingDetectIntent``
- method.
+ __doc__="""The top-level message returned from the
+ ``StreamingDetectIntent`` method.
Multiple response messages can be returned in order:
@@ -1964,9 +2092,9 @@
dict(
DESCRIPTOR=_STREAMINGRECOGNITIONRESULT,
__module__="google.cloud.dialogflow_v2.proto.session_pb2",
- __doc__="""Contains a speech recognition result corresponding to a portion of the
- audio that is currently being processed or an indication that this is
- the end of the single requested utterance.
+ __doc__="""Contains a speech recognition result corresponding to a
+ portion of the audio that is currently being processed or an indication
+ that this is the end of the single requested utterance.
Example:
@@ -2017,6 +2145,16 @@
was not set. This field is typically only provided if
``is_final`` is true and you should not rely on it being
accurate or even set.
+ speech_word_info:
+ Word-specific information for the words recognized by Speech
+ in [transcript][google.cloud.dialogflow.v2.StreamingRecognitio
+ nResult.transcript]. Populated if and only if ``message_type``
+ = ``TRANSCRIPT`` and [InputAudioConfig.enable\_word\_info] is
+ set.
+ speech_end_offset:
+ Time offset of the end of this Speech recognition result
+ relative to the beginning of the audio. Only populated for
+ ``message_type`` = ``TRANSCRIPT``.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.StreamingRecognitionResult)
),
@@ -2054,8 +2192,8 @@
dict(
DESCRIPTOR=_EVENTINPUT,
__module__="google.cloud.dialogflow_v2.proto.session_pb2",
- __doc__="""Events allow for matching intents by event name instead of the natural
- language input. For instance, input
+ __doc__="""Events allow for matching intents by event name instead of
+ the natural language input. For instance, input
```` can
trigger a personalized welcome response. The parameter ``name`` may be
used by the agent in the response:
@@ -2066,8 +2204,7 @@
name:
Required. The unique identifier of the event.
parameters:
- Optional. The collection of parameters associated with the
- event.
+ The collection of parameters associated with the event.
language_code:
Required. The language of this query. See `Language Support `__
@@ -2091,8 +2228,8 @@
Attributes:
analyze_query_text_sentiment:
- Optional. Instructs the service to perform sentiment analysis
- on ``query_text``. If not provided, sentiment analysis is not
+ Instructs the service to perform sentiment analysis on
+ ``query_text``. If not provided, sentiment analysis is not
performed on ``query_text``.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig)
@@ -2125,8 +2262,8 @@
dict(
DESCRIPTOR=_SENTIMENT,
__module__="google.cloud.dialogflow_v2.proto.session_pb2",
- __doc__="""The sentiment, such as positive/negative feeling or association, for a
- unit of analysis, such as the query text.
+ __doc__="""The sentiment, such as positive/negative feeling or
+ association, for a unit of analysis, such as the query text.
Attributes:
@@ -2146,31 +2283,14 @@
DESCRIPTOR._options = None
_DETECTINTENTREQUEST.fields_by_name["session"]._options = None
-_DETECTINTENTREQUEST.fields_by_name["query_params"]._options = None
_DETECTINTENTREQUEST.fields_by_name["query_input"]._options = None
-_DETECTINTENTREQUEST.fields_by_name["output_audio_config"]._options = None
-_DETECTINTENTREQUEST.fields_by_name["input_audio"]._options = None
-_QUERYPARAMETERS.fields_by_name["time_zone"]._options = None
-_QUERYPARAMETERS.fields_by_name["geo_location"]._options = None
-_QUERYPARAMETERS.fields_by_name["contexts"]._options = None
-_QUERYPARAMETERS.fields_by_name["reset_contexts"]._options = None
-_QUERYPARAMETERS.fields_by_name["session_entity_types"]._options = None
-_QUERYPARAMETERS.fields_by_name["payload"]._options = None
-_QUERYPARAMETERS.fields_by_name["sentiment_analysis_request_config"]._options = None
_STREAMINGDETECTINTENTREQUEST.fields_by_name["session"]._options = None
-_STREAMINGDETECTINTENTREQUEST.fields_by_name["query_params"]._options = None
_STREAMINGDETECTINTENTREQUEST.fields_by_name["query_input"]._options = None
_STREAMINGDETECTINTENTREQUEST.fields_by_name["single_utterance"]._options = None
-_STREAMINGDETECTINTENTREQUEST.fields_by_name["output_audio_config"]._options = None
-_STREAMINGDETECTINTENTREQUEST.fields_by_name["input_audio"]._options = None
_TEXTINPUT.fields_by_name["text"]._options = None
_TEXTINPUT.fields_by_name["language_code"]._options = None
_EVENTINPUT.fields_by_name["name"]._options = None
-_EVENTINPUT.fields_by_name["parameters"]._options = None
_EVENTINPUT.fields_by_name["language_code"]._options = None
-_SENTIMENTANALYSISREQUESTCONFIG.fields_by_name[
- "analyze_query_text_sentiment"
-]._options = None
_SESSIONS = _descriptor.ServiceDescriptor(
name="Sessions",
@@ -2180,8 +2300,8 @@
serialized_options=_b(
"\312A\031dialogflow.googleapis.com\322AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
),
- serialized_start=3650,
- serialized_end=4136,
+ serialized_start=3957,
+ serialized_end=4529,
methods=[
_descriptor.MethodDescriptor(
name="DetectIntent",
@@ -2191,7 +2311,7 @@
input_type=_DETECTINTENTREQUEST,
output_type=_DETECTINTENTRESPONSE,
serialized_options=_b(
- '\202\323\344\223\002;"6/v2/{session=projects/*/agent/sessions/*}:detectIntent:\001*\332A\023session,query_input'
+ '\202\323\344\223\002\217\001"6/v2/{session=projects/*/agent/sessions/*}:detectIntent:\001*ZR"M/v2/{session=projects/*/agent/environments/*/users/*/sessions/*}:detectIntent:\001*\332A\023session,query_input'
),
),
_descriptor.MethodDescriptor(
diff --git a/dialogflow_v2/proto/validation_result_pb2.py b/dialogflow_v2/proto/validation_result_pb2.py
new file mode 100644
index 000000000..a5af3edf6
--- /dev/null
+++ b/dialogflow_v2/proto/validation_result_pb2.py
@@ -0,0 +1,240 @@
+# -*- coding: utf-8 -*-
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: google/cloud/dialogflow_v2/proto/validation_result.proto
+
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
+from google.protobuf import descriptor as _descriptor
+from google.protobuf import message as _message
+from google.protobuf import reflection as _reflection
+from google.protobuf import symbol_database as _symbol_database
+
+# @@protoc_insertion_point(imports)
+
+_sym_db = _symbol_database.Default()
+
+
+from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
+
+
+DESCRIPTOR = _descriptor.FileDescriptor(
+ name="google/cloud/dialogflow_v2/proto/validation_result.proto",
+ package="google.cloud.dialogflow.v2",
+ syntax="proto3",
+ serialized_options=_b(
+ "\n\036com.google.cloud.dialogflow.v2B\025ValidationResultProtoP\001ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2"
+ ),
+ serialized_pb=_b(
+ '\n8google/cloud/dialogflow_v2/proto/validation_result.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto"\xd7\x01\n\x0fValidationError\x12\x46\n\x08severity\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.v2.ValidationError.Severity\x12\x0f\n\x07\x65ntries\x18\x03 \x03(\t\x12\x15\n\rerror_message\x18\x04 \x01(\t"T\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x08\n\x04INFO\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08\x43RITICAL\x10\x04"Z\n\x10ValidationResult\x12\x46\n\x11validation_errors\x18\x01 \x03(\x0b\x32+.google.cloud.dialogflow.v2.ValidationErrorB\xa4\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x15ValidationResultProtoP\x01ZDgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3'
+ ),
+ dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR],
+)
+
+
+_VALIDATIONERROR_SEVERITY = _descriptor.EnumDescriptor(
+ name="Severity",
+ full_name="google.cloud.dialogflow.v2.ValidationError.Severity",
+ filename=None,
+ file=DESCRIPTOR,
+ values=[
+ _descriptor.EnumValueDescriptor(
+ name="SEVERITY_UNSPECIFIED",
+ index=0,
+ number=0,
+ serialized_options=None,
+ type=None,
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="INFO", index=1, number=1, serialized_options=None, type=None
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="WARNING", index=2, number=2, serialized_options=None, type=None
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="ERROR", index=3, number=3, serialized_options=None, type=None
+ ),
+ _descriptor.EnumValueDescriptor(
+ name="CRITICAL", index=4, number=4, serialized_options=None, type=None
+ ),
+ ],
+ containing_type=None,
+ serialized_options=None,
+ serialized_start=250,
+ serialized_end=334,
+)
+_sym_db.RegisterEnumDescriptor(_VALIDATIONERROR_SEVERITY)
+
+
+_VALIDATIONERROR = _descriptor.Descriptor(
+ name="ValidationError",
+ full_name="google.cloud.dialogflow.v2.ValidationError",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="severity",
+ full_name="google.cloud.dialogflow.v2.ValidationError.severity",
+ index=0,
+ number=1,
+ type=14,
+ cpp_type=8,
+ label=1,
+ has_default_value=False,
+ default_value=0,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="entries",
+ full_name="google.cloud.dialogflow.v2.ValidationError.entries",
+ index=1,
+ number=3,
+ type=9,
+ cpp_type=9,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="error_message",
+ full_name="google.cloud.dialogflow.v2.ValidationError.error_message",
+ index=2,
+ number=4,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[_VALIDATIONERROR_SEVERITY],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=119,
+ serialized_end=334,
+)
+
+
+_VALIDATIONRESULT = _descriptor.Descriptor(
+ name="ValidationResult",
+ full_name="google.cloud.dialogflow.v2.ValidationResult",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="validation_errors",
+ full_name="google.cloud.dialogflow.v2.ValidationResult.validation_errors",
+ index=0,
+ number=1,
+ type=11,
+ cpp_type=10,
+ label=3,
+ has_default_value=False,
+ default_value=[],
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ )
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=336,
+ serialized_end=426,
+)
+
+_VALIDATIONERROR.fields_by_name["severity"].enum_type = _VALIDATIONERROR_SEVERITY
+_VALIDATIONERROR_SEVERITY.containing_type = _VALIDATIONERROR
+_VALIDATIONRESULT.fields_by_name["validation_errors"].message_type = _VALIDATIONERROR
+DESCRIPTOR.message_types_by_name["ValidationError"] = _VALIDATIONERROR
+DESCRIPTOR.message_types_by_name["ValidationResult"] = _VALIDATIONRESULT
+_sym_db.RegisterFileDescriptor(DESCRIPTOR)
+
+ValidationError = _reflection.GeneratedProtocolMessageType(
+ "ValidationError",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_VALIDATIONERROR,
+ __module__="google.cloud.dialogflow_v2.proto.validation_result_pb2",
+ __doc__="""Represents a single validation error.
+
+
+ Attributes:
+ severity:
+ The severity of the error.
+ entries:
+ The names of the entries that the error is associated with.
+ Format: - "projects//agent", if the error is associated with
+ the entire agent. - "projects//agent/intents/", if the error
+ is associated with certain intents. -
+ "projects//agent/intents//trainingPhrases/", if the error is
+ associated with certain intent training phrases. -
+ "projects//agent/intents//parameters/", if the error is
+ associated with certain intent parameters. -
+ "projects//agent/entities/", if the error is associated with
+ certain entities.
+ error_message:
+ The detailed error messsage.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ValidationError)
+ ),
+)
+_sym_db.RegisterMessage(ValidationError)
+
+ValidationResult = _reflection.GeneratedProtocolMessageType(
+ "ValidationResult",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_VALIDATIONRESULT,
+ __module__="google.cloud.dialogflow_v2.proto.validation_result_pb2",
+ __doc__="""Represents the output of agent validation.
+
+
+ Attributes:
+ validation_errors:
+ Contains all validation errors.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2.ValidationResult)
+ ),
+)
+_sym_db.RegisterMessage(ValidationResult)
+
+
+DESCRIPTOR._options = None
+# @@protoc_insertion_point(module_scope)
diff --git a/dialogflow_v2/proto/validation_result_pb2_grpc.py b/dialogflow_v2/proto/validation_result_pb2_grpc.py
new file mode 100644
index 000000000..07cb78fe0
--- /dev/null
+++ b/dialogflow_v2/proto/validation_result_pb2_grpc.py
@@ -0,0 +1,2 @@
+# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
+import grpc
diff --git a/dialogflow_v2/proto/webhook_pb2.py b/dialogflow_v2/proto/webhook_pb2.py
index 47bc45fa0..13d33848c 100644
--- a/dialogflow_v2/proto/webhook_pb2.py
+++ b/dialogflow_v2/proto/webhook_pb2.py
@@ -445,6 +445,19 @@
__module__="google.cloud.dialogflow_v2.proto.webhook_pb2",
__doc__="""The response message for a webhook call.
+ This response is validated by the Dialogflow server. If validation
+ fails, an error will be returned in the
+ [QueryResult.diagnostic\_info][google.cloud.dialogflow.v2.QueryResult.diagnostic\_info]
+ field. Setting JSON fields to an empty value with the wrong type is a
+ common error. To avoid this error:
+
+ - Use ``""`` for empty strings
+ - Use ``{}`` or ``null`` for empty objects
+ - Use ``[]`` or ``null`` for empty arrays
+
+ For more information, see the `Protocol Buffers Language
+ Guide `__.
+
Attributes:
fulfillment_text:
@@ -499,8 +512,8 @@
dict(
DESCRIPTOR=_ORIGINALDETECTINTENTREQUEST,
__module__="google.cloud.dialogflow_v2.proto.webhook_pb2",
- __doc__="""Represents the contents of the original request that was passed to the
- ``[Streaming]DetectIntent`` call.
+ __doc__="""Represents the contents of the original request that was
+ passed to the ``[Streaming]DetectIntent`` call.
Attributes:
diff --git a/dialogflow_v2/types.py b/dialogflow_v2/types.py
index fd722dd46..d38315c9e 100644
--- a/dialogflow_v2/types.py
+++ b/dialogflow_v2/types.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -27,9 +27,11 @@
from dialogflow_v2.proto import intent_pb2
from dialogflow_v2.proto import session_entity_type_pb2
from dialogflow_v2.proto import session_pb2
+from dialogflow_v2.proto import validation_result_pb2
from dialogflow_v2.proto import webhook_pb2
from google.longrunning import operations_pb2
from google.protobuf import any_pb2
+from google.protobuf import duration_pb2
from google.protobuf import empty_pb2
from google.protobuf import field_mask_pb2
from google.protobuf import struct_pb2
@@ -40,6 +42,7 @@
_shared_modules = [
operations_pb2,
any_pb2,
+ duration_pb2,
empty_pb2,
field_mask_pb2,
struct_pb2,
@@ -55,6 +58,7 @@
intent_pb2,
session_entity_type_pb2,
session_pb2,
+ validation_result_pb2,
webhook_pb2,
]
diff --git a/dialogflow_v2beta1/__init__.py b/dialogflow_v2beta1/__init__.py
index 7715c1ce1..76e34efe8 100644
--- a/dialogflow_v2beta1/__init__.py
+++ b/dialogflow_v2beta1/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -16,6 +16,8 @@
from __future__ import absolute_import
+import sys
+import warnings
from dialogflow_v2beta1 import types
from dialogflow_v2beta1.gapic import agents_client
@@ -29,6 +31,15 @@
from dialogflow_v2beta1.gapic import sessions_client
+if sys.version_info[:2] == (2, 7):
+ message = (
+ "A future version of this library will drop support for Python 2.7."
+ "More details about Python 2 support for Google Cloud Client Libraries"
+ "can be found at https://cloud.google.com/python/docs/python2-sunset/"
+ )
+ warnings.warn(message, DeprecationWarning)
+
+
class AgentsClient(agents_client.AgentsClient):
__doc__ = agents_client.AgentsClient.__doc__
enums = enums
diff --git a/dialogflow_v2beta1/gapic/agents_client.py b/dialogflow_v2beta1/gapic/agents_client.py
index ab1c0a300..869098b68 100644
--- a/dialogflow_v2beta1/gapic/agents_client.py
+++ b/dialogflow_v2beta1/gapic/agents_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/contexts_client.py b/dialogflow_v2beta1/gapic/contexts_client.py
index f02578bea..d7b6b3618 100644
--- a/dialogflow_v2beta1/gapic/contexts_client.py
+++ b/dialogflow_v2beta1/gapic/contexts_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/documents_client.py b/dialogflow_v2beta1/gapic/documents_client.py
index 52f38d9bd..e22059eeb 100644
--- a/dialogflow_v2beta1/gapic/documents_client.py
+++ b/dialogflow_v2beta1/gapic/documents_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/entity_types_client.py b/dialogflow_v2beta1/gapic/entity_types_client.py
index 13d191881..aa8b442f3 100644
--- a/dialogflow_v2beta1/gapic/entity_types_client.py
+++ b/dialogflow_v2beta1/gapic/entity_types_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -72,12 +72,12 @@ class EntityTypesClient(object):
common data types such as date, time, currency, and so on. A system
entity is represented by the ``EntityType`` type.
- - **Developer** - entities that are defined by you that represent
+ - **Custom** - entities that are defined by you that represent
actionable data that is meaningful to your application. For example,
you could define a ``pizza.sauce`` entity for red or white pizza
sauce, a ``pizza.cheese`` entity for the different types of cheese on
a pizza, a ``pizza.topping`` entity for different toppings, and so
- on. A developer entity is represented by the ``EntityType`` type.
+ on. A custom entity is represented by the ``EntityType`` type.
- **User** - entities that are built for an individual user such as
favorites, preferences, playlists, and so on. A user entity is
@@ -1142,7 +1142,7 @@ def batch_delete_entities(
Args:
parent (str): Required. The name of the entity type to delete entries for. Format:
``projects//agent/entityTypes/``.
- entity_values (list[str]): Required. The canonical ``values`` of the entities to delete. Note that
+ entity_values (list[str]): Required. The reference ``values`` of the entities to delete. Note that
these are not fully-qualified names, i.e. they don't start with
``projects/``.
language_code (str): Optional. The language of entity synonyms defined in ``entities``. If
diff --git a/dialogflow_v2beta1/gapic/enums.py b/dialogflow_v2beta1/gapic/enums.py
index e2e2282cb..f780b1626 100644
--- a/dialogflow_v2beta1/gapic/enums.py
+++ b/dialogflow_v2beta1/gapic/enums.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -103,7 +103,7 @@ class OutputAudioEncoding(enum.IntEnum):
OUTPUT_AUDIO_ENCODING_UNSPECIFIED (int): Not specified.
OUTPUT_AUDIO_ENCODING_LINEAR_16 (int): Uncompressed 16-bit signed little-endian samples (Linear PCM).
Audio content returned as LINEAR16 also contains a WAV header.
- OUTPUT_AUDIO_ENCODING_MP3 (int): MP3 audio.
+ OUTPUT_AUDIO_ENCODING_MP3 (int): MP3 audio at 32kbps.
OUTPUT_AUDIO_ENCODING_OGG_OPUS (int): Opus encoded audio wrapped in an ogg container. The result will be a
file which can be played natively on Android, and in browsers (at least
Chrome and Firefox). The quality of the encoding is considerably higher
@@ -206,7 +206,7 @@ class MatchMode(enum.IntEnum):
MATCH_MODE_HYBRID (int): Best for agents with a small number of examples in intents and/or wide
use of templates syntax and composite entities.
MATCH_MODE_ML_ONLY (int): Can be used for agents with a large number of examples in intents,
- especially the ones using @sys.any or very large developer entities.
+ especially the ones using @sys.any or very large custom entities.
"""
MATCH_MODE_UNSPECIFIED = 0
@@ -275,9 +275,9 @@ class Kind(enum.IntEnum):
Attributes:
KIND_UNSPECIFIED (int): Not specified. This value should be never used.
- KIND_MAP (int): Map entity types allow mapping of a group of synonyms to a canonical
+ KIND_MAP (int): Map entity types allow mapping of a group of synonyms to a reference
value.
- KIND_LIST (int): List entity types contain a set of entries that do not map to canonical
+ KIND_LIST (int): List entity types contain a set of entries that do not map to reference
values. However, list entity types can contain references to other entity
types (with or without aliases).
KIND_REGEXP (int): Regexp entity types allow to specify regular expressions in entries
@@ -606,16 +606,16 @@ class EntityOverrideMode(enum.IntEnum):
Attributes:
ENTITY_OVERRIDE_MODE_UNSPECIFIED (int): Not specified. This value should be never used.
ENTITY_OVERRIDE_MODE_OVERRIDE (int): The collection of session entities overrides the collection of entities
- in the corresponding developer entity type.
+ in the corresponding custom entity type.
ENTITY_OVERRIDE_MODE_SUPPLEMENT (int): The collection of session entities extends the collection of entities in
- the corresponding developer entity type.
+ the corresponding custom entity type.
Note: Even in this override mode calls to ``ListSessionEntityTypes``,
``GetSessionEntityType``, ``CreateSessionEntityType`` and
``UpdateSessionEntityType`` only return the additional entities added in
this session entity type. If you want to get the supplemented list,
- please call ``EntityTypes.GetEntityType`` on the developer entity type
- and merge.
+ please call ``EntityTypes.GetEntityType`` on the custom entity type and
+ merge.
"""
ENTITY_OVERRIDE_MODE_UNSPECIFIED = 0
diff --git a/dialogflow_v2beta1/gapic/intents_client.py b/dialogflow_v2beta1/gapic/intents_client.py
index 6283351a6..2d75a3712 100644
--- a/dialogflow_v2beta1/gapic/intents_client.py
+++ b/dialogflow_v2beta1/gapic/intents_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -538,7 +538,7 @@ def create_intent(
def update_intent(
self,
intent,
- language_code,
+ language_code=None,
update_mask=None,
intent_view=None,
retry=google.api_core.gapic_v1.method.DEFAULT,
@@ -556,10 +556,7 @@ def update_intent(
>>> # TODO: Initialize `intent`:
>>> intent = {}
>>>
- >>> # TODO: Initialize `language_code`:
- >>> language_code = ''
- >>>
- >>> response = client.update_intent(intent, language_code)
+ >>> response = client.update_intent(intent)
Args:
intent (Union[dict, ~google.cloud.dialogflow_v2beta1.types.Intent]): Required. The intent to update.
@@ -702,9 +699,9 @@ def delete_intent(
def batch_update_intents(
self,
parent,
- language_code,
intent_batch_uri=None,
intent_batch_inline=None,
+ language_code=None,
update_mask=None,
intent_view=None,
retry=google.api_core.gapic_v1.method.DEFAULT,
@@ -723,10 +720,7 @@ def batch_update_intents(
>>>
>>> parent = client.project_agent_path('[PROJECT]')
>>>
- >>> # TODO: Initialize `language_code`:
- >>> language_code = ''
- >>>
- >>> response = client.batch_update_intents(parent, language_code)
+ >>> response = client.batch_update_intents(parent)
>>>
>>> def callback(operation_future):
... # Handle result.
@@ -740,12 +734,6 @@ def batch_update_intents(
Args:
parent (str): Required. The name of the agent to update or create intents in. Format:
``projects//agent``.
- language_code (str): Optional. The language of training phrases, parameters and rich messages
- defined in ``intents``. If not specified, the agent's default language
- is used. `Many
- languages `__
- are supported. Note: languages must be enabled in the agent before they
- can be used.
intent_batch_uri (str): The URI to a Google Cloud Storage file containing intents to update or
create. The file format can either be a serialized proto (of IntentBatch
type) or JSON object. Note: The URI must start with "gs://".
@@ -753,6 +741,12 @@ def batch_update_intents(
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dialogflow_v2beta1.types.IntentBatch`
+ language_code (str): Optional. The language of training phrases, parameters and rich messages
+ defined in ``intents``. If not specified, the agent's default language
+ is used. `Many
+ languages `__
+ are supported. Note: languages must be enabled in the agent before they
+ can be used.
update_mask (Union[dict, ~google.cloud.dialogflow_v2beta1.types.FieldMask]): Optional. The mask to control which fields get updated.
If a dict is provided, it must be of the same form as the protobuf
@@ -796,9 +790,9 @@ def batch_update_intents(
request = intent_pb2.BatchUpdateIntentsRequest(
parent=parent,
- language_code=language_code,
intent_batch_uri=intent_batch_uri,
intent_batch_inline=intent_batch_inline,
+ language_code=language_code,
update_mask=update_mask,
intent_view=intent_view,
)
diff --git a/dialogflow_v2beta1/gapic/knowledge_bases_client.py b/dialogflow_v2beta1/gapic/knowledge_bases_client.py
index 1a34fa569..14a8b6ea2 100644
--- a/dialogflow_v2beta1/gapic/knowledge_bases_client.py
+++ b/dialogflow_v2beta1/gapic/knowledge_bases_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/session_entity_types_client.py b/dialogflow_v2beta1/gapic/session_entity_types_client.py
index 3cf685004..cd473fe57 100644
--- a/dialogflow_v2beta1/gapic/session_entity_types_client.py
+++ b/dialogflow_v2beta1/gapic/session_entity_types_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/sessions_client.py b/dialogflow_v2beta1/gapic/sessions_client.py
index f3539d1b0..72d59e5fc 100644
--- a/dialogflow_v2beta1/gapic/sessions_client.py
+++ b/dialogflow_v2beta1/gapic/sessions_client.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -233,6 +233,7 @@ def detect_intent(
query_input,
query_params=None,
output_audio_config=None,
+ output_audio_config_mask=None,
input_audio=None,
retry=google.api_core.gapic_v1.method.DEFAULT,
timeout=google.api_core.gapic_v1.method.DEFAULT,
@@ -277,19 +278,28 @@ def detect_intent(
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dialogflow_v2beta1.types.QueryInput`
- query_params (Union[dict, ~google.cloud.dialogflow_v2beta1.types.QueryParameters]): Optional. The parameters of this query.
+ query_params (Union[dict, ~google.cloud.dialogflow_v2beta1.types.QueryParameters]): The parameters of this query.
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dialogflow_v2beta1.types.QueryParameters`
- output_audio_config (Union[dict, ~google.cloud.dialogflow_v2beta1.types.OutputAudioConfig]): Optional. Instructs the speech synthesizer how to generate the output
+ output_audio_config (Union[dict, ~google.cloud.dialogflow_v2beta1.types.OutputAudioConfig]): Instructs the speech synthesizer how to generate the output
audio. If this field is not set and agent-level speech synthesizer is not
configured, no output audio is generated.
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dialogflow_v2beta1.types.OutputAudioConfig`
- input_audio (bytes): Optional. The natural language speech audio to be processed. This field
- should be populated iff ``query_input`` is set to an input audio config.
- A single request can contain up to 1 minute of speech audio data.
+ output_audio_config_mask (Union[dict, ~google.cloud.dialogflow_v2beta1.types.FieldMask]): Mask for ``output_audio_config`` indicating which settings in this
+ request-level config should override speech synthesizer settings defined
+ at agent-level.
+
+ If unspecified or empty, ``output_audio_config`` replaces the
+ agent-level config in its entirety.
+
+ If a dict is provided, it must be of the same form as the protobuf
+ message :class:`~google.cloud.dialogflow_v2beta1.types.FieldMask`
+ input_audio (bytes): The natural language speech audio to be processed. This field should be
+ populated iff ``query_input`` is set to an input audio config. A single
+ request can contain up to 1 minute of speech audio data.
retry (Optional[google.api_core.retry.Retry]): A retry object used
to retry requests. If ``None`` is specified, requests will
be retried using a default configuration.
@@ -325,6 +335,7 @@ def detect_intent(
query_input=query_input,
query_params=query_params,
output_audio_config=output_audio_config,
+ output_audio_config_mask=output_audio_config_mask,
input_audio=input_audio,
)
if metadata is None:
@@ -356,8 +367,6 @@ def streaming_detect_intent(
and returns structured, actionable data as a result. This method is only
available via the gRPC API (not REST).
- EXPERIMENTAL: This method interface might change in the future.
-
Example:
>>> import dialogflow_v2beta1
>>>
diff --git a/dialogflow_v2beta1/gapic/transports/agents_grpc_transport.py b/dialogflow_v2beta1/gapic/transports/agents_grpc_transport.py
index 915a8a648..24994682a 100644
--- a/dialogflow_v2beta1/gapic/transports/agents_grpc_transport.py
+++ b/dialogflow_v2beta1/gapic/transports/agents_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/transports/contexts_grpc_transport.py b/dialogflow_v2beta1/gapic/transports/contexts_grpc_transport.py
index d36e10087..0bb468b21 100644
--- a/dialogflow_v2beta1/gapic/transports/contexts_grpc_transport.py
+++ b/dialogflow_v2beta1/gapic/transports/contexts_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/transports/documents_grpc_transport.py b/dialogflow_v2beta1/gapic/transports/documents_grpc_transport.py
index ac6d0091c..dc3932288 100644
--- a/dialogflow_v2beta1/gapic/transports/documents_grpc_transport.py
+++ b/dialogflow_v2beta1/gapic/transports/documents_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/transports/entity_types_grpc_transport.py b/dialogflow_v2beta1/gapic/transports/entity_types_grpc_transport.py
index d2dd5fd2b..a39d236c7 100644
--- a/dialogflow_v2beta1/gapic/transports/entity_types_grpc_transport.py
+++ b/dialogflow_v2beta1/gapic/transports/entity_types_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/transports/intents_grpc_transport.py b/dialogflow_v2beta1/gapic/transports/intents_grpc_transport.py
index 463d0eb90..c5dfceb27 100644
--- a/dialogflow_v2beta1/gapic/transports/intents_grpc_transport.py
+++ b/dialogflow_v2beta1/gapic/transports/intents_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/transports/knowledge_bases_grpc_transport.py b/dialogflow_v2beta1/gapic/transports/knowledge_bases_grpc_transport.py
index 0da3dbe14..9308c8a2e 100644
--- a/dialogflow_v2beta1/gapic/transports/knowledge_bases_grpc_transport.py
+++ b/dialogflow_v2beta1/gapic/transports/knowledge_bases_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/transports/session_entity_types_grpc_transport.py b/dialogflow_v2beta1/gapic/transports/session_entity_types_grpc_transport.py
index 31f081ca7..01a1b8004 100644
--- a/dialogflow_v2beta1/gapic/transports/session_entity_types_grpc_transport.py
+++ b/dialogflow_v2beta1/gapic/transports/session_entity_types_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/gapic/transports/sessions_grpc_transport.py b/dialogflow_v2beta1/gapic/transports/sessions_grpc_transport.py
index 909ea42ae..633becb2b 100644
--- a/dialogflow_v2beta1/gapic/transports/sessions_grpc_transport.py
+++ b/dialogflow_v2beta1/gapic/transports/sessions_grpc_transport.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2019 Google LLC
+# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/dialogflow_v2beta1/proto/agent_pb2.py b/dialogflow_v2beta1/proto/agent_pb2.py
index 23dde162e..188bcdbec 100644
--- a/dialogflow_v2beta1/proto/agent_pb2.py
+++ b/dialogflow_v2beta1/proto/agent_pb2.py
@@ -37,7 +37,7 @@
"\n#com.google.cloud.dialogflow.v2beta1B\nAgentProtoP\001ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2beta1"
),
serialized_pb=_b(
- '\n1google/cloud/dialogflow_v2beta1/proto/agent.proto\x12\x1fgoogle.cloud.dialogflow.v2beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a=google/cloud/dialogflow_v2beta1/proto/validation_result.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/api/client.proto"\xc2\x06\n\x05\x41gent\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x1d\n\x15\x64\x65\x66\x61ult_language_code\x18\x03 \x01(\t\x12 \n\x18supported_language_codes\x18\x04 \x03(\t\x12\x11\n\ttime_zone\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x12\n\navatar_uri\x18\x07 \x01(\t\x12\x16\n\x0e\x65nable_logging\x18\x08 \x01(\x08\x12\x44\n\nmatch_mode\x18\t \x01(\x0e\x32\x30.google.cloud.dialogflow.v2beta1.Agent.MatchMode\x12 \n\x18\x63lassification_threshold\x18\n \x01(\x02\x12\x46\n\x0b\x61pi_version\x18\x0e \x01(\x0e\x32\x31.google.cloud.dialogflow.v2beta1.Agent.ApiVersion\x12\x39\n\x04tier\x18\x0f \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.Agent.Tier"V\n\tMatchMode\x12\x1a\n\x16MATCH_MODE_UNSPECIFIED\x10\x00\x12\x15\n\x11MATCH_MODE_HYBRID\x10\x01\x12\x16\n\x12MATCH_MODE_ML_ONLY\x10\x02"l\n\nApiVersion\x12\x1b\n\x17\x41PI_VERSION_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x41PI_VERSION_V1\x10\x01\x12\x12\n\x0e\x41PI_VERSION_V2\x10\x02\x12\x19\n\x15\x41PI_VERSION_V2_BETA_1\x10\x03"^\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x11\n\rTIER_STANDARD\x10\x01\x12\x13\n\x0fTIER_ENTERPRISE\x10\x02\x12\x18\n\x14TIER_ENTERPRISE_PLUS\x10\x03:m\xea\x41j\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x18projects/{project}/agent\x12-projects/{project}/locations/{location}/agent"!\n\x0fGetAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t"y\n\x0fSetAgentRequest\x12\x35\n\x05\x61gent\x18\x01 \x01(\x0b\x32&.google.cloud.dialogflow.v2beta1.Agent\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"$\n\x12\x44\x65leteAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t"L\n\x13SearchAgentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"g\n\x14SearchAgentsResponse\x12\x36\n\x06\x61gents\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.v2beta1.Agent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"#\n\x11TrainAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t"7\n\x12\x45xportAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tagent_uri\x18\x02 \x01(\t"L\n\x13\x45xportAgentResponse\x12\x13\n\tagent_uri\x18\x01 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x02 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"[\n\x12ImportAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"\\\n\x13RestoreAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"C\n\x1aGetValidationResultRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x03 \x01(\t2\xaf\x0f\n\x06\x41gents\x12\xc2\x01\n\x08GetAgent\x12\x30.google.cloud.dialogflow.v2beta1.GetAgentRequest\x1a&.google.cloud.dialogflow.v2beta1.Agent"\\\x82\xd3\xe4\x93\x02V\x12"/v2beta1/{parent=projects/*}/agentZ0\x12./v2beta1/{parent=projects/*/locations/*}/agent\x12\xdc\x01\n\x08SetAgent\x12\x30.google.cloud.dialogflow.v2beta1.SetAgentRequest\x1a&.google.cloud.dialogflow.v2beta1.Agent"v\x82\xd3\xe4\x93\x02p"(/v2beta1/{agent.parent=projects/*}/agent:\x05\x61gentZ="4/v2beta1/{agent.parent=projects/*/locations/*}/agent:\x05\x61gent\x12\xb8\x01\n\x0b\x44\x65leteAgent\x12\x33.google.cloud.dialogflow.v2beta1.DeleteAgentRequest\x1a\x16.google.protobuf.Empty"\\\x82\xd3\xe4\x93\x02V*"/v2beta1/{parent=projects/*}/agentZ0*./v2beta1/{parent=projects/*/locations/*}/agent\x12\xae\x01\n\x0cSearchAgents\x12\x34.google.cloud.dialogflow.v2beta1.SearchAgentsRequest\x1a\x35.google.cloud.dialogflow.v2beta1.SearchAgentsResponse"1\x82\xd3\xe4\x93\x02+\x12)/v2beta1/{parent=projects/*}/agent:search\x12\xcf\x01\n\nTrainAgent\x12\x32.google.cloud.dialogflow.v2beta1.TrainAgentRequest\x1a\x1d.google.longrunning.Operation"n\x82\xd3\xe4\x93\x02h"(/v2beta1/{parent=projects/*}/agent:train:\x01*Z9"4/v2beta1/{parent=projects/*/locations/*}/agent:train:\x01*\x12\xd3\x01\n\x0b\x45xportAgent\x12\x33.google.cloud.dialogflow.v2beta1.ExportAgentRequest\x1a\x1d.google.longrunning.Operation"p\x82\xd3\xe4\x93\x02j")/v2beta1/{parent=projects/*}/agent:export:\x01*Z:"5/v2beta1/{parent=projects/*/locations/*}/agent:export:\x01*\x12\xd3\x01\n\x0bImportAgent\x12\x33.google.cloud.dialogflow.v2beta1.ImportAgentRequest\x1a\x1d.google.longrunning.Operation"p\x82\xd3\xe4\x93\x02j")/v2beta1/{parent=projects/*}/agent:import:\x01*Z:"5/v2beta1/{parent=projects/*/locations/*}/agent:import:\x01*\x12\xd7\x01\n\x0cRestoreAgent\x12\x34.google.cloud.dialogflow.v2beta1.RestoreAgentRequest\x1a\x1d.google.longrunning.Operation"r\x82\xd3\xe4\x93\x02l"*/v2beta1/{parent=projects/*}/agent:restore:\x01*Z;"6/v2beta1/{parent=projects/*/locations/*}/agent:restore:\x01*\x12\xc2\x01\n\x13GetValidationResult\x12;.google.cloud.dialogflow.v2beta1.GetValidationResultRequest\x1a\x31.google.cloud.dialogflow.v2beta1.ValidationResult";\x82\xd3\xe4\x93\x02\x35\x12\x33/v2beta1/{parent=projects/*}/agent/validationResult\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xa8\x01\n#com.google.cloud.dialogflow.v2beta1B\nAgentProtoP\x01ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1fGoogle.Cloud.Dialogflow.V2beta1b\x06proto3'
+ '\n1google/cloud/dialogflow_v2beta1/proto/agent.proto\x12\x1fgoogle.cloud.dialogflow.v2beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a=google/cloud/dialogflow_v2beta1/proto/validation_result.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/api/client.proto"\xc2\x06\n\x05\x41gent\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x1d\n\x15\x64\x65\x66\x61ult_language_code\x18\x03 \x01(\t\x12 \n\x18supported_language_codes\x18\x04 \x03(\t\x12\x11\n\ttime_zone\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x12\n\navatar_uri\x18\x07 \x01(\t\x12\x16\n\x0e\x65nable_logging\x18\x08 \x01(\x08\x12\x44\n\nmatch_mode\x18\t \x01(\x0e\x32\x30.google.cloud.dialogflow.v2beta1.Agent.MatchMode\x12 \n\x18\x63lassification_threshold\x18\n \x01(\x02\x12\x46\n\x0b\x61pi_version\x18\x0e \x01(\x0e\x32\x31.google.cloud.dialogflow.v2beta1.Agent.ApiVersion\x12\x39\n\x04tier\x18\x0f \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.Agent.Tier"V\n\tMatchMode\x12\x1a\n\x16MATCH_MODE_UNSPECIFIED\x10\x00\x12\x15\n\x11MATCH_MODE_HYBRID\x10\x01\x12\x16\n\x12MATCH_MODE_ML_ONLY\x10\x02"l\n\nApiVersion\x12\x1b\n\x17\x41PI_VERSION_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x41PI_VERSION_V1\x10\x01\x12\x12\n\x0e\x41PI_VERSION_V2\x10\x02\x12\x19\n\x15\x41PI_VERSION_V2_BETA_1\x10\x03"^\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x11\n\rTIER_STANDARD\x10\x01\x12\x13\n\x0fTIER_ENTERPRISE\x10\x02\x12\x18\n\x14TIER_ENTERPRISE_PLUS\x10\x03:m\xea\x41j\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x18projects/{project}/agent\x12-projects/{project}/locations/{location}/agent"!\n\x0fGetAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t"y\n\x0fSetAgentRequest\x12\x35\n\x05\x61gent\x18\x01 \x01(\x0b\x32&.google.cloud.dialogflow.v2beta1.Agent\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"$\n\x12\x44\x65leteAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t"0\n\x08SubAgent\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x13\n\x0b\x65nvironment\x18\x02 \x01(\t"L\n\x13SearchAgentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"g\n\x14SearchAgentsResponse\x12\x36\n\x06\x61gents\x18\x01 \x03(\x0b\x32&.google.cloud.dialogflow.v2beta1.Agent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"#\n\x11TrainAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t"7\n\x12\x45xportAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tagent_uri\x18\x02 \x01(\t"L\n\x13\x45xportAgentResponse\x12\x13\n\tagent_uri\x18\x01 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x02 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"[\n\x12ImportAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"\\\n\x13RestoreAgentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x42\x07\n\x05\x61gent"M\n\x1aGetValidationResultRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x32\xaf\x0f\n\x06\x41gents\x12\xc2\x01\n\x08GetAgent\x12\x30.google.cloud.dialogflow.v2beta1.GetAgentRequest\x1a&.google.cloud.dialogflow.v2beta1.Agent"\\\x82\xd3\xe4\x93\x02V\x12"/v2beta1/{parent=projects/*}/agentZ0\x12./v2beta1/{parent=projects/*/locations/*}/agent\x12\xdc\x01\n\x08SetAgent\x12\x30.google.cloud.dialogflow.v2beta1.SetAgentRequest\x1a&.google.cloud.dialogflow.v2beta1.Agent"v\x82\xd3\xe4\x93\x02p"(/v2beta1/{agent.parent=projects/*}/agent:\x05\x61gentZ="4/v2beta1/{agent.parent=projects/*/locations/*}/agent:\x05\x61gent\x12\xb8\x01\n\x0b\x44\x65leteAgent\x12\x33.google.cloud.dialogflow.v2beta1.DeleteAgentRequest\x1a\x16.google.protobuf.Empty"\\\x82\xd3\xe4\x93\x02V*"/v2beta1/{parent=projects/*}/agentZ0*./v2beta1/{parent=projects/*/locations/*}/agent\x12\xae\x01\n\x0cSearchAgents\x12\x34.google.cloud.dialogflow.v2beta1.SearchAgentsRequest\x1a\x35.google.cloud.dialogflow.v2beta1.SearchAgentsResponse"1\x82\xd3\xe4\x93\x02+\x12)/v2beta1/{parent=projects/*}/agent:search\x12\xcf\x01\n\nTrainAgent\x12\x32.google.cloud.dialogflow.v2beta1.TrainAgentRequest\x1a\x1d.google.longrunning.Operation"n\x82\xd3\xe4\x93\x02h"(/v2beta1/{parent=projects/*}/agent:train:\x01*Z9"4/v2beta1/{parent=projects/*/locations/*}/agent:train:\x01*\x12\xd3\x01\n\x0b\x45xportAgent\x12\x33.google.cloud.dialogflow.v2beta1.ExportAgentRequest\x1a\x1d.google.longrunning.Operation"p\x82\xd3\xe4\x93\x02j")/v2beta1/{parent=projects/*}/agent:export:\x01*Z:"5/v2beta1/{parent=projects/*/locations/*}/agent:export:\x01*\x12\xd3\x01\n\x0bImportAgent\x12\x33.google.cloud.dialogflow.v2beta1.ImportAgentRequest\x1a\x1d.google.longrunning.Operation"p\x82\xd3\xe4\x93\x02j")/v2beta1/{parent=projects/*}/agent:import:\x01*Z:"5/v2beta1/{parent=projects/*/locations/*}/agent:import:\x01*\x12\xd7\x01\n\x0cRestoreAgent\x12\x34.google.cloud.dialogflow.v2beta1.RestoreAgentRequest\x1a\x1d.google.longrunning.Operation"r\x82\xd3\xe4\x93\x02l"*/v2beta1/{parent=projects/*}/agent:restore:\x01*Z;"6/v2beta1/{parent=projects/*/locations/*}/agent:restore:\x01*\x12\xc2\x01\n\x13GetValidationResult\x12;.google.cloud.dialogflow.v2beta1.GetValidationResultRequest\x1a\x31.google.cloud.dialogflow.v2beta1.ValidationResult";\x82\xd3\xe4\x93\x02\x35\x12\x33/v2beta1/{parent=projects/*}/agent/validationResult\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xa8\x01\n#com.google.cloud.dialogflow.v2beta1B\nAgentProtoP\x01ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1fGoogle.Cloud.Dialogflow.V2beta1b\x06proto3'
),
dependencies=[
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
@@ -534,6 +534,63 @@
)
+_SUBAGENT = _descriptor.Descriptor(
+ name="SubAgent",
+ full_name="google.cloud.dialogflow.v2beta1.SubAgent",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="project",
+ full_name="google.cloud.dialogflow.v2beta1.SubAgent.project",
+ index=0,
+ number=1,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="environment",
+ full_name="google.cloud.dialogflow.v2beta1.SubAgent.environment",
+ index=1,
+ number=2,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=1397,
+ serialized_end=1445,
+)
+
+
_SEARCHAGENTSREQUEST = _descriptor.Descriptor(
name="SearchAgentsRequest",
full_name="google.cloud.dialogflow.v2beta1.SearchAgentsRequest",
@@ -604,8 +661,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1397,
- serialized_end=1473,
+ serialized_start=1447,
+ serialized_end=1523,
)
@@ -661,8 +718,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1475,
- serialized_end=1578,
+ serialized_start=1525,
+ serialized_end=1628,
)
@@ -700,8 +757,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1580,
- serialized_end=1615,
+ serialized_start=1630,
+ serialized_end=1665,
)
@@ -757,8 +814,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1617,
- serialized_end=1672,
+ serialized_start=1667,
+ serialized_end=1722,
)
@@ -822,8 +879,8 @@
fields=[],
)
],
- serialized_start=1674,
- serialized_end=1750,
+ serialized_start=1724,
+ serialized_end=1800,
)
@@ -905,8 +962,8 @@
fields=[],
)
],
- serialized_start=1752,
- serialized_end=1843,
+ serialized_start=1802,
+ serialized_end=1893,
)
@@ -988,8 +1045,8 @@
fields=[],
)
],
- serialized_start=1845,
- serialized_end=1937,
+ serialized_start=1895,
+ serialized_end=1987,
)
@@ -1015,7 +1072,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=None,
+ serialized_options=_b("\340A\002"),
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -1033,7 +1090,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=None,
+ serialized_options=_b("\340A\001"),
file=DESCRIPTOR,
),
],
@@ -1045,8 +1102,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1939,
- serialized_end=2006,
+ serialized_start=1989,
+ serialized_end=2066,
)
_AGENT.fields_by_name["match_mode"].enum_type = _AGENT_MATCHMODE
@@ -1100,6 +1157,7 @@
DESCRIPTOR.message_types_by_name["GetAgentRequest"] = _GETAGENTREQUEST
DESCRIPTOR.message_types_by_name["SetAgentRequest"] = _SETAGENTREQUEST
DESCRIPTOR.message_types_by_name["DeleteAgentRequest"] = _DELETEAGENTREQUEST
+DESCRIPTOR.message_types_by_name["SubAgent"] = _SUBAGENT
DESCRIPTOR.message_types_by_name["SearchAgentsRequest"] = _SEARCHAGENTSREQUEST
DESCRIPTOR.message_types_by_name["SearchAgentsResponse"] = _SEARCHAGENTSRESPONSE
DESCRIPTOR.message_types_by_name["TrainAgentRequest"] = _TRAINAGENTREQUEST
@@ -1240,6 +1298,29 @@
)
_sym_db.RegisterMessage(DeleteAgentRequest)
+SubAgent = _reflection.GeneratedProtocolMessageType(
+ "SubAgent",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_SUBAGENT,
+ __module__="google.cloud.dialogflow_v2beta1.proto.agent_pb2",
+ __doc__="""Contains basic configuration for a sub-agent.
+
+
+ Attributes:
+ project:
+ Required. The project of this agent. Format:
+ ``projects/``.
+ environment:
+ Optional. The unique identifier (``environment name`` in
+ dialogflow console) of this sub-agent environment. Assumes
+ draft environment if ``environment`` is not set.
+ """,
+ # @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2beta1.SubAgent)
+ ),
+)
+_sym_db.RegisterMessage(SubAgent)
+
SearchAgentsRequest = _reflection.GeneratedProtocolMessageType(
"SearchAgentsRequest",
(_message.Message,),
@@ -1443,6 +1524,8 @@
DESCRIPTOR._options = None
_AGENT._options = None
+_GETVALIDATIONRESULTREQUEST.fields_by_name["parent"]._options = None
+_GETVALIDATIONRESULTREQUEST.fields_by_name["language_code"]._options = None
_AGENTS = _descriptor.ServiceDescriptor(
name="Agents",
@@ -1452,8 +1535,8 @@
serialized_options=_b(
"\312A\031dialogflow.googleapis.com\322AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
),
- serialized_start=2009,
- serialized_end=3976,
+ serialized_start=2069,
+ serialized_end=4036,
methods=[
_descriptor.MethodDescriptor(
name="GetAgent",
diff --git a/dialogflow_v2beta1/proto/audio_config_pb2.py b/dialogflow_v2beta1/proto/audio_config_pb2.py
index 52f1647e2..ef3db6c7a 100644
--- a/dialogflow_v2beta1/proto/audio_config_pb2.py
+++ b/dialogflow_v2beta1/proto/audio_config_pb2.py
@@ -16,7 +16,10 @@
_sym_db = _symbol_database.Default()
+from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
+from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
+from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
@@ -28,10 +31,13 @@
"\n#com.google.cloud.dialogflow.v2beta1B\020AudioConfigProtoP\001ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2beta1"
),
serialized_pb=_b(
- '\n8google/cloud/dialogflow_v2beta1/proto/audio_config.proto\x12\x1fgoogle.cloud.dialogflow.v2beta1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/api/annotations.proto"/\n\rSpeechContext\x12\x0f\n\x07phrases\x18\x01 \x03(\t\x12\r\n\x05\x62oost\x18\x02 \x01(\x02"\x92\x01\n\x0eSpeechWordInfo\x12\x0c\n\x04word\x18\x03 \x01(\t\x12/\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\nconfidence\x18\x04 \x01(\x02"\xfa\x02\n\x10InputAudioConfig\x12\x46\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32..google.cloud.dialogflow.v2beta1.AudioEncoding\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\x12\x18\n\x10\x65nable_word_info\x18\r \x01(\x08\x12\x14\n\x0cphrase_hints\x18\x04 \x03(\t\x12G\n\x0fspeech_contexts\x18\x0b \x03(\x0b\x32..google.cloud.dialogflow.v2beta1.SpeechContext\x12\r\n\x05model\x18\x07 \x01(\t\x12J\n\rmodel_variant\x18\n \x01(\x0e\x32\x33.google.cloud.dialogflow.v2beta1.SpeechModelVariant\x12\x18\n\x10single_utterance\x18\x08 \x01(\x08"k\n\x14VoiceSelectionParams\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x45\n\x0bssml_gender\x18\x02 \x01(\x0e\x32\x30.google.cloud.dialogflow.v2beta1.SsmlVoiceGender"\xb8\x01\n\x16SynthesizeSpeechConfig\x12\x15\n\rspeaking_rate\x18\x01 \x01(\x01\x12\r\n\x05pitch\x18\x02 \x01(\x01\x12\x16\n\x0evolume_gain_db\x18\x03 \x01(\x01\x12\x1a\n\x12\x65\x66\x66\x65\x63ts_profile_id\x18\x05 \x03(\t\x12\x44\n\x05voice\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.VoiceSelectionParams"\xd7\x01\n\x11OutputAudioConfig\x12L\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.v2beta1.OutputAudioEncoding\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12Y\n\x18synthesize_speech_config\x18\x03 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig*\xfb\x01\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41UDIO_ENCODING_LINEAR_16\x10\x01\x12\x17\n\x13\x41UDIO_ENCODING_FLAC\x10\x02\x12\x18\n\x14\x41UDIO_ENCODING_MULAW\x10\x03\x12\x16\n\x12\x41UDIO_ENCODING_AMR\x10\x04\x12\x19\n\x15\x41UDIO_ENCODING_AMR_WB\x10\x05\x12\x1b\n\x17\x41UDIO_ENCODING_OGG_OPUS\x10\x06\x12)\n%AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE\x10\x07*v\n\x12SpeechModelVariant\x12$\n SPEECH_MODEL_VARIANT_UNSPECIFIED\x10\x00\x12\x16\n\x12USE_BEST_AVAILABLE\x10\x01\x12\x10\n\x0cUSE_STANDARD\x10\x02\x12\x10\n\x0cUSE_ENHANCED\x10\x03*\x8d\x01\n\x0fSsmlVoiceGender\x12!\n\x1dSSML_VOICE_GENDER_UNSPECIFIED\x10\x00\x12\x1a\n\x16SSML_VOICE_GENDER_MALE\x10\x01\x12\x1c\n\x18SSML_VOICE_GENDER_FEMALE\x10\x02\x12\x1d\n\x19SSML_VOICE_GENDER_NEUTRAL\x10\x03*\xa4\x01\n\x13OutputAudioEncoding\x12%\n!OUTPUT_AUDIO_ENCODING_UNSPECIFIED\x10\x00\x12#\n\x1fOUTPUT_AUDIO_ENCODING_LINEAR_16\x10\x01\x12\x1d\n\x19OUTPUT_AUDIO_ENCODING_MP3\x10\x02\x12"\n\x1eOUTPUT_AUDIO_ENCODING_OGG_OPUS\x10\x03\x42\xae\x01\n#com.google.cloud.dialogflow.v2beta1B\x10\x41udioConfigProtoP\x01ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1fGoogle.Cloud.Dialogflow.V2beta1b\x06proto3'
+ '\n8google/cloud/dialogflow_v2beta1/proto/audio_config.proto\x12\x1fgoogle.cloud.dialogflow.v2beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/api/annotations.proto"/\n\rSpeechContext\x12\x0f\n\x07phrases\x18\x01 \x03(\t\x12\r\n\x05\x62oost\x18\x02 \x01(\x02"\x92\x01\n\x0eSpeechWordInfo\x12\x0c\n\x04word\x18\x03 \x01(\t\x12/\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\nconfidence\x18\x04 \x01(\x02"\x81\x03\n\x10InputAudioConfig\x12\x46\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32..google.cloud.dialogflow.v2beta1.AudioEncoding\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\x12\x18\n\x10\x65nable_word_info\x18\r \x01(\x08\x12\x1b\n\x0cphrase_hints\x18\x04 \x03(\tB\x05\x18\x01\xe0\x41\x01\x12G\n\x0fspeech_contexts\x18\x0b \x03(\x0b\x32..google.cloud.dialogflow.v2beta1.SpeechContext\x12\r\n\x05model\x18\x07 \x01(\t\x12J\n\rmodel_variant\x18\n \x01(\x0e\x32\x33.google.cloud.dialogflow.v2beta1.SpeechModelVariant\x12\x18\n\x10single_utterance\x18\x08 \x01(\x08"k\n\x14VoiceSelectionParams\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x45\n\x0bssml_gender\x18\x02 \x01(\x0e\x32\x30.google.cloud.dialogflow.v2beta1.SsmlVoiceGender"\xb8\x01\n\x16SynthesizeSpeechConfig\x12\x15\n\rspeaking_rate\x18\x01 \x01(\x01\x12\r\n\x05pitch\x18\x02 \x01(\x01\x12\x16\n\x0evolume_gain_db\x18\x03 \x01(\x01\x12\x1a\n\x12\x65\x66\x66\x65\x63ts_profile_id\x18\x05 \x03(\t\x12\x44\n\x05voice\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.VoiceSelectionParams"\xdc\x01\n\x11OutputAudioConfig\x12Q\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.v2beta1.OutputAudioEncodingB\x03\xe0\x41\x02\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12Y\n\x18synthesize_speech_config\x18\x03 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig*\xfb\x01\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41UDIO_ENCODING_LINEAR_16\x10\x01\x12\x17\n\x13\x41UDIO_ENCODING_FLAC\x10\x02\x12\x18\n\x14\x41UDIO_ENCODING_MULAW\x10\x03\x12\x16\n\x12\x41UDIO_ENCODING_AMR\x10\x04\x12\x19\n\x15\x41UDIO_ENCODING_AMR_WB\x10\x05\x12\x1b\n\x17\x41UDIO_ENCODING_OGG_OPUS\x10\x06\x12)\n%AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE\x10\x07*v\n\x12SpeechModelVariant\x12$\n SPEECH_MODEL_VARIANT_UNSPECIFIED\x10\x00\x12\x16\n\x12USE_BEST_AVAILABLE\x10\x01\x12\x10\n\x0cUSE_STANDARD\x10\x02\x12\x10\n\x0cUSE_ENHANCED\x10\x03*\x8d\x01\n\x0fSsmlVoiceGender\x12!\n\x1dSSML_VOICE_GENDER_UNSPECIFIED\x10\x00\x12\x1a\n\x16SSML_VOICE_GENDER_MALE\x10\x01\x12\x1c\n\x18SSML_VOICE_GENDER_FEMALE\x10\x02\x12\x1d\n\x19SSML_VOICE_GENDER_NEUTRAL\x10\x03*\xa4\x01\n\x13OutputAudioEncoding\x12%\n!OUTPUT_AUDIO_ENCODING_UNSPECIFIED\x10\x00\x12#\n\x1fOUTPUT_AUDIO_ENCODING_LINEAR_16\x10\x01\x12\x1d\n\x19OUTPUT_AUDIO_ENCODING_MP3\x10\x02\x12"\n\x1eOUTPUT_AUDIO_ENCODING_OGG_OPUS\x10\x03\x42\xae\x01\n#com.google.cloud.dialogflow.v2beta1B\x10\x41udioConfigProtoP\x01ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1fGoogle.Cloud.Dialogflow.V2beta1b\x06proto3'
),
dependencies=[
+ google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,
+ google_dot_api_dot_resource__pb2.DESCRIPTOR,
google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,
+ google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
],
)
@@ -101,8 +107,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=1249,
- serialized_end=1500,
+ serialized_start=1355,
+ serialized_end=1606,
)
_sym_db.RegisterEnumDescriptor(_AUDIOENCODING)
@@ -136,8 +142,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=1502,
- serialized_end=1620,
+ serialized_start=1608,
+ serialized_end=1726,
)
_sym_db.RegisterEnumDescriptor(_SPEECHMODELVARIANT)
@@ -179,8 +185,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=1623,
- serialized_end=1764,
+ serialized_start=1729,
+ serialized_end=1870,
)
_sym_db.RegisterEnumDescriptor(_SSMLVOICEGENDER)
@@ -222,8 +228,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=1767,
- serialized_end=1931,
+ serialized_start=1873,
+ serialized_end=2037,
)
_sym_db.RegisterEnumDescriptor(_OUTPUTAUDIOENCODING)
@@ -302,8 +308,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=155,
- serialized_end=202,
+ serialized_start=249,
+ serialized_end=296,
)
@@ -395,8 +401,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=205,
- serialized_end=351,
+ serialized_start=299,
+ serialized_end=445,
)
@@ -494,7 +500,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=None,
+ serialized_options=_b("\030\001\340A\001"),
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -578,8 +584,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=354,
- serialized_end=732,
+ serialized_start=448,
+ serialized_end=833,
)
@@ -635,8 +641,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=734,
- serialized_end=841,
+ serialized_start=835,
+ serialized_end=942,
)
@@ -746,8 +752,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=844,
- serialized_end=1028,
+ serialized_start=945,
+ serialized_end=1129,
)
@@ -773,7 +779,7 @@
containing_type=None,
is_extension=False,
extension_scope=None,
- serialized_options=None,
+ serialized_options=_b("\340A\002"),
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
@@ -821,8 +827,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1031,
- serialized_end=1246,
+ serialized_start=1132,
+ serialized_end=1352,
)
_SPEECHWORDINFO.fields_by_name[
@@ -858,8 +864,8 @@
dict(
DESCRIPTOR=_SPEECHCONTEXT,
__module__="google.cloud.dialogflow_v2beta1.proto.audio_config_pb2",
- __doc__="""Hints for the speech recognizer to help with recognition in a specific
- conversation state.
+ __doc__="""Hints for the speech recognizer to help with recognition
+ in a specific conversation state.
Attributes:
@@ -893,7 +899,8 @@
dict(
DESCRIPTOR=_SPEECHWORDINFO,
__module__="google.cloud.dialogflow_v2beta1.proto.audio_config_pb2",
- __doc__="""Information for a word recognized by the speech recognizer.
+ __doc__="""Information for a word recognized by the speech
+ recognizer.
Attributes:
@@ -929,7 +936,8 @@
dict(
DESCRIPTOR=_INPUTAUDIOCONFIG,
__module__="google.cloud.dialogflow_v2beta1.proto.audio_config_pb2",
- __doc__="""Instructs the speech recognizer on how to process the audio content.
+ __doc__="""Instructs the speech recognizer on how to process the
+ audio content.
Attributes:
@@ -959,7 +967,11 @@
the speech recognizer should recognize with higher likelihood.
See `the Cloud Speech documentation
`__ for more details.
+ hints>`__ for more details. This field is deprecated. Please
+ use `speech\_contexts` instead. If you specify both
+ `phrase\_hints` and `speech\_contexts`, Dialogflow
+ will treat the `phrase\_hints` as a single additional
+ `SpeechContext`.
speech_contexts:
Optional. Context information to assist speech recognition.
See `the Cloud Speech documentation
@@ -1010,11 +1022,13 @@
name:
Optional. The name of the voice. If not set, the service will
choose a voice based on the other parameters such as
- language\_code and gender.
+ language\_code and [ssml\_gender][google.cloud.dialogflow.v2be
+ ta1.VoiceSelectionParams.ssml\_gender].
ssml_gender:
Optional. The preferred gender of the voice. If not set, the
service will choose a voice based on the other parameters such
- as language\_code and name. Note that this is only a
+ as language\_code and [name][google.cloud.dialogflow.v2beta1.V
+ oiceSelectionParams.name]. Note that this is only a
preference, not requirement. If a voice of the appropriate
gender is not available, the synthesizer should substitute a
voice with a different gender rather than failing the request.
@@ -1073,22 +1087,23 @@
dict(
DESCRIPTOR=_OUTPUTAUDIOCONFIG,
__module__="google.cloud.dialogflow_v2beta1.proto.audio_config_pb2",
- __doc__="""Instructs the speech synthesizer how to generate the output audio
- content.
+ __doc__="""Instructs the speech synthesizer how to generate the
+ output audio content. If this audio config is supplied in a request, it
+ overrides all existing text-to-speech settings applied to the agent.
Attributes:
audio_encoding:
Required. Audio encoding of the synthesized audio content.
sample_rate_hertz:
- Optional. The synthesis sample rate (in hertz) for this audio.
- If not provided, then the synthesizer will use the default
- sample rate based on the audio encoding. If this is different
- from the voice's natural sample rate, then the synthesizer
- will honor this request by converting to the desired sample
- rate (which might result in worse audio quality).
+ The synthesis sample rate (in hertz) for this audio. If not
+ provided, then the synthesizer will use the default sample
+ rate based on the audio encoding. If this is different from
+ the voice's natural sample rate, then the synthesizer will
+ honor this request by converting to the desired sample rate
+ (which might result in worse audio quality).
synthesize_speech_config:
- Optional. Configuration of how speech should be synthesized.
+ Configuration of how speech should be synthesized.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2beta1.OutputAudioConfig)
),
@@ -1097,4 +1112,6 @@
DESCRIPTOR._options = None
+_INPUTAUDIOCONFIG.fields_by_name["phrase_hints"]._options = None
+_OUTPUTAUDIOCONFIG.fields_by_name["audio_encoding"]._options = None
# @@protoc_insertion_point(module_scope)
diff --git a/dialogflow_v2beta1/proto/context_pb2.py b/dialogflow_v2beta1/proto/context_pb2.py
index 2fe918d77..9e3a150f0 100644
--- a/dialogflow_v2beta1/proto/context_pb2.py
+++ b/dialogflow_v2beta1/proto/context_pb2.py
@@ -518,7 +518,11 @@
contain characters in a-zA-Z0-9\_-% and may be at most 250
bytes long. If ``Environment ID`` is not specified, we assume
default 'draft' environment. If ``User ID`` is not specified,
- we assume default '-' user.
+ we assume default '-' user. The following context names are
+ reserved for internal use by Dialogflow. You should not use
+ these contexts or create contexts with these names: -
+ ``__system_counters__`` - ``*_id_dialog_context`` -
+ ``*_dialog_params_size``
lifespan_count:
Optional. The number of conversational query requests after
which the context expires. If set to ``0`` (the default) the
diff --git a/dialogflow_v2beta1/proto/document_pb2.py b/dialogflow_v2beta1/proto/document_pb2.py
index 5524c536e..de27fcd11 100644
--- a/dialogflow_v2beta1/proto/document_pb2.py
+++ b/dialogflow_v2beta1/proto/document_pb2.py
@@ -16,6 +16,7 @@
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
+from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from dialogflow_v2beta1.proto import (
gcs_pb2 as google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_gcs__pb2,
)
@@ -37,10 +38,11 @@
"\n#com.google.cloud.dialogflow.v2beta1B\rDocumentProtoP\001ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2beta1"
),
serialized_pb=_b(
- '\n4google/cloud/dialogflow_v2beta1/proto/document.proto\x12\x1fgoogle.cloud.dialogflow.v2beta1\x1a\x1cgoogle/api/annotations.proto\x1a/google/cloud/dialogflow_v2beta1/proto/gcs.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.proto"\xaf\x02\n\x08\x44ocument\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x11\n\tmime_type\x18\x03 \x01(\t\x12P\n\x0fknowledge_types\x18\x04 \x03(\x0e\x32\x37.google.cloud.dialogflow.v2beta1.Document.KnowledgeType\x12\x15\n\x0b\x63ontent_uri\x18\x05 \x01(\tH\x00\x12\x15\n\x07\x63ontent\x18\x06 \x01(\tB\x02\x18\x01H\x00\x12\x15\n\x0braw_content\x18\t \x01(\x0cH\x00"K\n\rKnowledgeType\x12\x1e\n\x1aKNOWLEDGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x46\x41Q\x10\x01\x12\x11\n\rEXTRACTIVE_QA\x10\x02\x42\x08\n\x06source"M\n\x14ListDocumentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"n\n\x15ListDocumentsResponse\x12<\n\tdocuments\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.v2beta1.Document\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t""\n\x12GetDocumentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"d\n\x15\x43reateDocumentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12;\n\x08\x64ocument\x18\x02 \x01(\x0b\x32).google.cloud.dialogflow.v2beta1.Document"%\n\x15\x44\x65leteDocumentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"\x85\x01\n\x15UpdateDocumentRequest\x12;\n\x08\x64ocument\x18\x01 \x01(\x0b\x32).google.cloud.dialogflow.v2beta1.Document\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xb2\x01\n\x1aKnowledgeOperationMetadata\x12P\n\x05state\x18\x01 \x01(\x0e\x32\x41.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata.State"B\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03"q\n\x15ReloadDocumentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\ngcs_source\x18\x03 \x01(\x0b\x32*.google.cloud.dialogflow.v2beta1.GcsSourceH\x00\x42\x08\n\x06source2\x81\r\n\tDocuments\x12\x81\x02\n\rListDocuments\x12\x35.google.cloud.dialogflow.v2beta1.ListDocumentsRequest\x1a\x36.google.cloud.dialogflow.v2beta1.ListDocumentsResponse"\x80\x01\x82\xd3\xe4\x93\x02z\x12\x37/v2beta1/{parent=projects/*/knowledgeBases/*}/documentsZ?\x12=/v2beta1/{parent=projects/*/agent/knowledgeBases/*}/documents\x12\xf0\x01\n\x0bGetDocument\x12\x33.google.cloud.dialogflow.v2beta1.GetDocumentRequest\x1a).google.cloud.dialogflow.v2beta1.Document"\x80\x01\x82\xd3\xe4\x93\x02z\x12\x37/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}Z?\x12=/v2beta1/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\xff\x01\n\x0e\x43reateDocument\x12\x36.google.cloud.dialogflow.v2beta1.CreateDocumentRequest\x1a\x1d.google.longrunning.Operation"\x95\x01\x82\xd3\xe4\x93\x02\x8e\x01"7/v2beta1/{parent=projects/*/knowledgeBases/*}/documents:\x08\x64ocumentZI"=/v2beta1/{parent=projects/*/agent/knowledgeBases/*}/documents:\x08\x64ocument\x12\xea\x01\n\x0e\x44\x65leteDocument\x12\x36.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest\x1a\x1d.google.longrunning.Operation"\x80\x01\x82\xd3\xe4\x93\x02z*7/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}Z?*=/v2beta1/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\x91\x02\n\x0eUpdateDocument\x12\x36.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest\x1a\x1d.google.longrunning.Operation"\xa7\x01\x82\xd3\xe4\x93\x02\xa0\x01\x32@/v2beta1/{document.name=projects/*/knowledgeBases/*/documents/*}:\x08\x64ocumentZR2F/v2beta1/{document.name=projects/*/agent/knowledgeBases/*/documents/*}:\x08\x64ocument\x12\xff\x01\n\x0eReloadDocument\x12\x36.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest\x1a\x1d.google.longrunning.Operation"\x95\x01\x82\xd3\xe4\x93\x02\x8e\x01">/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}:reload:\x01*ZI"D/v2beta1/{name=projects/*/agent/knowledgeBases/*/documents/*}:reload:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xab\x01\n#com.google.cloud.dialogflow.v2beta1B\rDocumentProtoP\x01ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1fGoogle.Cloud.Dialogflow.V2beta1b\x06proto3'
+ '\n4google/cloud/dialogflow_v2beta1/proto/document.proto\x12\x1fgoogle.cloud.dialogflow.v2beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a/google/cloud/dialogflow_v2beta1/proto/gcs.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.proto"\xaf\x02\n\x08\x44ocument\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x11\n\tmime_type\x18\x03 \x01(\t\x12P\n\x0fknowledge_types\x18\x04 \x03(\x0e\x32\x37.google.cloud.dialogflow.v2beta1.Document.KnowledgeType\x12\x15\n\x0b\x63ontent_uri\x18\x05 \x01(\tH\x00\x12\x15\n\x07\x63ontent\x18\x06 \x01(\tB\x02\x18\x01H\x00\x12\x15\n\x0braw_content\x18\t \x01(\x0cH\x00"K\n\rKnowledgeType\x12\x1e\n\x1aKNOWLEDGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x46\x41Q\x10\x01\x12\x11\n\rEXTRACTIVE_QA\x10\x02\x42\x08\n\x06source"M\n\x14ListDocumentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t"n\n\x15ListDocumentsResponse\x12<\n\tdocuments\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.v2beta1.Document\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t""\n\x12GetDocumentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"d\n\x15\x43reateDocumentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12;\n\x08\x64ocument\x18\x02 \x01(\x0b\x32).google.cloud.dialogflow.v2beta1.Document"%\n\x15\x44\x65leteDocumentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"\x85\x01\n\x15UpdateDocumentRequest\x12;\n\x08\x64ocument\x18\x01 \x01(\x0b\x32).google.cloud.dialogflow.v2beta1.Document\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xb2\x01\n\x1aKnowledgeOperationMetadata\x12P\n\x05state\x18\x01 \x01(\x0e\x32\x41.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata.State"B\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03"q\n\x15ReloadDocumentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\ngcs_source\x18\x03 \x01(\x0b\x32*.google.cloud.dialogflow.v2beta1.GcsSourceH\x00\x42\x08\n\x06source2\x81\r\n\tDocuments\x12\x81\x02\n\rListDocuments\x12\x35.google.cloud.dialogflow.v2beta1.ListDocumentsRequest\x1a\x36.google.cloud.dialogflow.v2beta1.ListDocumentsResponse"\x80\x01\x82\xd3\xe4\x93\x02z\x12\x37/v2beta1/{parent=projects/*/knowledgeBases/*}/documentsZ?\x12=/v2beta1/{parent=projects/*/agent/knowledgeBases/*}/documents\x12\xf0\x01\n\x0bGetDocument\x12\x33.google.cloud.dialogflow.v2beta1.GetDocumentRequest\x1a).google.cloud.dialogflow.v2beta1.Document"\x80\x01\x82\xd3\xe4\x93\x02z\x12\x37/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}Z?\x12=/v2beta1/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\xff\x01\n\x0e\x43reateDocument\x12\x36.google.cloud.dialogflow.v2beta1.CreateDocumentRequest\x1a\x1d.google.longrunning.Operation"\x95\x01\x82\xd3\xe4\x93\x02\x8e\x01"7/v2beta1/{parent=projects/*/knowledgeBases/*}/documents:\x08\x64ocumentZI"=/v2beta1/{parent=projects/*/agent/knowledgeBases/*}/documents:\x08\x64ocument\x12\xea\x01\n\x0e\x44\x65leteDocument\x12\x36.google.cloud.dialogflow.v2beta1.DeleteDocumentRequest\x1a\x1d.google.longrunning.Operation"\x80\x01\x82\xd3\xe4\x93\x02z*7/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}Z?*=/v2beta1/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\x91\x02\n\x0eUpdateDocument\x12\x36.google.cloud.dialogflow.v2beta1.UpdateDocumentRequest\x1a\x1d.google.longrunning.Operation"\xa7\x01\x82\xd3\xe4\x93\x02\xa0\x01\x32@/v2beta1/{document.name=projects/*/knowledgeBases/*/documents/*}:\x08\x64ocumentZR2F/v2beta1/{document.name=projects/*/agent/knowledgeBases/*/documents/*}:\x08\x64ocument\x12\xff\x01\n\x0eReloadDocument\x12\x36.google.cloud.dialogflow.v2beta1.ReloadDocumentRequest\x1a\x1d.google.longrunning.Operation"\x95\x01\x82\xd3\xe4\x93\x02\x8e\x01">/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}:reload:\x01*ZI"D/v2beta1/{name=projects/*/agent/knowledgeBases/*/documents/*}:reload:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xab\x01\n#com.google.cloud.dialogflow.v2beta1B\rDocumentProtoP\x01ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1fGoogle.Cloud.Dialogflow.V2beta1b\x06proto3'
),
dependencies=[
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
+ google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,
google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_gcs__pb2.DESCRIPTOR,
google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,
google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,
@@ -74,8 +76,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=570,
- serialized_end=645,
+ serialized_start=603,
+ serialized_end=678,
)
_sym_db.RegisterEnumDescriptor(_DOCUMENT_KNOWLEDGETYPE)
@@ -104,8 +106,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=1274,
- serialized_end=1340,
+ serialized_start=1307,
+ serialized_end=1373,
)
_sym_db.RegisterEnumDescriptor(_KNOWLEDGEOPERATIONMETADATA_STATE)
@@ -260,8 +262,8 @@
fields=[],
)
],
- serialized_start=352,
- serialized_end=655,
+ serialized_start=385,
+ serialized_end=688,
)
@@ -335,8 +337,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=657,
- serialized_end=734,
+ serialized_start=690,
+ serialized_end=767,
)
@@ -392,8 +394,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=736,
- serialized_end=846,
+ serialized_start=769,
+ serialized_end=879,
)
@@ -431,8 +433,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=848,
- serialized_end=882,
+ serialized_start=881,
+ serialized_end=915,
)
@@ -488,8 +490,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=884,
- serialized_end=984,
+ serialized_start=917,
+ serialized_end=1017,
)
@@ -527,8 +529,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=986,
- serialized_end=1023,
+ serialized_start=1019,
+ serialized_end=1056,
)
@@ -584,8 +586,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1026,
- serialized_end=1159,
+ serialized_start=1059,
+ serialized_end=1192,
)
@@ -623,8 +625,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1162,
- serialized_end=1340,
+ serialized_start=1195,
+ serialized_end=1373,
)
@@ -688,8 +690,8 @@
fields=[],
)
],
- serialized_start=1342,
- serialized_end=1455,
+ serialized_start=1375,
+ serialized_end=1488,
)
_DOCUMENT.fields_by_name["knowledge_types"].enum_type = _DOCUMENT_KNOWLEDGETYPE
@@ -987,8 +989,8 @@
serialized_options=_b(
"\312A\031dialogflow.googleapis.com\322AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflow"
),
- serialized_start=1458,
- serialized_end=3123,
+ serialized_start=1491,
+ serialized_end=3156,
methods=[
_descriptor.MethodDescriptor(
name="ListDocuments",
diff --git a/dialogflow_v2beta1/proto/entity_type_pb2.py b/dialogflow_v2beta1/proto/entity_type_pb2.py
index fd7bb7e3d..160313efb 100644
--- a/dialogflow_v2beta1/proto/entity_type_pb2.py
+++ b/dialogflow_v2beta1/proto/entity_type_pb2.py
@@ -1271,7 +1271,7 @@
Required. The primary value associated with this entity entry.
For example, if the entity type is *vegetable*, the value
could be *scallions*. For ``KIND_MAP`` entity types: - A
- canonical value to be used in place of synonyms. For
+ reference value to be used in place of synonyms. For
``KIND_LIST`` entity types: - A string that can contain
references to other entity types (with or without aliases).
synonyms:
@@ -1286,8 +1286,8 @@
),
DESCRIPTOR=_ENTITYTYPE,
__module__="google.cloud.dialogflow_v2beta1.proto.entity_type_pb2",
- __doc__="""Represents an entity type. Entity types serve as a tool for extracting
- parameter values from natural language queries.
+ __doc__="""Represents an entity type. Entity types serve as a tool
+ for extracting parameter values from natural language queries.
Attributes:
@@ -1636,7 +1636,7 @@
Format: ``projects//agent/entityTypes/``.
entity_values:
- Required. The canonical ``values`` of the entities to delete.
+ Required. The reference ``values`` of the entities to delete.
Note that these are not fully-qualified names, i.e. they don't
start with ``projects/``.
language_code:
@@ -1657,7 +1657,8 @@
dict(
DESCRIPTOR=_ENTITYTYPEBATCH,
__module__="google.cloud.dialogflow_v2beta1.proto.entity_type_pb2",
- __doc__="""This message is a wrapper around a collection of entity types.
+ __doc__="""This message is a wrapper around a collection of entity
+ types.
Attributes:
diff --git a/dialogflow_v2beta1/proto/entity_type_pb2_grpc.py b/dialogflow_v2beta1/proto/entity_type_pb2_grpc.py
index a6bec591b..7cfbe394c 100644
--- a/dialogflow_v2beta1/proto/entity_type_pb2_grpc.py
+++ b/dialogflow_v2beta1/proto/entity_type_pb2_grpc.py
@@ -25,11 +25,11 @@ class EntityTypesStub(object):
data types such as date, time, currency, and so on. A system entity is
represented by the `EntityType` type.
- * **Developer** - entities that are defined by you that represent
+ * **Custom** - entities that are defined by you that represent
actionable data that is meaningful to your application. For example,
you could define a `pizza.sauce` entity for red or white pizza sauce,
a `pizza.cheese` entity for the different types of cheese on a pizza,
- a `pizza.topping` entity for different toppings, and so on. A developer
+ a `pizza.topping` entity for different toppings, and so on. A custom
entity is represented by the `EntityType` type.
* **User** - entities that are built for an individual user such as
@@ -114,11 +114,11 @@ class EntityTypesServicer(object):
data types such as date, time, currency, and so on. A system entity is
represented by the `EntityType` type.
- * **Developer** - entities that are defined by you that represent
+ * **Custom** - entities that are defined by you that represent
actionable data that is meaningful to your application. For example,
you could define a `pizza.sauce` entity for red or white pizza sauce,
a `pizza.cheese` entity for the different types of cheese on a pizza,
- a `pizza.topping` entity for different toppings, and so on. A developer
+ a `pizza.topping` entity for different toppings, and so on. A custom
entity is represented by the `EntityType` type.
* **User** - entities that are built for an individual user such as
diff --git a/dialogflow_v2beta1/proto/intent_pb2.py b/dialogflow_v2beta1/proto/intent_pb2.py
index c6a48c07f..24cad84b5 100644
--- a/dialogflow_v2beta1/proto/intent_pb2.py
+++ b/dialogflow_v2beta1/proto/intent_pb2.py
@@ -43,7 +43,7 @@
"\n#com.google.cloud.dialogflow.v2beta1B\013IntentProtoP\001ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2beta1"
),
serialized_pb=_b(
- '\n2google/cloud/dialogflow_v2beta1/proto/intent.proto\x12\x1fgoogle.cloud.dialogflow.v2beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/dialogflow_v2beta1/proto/audio_config.proto\x1a\x33google/cloud/dialogflow_v2beta1/proto/context.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/api/client.proto"\xf5M\n\x06Intent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12K\n\rwebhook_state\x18\x06 \x01(\x0e\x32\x34.google.cloud.dialogflow.v2beta1.Intent.WebhookState\x12\x10\n\x08priority\x18\x03 \x01(\x05\x12\x13\n\x0bis_fallback\x18\x04 \x01(\x08\x12\x16\n\nml_enabled\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\x13\n\x0bml_disabled\x18\x13 \x01(\x08\x12\x17\n\x0f\x65nd_interaction\x18\x15 \x01(\x08\x12\x1b\n\x13input_context_names\x18\x07 \x03(\t\x12\x0e\n\x06\x65vents\x18\x08 \x03(\t\x12P\n\x10training_phrases\x18\t \x03(\x0b\x32\x36.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase\x12\x0e\n\x06\x61\x63tion\x18\n \x01(\t\x12\x41\n\x0foutput_contexts\x18\x0b \x03(\x0b\x32(.google.cloud.dialogflow.v2beta1.Context\x12\x16\n\x0ereset_contexts\x18\x0c \x01(\x08\x12\x45\n\nparameters\x18\r \x03(\x0b\x32\x31.google.cloud.dialogflow.v2beta1.Intent.Parameter\x12\x41\n\x08messages\x18\x0e \x03(\x0b\x32/.google.cloud.dialogflow.v2beta1.Intent.Message\x12\\\n\x1a\x64\x65\x66\x61ult_response_platforms\x18\x0f \x03(\x0e\x32\x38.google.cloud.dialogflow.v2beta1.Intent.Message.Platform\x12!\n\x19root_followup_intent_name\x18\x10 \x01(\t\x12#\n\x1bparent_followup_intent_name\x18\x11 \x01(\t\x12X\n\x14\x66ollowup_intent_info\x18\x12 \x03(\x0b\x32:.google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo\x1a\xdd\x02\n\x0eTrainingPhrase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12I\n\x04type\x18\x02 \x01(\x0e\x32;.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Type\x12J\n\x05parts\x18\x03 \x03(\x0b\x32;.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part\x12\x19\n\x11times_added_count\x18\x04 \x01(\x05\x1aN\n\x04Part\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x13\n\x0b\x65ntity_type\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\x12\x14\n\x0cuser_defined\x18\x04 \x01(\x08";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45XAMPLE\x10\x01\x12\x10\n\x08TEMPLATE\x10\x02\x1a\x02\x08\x01\x1a\xac\x01\n\tParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x15\n\rdefault_value\x18\x04 \x01(\t\x12 \n\x18\x65ntity_type_display_name\x18\x05 \x01(\t\x12\x11\n\tmandatory\x18\x06 \x01(\x08\x12\x0f\n\x07prompts\x18\x07 \x03(\t\x12\x0f\n\x07is_list\x18\x08 \x01(\x08\x1a\xa6@\n\x07Message\x12\x44\n\x04text\x18\x01 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2beta1.Intent.Message.TextH\x00\x12\x46\n\x05image\x18\x02 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.ImageH\x00\x12U\n\rquick_replies\x18\x03 \x01(\x0b\x32<.google.cloud.dialogflow.v2beta1.Intent.Message.QuickRepliesH\x00\x12\x44\n\x04\x63\x61rd\x18\x04 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2beta1.Intent.Message.CardH\x00\x12*\n\x07payload\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12[\n\x10simple_responses\x18\x07 \x01(\x0b\x32?.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponsesH\x00\x12O\n\nbasic_card\x18\x08 \x01(\x0b\x32\x39.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCardH\x00\x12R\n\x0bsuggestions\x18\t \x01(\x0b\x32;.google.cloud.dialogflow.v2beta1.Intent.Message.SuggestionsH\x00\x12`\n\x13link_out_suggestion\x18\n \x01(\x0b\x32\x41.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestionH\x00\x12Q\n\x0blist_select\x18\x0b \x01(\x0b\x32:.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelectH\x00\x12Y\n\x0f\x63\x61rousel_select\x18\x0c \x01(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelectH\x00\x12\x62\n\x14telephony_play_audio\x18\r \x01(\x0b\x32\x42.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudioH\x00\x12p\n\x1btelephony_synthesize_speech\x18\x0e \x01(\x0b\x32I.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeechH\x00\x12h\n\x17telephony_transfer_call\x18\x0f \x01(\x0b\x32\x45.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCallH\x00\x12K\n\x08rbm_text\x18\x12 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2beta1.Intent.Message.RbmTextH\x00\x12\x65\n\x18rbm_standalone_rich_card\x18\x13 \x01(\x0b\x32\x41.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCardH\x00\x12\x61\n\x16rbm_carousel_rich_card\x18\x14 \x01(\x0b\x32?.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCardH\x00\x12\x62\n\x14\x62rowse_carousel_card\x18\x16 \x01(\x0b\x32\x42.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCardH\x00\x12O\n\ntable_card\x18\x17 \x01(\x0b\x32\x39.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardH\x00\x12U\n\rmedia_content\x18\x18 \x01(\x0b\x32<.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContentH\x00\x12J\n\x08platform\x18\x06 \x01(\x0e\x32\x38.google.cloud.dialogflow.v2beta1.Intent.Message.Platform\x1a\x14\n\x04Text\x12\x0c\n\x04text\x18\x01 \x03(\t\x1a\x36\n\x05Image\x12\x11\n\timage_uri\x18\x01 \x01(\t\x12\x1a\n\x12\x61\x63\x63\x65ssibility_text\x18\x02 \x01(\t\x1a\x34\n\x0cQuickReplies\x12\r\n\x05title\x18\x01 \x01(\t\x12\x15\n\rquick_replies\x18\x02 \x03(\t\x1a\xb2\x01\n\x04\x43\x61rd\x12\r\n\x05title\x18\x01 \x01(\t\x12\x10\n\x08subtitle\x18\x02 \x01(\t\x12\x11\n\timage_uri\x18\x03 \x01(\t\x12L\n\x07\x62uttons\x18\x04 \x03(\x0b\x32;.google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button\x1a(\n\x06\x42utton\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x10\n\x08postback\x18\x02 \x01(\t\x1aL\n\x0eSimpleResponse\x12\x16\n\x0etext_to_speech\x18\x01 \x01(\t\x12\x0c\n\x04ssml\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_text\x18\x03 \x01(\t\x1ak\n\x0fSimpleResponses\x12X\n\x10simple_responses\x18\x01 \x03(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse\x1a\xfe\x02\n\tBasicCard\x12\r\n\x05title\x18\x01 \x01(\t\x12\x10\n\x08subtitle\x18\x02 \x01(\t\x12\x16\n\x0e\x66ormatted_text\x18\x03 \x01(\t\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.Image\x12Q\n\x07\x62uttons\x18\x05 \x03(\x0b\x32@.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button\x1a\x9e\x01\n\x06\x42utton\x12\r\n\x05title\x18\x01 \x01(\t\x12g\n\x0fopen_uri_action\x18\x02 \x01(\x0b\x32N.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction\x1a\x1c\n\rOpenUriAction\x12\x0b\n\x03uri\x18\x01 \x01(\t\x1a\x1b\n\nSuggestion\x12\r\n\x05title\x18\x01 \x01(\t\x1a^\n\x0bSuggestions\x12O\n\x0bsuggestions\x18\x01 \x03(\x0b\x32:.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion\x1a:\n\x11LinkOutSuggestion\x12\x18\n\x10\x64\x65stination_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x1a\xac\x02\n\nListSelect\x12\r\n\x05title\x18\x01 \x01(\t\x12N\n\x05items\x18\x02 \x03(\x0b\x32?.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item\x1a\xbe\x01\n\x04Item\x12L\n\x04info\x18\x01 \x01(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.Image\x1a\xa5\x02\n\x0e\x43\x61rouselSelect\x12R\n\x05items\x18\x01 \x03(\x0b\x32\x43.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item\x1a\xbe\x01\n\x04Item\x12L\n\x04info\x18\x01 \x01(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.Image\x1a/\n\x0eSelectItemInfo\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x10\n\x08synonyms\x18\x02 \x03(\t\x1a\'\n\x12TelephonyPlayAudio\x12\x11\n\taudio_uri\x18\x01 \x01(\t\x1a\x45\n\x19TelephonySynthesizeSpeech\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x0e\n\x04ssml\x18\x02 \x01(\tH\x00\x42\x08\n\x06source\x1a-\n\x15TelephonyTransferCall\x12\x14\n\x0cphone_number\x18\x01 \x01(\t\x1an\n\x07RbmText\x12\x0c\n\x04text\x18\x01 \x01(\t\x12U\n\x0erbm_suggestion\x18\x02 \x03(\x0b\x32=.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion\x1a\x87\x02\n\x0fRbmCarouselCard\x12]\n\ncard_width\x18\x01 \x01(\x0e\x32I.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth\x12U\n\rcard_contents\x18\x02 \x03(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent">\n\tCardWidth\x12\x1a\n\x16\x43\x41RD_WIDTH_UNSPECIFIED\x10\x00\x12\t\n\x05SMALL\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x1a\x82\x04\n\x11RbmStandaloneCard\x12k\n\x10\x63\x61rd_orientation\x18\x01 \x01(\x0e\x32Q.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation\x12|\n\x19thumbnail_image_alignment\x18\x02 \x01(\x0e\x32Y.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment\x12T\n\x0c\x63\x61rd_content\x18\x03 \x01(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent"Q\n\x0f\x43\x61rdOrientation\x12 \n\x1c\x43\x41RD_ORIENTATION_UNSPECIFIED\x10\x00\x12\x0e\n\nHORIZONTAL\x10\x01\x12\x0c\n\x08VERTICAL\x10\x02"Y\n\x17ThumbnailImageAlignment\x12)\n%THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED\x10\x00\x12\x08\n\x04LEFT\x10\x01\x12\t\n\x05RIGHT\x10\x02\x1a\xb9\x03\n\x0eRbmCardContent\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12V\n\x05media\x18\x03 \x01(\x0b\x32G.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia\x12R\n\x0bsuggestions\x18\x04 \x03(\x0b\x32=.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion\x1a\xd6\x01\n\x08RbmMedia\x12\x10\n\x08\x66ile_uri\x18\x01 \x01(\t\x12\x15\n\rthumbnail_uri\x18\x02 \x01(\t\x12^\n\x06height\x18\x03 \x01(\x0e\x32N.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height"A\n\x06Height\x12\x16\n\x12HEIGHT_UNSPECIFIED\x10\x00\x12\t\n\x05SHORT\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x12\x08\n\x04TALL\x10\x03\x1a\xc7\x01\n\rRbmSuggestion\x12R\n\x05reply\x18\x01 \x01(\x0b\x32\x41.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReplyH\x00\x12T\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32\x42.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedActionH\x00\x42\x0c\n\nsuggestion\x1a\x38\n\x11RbmSuggestedReply\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x15\n\rpostback_data\x18\x02 \x01(\t\x1a\x9b\x04\n\x12RbmSuggestedAction\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x15\n\rpostback_data\x18\x02 \x01(\t\x12i\n\x04\x64ial\x18\x03 \x01(\x0b\x32Y.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDialH\x00\x12p\n\x08open_url\x18\x04 \x01(\x0b\x32\\.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUriH\x00\x12|\n\x0eshare_location\x18\x05 \x01(\x0b\x32\x62.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationH\x00\x1a.\n\x16RbmSuggestedActionDial\x12\x14\n\x0cphone_number\x18\x01 \x01(\t\x1a(\n\x19RbmSuggestedActionOpenUri\x12\x0b\n\x03uri\x18\x01 \x01(\t\x1a!\n\x1fRbmSuggestedActionShareLocationB\x08\n\x06\x61\x63tion\x1a\x8e\x04\n\x0cMediaContent\x12\x62\n\nmedia_type\x18\x01 \x01(\x0e\x32N.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType\x12g\n\rmedia_objects\x18\x02 \x03(\x0b\x32P.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject\x1a\xeb\x01\n\x13ResponseMediaObject\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\x0blarge_image\x18\x03 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.ImageH\x00\x12\x45\n\x04icon\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.ImageH\x00\x12\x13\n\x0b\x63ontent_url\x18\x05 \x01(\tB\x07\n\x05image"C\n\x11ResponseMediaType\x12#\n\x1fRESPONSE_MEDIA_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x41UDIO\x10\x01\x1a\x80\x07\n\x12\x42rowseCarouselCard\x12h\n\x05items\x18\x01 \x03(\x0b\x32Y.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem\x12u\n\x15image_display_options\x18\x02 \x01(\x0e\x32V.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.ImageDisplayOptions\x1a\x90\x04\n\x16\x42rowseCarouselCardItem\x12\x80\x01\n\x0fopen_uri_action\x18\x01 \x01(\x0b\x32g.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.Image\x12\x0e\n\x06\x66ooter\x18\x05 \x01(\t\x1a\xf8\x01\n\rOpenUrlAction\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x8a\x01\n\rurl_type_hint\x18\x03 \x01(\x0e\x32s.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHint"M\n\x0bUrlTypeHint\x12\x1d\n\x19URL_TYPE_HINT_UNSPECIFIED\x10\x00\x12\x0e\n\nAMP_ACTION\x10\x01\x12\x0f\n\x0b\x41MP_CONTENT\x10\x02"v\n\x13ImageDisplayOptions\x12%\n!IMAGE_DISPLAY_OPTIONS_UNSPECIFIED\x10\x00\x12\x08\n\x04GRAY\x10\x01\x12\t\n\x05WHITE\x10\x02\x12\x0b\n\x07\x43ROPPED\x10\x03\x12\x16\n\x12\x42LURRED_BACKGROUND\x10\x04\x1a\xee\x02\n\tTableCard\x12\r\n\x05title\x18\x01 \x01(\t\x12\x10\n\x08subtitle\x18\x02 \x01(\t\x12\x44\n\x05image\x18\x03 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.Image\x12[\n\x11\x63olumn_properties\x18\x04 \x03(\x0b\x32@.google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties\x12J\n\x04rows\x18\x05 \x03(\x0b\x32<.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow\x12Q\n\x07\x62uttons\x18\x06 \x03(\x0b\x32@.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button\x1a\xfa\x01\n\x10\x43olumnProperties\x12\x0e\n\x06header\x18\x01 \x01(\t\x12r\n\x14horizontal_alignment\x18\x02 \x01(\x0e\x32T.google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties.HorizontalAlignment"b\n\x13HorizontalAlignment\x12$\n HORIZONTAL_ALIGNMENT_UNSPECIFIED\x10\x00\x12\x0b\n\x07LEADING\x10\x01\x12\n\n\x06\x43\x45NTER\x10\x02\x12\x0c\n\x08TRAILING\x10\x03\x1as\n\x0cTableCardRow\x12L\n\x05\x63\x65lls\x18\x01 \x03(\x0b\x32=.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell\x12\x15\n\rdivider_after\x18\x02 \x01(\x08\x1a\x1d\n\rTableCardCell\x12\x0c\n\x04text\x18\x01 \x01(\t"\xaf\x01\n\x08Platform\x12\x18\n\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x46\x41\x43\x45\x42OOK\x10\x01\x12\t\n\x05SLACK\x10\x02\x12\x0c\n\x08TELEGRAM\x10\x03\x12\x07\n\x03KIK\x10\x04\x12\t\n\x05SKYPE\x10\x05\x12\x08\n\x04LINE\x10\x06\x12\t\n\x05VIBER\x10\x07\x12\x15\n\x11\x41\x43TIONS_ON_GOOGLE\x10\x08\x12\r\n\tTELEPHONY\x10\n\x12\x13\n\x0fGOOGLE_HANGOUTS\x10\x0b\x42\t\n\x07message\x1aW\n\x12\x46ollowupIntentInfo\x12\x1c\n\x14\x66ollowup_intent_name\x18\x01 \x01(\t\x12#\n\x1bparent_followup_intent_name\x18\x02 \x01(\t"t\n\x0cWebhookState\x12\x1d\n\x19WEBHOOK_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15WEBHOOK_STATE_ENABLED\x10\x01\x12*\n&WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING\x10\x02:\x91\x01\xea\x41\x8d\x01\n dialogflow.googleapis.com/Intent\x12)projects/{project}/agent/intents/{intent}\x12>projects/{project}/locations/{location}/agent/intents/{intent}"\xa4\x01\n\x12ListIntentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12@\n\x0bintent_view\x18\x03 \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.IntentView\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t"h\n\x13ListIntentsResponse\x12\x38\n\x07intents\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"y\n\x10GetIntentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12@\n\x0bintent_view\x18\x03 \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.IntentView"\xb7\x01\n\x13\x43reateIntentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x37\n\x06intent\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\x12@\n\x0bintent_view\x18\x04 \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.IntentView"\xd8\x01\n\x13UpdateIntentRequest\x12\x37\n\x06intent\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12@\n\x0bintent_view\x18\x04 \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.IntentView"#\n\x13\x44\x65leteIntentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"\xae\x02\n\x19\x42\x61tchUpdateIntentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x1a\n\x10intent_batch_uri\x18\x02 \x01(\tH\x00\x12K\n\x13intent_batch_inline\x18\x03 \x01(\x0b\x32,.google.cloud.dialogflow.v2beta1.IntentBatchH\x00\x12\x15\n\rlanguage_code\x18\x04 \x01(\t\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12@\n\x0bintent_view\x18\x06 \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.IntentViewB\x0e\n\x0cintent_batch"V\n\x1a\x42\x61tchUpdateIntentsResponse\x12\x38\n\x07intents\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent"e\n\x19\x42\x61tchDeleteIntentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x38\n\x07intents\x18\x02 \x03(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent"G\n\x0bIntentBatch\x12\x38\n\x07intents\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent*?\n\nIntentView\x12\x1b\n\x17INTENT_VIEW_UNSPECIFIED\x10\x00\x12\x14\n\x10INTENT_VIEW_FULL\x10\x01\x32\xfd\r\n\x07Intents\x12\xe6\x01\n\x0bListIntents\x12\x33.google.cloud.dialogflow.v2beta1.ListIntentsRequest\x1a\x34.google.cloud.dialogflow.v2beta1.ListIntentsResponse"l\x82\xd3\xe4\x93\x02\x66\x12*/v2beta1/{parent=projects/*/agent}/intentsZ8\x12\x36/v2beta1/{parent=projects/*/locations/*/agent}/intents\x12\xd5\x01\n\tGetIntent\x12\x31.google.cloud.dialogflow.v2beta1.GetIntentRequest\x1a\'.google.cloud.dialogflow.v2beta1.Intent"l\x82\xd3\xe4\x93\x02\x66\x12*/v2beta1/{name=projects/*/agent/intents/*}Z8\x12\x36/v2beta1/{name=projects/*/locations/*/agent/intents/*}\x12\xeb\x01\n\x0c\x43reateIntent\x12\x34.google.cloud.dialogflow.v2beta1.CreateIntentRequest\x1a\'.google.cloud.dialogflow.v2beta1.Intent"|\x82\xd3\xe4\x93\x02v"*/v2beta1/{parent=projects/*/agent}/intents:\x06intentZ@"6/v2beta1/{parent=projects/*/locations/*/agent}/intents:\x06intent\x12\xfb\x01\n\x0cUpdateIntent\x12\x34.google.cloud.dialogflow.v2beta1.UpdateIntentRequest\x1a\'.google.cloud.dialogflow.v2beta1.Intent"\x8b\x01\x82\xd3\xe4\x93\x02\x84\x01\x32\x31/v2beta1/{intent.name=projects/*/agent/intents/*}:\x06intentZG2=/v2beta1/{intent.name=projects/*/locations/*/agent/intents/*}:\x06intent\x12\xca\x01\n\x0c\x44\x65leteIntent\x12\x34.google.cloud.dialogflow.v2beta1.DeleteIntentRequest\x1a\x16.google.protobuf.Empty"l\x82\xd3\xe4\x93\x02\x66**/v2beta1/{name=projects/*/agent/intents/*}Z8*6/v2beta1/{name=projects/*/locations/*/agent/intents/*}\x12\xfd\x01\n\x12\x42\x61tchUpdateIntents\x12:.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest\x1a\x1d.google.longrunning.Operation"\x8b\x01\x82\xd3\xe4\x93\x02\x84\x01"6/v2beta1/{parent=projects/*/agent}/intents:batchUpdate:\x01*ZG"B/v2beta1/{parent=projects/*/locations/*/agent}/intents:batchUpdate:\x01*\x12\xfd\x01\n\x12\x42\x61tchDeleteIntents\x12:.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest\x1a\x1d.google.longrunning.Operation"\x8b\x01\x82\xd3\xe4\x93\x02\x84\x01"6/v2beta1/{parent=projects/*/agent}/intents:batchDelete:\x01*ZG"B/v2beta1/{parent=projects/*/locations/*/agent}/intents:batchDelete:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xa9\x01\n#com.google.cloud.dialogflow.v2beta1B\x0bIntentProtoP\x01ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1fGoogle.Cloud.Dialogflow.V2beta1b\x06proto3'
+ '\n2google/cloud/dialogflow_v2beta1/proto/intent.proto\x12\x1fgoogle.cloud.dialogflow.v2beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/dialogflow_v2beta1/proto/audio_config.proto\x1a\x33google/cloud/dialogflow_v2beta1/proto/context.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/api/client.proto"\x8cN\n\x06Intent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12K\n\rwebhook_state\x18\x06 \x01(\x0e\x32\x34.google.cloud.dialogflow.v2beta1.Intent.WebhookState\x12\x10\n\x08priority\x18\x03 \x01(\x05\x12\x13\n\x0bis_fallback\x18\x04 \x01(\x08\x12\x16\n\nml_enabled\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\x13\n\x0bml_disabled\x18\x13 \x01(\x08\x12\x17\n\x0f\x65nd_interaction\x18\x15 \x01(\x08\x12\x1b\n\x13input_context_names\x18\x07 \x03(\t\x12\x0e\n\x06\x65vents\x18\x08 \x03(\t\x12P\n\x10training_phrases\x18\t \x03(\x0b\x32\x36.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase\x12\x0e\n\x06\x61\x63tion\x18\n \x01(\t\x12\x41\n\x0foutput_contexts\x18\x0b \x03(\x0b\x32(.google.cloud.dialogflow.v2beta1.Context\x12\x16\n\x0ereset_contexts\x18\x0c \x01(\x08\x12\x45\n\nparameters\x18\r \x03(\x0b\x32\x31.google.cloud.dialogflow.v2beta1.Intent.Parameter\x12\x41\n\x08messages\x18\x0e \x03(\x0b\x32/.google.cloud.dialogflow.v2beta1.Intent.Message\x12\\\n\x1a\x64\x65\x66\x61ult_response_platforms\x18\x0f \x03(\x0e\x32\x38.google.cloud.dialogflow.v2beta1.Intent.Message.Platform\x12!\n\x19root_followup_intent_name\x18\x10 \x01(\t\x12#\n\x1bparent_followup_intent_name\x18\x11 \x01(\t\x12X\n\x14\x66ollowup_intent_info\x18\x12 \x03(\x0b\x32:.google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo\x1a\xdd\x02\n\x0eTrainingPhrase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12I\n\x04type\x18\x02 \x01(\x0e\x32;.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Type\x12J\n\x05parts\x18\x03 \x03(\x0b\x32;.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part\x12\x19\n\x11times_added_count\x18\x04 \x01(\x05\x1aN\n\x04Part\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x13\n\x0b\x65ntity_type\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\x12\x14\n\x0cuser_defined\x18\x04 \x01(\x08";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45XAMPLE\x10\x01\x12\x10\n\x08TEMPLATE\x10\x02\x1a\x02\x08\x01\x1a\xac\x01\n\tParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x15\n\rdefault_value\x18\x04 \x01(\t\x12 \n\x18\x65ntity_type_display_name\x18\x05 \x01(\t\x12\x11\n\tmandatory\x18\x06 \x01(\x08\x12\x0f\n\x07prompts\x18\x07 \x03(\t\x12\x0f\n\x07is_list\x18\x08 \x01(\x08\x1a\xbd@\n\x07Message\x12\x44\n\x04text\x18\x01 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2beta1.Intent.Message.TextH\x00\x12\x46\n\x05image\x18\x02 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.ImageH\x00\x12U\n\rquick_replies\x18\x03 \x01(\x0b\x32<.google.cloud.dialogflow.v2beta1.Intent.Message.QuickRepliesH\x00\x12\x44\n\x04\x63\x61rd\x18\x04 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2beta1.Intent.Message.CardH\x00\x12*\n\x07payload\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12[\n\x10simple_responses\x18\x07 \x01(\x0b\x32?.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponsesH\x00\x12O\n\nbasic_card\x18\x08 \x01(\x0b\x32\x39.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCardH\x00\x12R\n\x0bsuggestions\x18\t \x01(\x0b\x32;.google.cloud.dialogflow.v2beta1.Intent.Message.SuggestionsH\x00\x12`\n\x13link_out_suggestion\x18\n \x01(\x0b\x32\x41.google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestionH\x00\x12Q\n\x0blist_select\x18\x0b \x01(\x0b\x32:.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelectH\x00\x12Y\n\x0f\x63\x61rousel_select\x18\x0c \x01(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelectH\x00\x12\x62\n\x14telephony_play_audio\x18\r \x01(\x0b\x32\x42.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudioH\x00\x12p\n\x1btelephony_synthesize_speech\x18\x0e \x01(\x0b\x32I.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeechH\x00\x12h\n\x17telephony_transfer_call\x18\x0f \x01(\x0b\x32\x45.google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCallH\x00\x12K\n\x08rbm_text\x18\x12 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2beta1.Intent.Message.RbmTextH\x00\x12\x65\n\x18rbm_standalone_rich_card\x18\x13 \x01(\x0b\x32\x41.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCardH\x00\x12\x61\n\x16rbm_carousel_rich_card\x18\x14 \x01(\x0b\x32?.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCardH\x00\x12\x62\n\x14\x62rowse_carousel_card\x18\x16 \x01(\x0b\x32\x42.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCardH\x00\x12O\n\ntable_card\x18\x17 \x01(\x0b\x32\x39.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardH\x00\x12U\n\rmedia_content\x18\x18 \x01(\x0b\x32<.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContentH\x00\x12J\n\x08platform\x18\x06 \x01(\x0e\x32\x38.google.cloud.dialogflow.v2beta1.Intent.Message.Platform\x1a\x14\n\x04Text\x12\x0c\n\x04text\x18\x01 \x03(\t\x1a\x36\n\x05Image\x12\x11\n\timage_uri\x18\x01 \x01(\t\x12\x1a\n\x12\x61\x63\x63\x65ssibility_text\x18\x02 \x01(\t\x1a\x34\n\x0cQuickReplies\x12\r\n\x05title\x18\x01 \x01(\t\x12\x15\n\rquick_replies\x18\x02 \x03(\t\x1a\xb2\x01\n\x04\x43\x61rd\x12\r\n\x05title\x18\x01 \x01(\t\x12\x10\n\x08subtitle\x18\x02 \x01(\t\x12\x11\n\timage_uri\x18\x03 \x01(\t\x12L\n\x07\x62uttons\x18\x04 \x03(\x0b\x32;.google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button\x1a(\n\x06\x42utton\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x10\n\x08postback\x18\x02 \x01(\t\x1aL\n\x0eSimpleResponse\x12\x16\n\x0etext_to_speech\x18\x01 \x01(\t\x12\x0c\n\x04ssml\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_text\x18\x03 \x01(\t\x1ak\n\x0fSimpleResponses\x12X\n\x10simple_responses\x18\x01 \x03(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse\x1a\xfe\x02\n\tBasicCard\x12\r\n\x05title\x18\x01 \x01(\t\x12\x10\n\x08subtitle\x18\x02 \x01(\t\x12\x16\n\x0e\x66ormatted_text\x18\x03 \x01(\t\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.Image\x12Q\n\x07\x62uttons\x18\x05 \x03(\x0b\x32@.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button\x1a\x9e\x01\n\x06\x42utton\x12\r\n\x05title\x18\x01 \x01(\t\x12g\n\x0fopen_uri_action\x18\x02 \x01(\x0b\x32N.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction\x1a\x1c\n\rOpenUriAction\x12\x0b\n\x03uri\x18\x01 \x01(\t\x1a\x1b\n\nSuggestion\x12\r\n\x05title\x18\x01 \x01(\t\x1a^\n\x0bSuggestions\x12O\n\x0bsuggestions\x18\x01 \x03(\x0b\x32:.google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion\x1a:\n\x11LinkOutSuggestion\x12\x18\n\x10\x64\x65stination_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x1a\xc3\x02\n\nListSelect\x12\r\n\x05title\x18\x01 \x01(\t\x12N\n\x05items\x18\x02 \x03(\x0b\x32?.google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item\x12\x15\n\x08subtitle\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a\xbe\x01\n\x04Item\x12L\n\x04info\x18\x01 \x01(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.Image\x1a\xa5\x02\n\x0e\x43\x61rouselSelect\x12R\n\x05items\x18\x01 \x03(\x0b\x32\x43.google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item\x1a\xbe\x01\n\x04Item\x12L\n\x04info\x18\x01 \x01(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.Image\x1a/\n\x0eSelectItemInfo\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x10\n\x08synonyms\x18\x02 \x03(\t\x1a\'\n\x12TelephonyPlayAudio\x12\x11\n\taudio_uri\x18\x01 \x01(\t\x1a\x45\n\x19TelephonySynthesizeSpeech\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x0e\n\x04ssml\x18\x02 \x01(\tH\x00\x42\x08\n\x06source\x1a-\n\x15TelephonyTransferCall\x12\x14\n\x0cphone_number\x18\x01 \x01(\t\x1an\n\x07RbmText\x12\x0c\n\x04text\x18\x01 \x01(\t\x12U\n\x0erbm_suggestion\x18\x02 \x03(\x0b\x32=.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion\x1a\x87\x02\n\x0fRbmCarouselCard\x12]\n\ncard_width\x18\x01 \x01(\x0e\x32I.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth\x12U\n\rcard_contents\x18\x02 \x03(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent">\n\tCardWidth\x12\x1a\n\x16\x43\x41RD_WIDTH_UNSPECIFIED\x10\x00\x12\t\n\x05SMALL\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x1a\x82\x04\n\x11RbmStandaloneCard\x12k\n\x10\x63\x61rd_orientation\x18\x01 \x01(\x0e\x32Q.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation\x12|\n\x19thumbnail_image_alignment\x18\x02 \x01(\x0e\x32Y.google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment\x12T\n\x0c\x63\x61rd_content\x18\x03 \x01(\x0b\x32>.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent"Q\n\x0f\x43\x61rdOrientation\x12 \n\x1c\x43\x41RD_ORIENTATION_UNSPECIFIED\x10\x00\x12\x0e\n\nHORIZONTAL\x10\x01\x12\x0c\n\x08VERTICAL\x10\x02"Y\n\x17ThumbnailImageAlignment\x12)\n%THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED\x10\x00\x12\x08\n\x04LEFT\x10\x01\x12\t\n\x05RIGHT\x10\x02\x1a\xb9\x03\n\x0eRbmCardContent\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12V\n\x05media\x18\x03 \x01(\x0b\x32G.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia\x12R\n\x0bsuggestions\x18\x04 \x03(\x0b\x32=.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion\x1a\xd6\x01\n\x08RbmMedia\x12\x10\n\x08\x66ile_uri\x18\x01 \x01(\t\x12\x15\n\rthumbnail_uri\x18\x02 \x01(\t\x12^\n\x06height\x18\x03 \x01(\x0e\x32N.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height"A\n\x06Height\x12\x16\n\x12HEIGHT_UNSPECIFIED\x10\x00\x12\t\n\x05SHORT\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x12\x08\n\x04TALL\x10\x03\x1a\xc7\x01\n\rRbmSuggestion\x12R\n\x05reply\x18\x01 \x01(\x0b\x32\x41.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReplyH\x00\x12T\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32\x42.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedActionH\x00\x42\x0c\n\nsuggestion\x1a\x38\n\x11RbmSuggestedReply\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x15\n\rpostback_data\x18\x02 \x01(\t\x1a\x9b\x04\n\x12RbmSuggestedAction\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x15\n\rpostback_data\x18\x02 \x01(\t\x12i\n\x04\x64ial\x18\x03 \x01(\x0b\x32Y.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDialH\x00\x12p\n\x08open_url\x18\x04 \x01(\x0b\x32\\.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUriH\x00\x12|\n\x0eshare_location\x18\x05 \x01(\x0b\x32\x62.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationH\x00\x1a.\n\x16RbmSuggestedActionDial\x12\x14\n\x0cphone_number\x18\x01 \x01(\t\x1a(\n\x19RbmSuggestedActionOpenUri\x12\x0b\n\x03uri\x18\x01 \x01(\t\x1a!\n\x1fRbmSuggestedActionShareLocationB\x08\n\x06\x61\x63tion\x1a\x8e\x04\n\x0cMediaContent\x12\x62\n\nmedia_type\x18\x01 \x01(\x0e\x32N.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType\x12g\n\rmedia_objects\x18\x02 \x03(\x0b\x32P.google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject\x1a\xeb\x01\n\x13ResponseMediaObject\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12L\n\x0blarge_image\x18\x03 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.ImageH\x00\x12\x45\n\x04icon\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.ImageH\x00\x12\x13\n\x0b\x63ontent_url\x18\x05 \x01(\tB\x07\n\x05image"C\n\x11ResponseMediaType\x12#\n\x1fRESPONSE_MEDIA_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x41UDIO\x10\x01\x1a\x80\x07\n\x12\x42rowseCarouselCard\x12h\n\x05items\x18\x01 \x03(\x0b\x32Y.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem\x12u\n\x15image_display_options\x18\x02 \x01(\x0e\x32V.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.ImageDisplayOptions\x1a\x90\x04\n\x16\x42rowseCarouselCardItem\x12\x80\x01\n\x0fopen_uri_action\x18\x01 \x01(\x0b\x32g.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x44\n\x05image\x18\x04 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.Image\x12\x0e\n\x06\x66ooter\x18\x05 \x01(\t\x1a\xf8\x01\n\rOpenUrlAction\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x8a\x01\n\rurl_type_hint\x18\x03 \x01(\x0e\x32s.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHint"M\n\x0bUrlTypeHint\x12\x1d\n\x19URL_TYPE_HINT_UNSPECIFIED\x10\x00\x12\x0e\n\nAMP_ACTION\x10\x01\x12\x0f\n\x0b\x41MP_CONTENT\x10\x02"v\n\x13ImageDisplayOptions\x12%\n!IMAGE_DISPLAY_OPTIONS_UNSPECIFIED\x10\x00\x12\x08\n\x04GRAY\x10\x01\x12\t\n\x05WHITE\x10\x02\x12\x0b\n\x07\x43ROPPED\x10\x03\x12\x16\n\x12\x42LURRED_BACKGROUND\x10\x04\x1a\xee\x02\n\tTableCard\x12\r\n\x05title\x18\x01 \x01(\t\x12\x10\n\x08subtitle\x18\x02 \x01(\t\x12\x44\n\x05image\x18\x03 \x01(\x0b\x32\x35.google.cloud.dialogflow.v2beta1.Intent.Message.Image\x12[\n\x11\x63olumn_properties\x18\x04 \x03(\x0b\x32@.google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties\x12J\n\x04rows\x18\x05 \x03(\x0b\x32<.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow\x12Q\n\x07\x62uttons\x18\x06 \x03(\x0b\x32@.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button\x1a\xfa\x01\n\x10\x43olumnProperties\x12\x0e\n\x06header\x18\x01 \x01(\t\x12r\n\x14horizontal_alignment\x18\x02 \x01(\x0e\x32T.google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties.HorizontalAlignment"b\n\x13HorizontalAlignment\x12$\n HORIZONTAL_ALIGNMENT_UNSPECIFIED\x10\x00\x12\x0b\n\x07LEADING\x10\x01\x12\n\n\x06\x43\x45NTER\x10\x02\x12\x0c\n\x08TRAILING\x10\x03\x1as\n\x0cTableCardRow\x12L\n\x05\x63\x65lls\x18\x01 \x03(\x0b\x32=.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell\x12\x15\n\rdivider_after\x18\x02 \x01(\x08\x1a\x1d\n\rTableCardCell\x12\x0c\n\x04text\x18\x01 \x01(\t"\xaf\x01\n\x08Platform\x12\x18\n\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x46\x41\x43\x45\x42OOK\x10\x01\x12\t\n\x05SLACK\x10\x02\x12\x0c\n\x08TELEGRAM\x10\x03\x12\x07\n\x03KIK\x10\x04\x12\t\n\x05SKYPE\x10\x05\x12\x08\n\x04LINE\x10\x06\x12\t\n\x05VIBER\x10\x07\x12\x15\n\x11\x41\x43TIONS_ON_GOOGLE\x10\x08\x12\r\n\tTELEPHONY\x10\n\x12\x13\n\x0fGOOGLE_HANGOUTS\x10\x0b\x42\t\n\x07message\x1aW\n\x12\x46ollowupIntentInfo\x12\x1c\n\x14\x66ollowup_intent_name\x18\x01 \x01(\t\x12#\n\x1bparent_followup_intent_name\x18\x02 \x01(\t"t\n\x0cWebhookState\x12\x1d\n\x19WEBHOOK_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15WEBHOOK_STATE_ENABLED\x10\x01\x12*\n&WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING\x10\x02:\x91\x01\xea\x41\x8d\x01\n dialogflow.googleapis.com/Intent\x12)projects/{project}/agent/intents/{intent}\x12>projects/{project}/locations/{location}/agent/intents/{intent}"\xa4\x01\n\x12ListIntentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12@\n\x0bintent_view\x18\x03 \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.IntentView\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t"h\n\x13ListIntentsResponse\x12\x38\n\x07intents\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"y\n\x10GetIntentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12@\n\x0bintent_view\x18\x03 \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.IntentView"\xb7\x01\n\x13\x43reateIntentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x37\n\x06intent\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\x12@\n\x0bintent_view\x18\x04 \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.IntentView"\xd8\x01\n\x13UpdateIntentRequest\x12\x37\n\x06intent\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12@\n\x0bintent_view\x18\x04 \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.IntentView"#\n\x13\x44\x65leteIntentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"\xae\x02\n\x19\x42\x61tchUpdateIntentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x1a\n\x10intent_batch_uri\x18\x02 \x01(\tH\x00\x12K\n\x13intent_batch_inline\x18\x03 \x01(\x0b\x32,.google.cloud.dialogflow.v2beta1.IntentBatchH\x00\x12\x15\n\rlanguage_code\x18\x04 \x01(\t\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12@\n\x0bintent_view\x18\x06 \x01(\x0e\x32+.google.cloud.dialogflow.v2beta1.IntentViewB\x0e\n\x0cintent_batch"V\n\x1a\x42\x61tchUpdateIntentsResponse\x12\x38\n\x07intents\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent"e\n\x19\x42\x61tchDeleteIntentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x38\n\x07intents\x18\x02 \x03(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent"G\n\x0bIntentBatch\x12\x38\n\x07intents\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.v2beta1.Intent*?\n\nIntentView\x12\x1b\n\x17INTENT_VIEW_UNSPECIFIED\x10\x00\x12\x14\n\x10INTENT_VIEW_FULL\x10\x01\x32\xfd\r\n\x07Intents\x12\xe6\x01\n\x0bListIntents\x12\x33.google.cloud.dialogflow.v2beta1.ListIntentsRequest\x1a\x34.google.cloud.dialogflow.v2beta1.ListIntentsResponse"l\x82\xd3\xe4\x93\x02\x66\x12*/v2beta1/{parent=projects/*/agent}/intentsZ8\x12\x36/v2beta1/{parent=projects/*/locations/*/agent}/intents\x12\xd5\x01\n\tGetIntent\x12\x31.google.cloud.dialogflow.v2beta1.GetIntentRequest\x1a\'.google.cloud.dialogflow.v2beta1.Intent"l\x82\xd3\xe4\x93\x02\x66\x12*/v2beta1/{name=projects/*/agent/intents/*}Z8\x12\x36/v2beta1/{name=projects/*/locations/*/agent/intents/*}\x12\xeb\x01\n\x0c\x43reateIntent\x12\x34.google.cloud.dialogflow.v2beta1.CreateIntentRequest\x1a\'.google.cloud.dialogflow.v2beta1.Intent"|\x82\xd3\xe4\x93\x02v"*/v2beta1/{parent=projects/*/agent}/intents:\x06intentZ@"6/v2beta1/{parent=projects/*/locations/*/agent}/intents:\x06intent\x12\xfb\x01\n\x0cUpdateIntent\x12\x34.google.cloud.dialogflow.v2beta1.UpdateIntentRequest\x1a\'.google.cloud.dialogflow.v2beta1.Intent"\x8b\x01\x82\xd3\xe4\x93\x02\x84\x01\x32\x31/v2beta1/{intent.name=projects/*/agent/intents/*}:\x06intentZG2=/v2beta1/{intent.name=projects/*/locations/*/agent/intents/*}:\x06intent\x12\xca\x01\n\x0c\x44\x65leteIntent\x12\x34.google.cloud.dialogflow.v2beta1.DeleteIntentRequest\x1a\x16.google.protobuf.Empty"l\x82\xd3\xe4\x93\x02\x66**/v2beta1/{name=projects/*/agent/intents/*}Z8*6/v2beta1/{name=projects/*/locations/*/agent/intents/*}\x12\xfd\x01\n\x12\x42\x61tchUpdateIntents\x12:.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest\x1a\x1d.google.longrunning.Operation"\x8b\x01\x82\xd3\xe4\x93\x02\x84\x01"6/v2beta1/{parent=projects/*/agent}/intents:batchUpdate:\x01*ZG"B/v2beta1/{parent=projects/*/locations/*/agent}/intents:batchUpdate:\x01*\x12\xfd\x01\n\x12\x42\x61tchDeleteIntents\x12:.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest\x1a\x1d.google.longrunning.Operation"\x8b\x01\x82\xd3\xe4\x93\x02\x84\x01"6/v2beta1/{parent=projects/*/agent}/intents:batchDelete:\x01*ZG"B/v2beta1/{parent=projects/*/locations/*/agent}/intents:batchDelete:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xa9\x01\n#com.google.cloud.dialogflow.v2beta1B\x0bIntentProtoP\x01ZIgoogle.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1fGoogle.Cloud.Dialogflow.V2beta1b\x06proto3'
),
dependencies=[
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
@@ -83,8 +83,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=11858,
- serialized_end=11921,
+ serialized_start=11881,
+ serialized_end=11944,
)
_sym_db.RegisterEnumDescriptor(_INTENTVIEW)
@@ -146,8 +146,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=5882,
- serialized_end=5944,
+ serialized_start=5905,
+ serialized_end=5967,
)
_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_RBMCAROUSELCARD_CARDWIDTH)
@@ -173,8 +173,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=6289,
- serialized_end=6370,
+ serialized_start=6312,
+ serialized_end=6393,
)
_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_RBMSTANDALONECARD_CARDORIENTATION)
@@ -200,8 +200,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=6372,
- serialized_end=6461,
+ serialized_start=6395,
+ serialized_end=6484,
)
_sym_db.RegisterEnumDescriptor(
_INTENT_MESSAGE_RBMSTANDALONECARD_THUMBNAILIMAGEALIGNMENT
@@ -232,8 +232,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=6840,
- serialized_end=6905,
+ serialized_start=6863,
+ serialized_end=6928,
)
_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_RBMCARDCONTENT_RBMMEDIA_HEIGHT)
@@ -256,8 +256,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=8169,
- serialized_end=8236,
+ serialized_start=8192,
+ serialized_end=8259,
)
_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIATYPE)
@@ -283,8 +283,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=8938,
- serialized_end=9015,
+ serialized_start=8961,
+ serialized_end=9038,
)
_sym_db.RegisterEnumDescriptor(
_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION_URLTYPEHINT
@@ -322,8 +322,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=9017,
- serialized_end=9135,
+ serialized_start=9040,
+ serialized_end=9158,
)
_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_BROWSECAROUSELCARD_IMAGEDISPLAYOPTIONS)
@@ -352,8 +352,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=9659,
- serialized_end=9757,
+ serialized_start=9682,
+ serialized_end=9780,
)
_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_COLUMNPROPERTIES_HORIZONTALALIGNMENT)
@@ -411,8 +411,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=9908,
- serialized_end=10083,
+ serialized_start=9931,
+ serialized_end=10106,
)
_sym_db.RegisterEnumDescriptor(_INTENT_MESSAGE_PLATFORM)
@@ -446,8 +446,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=10185,
- serialized_end=10301,
+ serialized_start=10208,
+ serialized_end=10324,
)
_sym_db.RegisterEnumDescriptor(_INTENT_WEBHOOKSTATE)
@@ -1634,8 +1634,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4872,
- serialized_end=5062,
+ serialized_start=4895,
+ serialized_end=5085,
)
_INTENT_MESSAGE_LISTSELECT = _descriptor.Descriptor(
@@ -1681,6 +1681,24 @@
serialized_options=None,
file=DESCRIPTOR,
),
+ _descriptor.FieldDescriptor(
+ name="subtitle",
+ full_name="google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.subtitle",
+ index=2,
+ number=3,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=_b("\340A\001"),
+ file=DESCRIPTOR,
+ ),
],
extensions=[],
nested_types=[_INTENT_MESSAGE_LISTSELECT_ITEM],
@@ -1691,7 +1709,7 @@
extension_ranges=[],
oneofs=[],
serialized_start=4762,
- serialized_end=5062,
+ serialized_end=5085,
)
_INTENT_MESSAGE_CAROUSELSELECT_ITEM = _descriptor.Descriptor(
@@ -1782,8 +1800,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4872,
- serialized_end=5062,
+ serialized_start=4895,
+ serialized_end=5085,
)
_INTENT_MESSAGE_CAROUSELSELECT = _descriptor.Descriptor(
@@ -1820,8 +1838,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5065,
- serialized_end=5358,
+ serialized_start=5088,
+ serialized_end=5381,
)
_INTENT_MESSAGE_SELECTITEMINFO = _descriptor.Descriptor(
@@ -1876,8 +1894,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5360,
- serialized_end=5407,
+ serialized_start=5383,
+ serialized_end=5430,
)
_INTENT_MESSAGE_TELEPHONYPLAYAUDIO = _descriptor.Descriptor(
@@ -1914,8 +1932,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5409,
- serialized_end=5448,
+ serialized_start=5432,
+ serialized_end=5471,
)
_INTENT_MESSAGE_TELEPHONYSYNTHESIZESPEECH = _descriptor.Descriptor(
@@ -1978,8 +1996,8 @@
fields=[],
)
],
- serialized_start=5450,
- serialized_end=5519,
+ serialized_start=5473,
+ serialized_end=5542,
)
_INTENT_MESSAGE_TELEPHONYTRANSFERCALL = _descriptor.Descriptor(
@@ -2016,8 +2034,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5521,
- serialized_end=5566,
+ serialized_start=5544,
+ serialized_end=5589,
)
_INTENT_MESSAGE_RBMTEXT = _descriptor.Descriptor(
@@ -2072,8 +2090,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5568,
- serialized_end=5678,
+ serialized_start=5591,
+ serialized_end=5701,
)
_INTENT_MESSAGE_RBMCAROUSELCARD = _descriptor.Descriptor(
@@ -2128,8 +2146,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5681,
- serialized_end=5944,
+ serialized_start=5704,
+ serialized_end=5967,
)
_INTENT_MESSAGE_RBMSTANDALONECARD = _descriptor.Descriptor(
@@ -2205,8 +2223,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5947,
- serialized_end=6461,
+ serialized_start=5970,
+ serialized_end=6484,
)
_INTENT_MESSAGE_RBMCARDCONTENT_RBMMEDIA = _descriptor.Descriptor(
@@ -2279,8 +2297,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6691,
- serialized_end=6905,
+ serialized_start=6714,
+ serialized_end=6928,
)
_INTENT_MESSAGE_RBMCARDCONTENT = _descriptor.Descriptor(
@@ -2371,8 +2389,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6464,
- serialized_end=6905,
+ serialized_start=6487,
+ serialized_end=6928,
)
_INTENT_MESSAGE_RBMSUGGESTION = _descriptor.Descriptor(
@@ -2435,8 +2453,8 @@
fields=[],
)
],
- serialized_start=6908,
- serialized_end=7107,
+ serialized_start=6931,
+ serialized_end=7130,
)
_INTENT_MESSAGE_RBMSUGGESTEDREPLY = _descriptor.Descriptor(
@@ -2491,8 +2509,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=7109,
- serialized_end=7165,
+ serialized_start=7132,
+ serialized_end=7188,
)
_INTENT_MESSAGE_RBMSUGGESTEDACTION_RBMSUGGESTEDACTIONDIAL = _descriptor.Descriptor(
@@ -2529,8 +2547,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=7574,
- serialized_end=7620,
+ serialized_start=7597,
+ serialized_end=7643,
)
_INTENT_MESSAGE_RBMSUGGESTEDACTION_RBMSUGGESTEDACTIONOPENURI = _descriptor.Descriptor(
@@ -2567,8 +2585,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=7622,
- serialized_end=7662,
+ serialized_start=7645,
+ serialized_end=7685,
)
_INTENT_MESSAGE_RBMSUGGESTEDACTION_RBMSUGGESTEDACTIONSHARELOCATION = _descriptor.Descriptor(
@@ -2586,8 +2604,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=7664,
- serialized_end=7697,
+ serialized_start=7687,
+ serialized_end=7720,
)
_INTENT_MESSAGE_RBMSUGGESTEDACTION = _descriptor.Descriptor(
@@ -2708,8 +2726,8 @@
fields=[],
)
],
- serialized_start=7168,
- serialized_end=7707,
+ serialized_start=7191,
+ serialized_end=7730,
)
_INTENT_MESSAGE_MEDIACONTENT_RESPONSEMEDIAOBJECT = _descriptor.Descriptor(
@@ -2826,8 +2844,8 @@
fields=[],
)
],
- serialized_start=7932,
- serialized_end=8167,
+ serialized_start=7955,
+ serialized_end=8190,
)
_INTENT_MESSAGE_MEDIACONTENT = _descriptor.Descriptor(
@@ -2882,8 +2900,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=7710,
- serialized_end=8236,
+ serialized_start=7733,
+ serialized_end=8259,
)
_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM_OPENURLACTION = _descriptor.Descriptor(
@@ -2940,8 +2958,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=8767,
- serialized_end=9015,
+ serialized_start=8790,
+ serialized_end=9038,
)
_INTENT_MESSAGE_BROWSECAROUSELCARD_BROWSECAROUSELCARDITEM = _descriptor.Descriptor(
@@ -3052,8 +3070,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=8487,
- serialized_end=9015,
+ serialized_start=8510,
+ serialized_end=9038,
)
_INTENT_MESSAGE_BROWSECAROUSELCARD = _descriptor.Descriptor(
@@ -3108,8 +3126,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=8239,
- serialized_end=9135,
+ serialized_start=8262,
+ serialized_end=9158,
)
_INTENT_MESSAGE_TABLECARD = _descriptor.Descriptor(
@@ -3236,8 +3254,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=9138,
- serialized_end=9504,
+ serialized_start=9161,
+ serialized_end=9527,
)
_INTENT_MESSAGE_COLUMNPROPERTIES = _descriptor.Descriptor(
@@ -3292,8 +3310,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=9507,
- serialized_end=9757,
+ serialized_start=9530,
+ serialized_end=9780,
)
_INTENT_MESSAGE_TABLECARDROW = _descriptor.Descriptor(
@@ -3348,8 +3366,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=9759,
- serialized_end=9874,
+ serialized_start=9782,
+ serialized_end=9897,
)
_INTENT_MESSAGE_TABLECARDCELL = _descriptor.Descriptor(
@@ -3386,8 +3404,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=9876,
- serialized_end=9905,
+ serialized_start=9899,
+ serialized_end=9928,
)
_INTENT_MESSAGE = _descriptor.Descriptor(
@@ -3823,7 +3841,7 @@
)
],
serialized_start=1864,
- serialized_end=10094,
+ serialized_end=10117,
)
_INTENT_FOLLOWUPINTENTINFO = _descriptor.Descriptor(
@@ -3878,8 +3896,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=10096,
- serialized_end=10183,
+ serialized_start=10119,
+ serialized_end=10206,
)
_INTENT = _descriptor.Descriptor(
@@ -4266,7 +4284,7 @@
extension_ranges=[],
oneofs=[],
serialized_start=476,
- serialized_end=10449,
+ serialized_end=10472,
)
@@ -4376,8 +4394,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=10452,
- serialized_end=10616,
+ serialized_start=10475,
+ serialized_end=10639,
)
@@ -4433,8 +4451,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=10618,
- serialized_end=10722,
+ serialized_start=10641,
+ serialized_end=10745,
)
@@ -4508,8 +4526,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=10724,
- serialized_end=10845,
+ serialized_start=10747,
+ serialized_end=10868,
)
@@ -4601,8 +4619,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=10848,
- serialized_end=11031,
+ serialized_start=10871,
+ serialized_end=11054,
)
@@ -4694,8 +4712,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=11034,
- serialized_end=11250,
+ serialized_start=11057,
+ serialized_end=11273,
)
@@ -4733,8 +4751,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=11252,
- serialized_end=11287,
+ serialized_start=11275,
+ serialized_end=11310,
)
@@ -4870,8 +4888,8 @@
fields=[],
)
],
- serialized_start=11290,
- serialized_end=11592,
+ serialized_start=11313,
+ serialized_end=11615,
)
@@ -4909,8 +4927,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=11594,
- serialized_end=11680,
+ serialized_start=11617,
+ serialized_end=11703,
)
@@ -4966,8 +4984,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=11682,
- serialized_end=11783,
+ serialized_start=11705,
+ serialized_end=11806,
)
@@ -5005,8 +5023,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=11785,
- serialized_end=11856,
+ serialized_start=11808,
+ serialized_end=11879,
)
_INTENT_TRAININGPHRASE_PART.containing_type = _INTENT_TRAININGPHRASE
@@ -5751,8 +5769,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_SIMPLERESPONSES,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""The collection of simple response candidates. This message in
- ``QueryResult.fulfillment_messages`` and
+ __doc__="""The collection of simple response candidates. This message
+ in ``QueryResult.fulfillment_messages`` and
``WebhookResponse.fulfillment_messages`` should contain only one
``SimpleResponse``.
@@ -5828,8 +5846,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_SUGGESTION,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""The suggestion chip message that the user can tap to quickly post a
- reply to the conversation.
+ __doc__="""The suggestion chip message that the user can tap to
+ quickly post a reply to the conversation.
Attributes:
@@ -5861,8 +5879,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_LINKOUTSUGGESTION,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""The suggestion chip message that allows the user to jump out to the app
- or website associated with this agent.
+ __doc__="""The suggestion chip message that allows the user to jump
+ out to the app or website associated with this agent.
Attributes:
@@ -5911,6 +5929,8 @@
Optional. The overall title of the list.
items:
Required. List items.
+ subtitle:
+ Optional. Subtitle of the list.
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect)
),
@@ -5943,7 +5963,8 @@
),
DESCRIPTOR=_INTENT_MESSAGE_CAROUSELSELECT,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""The card for presenting a carousel of options to select from.
+ __doc__="""The card for presenting a carousel of options to select
+ from.
Attributes:
@@ -5959,8 +5980,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_SELECTITEMINFO,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Additional info about the select item for when it is triggered in a
- dialog.
+ __doc__="""Additional info about the select item for when it is
+ triggered in a dialog.
Attributes:
@@ -6007,8 +6028,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_TELEPHONYSYNTHESIZESPEECH,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Synthesizes speech and plays back the synthesized audio to the caller in
- Telephony Gateway.
+ __doc__="""Synthesizes speech and plays back the synthesized audio to
+ the caller in Telephony Gateway.
Telephony Gateway takes the synthesizer settings from
``DetectIntentResponse.output_audio_config`` which can either be set at
@@ -6051,7 +6072,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_RBMTEXT,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Rich Business Messaging (RBM) text response with suggestions.
+ __doc__="""Rich Business Messaging (RBM) text response with
+ suggestions.
Attributes:
@@ -6132,8 +6154,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_RBMCARDCONTENT_RBMMEDIA,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Rich Business Messaging (RBM) Media displayed in Cards The following
- media-types are currently supported:
+ __doc__="""Rich Business Messaging (RBM) Media displayed in Cards The
+ following media-types are currently supported:
Image Types
@@ -6195,9 +6217,9 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_RBMSUGGESTION,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Rich Business Messaging (RBM) suggestion. Suggestions allow user to
- easily select/click a predefined response or perform an action (like
- opening a web uri).
+ __doc__="""Rich Business Messaging (RBM) suggestion. Suggestions
+ allow user to easily select/click a predefined response or perform an
+ action (like opening a web uri).
Attributes:
@@ -6217,8 +6239,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_RBMSUGGESTEDREPLY,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Rich Business Messaging (RBM) suggested reply that the user can click
- instead of typing in their own response.
+ __doc__="""Rich Business Messaging (RBM) suggested reply that the
+ user can click instead of typing in their own response.
Attributes:
@@ -6243,8 +6265,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_RBMSUGGESTEDACTION_RBMSUGGESTEDACTIONDIAL,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Opens the user's default dialer app with the specified phone number but
- does not dial automatically (https://goo.gl/ergbB2).
+ __doc__="""Opens the user's default dialer app with the specified
+ phone number but does not dial automatically (https://goo.gl/ergbB2).
Attributes:
@@ -6263,8 +6285,8 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_RBMSUGGESTEDACTION_RBMSUGGESTEDACTIONOPENURI,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Opens the user's default web browser app to the specified uri
- (https://goo.gl/6GLJD2). If the user has an app installed that is
+ __doc__="""Opens the user's default web browser app to the specified
+ uri (https://goo.gl/6GLJD2). If the user has an app installed that is
registered as the default handler for the URL, then this app will be
opened instead, and its icon will be used in the suggested action UI.
@@ -6282,16 +6304,17 @@
dict(
DESCRIPTOR=_INTENT_MESSAGE_RBMSUGGESTEDACTION_RBMSUGGESTEDACTIONSHARELOCATION,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Opens the device's location chooser so the user can pick a location to
- send back to the agent (https://goo.gl/GXotJW).
+ __doc__="""Opens the device's location chooser so the user can pick a
+ location to send back to the agent (https://goo.gl/GXotJW).
+
""",
# @@protoc_insertion_point(class_scope:google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation)
),
),
DESCRIPTOR=_INTENT_MESSAGE_RBMSUGGESTEDACTION,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Rich Business Messaging (RBM) suggested client-side action that the user
- can choose from the card.
+ __doc__="""Rich Business Messaging (RBM) suggested client-side action
+ that the user can choose from the card.
Attributes:
@@ -6509,7 +6532,8 @@
),
DESCRIPTOR=_INTENT_MESSAGE,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Corresponds to the ``Response`` field in the Dialogflow console.
+ __doc__="""Corresponds to the ``Response`` field in the Dialogflow
+ console.
Attributes:
@@ -6588,9 +6612,9 @@
),
DESCRIPTOR=_INTENT,
__module__="google.cloud.dialogflow_v2beta1.proto.intent_pb2",
- __doc__="""Represents an intent. Intents convert a number of user expressions or
- patterns into an action. An action is an extraction of a user command or
- sentence semantics.
+ __doc__="""Represents an intent. Intents convert a number of user
+ expressions or patterns into an action. An action is an extraction of a
+ user command or sentence semantics.
Attributes:
@@ -6606,10 +6630,12 @@
Optional. Indicates whether webhooks are enabled for the
intent.
priority:
- Optional. The priority of this intent. Higher numbers
- represent higher priorities. If this is zero or unspecified,
- we use the default priority 500000. Negative numbers mean
- that the intent is disabled.
+ The priority of this intent. Higher numbers represent higher
+ priorities. - If the supplied value is unspecified or 0, the
+ service translates the value to 500,000, which corresponds
+ to the ``Normal`` priority in the console. - If the
+ supplied value is negative, the intent is ignored in runtime
+ detect intent requests.
is_fallback:
Optional. Indicates whether this is a fallback intent.
ml_enabled:
@@ -6678,11 +6704,12 @@
parent_followup_intent_name:
Read-only after creation. The unique identifier of the parent
intent in the chain of followup intents. You can set this
- field when creating an intent, for example with
- [CreateIntent][] or [BatchUpdateIntents][], in order to make
- this intent a followup intent. It identifies the parent
- followup intent. Format: ``projects//agent/intents/``.
+ field when creating an intent, for example with [CreateIntent]
+ [google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or [Bat
+ chUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.Batch
+ UpdateIntents], in order to make this intent a followup
+ intent. It identifies the parent followup intent. Format:
+ ``projects/