From 0dafdedcf88e17194a8c9d4a5e8e19deb70ddb39 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 14 Jun 2019 06:29:40 -0700 Subject: [PATCH] docs: update property types from string to Buffer (#389) --- .../v1/doc/google/cloud/speech/v1/doc_cloud_speech.js | 4 ++-- .../src/v1/doc/google/protobuf/doc_any.js | 2 +- .../google/cloud/speech/v1p1beta1/doc_cloud_speech.js | 4 ++-- .../src/v1p1beta1/doc/google/protobuf/doc_any.js | 2 +- packages/google-cloud-speech/synth.metadata | 10 +++++----- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/google-cloud-speech/src/v1/doc/google/cloud/speech/v1/doc_cloud_speech.js b/packages/google-cloud-speech/src/v1/doc/google/cloud/speech/v1/doc_cloud_speech.js index 0083d7c3e76..ea5c9dc0d45 100644 --- a/packages/google-cloud-speech/src/v1/doc/google/cloud/speech/v1/doc_cloud_speech.js +++ b/packages/google-cloud-speech/src/v1/doc/google/cloud/speech/v1/doc_cloud_speech.js @@ -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 @@ -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. diff --git a/packages/google-cloud-speech/src/v1/doc/google/protobuf/doc_any.js b/packages/google-cloud-speech/src/v1/doc/google/protobuf/doc_any.js index 9ff5d007807..cdd2fc80e49 100644 --- a/packages/google-cloud-speech/src/v1/doc/google/protobuf/doc_any.js +++ b/packages/google-cloud-speech/src/v1/doc/google/protobuf/doc_any.js @@ -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 diff --git a/packages/google-cloud-speech/src/v1p1beta1/doc/google/cloud/speech/v1p1beta1/doc_cloud_speech.js b/packages/google-cloud-speech/src/v1p1beta1/doc/google/cloud/speech/v1p1beta1/doc_cloud_speech.js index d7298445bdc..55b61b7e4b8 100644 --- a/packages/google-cloud-speech/src/v1p1beta1/doc/google/cloud/speech/v1p1beta1/doc_cloud_speech.js +++ b/packages/google-cloud-speech/src/v1p1beta1/doc/google/cloud/speech/v1p1beta1/doc_cloud_speech.js @@ -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 @@ -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. diff --git a/packages/google-cloud-speech/src/v1p1beta1/doc/google/protobuf/doc_any.js b/packages/google-cloud-speech/src/v1p1beta1/doc/google/protobuf/doc_any.js index 9ff5d007807..cdd2fc80e49 100644 --- a/packages/google-cloud-speech/src/v1p1beta1/doc/google/protobuf/doc_any.js +++ b/packages/google-cloud-speech/src/v1p1beta1/doc/google/protobuf/doc_any.js @@ -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 diff --git a/packages/google-cloud-speech/synth.metadata b/packages/google-cloud-speech/synth.metadata index f8fba92ea93..54d05f2aa51 100644 --- a/packages/google-cloud-speech/synth.metadata +++ b/packages/google-cloud-speech/synth.metadata @@ -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" } }, {