Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
feat: add v3 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Dec 7, 2020
1 parent 80f36ad commit 97c7fb5
Show file tree
Hide file tree
Showing 208 changed files with 73,359 additions and 4,991 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
@@ -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 CONTRIBUTING.rst
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 docs/conf.py
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
39 changes: 39 additions & 0 deletions docs/dialogflowcx_v3/services.rst
@@ -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:
6 changes: 6 additions & 0 deletions docs/dialogflowcx_v3/types.rst
@@ -0,0 +1,6 @@
Types for Google Cloud Dialogflowcx v3 API
==========================================

.. automodule:: google.cloud.dialogflowcx_v3.types
:members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/dialogflowcx_v3beta1/types.rst
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 docs/index.rst
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 google/cloud/dialogflowcx/__init__.py

Large diffs are not rendered by default.

0 comments on commit 97c7fb5

Please sign in to comment.