Skip to content

Commit

Permalink
Add v2 Endpoint (#38)
Browse files Browse the repository at this point in the history
Add generated v2 endpoint
  • Loading branch information
crwilcox authored Apr 16, 2018
1 parent 08b1b4a commit 1b82b53
Show file tree
Hide file tree
Showing 42 changed files with 15,974 additions and 10 deletions.
16 changes: 8 additions & 8 deletions packages/google-cloud-dialogflow/dialogflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

from __future__ import absolute_import

from dialogflow_v2beta1 import AgentsClient
from dialogflow_v2beta1 import ContextsClient
from dialogflow_v2beta1 import EntityTypesClient
from dialogflow_v2beta1 import IntentsClient
from dialogflow_v2beta1 import SessionEntityTypesClient
from dialogflow_v2beta1 import SessionsClient
from dialogflow_v2beta1 import enums
from dialogflow_v2beta1 import types
from dialogflow_v2 import AgentsClient
from dialogflow_v2 import ContextsClient
from dialogflow_v2 import EntityTypesClient
from dialogflow_v2 import IntentsClient
from dialogflow_v2 import SessionEntityTypesClient
from dialogflow_v2 import SessionsClient
from dialogflow_v2 import enums
from dialogflow_v2 import types

__all__ = (
'enums',
Expand Down
67 changes: 67 additions & 0 deletions packages/google-cloud-dialogflow/dialogflow_v2/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import

from dialogflow_v2 import types
from dialogflow_v2.gapic import agents_client
from dialogflow_v2.gapic import contexts_client
from dialogflow_v2.gapic import entity_types_client
from dialogflow_v2.gapic import enums
from dialogflow_v2.gapic import intents_client
from dialogflow_v2.gapic import session_entity_types_client
from dialogflow_v2.gapic import sessions_client


class AgentsClient(agents_client.AgentsClient):
__doc__ = agents_client.AgentsClient.__doc__
enums = enums


class ContextsClient(contexts_client.ContextsClient):
__doc__ = contexts_client.ContextsClient.__doc__
enums = enums


class EntityTypesClient(entity_types_client.EntityTypesClient):
__doc__ = entity_types_client.EntityTypesClient.__doc__
enums = enums


class IntentsClient(intents_client.IntentsClient):
__doc__ = intents_client.IntentsClient.__doc__
enums = enums


class SessionEntityTypesClient(
session_entity_types_client.SessionEntityTypesClient):
__doc__ = session_entity_types_client.SessionEntityTypesClient.__doc__
enums = enums


class SessionsClient(sessions_client.SessionsClient):
__doc__ = sessions_client.SessionsClient.__doc__
enums = enums


__all__ = (
'enums',
'types',
'AgentsClient',
'ContextsClient',
'EntityTypesClient',
'IntentsClient',
'SessionEntityTypesClient',
'SessionsClient',
)
Empty file.
Loading

0 comments on commit 1b82b53

Please sign in to comment.