Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
Update to v2beta1 to bring in new changes. (#33)
Browse files Browse the repository at this point in the history
* regen'd v2beta1
  • Loading branch information
lukesneeringer authored and crwilcox committed May 2, 2018
1 parent b1e577d commit ae4ab91
Show file tree
Hide file tree
Showing 39 changed files with 2,777 additions and 3,292 deletions.
4 changes: 2 additions & 2 deletions LICENSE
@@ -1,6 +1,6 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
https://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Expand Down Expand Up @@ -192,7 +192,7 @@
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
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,
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
@@ -1,4 +1,5 @@
include README.rst LICENSE
recursive-include google *.json *.proto
recursive-include tests *
global-exclude *.py[co]
global-exclude __pycache__
12 changes: 6 additions & 6 deletions dialogflow_v2/gapic/agents_client.py
Expand Up @@ -177,7 +177,7 @@ def get_agent(self,
Retrieves the specified agent.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.AgentsClient()
>>>
Expand Down Expand Up @@ -230,7 +230,7 @@ def search_agents(self,
Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.AgentsClient()
>>>
Expand Down Expand Up @@ -312,7 +312,7 @@ def train_agent(self,
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.AgentsClient()
>>>
Expand Down Expand Up @@ -378,7 +378,7 @@ def export_agent(self,
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.AgentsClient()
>>>
Expand Down Expand Up @@ -455,7 +455,7 @@ def import_agent(self,
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.AgentsClient()
>>>
Expand Down Expand Up @@ -554,7 +554,7 @@ def restore_agent(self,
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.AgentsClient()
>>>
Expand Down
12 changes: 6 additions & 6 deletions dialogflow_v2/gapic/contexts_client.py
Expand Up @@ -183,7 +183,7 @@ def list_contexts(self,
Returns the list of all contexts in the specified session.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.ContextsClient()
>>>
Expand Down Expand Up @@ -261,7 +261,7 @@ def get_context(self,
Retrieves the specified context.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.ContextsClient()
>>>
Expand Down Expand Up @@ -308,7 +308,7 @@ def create_context(self,
Creates a context.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.ContextsClient()
>>>
Expand Down Expand Up @@ -362,7 +362,7 @@ def update_context(self,
Updates the specified context.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.ContextsClient()
>>>
Expand Down Expand Up @@ -415,7 +415,7 @@ def delete_context(self,
Deletes the specified context.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.ContextsClient()
>>>
Expand Down Expand Up @@ -458,7 +458,7 @@ def delete_all_contexts(self,
Deletes all active contexts in the specified session.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.ContextsClient()
>>>
Expand Down
20 changes: 10 additions & 10 deletions dialogflow_v2/gapic/entity_types_client.py
Expand Up @@ -216,7 +216,7 @@ def list_entity_types(self,
Returns the list of all entity types in the specified agent.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
Expand Down Expand Up @@ -301,7 +301,7 @@ def get_entity_type(self,
Retrieves the specified entity type.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
Expand Down Expand Up @@ -357,7 +357,7 @@ def create_entity_type(self,
Creates an entity type in the specified agent.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
Expand Down Expand Up @@ -418,7 +418,7 @@ def update_entity_type(self,
Updates the specified entity type.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
Expand Down Expand Up @@ -478,7 +478,7 @@ def delete_entity_type(self,
Deletes the specified entity type.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
Expand Down Expand Up @@ -529,7 +529,7 @@ def batch_update_entity_types(
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
Expand Down Expand Up @@ -623,7 +623,7 @@ def batch_delete_entity_types(
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
Expand Down Expand Up @@ -695,7 +695,7 @@ def batch_create_entities(self,
Operation <response: ``google.protobuf.Empty``>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
Expand Down Expand Up @@ -776,7 +776,7 @@ def batch_update_entities(self,
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
Expand Down Expand Up @@ -859,7 +859,7 @@ def batch_delete_entities(self,
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.EntityTypesClient()
>>>
Expand Down
14 changes: 7 additions & 7 deletions dialogflow_v2/gapic/intents_client.py
Expand Up @@ -208,7 +208,7 @@ def list_intents(self,
Returns the list of all intents in the specified agent.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.IntentsClient()
>>>
Expand Down Expand Up @@ -296,7 +296,7 @@ def get_intent(self,
Retrieves the specified intent.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.IntentsClient()
>>>
Expand Down Expand Up @@ -355,7 +355,7 @@ def create_intent(self,
Creates an intent in the specified agent.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.IntentsClient()
>>>
Expand Down Expand Up @@ -419,7 +419,7 @@ def update_intent(self,
Updates the specified intent.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.IntentsClient()
>>>
Expand Down Expand Up @@ -482,7 +482,7 @@ def delete_intent(self,
Deletes the specified intent.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.IntentsClient()
>>>
Expand Down Expand Up @@ -532,7 +532,7 @@ def batch_update_intents(self,
Operation <response: ``BatchUpdateIntentsResponse``>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.IntentsClient()
>>>
Expand Down Expand Up @@ -626,7 +626,7 @@ def batch_delete_intents(self,
Operation <response: ``google.protobuf.Empty``>
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.IntentsClient()
>>>
Expand Down
10 changes: 5 additions & 5 deletions dialogflow_v2/gapic/session_entity_types_client.py
Expand Up @@ -182,7 +182,7 @@ def list_session_entity_types(
Returns the list of all session entity types in the specified session.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.SessionEntityTypesClient()
>>>
Expand Down Expand Up @@ -261,7 +261,7 @@ def get_session_entity_type(
Retrieves the specified session entity type.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.SessionEntityTypesClient()
>>>
Expand Down Expand Up @@ -311,7 +311,7 @@ def create_session_entity_type(
Creates a session entity type.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.SessionEntityTypesClient()
>>>
Expand Down Expand Up @@ -366,7 +366,7 @@ def update_session_entity_type(
Updates the specified session entity type.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.SessionEntityTypesClient()
>>>
Expand Down Expand Up @@ -422,7 +422,7 @@ def delete_session_entity_type(
Deletes the specified session entity type.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.SessionEntityTypesClient()
>>>
Expand Down
4 changes: 2 additions & 2 deletions dialogflow_v2/gapic/sessions_client.py
Expand Up @@ -153,7 +153,7 @@ def detect_intent(self,
results of future queries.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.SessionsClient()
>>>
Expand Down Expand Up @@ -231,7 +231,7 @@ def streaming_detect_intent(
EXPERIMENTAL: This method interface might change in the future.
Example:
>>> from google.cloud import dialogflow_v2
>>> import dialogflow_v2
>>>
>>> client = dialogflow_v2.SessionsClient()
>>>
Expand Down
14 changes: 1 addition & 13 deletions dialogflow_v2/proto/agent_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions dialogflow_v2beta1/__init__.py
@@ -1,10 +1,10 @@
# Copyright 2017, Google LLC
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
# 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,
Expand Down Expand Up @@ -63,4 +63,5 @@ class SessionsClient(sessions_client.SessionsClient):
'EntityTypesClient',
'IntentsClient',
'SessionEntityTypesClient',
'SessionsClient', )
'SessionsClient',
)

0 comments on commit ae4ab91

Please sign in to comment.