Skip to content

Commit

Permalink
feat: add v3 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Dec 7, 2020
1 parent 9704d6a commit 74dee56
Show file tree
Hide file tree
Showing 208 changed files with 73,359 additions and 4,991 deletions.
17 changes: 17 additions & 0 deletions packages/google-cloud-dialogflow-cx/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
10 changes: 10 additions & 0 deletions packages/google-cloud-dialogflow-cx/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,16 @@ Coding Style
should point to the official ``googleapis`` checkout and the
the branch should be the main branch on that remote (``master``).

- This repository contains configuration for the
`pre-commit <https://pre-commit.com/>`__ tool, which automates checking
our linters during a commit. If you have it installed on your ``$PATH``,
you can enable enforcing those checks via:

.. code-block:: bash
$ pre-commit install
pre-commit installed at .git/hooks/pre-commit
Exceptions to PEP8:

- Many unit tests use a helper method, ``_call_fut`` ("FUT" is short for
Expand Down
6 changes: 3 additions & 3 deletions packages/google-cloud-dialogflow-cx/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,10 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
"python": ("http://python.readthedocs.org/en/latest/", None),
"google-auth": ("https://google-auth.readthedocs.io/en/stable", None),
"python": ("https://python.readthedocs.org/en/latest/", None),
"google-auth": ("https://googleapis.dev/python/google-auth/latest/", None),
"google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None,),
"grpc": ("https://grpc.io/grpc/python/", None),
"grpc": ("https://grpc.github.io/grpc/python/", None),
"proto-plus": ("https://proto-plus-python.readthedocs.io/en/latest/", None),
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Services for Google Cloud Dialogflowcx v3 API
=============================================

.. automodule:: google.cloud.dialogflowcx_v3.services.agents
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.entity_types
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.environments
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.flows
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.intents
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.pages
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.security_settings_service
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.session_entity_types
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.sessions
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.transition_route_groups
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.versions
:members:
:inherited-members:
.. automodule:: google.cloud.dialogflowcx_v3.services.webhooks
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Types for Google Cloud Dialogflowcx v3 API
==========================================

.. automodule:: google.cloud.dialogflowcx_v3.types
:members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Types for Google Cloud Dialogflowcx v3beta1 API

.. automodule:: google.cloud.dialogflowcx_v3beta1.types
:members:
:show-inheritance:
2 changes: 2 additions & 0 deletions packages/google-cloud-dialogflow-cx/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ API Reference
.. toctree::
:maxdepth: 2

dialogflowcx_v3/services
dialogflowcx_v3/types
dialogflowcx_v3beta1/services
dialogflowcx_v3beta1/types

Expand Down
328 changes: 176 additions & 152 deletions packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx/__init__.py

Large diffs are not rendered by default.

Loading

0 comments on commit 74dee56

Please sign in to comment.