Hello community,
here is the log from the commit of package python-google-cloud-speech for
openSUSE:Factory checked in at 2019-03-28 22:48:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-speech (Old)
and /work/SRC/openSUSE:Factory/.python-google-cloud-speech.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-cloud-speech"
Thu Mar 28 22:48:32 2019 rev:4 rq:688735 version:1.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-cloud-speech/python-google-cloud-speech.changes
2019-03-18 10:38:56.859468292 +0100
+++
/work/SRC/openSUSE:Factory/.python-google-cloud-speech.new.25356/python-google-cloud-speech.changes
2019-03-28 22:48:33.843056073 +0100
@@ -1,0 +2,10 @@
+Tue Mar 26 13:53:57 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.0.0:
+ * Remove unused message exports. (#7275)
+ * Promote google-cloud-speech to GA (#7525)
+ * Speech: copy lintified proto files (via synth).
+ * Add clarifying comment to blacken nox target. (#7404)
+ * Copy proto files alongside protoc versions. Remove unneeded utf-8 header.
+
+-------------------------------------------------------------------
Old:
----
google-cloud-speech-0.36.3.tar.gz
New:
----
google-cloud-speech-1.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-cloud-speech.spec ++++++
--- /var/tmp/diff_new_pack.OQsOfj/_old 2019-03-28 22:48:34.567055942 +0100
+++ /var/tmp/diff_new_pack.OQsOfj/_new 2019-03-28 22:48:34.591055938 +0100
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-cloud-speech
-Version: 0.36.3
+Version: 1.0.0
Release: 0
Summary: Google Cloud Speech API client library
License: Apache-2.0
++++++ google-cloud-speech-0.36.3.tar.gz -> google-cloud-speech-1.0.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google-cloud-speech-0.36.3/PKG-INFO
new/google-cloud-speech-1.0.0/PKG-INFO
--- old/google-cloud-speech-0.36.3/PKG-INFO 2019-01-31 23:36:11.000000000
+0100
+++ new/google-cloud-speech-1.0.0/PKG-INFO 2019-03-18 18:22:39.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: google-cloud-speech
-Version: 0.36.3
+Version: 1.0.0
Summary: Google Cloud Speech API client library
Home-page: https://github.com/GoogleCloudPlatform/google-cloud-python
Author: Google LLC
@@ -25,7 +25,7 @@
.. |versions| image::
https://img.shields.io/pypi/pyversions/google-cloud-speech.svg
:target: https://pypi.org/project/google-cloud-speech/
.. _Cloud Speech API: https://cloud.google.com/speech
- .. _Client Library Documentation:
https://googlecloudplatform.github.io/google-cloud-python/latest/speech/index.html
+ .. _Client Library Documentation:
https://googleapis.github.io/google-cloud-python/latest/speech/index.html
.. _Product Documentation: https://cloud.google.com/speech
Quick Start
@@ -41,7 +41,7 @@
.. _Select or create a Cloud Platform project.:
https://console.cloud.google.com/project
.. _Enable billing for your project.:
https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Cloud Speech API.: https://cloud.google.com/speech
- .. _Setup Authentication.:
https://googlecloudplatform.github.io/google-cloud-python/stable/core/auth.html
+ .. _Setup Authentication.:
https://googleapis.github.io/google-cloud-python/stable/core/auth.html
Installation
~~~~~~~~~~~~
@@ -116,7 +116,7 @@
APIs that we cover.
Platform: Posix; MacOS X; Windows
-Classifier: Development Status :: 4 - Beta
+Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google-cloud-speech-0.36.3/README.rst
new/google-cloud-speech-1.0.0/README.rst
--- old/google-cloud-speech-0.36.3/README.rst 2019-01-31 23:33:25.000000000
+0100
+++ new/google-cloud-speech-1.0.0/README.rst 2019-03-18 18:20:39.000000000
+0100
@@ -17,7 +17,7 @@
.. |versions| image::
https://img.shields.io/pypi/pyversions/google-cloud-speech.svg
:target: https://pypi.org/project/google-cloud-speech/
.. _Cloud Speech API: https://cloud.google.com/speech
-.. _Client Library Documentation:
https://googlecloudplatform.github.io/google-cloud-python/latest/speech/index.html
+.. _Client Library Documentation:
https://googleapis.github.io/google-cloud-python/latest/speech/index.html
.. _Product Documentation: https://cloud.google.com/speech
Quick Start
@@ -33,7 +33,7 @@
.. _Select or create a Cloud Platform project.:
https://console.cloud.google.com/project
.. _Enable billing for your project.:
https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Cloud Speech API.: https://cloud.google.com/speech
-.. _Setup Authentication.:
https://googlecloudplatform.github.io/google-cloud-python/stable/core/auth.html
+.. _Setup Authentication.:
https://googleapis.github.io/google-cloud-python/stable/core/auth.html
Installation
~~~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-0.36.3/google/cloud/speech_v1/proto/cloud_speech.proto
new/google-cloud-speech-1.0.0/google/cloud/speech_v1/proto/cloud_speech.proto
---
old/google-cloud-speech-0.36.3/google/cloud/speech_v1/proto/cloud_speech.proto
2019-01-31 23:33:25.000000000 +0100
+++
new/google-cloud-speech-1.0.0/google/cloud/speech_v1/proto/cloud_speech.proto
2019-03-18 18:20:39.000000000 +0100
@@ -15,7 +15,7 @@
syntax = "proto3";
-package google.cloud.speech.v1p1beta1;
+package google.cloud.speech.v1;
import "google/api/annotations.proto";
import "google/longrunning/operations.proto";
@@ -26,11 +26,10 @@
import "google/rpc/status.proto";
option cc_enable_arenas = true;
-option go_package =
"google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1;speech";
+option go_package =
"google.golang.org/genproto/googleapis/cloud/speech/v1;speech";
option java_multiple_files = true;
option java_outer_classname = "SpeechProto";
-option java_package = "com.google.cloud.speech.v1p1beta1";
-
+option java_package = "com.google.cloud.speech.v1";
// Service that implements Google Cloud Speech API.
service Speech {
@@ -38,7 +37,7 @@
// has been sent and processed.
rpc Recognize(RecognizeRequest) returns (RecognizeResponse) {
option (google.api.http) = {
- post: "/v1p1beta1/speech:recognize"
+ post: "/v1/speech:recognize"
body: "*"
};
}
@@ -47,17 +46,18 @@
// google.longrunning.Operations interface. Returns either an
// `Operation.error` or an `Operation.response` which contains
// a `LongRunningRecognizeResponse` message.
- rpc LongRunningRecognize(LongRunningRecognizeRequest) returns
(google.longrunning.Operation) {
+ rpc LongRunningRecognize(LongRunningRecognizeRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
- post: "/v1p1beta1/speech:longrunningrecognize"
+ post: "/v1/speech:longrunningrecognize"
body: "*"
};
}
// Performs bidirectional streaming speech recognition: receive results while
// sending audio. This method is only available via the gRPC API (not REST).
- rpc StreamingRecognize(stream StreamingRecognizeRequest) returns (stream
StreamingRecognizeResponse) {
- }
+ rpc StreamingRecognize(stream StreamingRecognizeRequest)
+ returns (stream StreamingRecognizeResponse) {}
}
// The top-level message sent by the client for the `Recognize` method.
@@ -155,7 +155,8 @@
// an `AudioEncoding` when you send send `FLAC` or `WAV` audio, the
// encoding configuration must match the encoding described in the audio
// header; otherwise the request returns an
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]
error code.
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error
+ // code.
enum AudioEncoding {
// Not specified.
ENCODING_UNSPECIFIED = 0;
@@ -203,7 +204,8 @@
// Encoding of audio data sent in all `RecognitionAudio` messages.
// This field is optional for `FLAC` and `WAV` audio files and required
- // for all other audio formats. For details, see
[AudioEncoding][google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding].
+ // for all other audio formats. For details, see
+ // [AudioEncoding][google.cloud.speech.v1.RecognitionConfig.AudioEncoding].
AudioEncoding encoding = 1;
// Sample rate in Hertz of the audio data sent in all
@@ -212,7 +214,8 @@
// source to 16000 Hz. If that's not possible, use the native sample rate of
// the audio source (instead of re-sampling).
// This field is optional for `FLAC` and `WAV` audio files and required
- // for all other audio formats. For details, see
[AudioEncoding][google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding].
+ // for all other audio formats. For details, see
+ // [AudioEncoding][google.cloud.speech.v1.RecognitionConfig.AudioEncoding].
int32 sample_rate_hertz = 2;
// *Optional* The number of channels in the input audio data.
@@ -226,7 +229,7 @@
// `enable_separate_recognition_per_channel` to 'true'.
int32 audio_channel_count = 7;
- // This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
+ // This needs to be set to `true` explicitly and `audio_channel_count` > 1
// to get each channel recognized separately. The recognition result will
// contain a `channel_tag` field to state which channel that result belongs
// to. If this is not true, we will only recognize the first channel. The
@@ -241,20 +244,6 @@
// for a list of the currently supported language codes.
string language_code = 3;
- // *Optional* A list of up to 3 additional
- // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags,
- // listing possible alternative languages of the supplied audio.
- // See [Language Support](/speech-to-text/docs/languages)
- // for a list of the currently supported language codes.
- // If alternative languages are listed, recognition result will contain
- // recognition in the most likely language detected including the main
- // language_code. The recognition result will include the language tag
- // of the language detected in the audio.
- // Note: This feature is only supported for Voice Command and Voice Search
- // use cases and performance may vary for other use cases (e.g., phone call
- // transcription).
- repeated string alternative_language_codes = 18;
-
// *Optional* Maximum number of recognition hypotheses to be returned.
// Specifically, the maximum number of `SpeechRecognitionAlternative`
messages
// within each `SpeechRecognitionResult`.
@@ -269,7 +258,7 @@
// won't be filtered out.
bool profanity_filter = 5;
- // *Optional* array of
[SpeechContext][google.cloud.speech.v1p1beta1.SpeechContext].
+ // *Optional* array of [SpeechContext][google.cloud.speech.v1.SpeechContext].
// A means to provide context to assist the speech recognition. For more
// information, see [Phrase Hints](/speech-to-text/docs/basics#phrase-hints).
repeated SpeechContext speech_contexts = 6;
@@ -280,11 +269,6 @@
// `false`.
bool enable_word_time_offsets = 8;
- // *Optional* If `true`, the top result includes a list of words and the
- // confidence for those words. If `false`, no word-level confidence
- // information is returned. The default is `false`.
- bool enable_word_confidence = 15;
-
// *Optional* If 'true', adds punctuation to recognition result hypotheses.
// This feature is only available in select languages. Setting this for
// requests in other languages has no effect at all.
@@ -294,26 +278,6 @@
// premium feature.
bool enable_automatic_punctuation = 11;
- // *Optional* If 'true', enables speaker detection for each recognized word
in
- // the top alternative of the recognition result using a speaker_tag provided
- // in the WordInfo.
- // Note: When this is true, we send all the words from the beginning of the
- // audio for the top alternative in every consecutive STREAMING responses.
- // This is done in order to improve our speaker tags as our models learn to
- // identify the speakers in the conversation over time.
- // For non-streaming requests, the diarization results will be provided only
- // in the top alternative of the FINAL SpeechRecognitionResult.
- bool enable_speaker_diarization = 16;
-
- // *Optional*
- // If set, specifies the estimated number of speakers in the conversation.
- // If not set, defaults to '2'.
- // Ignored unless enable_speaker_diarization is set to true."
- int32 diarization_speaker_count = 17;
-
- // *Optional* Metadata regarding this request.
- RecognitionMetadata metadata = 9;
-
// *Optional* Which model to select for the given request. Select the model
// best suited to your domain to get best results. If a model is not
// explicitly specified, then we auto-select a model based on the parameters
@@ -366,137 +330,6 @@
bool use_enhanced = 14;
}
-// Description of audio data to be recognized.
-message RecognitionMetadata {
- // Use case categories that the audio recognition request can be described
- // by.
- enum InteractionType {
- // Use case is either unknown or is something other than one of the other
- // values below.
- INTERACTION_TYPE_UNSPECIFIED = 0;
-
- // Multiple people in a conversation or discussion. For example in a
- // meeting with two or more people actively participating. Typically
- // all the primary people speaking would be in the same room (if not,
- // see PHONE_CALL)
- DISCUSSION = 1;
-
- // One or more persons lecturing or presenting to others, mostly
- // uninterrupted.
- PRESENTATION = 2;
-
- // A phone-call or video-conference in which two or more people, who are
- // not in the same room, are actively participating.
- PHONE_CALL = 3;
-
- // A recorded message intended for another person to listen to.
- VOICEMAIL = 4;
-
- // Professionally produced audio (eg. TV Show, Podcast).
- PROFESSIONALLY_PRODUCED = 5;
-
- // Transcribe spoken questions and queries into text.
- VOICE_SEARCH = 6;
-
- // Transcribe voice commands, such as for controlling a device.
- VOICE_COMMAND = 7;
-
- // Transcribe speech to text to create a written document, such as a
- // text-message, email or report.
- DICTATION = 8;
- }
-
- // Enumerates the types of capture settings describing an audio file.
- enum MicrophoneDistance {
- // Audio type is not known.
- MICROPHONE_DISTANCE_UNSPECIFIED = 0;
-
- // The audio was captured from a closely placed microphone. Eg. phone,
- // dictaphone, or handheld microphone. Generally if there speaker is within
- // 1 meter of the microphone.
- NEARFIELD = 1;
-
- // The speaker if within 3 meters of the microphone.
- MIDFIELD = 2;
-
- // The speaker is more than 3 meters away from the microphone.
- FARFIELD = 3;
- }
-
- // The original media the speech was recorded on.
- enum OriginalMediaType {
- // Unknown original media type.
- ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0;
-
- // The speech data is an audio recording.
- AUDIO = 1;
-
- // The speech data originally recorded on a video.
- VIDEO = 2;
- }
-
- // The type of device the speech was recorded with.
- enum RecordingDeviceType {
- // The recording device is unknown.
- RECORDING_DEVICE_TYPE_UNSPECIFIED = 0;
-
- // Speech was recorded on a smartphone.
- SMARTPHONE = 1;
-
- // Speech was recorded using a personal computer or tablet.
- PC = 2;
-
- // Speech was recorded over a phone line.
- PHONE_LINE = 3;
-
- // Speech was recorded in a vehicle.
- VEHICLE = 4;
-
- // Speech was recorded outdoors.
- OTHER_OUTDOOR_DEVICE = 5;
-
- // Speech was recorded indoors.
- OTHER_INDOOR_DEVICE = 6;
- }
-
- // The use case most closely describing the audio content to be recognized.
- InteractionType interaction_type = 1;
-
- // The industry vertical to which this speech recognition request most
- // closely applies. This is most indicative of the topics contained
- // in the audio. Use the 6-digit NAICS code to identify the industry
- // vertical - see https://www.naics.com/search/.
- uint32 industry_naics_code_of_audio = 3;
-
- // The audio type that most closely describes the audio being recognized.
- MicrophoneDistance microphone_distance = 4;
-
- // The original media the speech was recorded on.
- OriginalMediaType original_media_type = 5;
-
- // The type of device the speech was recorded with.
- RecordingDeviceType recording_device_type = 6;
-
- // The device used to make the recording. Examples 'Nexus 5X' or
- // 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or
- // 'Cardioid Microphone'.
- string recording_device_name = 7;
-
- // Mime type of the original audio file. For example `audio/m4a`,
- // `audio/x-alaw-basic`, `audio/mp3`, `audio/3gpp`.
- // A list of possible audio mime types is maintained at
- // http://www.iana.org/assignments/media-types/media-types.xhtml#audio
- string original_mime_type = 8;
-
- // Obfuscated (privacy-protected) ID of the user, to identify number of
- // unique users using the service.
- int64 obfuscated_id = 9;
-
- // Description of the content. Eg. "Recordings of federal supreme court
- // hearings from 2012".
- string audio_topic = 10;
-}
-
// Provides "hints" to the speech recognizer to favor specific words and
phrases
// in the results.
message SpeechContext {
@@ -511,8 +344,8 @@
// Contains audio data in the encoding specified in the `RecognitionConfig`.
// Either `content` or `uri` must be supplied. Supplying both or neither
-// returns
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See
-// [content limits](/speech-to-text/quotas#content).
+// returns
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
+// See [content limits](/speech-to-text/quotas#content).
message RecognitionAudio {
// The audio source, which is either inline content or a Google Cloud
// Storage uri.
@@ -527,8 +360,9 @@
// Currently, only Google Cloud Storage URIs are
// supported, which must be specified in the following format:
// `gs://bucket_name/object_name` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
For more information, see
- // [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
+ // For more information, see [Request
+ // URIs](https://cloud.google.com/storage/docs/reference-uris).
string uri = 2;
}
}
@@ -633,8 +467,8 @@
END_OF_SINGLE_UTTERANCE = 1;
}
- // Output only. If set, returns a [google.rpc.Status][google.rpc.Status]
message that
- // specifies the error for the operation.
+ // Output only. If set, returns a [google.rpc.Status][google.rpc.Status]
+ // message that specifies the error for the operation.
google.rpc.Status error = 1;
// Output only. This repeated list contains zero or more results that
@@ -670,20 +504,10 @@
// The default of 0.0 is a sentinel value indicating `stability` was not set.
float stability = 3;
- // Output only. Time offset of the end of this result relative to the
- // beginning of the audio.
- google.protobuf.Duration result_end_time = 4;
-
// For multi-channel audio, this is the channel number corresponding to the
// recognized result for the audio from that channel.
// For audio_channel_count = N, its output values can range from '1' to 'N'.
int32 channel_tag = 5;
-
- // Output only. The
- // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
- // language in this result. This language code was detected to have the most
- // likelihood of being spoken in the audio.
- string language_code = 6;
}
// A speech recognition result corresponding to a portion of the audio.
@@ -698,12 +522,6 @@
// recognized result for the audio from that channel.
// For audio_channel_count = N, its output values can range from '1' to 'N'.
int32 channel_tag = 2;
-
- // Output only. The
- // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
- // language in this result. This language code was detected to have the most
- // likelihood of being spoken in the audio.
- string language_code = 5;
}
// Alternative hypotheses (a.k.a. n-best list).
@@ -746,20 +564,4 @@
// Output only. The word corresponding to this set of information.
string word = 3;
-
- // Output only. The confidence estimate between 0.0 and 1.0. A higher number
- // indicates an estimated greater likelihood that the recognized words are
- // correct. This field is set only for the top alternative of a non-streaming
- // result or, of a streaming result where `is_final=true`.
- // This field is not guaranteed to be accurate and users should not rely on
it
- // to be always provided.
- // The default of 0.0 is a sentinel value indicating `confidence` was not
set.
- float confidence = 4;
-
- // Output only. A distinct integer value is assigned for every speaker within
- // the audio. This field specifies which one of those speakers was detected
to
- // have spoken this word. Value ranges from '1' to diarization_speaker_count.
- // speaker_tag is set if enable_speaker_diarization = 'true' and only in the
- // top alternative.
- int32 speaker_tag = 5;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-0.36.3/google/cloud/speech_v1/proto/cloud_speech_pb2.py
new/google-cloud-speech-1.0.0/google/cloud/speech_v1/proto/cloud_speech_pb2.py
---
old/google-cloud-speech-0.36.3/google/cloud/speech_v1/proto/cloud_speech_pb2.py
2019-01-31 23:33:25.000000000 +0100
+++
new/google-cloud-speech-1.0.0/google/cloud/speech_v1/proto/cloud_speech_pb2.py
2019-03-18 18:20:39.000000000 +0100
@@ -1995,4 +1995,3 @@
DESCRIPTOR.services_by_name["Speech"] = _SPEECH
# @@protoc_insertion_point(module_scope)
-# -*- coding: utf-8 -*-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-0.36.3/google/cloud/speech_v1/types.py
new/google-cloud-speech-1.0.0/google/cloud/speech_v1/types.py
--- old/google-cloud-speech-0.36.3/google/cloud/speech_v1/types.py
2019-01-31 23:33:25.000000000 +0100
+++ new/google-cloud-speech-1.0.0/google/cloud/speech_v1/types.py
2019-03-18 18:20:39.000000000 +0100
@@ -19,26 +19,14 @@
from google.api_core.protobuf_helpers import get_messages
-from google.api import http_pb2
from google.cloud.speech_v1.proto import cloud_speech_pb2
from google.longrunning import operations_pb2
from google.protobuf import any_pb2
-from google.protobuf import descriptor_pb2
from google.protobuf import duration_pb2
-from google.protobuf import empty_pb2
from google.protobuf import timestamp_pb2
from google.rpc import status_pb2
-_shared_modules = [
- http_pb2,
- operations_pb2,
- any_pb2,
- descriptor_pb2,
- duration_pb2,
- empty_pb2,
- timestamp_pb2,
- status_pb2,
-]
+_shared_modules = [operations_pb2, any_pb2, duration_pb2, timestamp_pb2,
status_pb2]
_local_modules = [cloud_speech_pb2]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-0.36.3/google/cloud/speech_v1p1beta1/proto/cloud_speech.proto
new/google-cloud-speech-1.0.0/google/cloud/speech_v1p1beta1/proto/cloud_speech.proto
---
old/google-cloud-speech-0.36.3/google/cloud/speech_v1p1beta1/proto/cloud_speech.proto
2019-01-31 23:33:25.000000000 +0100
+++
new/google-cloud-speech-1.0.0/google/cloud/speech_v1p1beta1/proto/cloud_speech.proto
2019-03-18 18:20:39.000000000 +0100
@@ -31,7 +31,6 @@
option java_outer_classname = "SpeechProto";
option java_package = "com.google.cloud.speech.v1p1beta1";
-
// Service that implements Google Cloud Speech API.
service Speech {
// Performs synchronous speech recognition: receive results after all audio
@@ -47,7 +46,8 @@
// google.longrunning.Operations interface. Returns either an
// `Operation.error` or an `Operation.response` which contains
// a `LongRunningRecognizeResponse` message.
- rpc LongRunningRecognize(LongRunningRecognizeRequest) returns
(google.longrunning.Operation) {
+ rpc LongRunningRecognize(LongRunningRecognizeRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1p1beta1/speech:longrunningrecognize"
body: "*"
@@ -56,8 +56,8 @@
// Performs bidirectional streaming speech recognition: receive results while
// sending audio. This method is only available via the gRPC API (not REST).
- rpc StreamingRecognize(stream StreamingRecognizeRequest) returns (stream
StreamingRecognizeResponse) {
- }
+ rpc StreamingRecognize(stream StreamingRecognizeRequest)
+ returns (stream StreamingRecognizeResponse) {}
}
// The top-level message sent by the client for the `Recognize` method.
@@ -155,7 +155,8 @@
// an `AudioEncoding` when you send send `FLAC` or `WAV` audio, the
// encoding configuration must match the encoding described in the audio
// header; otherwise the request returns an
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]
error code.
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error
+ // code.
enum AudioEncoding {
// Not specified.
ENCODING_UNSPECIFIED = 0;
@@ -203,7 +204,8 @@
// Encoding of audio data sent in all `RecognitionAudio` messages.
// This field is optional for `FLAC` and `WAV` audio files and required
- // for all other audio formats. For details, see
[AudioEncoding][google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding].
+ // for all other audio formats. For details, see
+ //
[AudioEncoding][google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding].
AudioEncoding encoding = 1;
// Sample rate in Hertz of the audio data sent in all
@@ -212,7 +214,8 @@
// source to 16000 Hz. If that's not possible, use the native sample rate of
// the audio source (instead of re-sampling).
// This field is optional for `FLAC` and `WAV` audio files and required
- // for all other audio formats. For details, see
[AudioEncoding][google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding].
+ // for all other audio formats. For details, see
+ //
[AudioEncoding][google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding].
int32 sample_rate_hertz = 2;
// *Optional* The number of channels in the input audio data.
@@ -269,9 +272,10 @@
// won't be filtered out.
bool profanity_filter = 5;
- // *Optional* array of
[SpeechContext][google.cloud.speech.v1p1beta1.SpeechContext].
- // A means to provide context to assist the speech recognition. For more
- // information, see [Phrase Hints](/speech-to-text/docs/basics#phrase-hints).
+ // *Optional* array of
+ // [SpeechContext][google.cloud.speech.v1p1beta1.SpeechContext]. A means to
+ // provide context to assist the speech recognition. For more information,
see
+ // [Phrase Hints](/speech-to-text/docs/basics#phrase-hints).
repeated SpeechContext speech_contexts = 6;
// *Optional* If `true`, the top result includes a list of words and
@@ -511,8 +515,8 @@
// Contains audio data in the encoding specified in the `RecognitionConfig`.
// Either `content` or `uri` must be supplied. Supplying both or neither
-// returns
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See
-// [content limits](/speech-to-text/quotas#content).
+// returns
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
+// See [content limits](/speech-to-text/quotas#content).
message RecognitionAudio {
// The audio source, which is either inline content or a Google Cloud
// Storage uri.
@@ -527,8 +531,9 @@
// Currently, only Google Cloud Storage URIs are
// supported, which must be specified in the following format:
// `gs://bucket_name/object_name` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
For more information, see
- // [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
+ // For more information, see [Request
+ // URIs](https://cloud.google.com/storage/docs/reference-uris).
string uri = 2;
}
}
@@ -633,8 +638,8 @@
END_OF_SINGLE_UTTERANCE = 1;
}
- // Output only. If set, returns a [google.rpc.Status][google.rpc.Status]
message that
- // specifies the error for the operation.
+ // Output only. If set, returns a [google.rpc.Status][google.rpc.Status]
+ // message that specifies the error for the operation.
google.rpc.Status error = 1;
// Output only. This repeated list contains zero or more results that
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-0.36.3/google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py
new/google-cloud-speech-1.0.0/google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py
---
old/google-cloud-speech-0.36.3/google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py
2019-01-31 23:33:25.000000000 +0100
+++
new/google-cloud-speech-1.0.0/google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py
2019-03-18 18:20:39.000000000 +0100
@@ -2649,4 +2649,3 @@
DESCRIPTOR.services_by_name["Speech"] = _SPEECH
# @@protoc_insertion_point(module_scope)
-# -*- coding: utf-8 -*-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-0.36.3/google/cloud/speech_v1p1beta1/types.py
new/google-cloud-speech-1.0.0/google/cloud/speech_v1p1beta1/types.py
--- old/google-cloud-speech-0.36.3/google/cloud/speech_v1p1beta1/types.py
2019-01-31 23:33:25.000000000 +0100
+++ new/google-cloud-speech-1.0.0/google/cloud/speech_v1p1beta1/types.py
2019-03-18 18:20:39.000000000 +0100
@@ -19,26 +19,13 @@
from google.api_core.protobuf_helpers import get_messages
-from google.api import http_pb2
from google.cloud.speech_v1p1beta1.proto import cloud_speech_pb2
from google.longrunning import operations_pb2
from google.protobuf import any_pb2
-from google.protobuf import descriptor_pb2
from google.protobuf import duration_pb2
-from google.protobuf import empty_pb2
-from google.protobuf import timestamp_pb2
from google.rpc import status_pb2
-_shared_modules = [
- http_pb2,
- operations_pb2,
- any_pb2,
- descriptor_pb2,
- duration_pb2,
- empty_pb2,
- timestamp_pb2,
- status_pb2,
-]
+_shared_modules = [operations_pb2, any_pb2, duration_pb2, status_pb2]
_local_modules = [cloud_speech_pb2]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/google-cloud-speech-0.36.3/google_cloud_speech.egg-info/PKG-INFO
new/google-cloud-speech-1.0.0/google_cloud_speech.egg-info/PKG-INFO
--- old/google-cloud-speech-0.36.3/google_cloud_speech.egg-info/PKG-INFO
2019-01-31 23:36:11.000000000 +0100
+++ new/google-cloud-speech-1.0.0/google_cloud_speech.egg-info/PKG-INFO
2019-03-18 18:22:39.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: google-cloud-speech
-Version: 0.36.3
+Version: 1.0.0
Summary: Google Cloud Speech API client library
Home-page: https://github.com/GoogleCloudPlatform/google-cloud-python
Author: Google LLC
@@ -25,7 +25,7 @@
.. |versions| image::
https://img.shields.io/pypi/pyversions/google-cloud-speech.svg
:target: https://pypi.org/project/google-cloud-speech/
.. _Cloud Speech API: https://cloud.google.com/speech
- .. _Client Library Documentation:
https://googlecloudplatform.github.io/google-cloud-python/latest/speech/index.html
+ .. _Client Library Documentation:
https://googleapis.github.io/google-cloud-python/latest/speech/index.html
.. _Product Documentation: https://cloud.google.com/speech
Quick Start
@@ -41,7 +41,7 @@
.. _Select or create a Cloud Platform project.:
https://console.cloud.google.com/project
.. _Enable billing for your project.:
https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Cloud Speech API.: https://cloud.google.com/speech
- .. _Setup Authentication.:
https://googlecloudplatform.github.io/google-cloud-python/stable/core/auth.html
+ .. _Setup Authentication.:
https://googleapis.github.io/google-cloud-python/stable/core/auth.html
Installation
~~~~~~~~~~~~
@@ -116,7 +116,7 @@
APIs that we cover.
Platform: Posix; MacOS X; Windows
-Classifier: Development Status :: 4 - Beta
+Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/google-cloud-speech-0.36.3/setup.py
new/google-cloud-speech-1.0.0/setup.py
--- old/google-cloud-speech-0.36.3/setup.py 2019-01-31 23:33:25.000000000
+0100
+++ new/google-cloud-speech-1.0.0/setup.py 2019-03-18 18:20:39.000000000
+0100
@@ -22,12 +22,12 @@
name = 'google-cloud-speech'
description = 'Google Cloud Speech API client library'
-version = '0.36.3'
+version = '1.0.0'
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Production/Stable'
-release_status = 'Development Status :: 4 - Beta'
+release_status = 'Development Status :: 5 - Production/Stable'
dependencies = [
'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
]