Skip to content

Commit

Permalink
docs: update property types from string to Buffer (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and callmehiphop committed Jun 14, 2019
1 parent 6de502a commit 0dafded
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const LongRunningRecognizeRequest = {
*
* This object should have the same structure as [StreamingRecognitionConfig]{@link google.cloud.speech.v1.StreamingRecognitionConfig}
*
* @property {string} audioContent
* @property {Buffer} audioContent
* The audio data to be recognized. Sequential chunks of audio data are sent
* in sequential `StreamingRecognizeRequest` messages. The first
* `StreamingRecognizeRequest` message must not contain `audio_content` data
Expand Down Expand Up @@ -604,7 +604,7 @@ const SpeechContext = {
* returns google.rpc.Code.INVALID_ARGUMENT.
* See [content limits](https://cloud.google.com/speech-to-text/quotas#content).
*
* @property {string} content
* @property {Buffer} content
* The audio data bytes encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a
* pure binary representation, whereas JSON representations use base64.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
* Schemes other than `http`, `https` (or the empty scheme) might be
* used with implementation specific semantics.
*
* @property {string} value
* @property {Buffer} value
* Must be a valid serialized protocol buffer of the above specified type.
*
* @typedef Any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const LongRunningRecognizeRequest = {
*
* This object should have the same structure as [StreamingRecognitionConfig]{@link google.cloud.speech.v1p1beta1.StreamingRecognitionConfig}
*
* @property {string} audioContent
* @property {Buffer} audioContent
* The audio data to be recognized. Sequential chunks of audio data are sent
* in sequential `StreamingRecognizeRequest` messages. The first
* `StreamingRecognizeRequest` message must not contain `audio_content` data
Expand Down Expand Up @@ -668,7 +668,7 @@ const SpeechContext = {
* returns google.rpc.Code.INVALID_ARGUMENT.
* See [content limits](https://cloud.google.com/speech-to-text/quotas#content).
*
* @property {string} content
* @property {Buffer} content
* The audio data bytes encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a
* pure binary representation, whereas JSON representations use base64.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
* Schemes other than `http`, `https` (or the empty scheme) might be
* used with implementation specific semantics.
*
* @property {string} value
* @property {Buffer} value
* Must be a valid serialized protocol buffer of the above specified type.
*
* @typedef Any
Expand Down
10 changes: 5 additions & 5 deletions packages/google-cloud-speech/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-06-11T11:23:48.886167Z",
"updateTime": "2019-06-14T11:22:35.103083Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.24.0",
"dockerImage": "googleapis/artman@sha256:ce425884865f57f18307e597bca1a74a3619b7098688d4995261f3ffb3488681"
"version": "0.25.0",
"dockerImage": "googleapis/artman@sha256:ef1a98ab1e2b8f05f4d9a56f27d63347aefe14020e5f2d585172b14ca76f1d90"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "744feb9660b3194fcde37dea50038bde204f3573",
"internalRef": "252553801"
"sha": "c23b68eecb00c4d285a730a49b1d7d943cd56183",
"internalRef": "253113405"
}
},
{
Expand Down

0 comments on commit 0dafded

Please sign in to comment.