Skip to content

Commit

Permalink
feat(speech): update the api
Browse files Browse the repository at this point in the history
#### speech:v1

The following keys were added:
- schemas.ABNFGrammar (Total Keys: 4)
- schemas.SpeechAdaptation.properties.abnfGrammar.$ref (Total Keys: 1)

#### speech:v1p1beta1

The following keys were added:
- schemas.ABNFGrammar (Total Keys: 4)
- schemas.SpeechAdaptation.properties.abnfGrammar.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Dec 20, 2022
1 parent d94dee3 commit 339a5d6
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 2 deletions.
10 changes: 10 additions & 0 deletions docs/dyn/speech_v1.speech.html
Expand Up @@ -104,6 +104,11 @@ <h3>Method Details</h3>
},
&quot;config&quot;: { # Provides information to the recognizer that specifies how to process the request. # Required. Provides information to the recognizer that specifies how to process the request.
&quot;adaptation&quot;: { # Speech adaptation configuration. # Speech adaptation configuration improves the accuracy of speech recognition. For more information, see the [speech adaptation](https://cloud.google.com/speech-to-text/docs/adaptation) documentation. When speech adaptation is set it supersedes the `speech_contexts` field.
&quot;abnfGrammar&quot;: { # Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
&quot;abnfStrings&quot;: [ # All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
&quot;A String&quot;,
],
},
&quot;customClasses&quot;: [ # A collection of custom classes. To specify the classes inline, leave the class&#x27; `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
{ # A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
&quot;customClassId&quot;: &quot;A String&quot;, # If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
Expand Down Expand Up @@ -222,6 +227,11 @@ <h3>Method Details</h3>
},
&quot;config&quot;: { # Provides information to the recognizer that specifies how to process the request. # Required. Provides information to the recognizer that specifies how to process the request.
&quot;adaptation&quot;: { # Speech adaptation configuration. # Speech adaptation configuration improves the accuracy of speech recognition. For more information, see the [speech adaptation](https://cloud.google.com/speech-to-text/docs/adaptation) documentation. When speech adaptation is set it supersedes the `speech_contexts` field.
&quot;abnfGrammar&quot;: { # Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
&quot;abnfStrings&quot;: [ # All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
&quot;A String&quot;,
],
},
&quot;customClasses&quot;: [ # A collection of custom classes. To specify the classes inline, leave the class&#x27; `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
{ # A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
&quot;customClassId&quot;: &quot;A String&quot;, # If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
Expand Down
10 changes: 10 additions & 0 deletions docs/dyn/speech_v1p1beta1.speech.html
Expand Up @@ -104,6 +104,11 @@ <h3>Method Details</h3>
},
&quot;config&quot;: { # Provides information to the recognizer that specifies how to process the request. # Required. Provides information to the recognizer that specifies how to process the request.
&quot;adaptation&quot;: { # Speech adaptation configuration. # Speech adaptation configuration improves the accuracy of speech recognition. For more information, see the [speech adaptation](https://cloud.google.com/speech-to-text/docs/adaptation) documentation. When speech adaptation is set it supersedes the `speech_contexts` field.
&quot;abnfGrammar&quot;: { # Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
&quot;abnfStrings&quot;: [ # All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
&quot;A String&quot;,
],
},
&quot;customClasses&quot;: [ # A collection of custom classes. To specify the classes inline, leave the class&#x27; `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
{ # A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
&quot;customClassId&quot;: &quot;A String&quot;, # If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
Expand Down Expand Up @@ -234,6 +239,11 @@ <h3>Method Details</h3>
},
&quot;config&quot;: { # Provides information to the recognizer that specifies how to process the request. # Required. Provides information to the recognizer that specifies how to process the request.
&quot;adaptation&quot;: { # Speech adaptation configuration. # Speech adaptation configuration improves the accuracy of speech recognition. For more information, see the [speech adaptation](https://cloud.google.com/speech-to-text/docs/adaptation) documentation. When speech adaptation is set it supersedes the `speech_contexts` field.
&quot;abnfGrammar&quot;: { # Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
&quot;abnfStrings&quot;: [ # All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
&quot;A String&quot;,
],
},
&quot;customClasses&quot;: [ # A collection of custom classes. To specify the classes inline, leave the class&#x27; `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.
{ # A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
&quot;customClassId&quot;: &quot;A String&quot;, # If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
Expand Down
19 changes: 18 additions & 1 deletion googleapiclient/discovery_cache/documents/speech.v1.json
Expand Up @@ -524,9 +524,22 @@
}
}
},
"revision": "20221115",
"revision": "20221213",
"rootUrl": "https://speech.googleapis.com/",
"schemas": {
"ABNFGrammar": {
"id": "ABNFGrammar",
"properties": {
"abnfStrings": {
"description": "All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ClassItem": {
"description": "An item of the class.",
"id": "ClassItem",
Expand Down Expand Up @@ -1112,6 +1125,10 @@
"description": "Speech adaptation configuration.",
"id": "SpeechAdaptation",
"properties": {
"abnfGrammar": {
"$ref": "ABNFGrammar",
"description": "Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar"
},
"customClasses": {
"description": "A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.",
"items": {
Expand Down
19 changes: 18 additions & 1 deletion googleapiclient/discovery_cache/documents/speech.v1p1beta1.json
Expand Up @@ -524,9 +524,22 @@
}
}
},
"revision": "20221115",
"revision": "20221213",
"rootUrl": "https://speech.googleapis.com/",
"schemas": {
"ABNFGrammar": {
"id": "ABNFGrammar",
"properties": {
"abnfStrings": {
"description": "All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ClassItem": {
"description": "An item of the class.",
"id": "ClassItem",
Expand Down Expand Up @@ -1156,6 +1169,10 @@
"description": "Speech adaptation configuration.",
"id": "SpeechAdaptation",
"properties": {
"abnfGrammar": {
"$ref": "ABNFGrammar",
"description": "Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar"
},
"customClasses": {
"description": "A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.",
"items": {
Expand Down

0 comments on commit 339a5d6

Please sign in to comment.