Skip to content

Commit 2a7021d

Browse files
lukesneeringercrwilcox
authored andcommitted
Update to v2beta1 to bring in new changes. (#33)
* regen'd v2beta1
1 parent ad2965c commit 2a7021d

39 files changed

Lines changed: 2777 additions & 3292 deletions

‎packages/google-cloud-dialogflow/LICENSE‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Apache License
22
Version 2.0, January 2004
3-
http://www.apache.org/licenses/
3+
https://www.apache.org/licenses/
44

55
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
66

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

195-
http://www.apache.org/licenses/LICENSE-2.0
195+
https://www.apache.org/licenses/LICENSE-2.0
196196

197197
Unless required by applicable law or agreed to in writing, software
198198
distributed under the License is distributed on an "AS IS" BASIS,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include README.rst LICENSE
22
recursive-include google *.json *.proto
3+
recursive-include tests *
34
global-exclude *.py[co]
45
global-exclude __pycache__

‎packages/google-cloud-dialogflow/dialogflow_v2/gapic/agents_client.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def get_agent(self,
177177
Retrieves the specified agent.
178178
179179
Example:
180-
>>> from google.cloud import dialogflow_v2
180+
>>> import dialogflow_v2
181181
>>>
182182
>>> client = dialogflow_v2.AgentsClient()
183183
>>>
@@ -230,7 +230,7 @@ def search_agents(self,
230230
Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
231231
232232
Example:
233-
>>> from google.cloud import dialogflow_v2
233+
>>> import dialogflow_v2
234234
>>>
235235
>>> client = dialogflow_v2.AgentsClient()
236236
>>>
@@ -312,7 +312,7 @@ def train_agent(self,
312312
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
313313
314314
Example:
315-
>>> from google.cloud import dialogflow_v2
315+
>>> import dialogflow_v2
316316
>>>
317317
>>> client = dialogflow_v2.AgentsClient()
318318
>>>
@@ -378,7 +378,7 @@ def export_agent(self,
378378
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
379379
380380
Example:
381-
>>> from google.cloud import dialogflow_v2
381+
>>> import dialogflow_v2
382382
>>>
383383
>>> client = dialogflow_v2.AgentsClient()
384384
>>>
@@ -455,7 +455,7 @@ def import_agent(self,
455455
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
456456
457457
Example:
458-
>>> from google.cloud import dialogflow_v2
458+
>>> import dialogflow_v2
459459
>>>
460460
>>> client = dialogflow_v2.AgentsClient()
461461
>>>
@@ -554,7 +554,7 @@ def restore_agent(self,
554554
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
555555
556556
Example:
557-
>>> from google.cloud import dialogflow_v2
557+
>>> import dialogflow_v2
558558
>>>
559559
>>> client = dialogflow_v2.AgentsClient()
560560
>>>

‎packages/google-cloud-dialogflow/dialogflow_v2/gapic/contexts_client.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def list_contexts(self,
183183
Returns the list of all contexts in the specified session.
184184
185185
Example:
186-
>>> from google.cloud import dialogflow_v2
186+
>>> import dialogflow_v2
187187
>>>
188188
>>> client = dialogflow_v2.ContextsClient()
189189
>>>
@@ -261,7 +261,7 @@ def get_context(self,
261261
Retrieves the specified context.
262262
263263
Example:
264-
>>> from google.cloud import dialogflow_v2
264+
>>> import dialogflow_v2
265265
>>>
266266
>>> client = dialogflow_v2.ContextsClient()
267267
>>>
@@ -308,7 +308,7 @@ def create_context(self,
308308
Creates a context.
309309
310310
Example:
311-
>>> from google.cloud import dialogflow_v2
311+
>>> import dialogflow_v2
312312
>>>
313313
>>> client = dialogflow_v2.ContextsClient()
314314
>>>
@@ -362,7 +362,7 @@ def update_context(self,
362362
Updates the specified context.
363363
364364
Example:
365-
>>> from google.cloud import dialogflow_v2
365+
>>> import dialogflow_v2
366366
>>>
367367
>>> client = dialogflow_v2.ContextsClient()
368368
>>>
@@ -415,7 +415,7 @@ def delete_context(self,
415415
Deletes the specified context.
416416
417417
Example:
418-
>>> from google.cloud import dialogflow_v2
418+
>>> import dialogflow_v2
419419
>>>
420420
>>> client = dialogflow_v2.ContextsClient()
421421
>>>
@@ -458,7 +458,7 @@ def delete_all_contexts(self,
458458
Deletes all active contexts in the specified session.
459459
460460
Example:
461-
>>> from google.cloud import dialogflow_v2
461+
>>> import dialogflow_v2
462462
>>>
463463
>>> client = dialogflow_v2.ContextsClient()
464464
>>>

‎packages/google-cloud-dialogflow/dialogflow_v2/gapic/entity_types_client.py‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def list_entity_types(self,
216216
Returns the list of all entity types in the specified agent.
217217
218218
Example:
219-
>>> from google.cloud import dialogflow_v2
219+
>>> import dialogflow_v2
220220
>>>
221221
>>> client = dialogflow_v2.EntityTypesClient()
222222
>>>
@@ -301,7 +301,7 @@ def get_entity_type(self,
301301
Retrieves the specified entity type.
302302
303303
Example:
304-
>>> from google.cloud import dialogflow_v2
304+
>>> import dialogflow_v2
305305
>>>
306306
>>> client = dialogflow_v2.EntityTypesClient()
307307
>>>
@@ -357,7 +357,7 @@ def create_entity_type(self,
357357
Creates an entity type in the specified agent.
358358
359359
Example:
360-
>>> from google.cloud import dialogflow_v2
360+
>>> import dialogflow_v2
361361
>>>
362362
>>> client = dialogflow_v2.EntityTypesClient()
363363
>>>
@@ -418,7 +418,7 @@ def update_entity_type(self,
418418
Updates the specified entity type.
419419
420420
Example:
421-
>>> from google.cloud import dialogflow_v2
421+
>>> import dialogflow_v2
422422
>>>
423423
>>> client = dialogflow_v2.EntityTypesClient()
424424
>>>
@@ -478,7 +478,7 @@ def delete_entity_type(self,
478478
Deletes the specified entity type.
479479
480480
Example:
481-
>>> from google.cloud import dialogflow_v2
481+
>>> import dialogflow_v2
482482
>>>
483483
>>> client = dialogflow_v2.EntityTypesClient()
484484
>>>
@@ -529,7 +529,7 @@ def batch_update_entity_types(
529529
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
530530
531531
Example:
532-
>>> from google.cloud import dialogflow_v2
532+
>>> import dialogflow_v2
533533
>>>
534534
>>> client = dialogflow_v2.EntityTypesClient()
535535
>>>
@@ -623,7 +623,7 @@ def batch_delete_entity_types(
623623
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
624624
625625
Example:
626-
>>> from google.cloud import dialogflow_v2
626+
>>> import dialogflow_v2
627627
>>>
628628
>>> client = dialogflow_v2.EntityTypesClient()
629629
>>>
@@ -695,7 +695,7 @@ def batch_create_entities(self,
695695
Operation <response: ``google.protobuf.Empty``>
696696
697697
Example:
698-
>>> from google.cloud import dialogflow_v2
698+
>>> import dialogflow_v2
699699
>>>
700700
>>> client = dialogflow_v2.EntityTypesClient()
701701
>>>
@@ -776,7 +776,7 @@ def batch_update_entities(self,
776776
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
777777
778778
Example:
779-
>>> from google.cloud import dialogflow_v2
779+
>>> import dialogflow_v2
780780
>>>
781781
>>> client = dialogflow_v2.EntityTypesClient()
782782
>>>
@@ -859,7 +859,7 @@ def batch_delete_entities(self,
859859
metadata: [google.protobuf.Struct][google.protobuf.Struct]>
860860
861861
Example:
862-
>>> from google.cloud import dialogflow_v2
862+
>>> import dialogflow_v2
863863
>>>
864864
>>> client = dialogflow_v2.EntityTypesClient()
865865
>>>

‎packages/google-cloud-dialogflow/dialogflow_v2/gapic/intents_client.py‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def list_intents(self,
208208
Returns the list of all intents in the specified agent.
209209
210210
Example:
211-
>>> from google.cloud import dialogflow_v2
211+
>>> import dialogflow_v2
212212
>>>
213213
>>> client = dialogflow_v2.IntentsClient()
214214
>>>
@@ -296,7 +296,7 @@ def get_intent(self,
296296
Retrieves the specified intent.
297297
298298
Example:
299-
>>> from google.cloud import dialogflow_v2
299+
>>> import dialogflow_v2
300300
>>>
301301
>>> client = dialogflow_v2.IntentsClient()
302302
>>>
@@ -355,7 +355,7 @@ def create_intent(self,
355355
Creates an intent in the specified agent.
356356
357357
Example:
358-
>>> from google.cloud import dialogflow_v2
358+
>>> import dialogflow_v2
359359
>>>
360360
>>> client = dialogflow_v2.IntentsClient()
361361
>>>
@@ -419,7 +419,7 @@ def update_intent(self,
419419
Updates the specified intent.
420420
421421
Example:
422-
>>> from google.cloud import dialogflow_v2
422+
>>> import dialogflow_v2
423423
>>>
424424
>>> client = dialogflow_v2.IntentsClient()
425425
>>>
@@ -482,7 +482,7 @@ def delete_intent(self,
482482
Deletes the specified intent.
483483
484484
Example:
485-
>>> from google.cloud import dialogflow_v2
485+
>>> import dialogflow_v2
486486
>>>
487487
>>> client = dialogflow_v2.IntentsClient()
488488
>>>
@@ -532,7 +532,7 @@ def batch_update_intents(self,
532532
Operation <response: ``BatchUpdateIntentsResponse``>
533533
534534
Example:
535-
>>> from google.cloud import dialogflow_v2
535+
>>> import dialogflow_v2
536536
>>>
537537
>>> client = dialogflow_v2.IntentsClient()
538538
>>>
@@ -626,7 +626,7 @@ def batch_delete_intents(self,
626626
Operation <response: ``google.protobuf.Empty``>
627627
628628
Example:
629-
>>> from google.cloud import dialogflow_v2
629+
>>> import dialogflow_v2
630630
>>>
631631
>>> client = dialogflow_v2.IntentsClient()
632632
>>>

‎packages/google-cloud-dialogflow/dialogflow_v2/gapic/session_entity_types_client.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def list_session_entity_types(
182182
Returns the list of all session entity types in the specified session.
183183
184184
Example:
185-
>>> from google.cloud import dialogflow_v2
185+
>>> import dialogflow_v2
186186
>>>
187187
>>> client = dialogflow_v2.SessionEntityTypesClient()
188188
>>>
@@ -261,7 +261,7 @@ def get_session_entity_type(
261261
Retrieves the specified session entity type.
262262
263263
Example:
264-
>>> from google.cloud import dialogflow_v2
264+
>>> import dialogflow_v2
265265
>>>
266266
>>> client = dialogflow_v2.SessionEntityTypesClient()
267267
>>>
@@ -311,7 +311,7 @@ def create_session_entity_type(
311311
Creates a session entity type.
312312
313313
Example:
314-
>>> from google.cloud import dialogflow_v2
314+
>>> import dialogflow_v2
315315
>>>
316316
>>> client = dialogflow_v2.SessionEntityTypesClient()
317317
>>>
@@ -366,7 +366,7 @@ def update_session_entity_type(
366366
Updates the specified session entity type.
367367
368368
Example:
369-
>>> from google.cloud import dialogflow_v2
369+
>>> import dialogflow_v2
370370
>>>
371371
>>> client = dialogflow_v2.SessionEntityTypesClient()
372372
>>>
@@ -422,7 +422,7 @@ def delete_session_entity_type(
422422
Deletes the specified session entity type.
423423
424424
Example:
425-
>>> from google.cloud import dialogflow_v2
425+
>>> import dialogflow_v2
426426
>>>
427427
>>> client = dialogflow_v2.SessionEntityTypesClient()
428428
>>>

‎packages/google-cloud-dialogflow/dialogflow_v2/gapic/sessions_client.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def detect_intent(self,
153153
results of future queries.
154154
155155
Example:
156-
>>> from google.cloud import dialogflow_v2
156+
>>> import dialogflow_v2
157157
>>>
158158
>>> client = dialogflow_v2.SessionsClient()
159159
>>>
@@ -231,7 +231,7 @@ def streaming_detect_intent(
231231
EXPERIMENTAL: This method interface might change in the future.
232232
233233
Example:
234-
>>> from google.cloud import dialogflow_v2
234+
>>> import dialogflow_v2
235235
>>>
236236
>>> client = dialogflow_v2.SessionsClient()
237237
>>>

‎packages/google-cloud-dialogflow/dialogflow_v2/proto/agent_pb2.py‎

Lines changed: 1 addition & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/google-cloud-dialogflow/dialogflow_v2beta1/__init__.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Copyright 2017, Google LLC
1+
# Copyright 2018 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
7+
# https://www.apache.org/licenses/LICENSE-2.0
88
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -63,4 +63,5 @@ class SessionsClient(sessions_client.SessionsClient):
6363
'EntityTypesClient',
6464
'IntentsClient',
6565
'SessionEntityTypesClient',
66-
'SessionsClient', )
66+
'SessionsClient',
67+
)

0 commit comments

Comments
 (0)