Skip to content

Commit c845d69

Browse files
Regenerate gapic for Speech API, remove deprecated manual layer (googleapis#4788)
* Removes the deprecated manual layer. * Institutes new timeouts. * Removes gax.
1 parent 36e1410 commit c845d69

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+738
-3811
lines changed

speech/.coveragerc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[run]
22
branch = True
3+
omit =
4+
*/gapic/*
5+
*/proto/*
36

47
[report]
58
fail_under = 100

speech/google/cloud/gapic/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

speech/google/cloud/gapic/speech/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

speech/google/cloud/gapic/speech/v1/speech_client.py

Lines changed: 0 additions & 283 deletions
This file was deleted.

speech/google/cloud/gapic/speech/v1/speech_client_config.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

speech/google/cloud/proto/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

speech/google/cloud/proto/speech/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

speech/google/cloud/proto/speech/v1/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
1-
# Copyright 2016 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,
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+
15+
from __future__ import absolute_import
16+
17+
from google.cloud.speech_v1 import SpeechClient
18+
from google.cloud.speech_v1 import enums
19+
from google.cloud.speech_v1 import types
20+
21+
__all__ = (
22+
'enums',
23+
'types',
24+
'SpeechClient',
25+
)

0 commit comments

Comments
 (0)