You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was generated using Autosynth. 🌈
<details><summary>Log from Synthtool</summary>
```
2021-04-09 04:02:00,906 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py.
On branch autosynth-speech
nothing to commit, working tree clean
2021-04-09 04:02:01,355 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git.
DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git.
2021-04-09 04:02:01,825 synthtool [DEBUG] > Cleaning output directory.
DEBUG:synthtool:Cleaning output directory.
2021-04-09 04:02:01,827 synthtool [DEBUG] > Installing dependencies.
DEBUG:synthtool:Installing dependencies.
2021-04-09 04:02:03,594 synthtool [INFO] > Generating speech v1.
INFO:synthtool:Generating speech v1.
2021-04-09 04:02:03,595 synthtool [INFO] > 1.31.0
INFO:synthtool: 1.31.0
Writing json metadata to clients/google-api-services-speech/v1.metadata.json
2021-04-09 04:02:04,204 synthtool [INFO] > Generating speech v1p1beta1.
INFO:synthtool:Generating speech v1p1beta1.
2021-04-09 04:02:04,204 synthtool [INFO] > 1.31.0
INFO:synthtool: 1.31.0
WARNING:root:object without properties Empty: OrderedDict([(u'properties', OrderedDict()), (u'description', u'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.'), (u'id', u'Empty'), (u'type', u'object')])
Writing json metadata to clients/google-api-services-speech/v1p1beta1.metadata.json
2021-04-09 04:02:05,041 synthtool [INFO] > Generating speech v2beta1.
INFO:synthtool:Generating speech v2beta1.
2021-04-09 04:02:05,042 synthtool [INFO] > 1.31.0
INFO:synthtool: 1.31.0
Writing json metadata to clients/google-api-services-speech/v2beta1.metadata.json
2021-04-09 04:02:05,503 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-speech/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/google-api-services-speech/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/cb8c034b-6574-4ae1-88d8-46a2a9111d0c/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
Copy file name to clipboardExpand all lines: clients/google-api-services-speech/v1p1beta1/1.31.0/com/google/api/services/speech/v1p1beta1/model/RecognitionConfig.java
+69Lines changed: 69 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,27 @@ public final class RecognitionConfig extends com.google.api.client.json.GenericJ
114
114
@com.google.api.client.util.Key
115
115
privatejava.lang.BooleanenableSpeakerDiarization;
116
116
117
+
/**
118
+
* The spoken emoji behavior for the call If not set, uses default behavior based on model of
119
+
* choice If 'true', adds spoken emoji formatting for the request. This will replace spoken emojis
120
+
* with the corresponding Unicode symbols in the final transcript. If 'false', spoken emojis are
121
+
* not replaced.
122
+
* The value may be {@code null}.
123
+
*/
124
+
@com.google.api.client.util.Key
125
+
privatejava.lang.BooleanenableSpokenEmojis;
126
+
127
+
/**
128
+
* The spoken punctuation behavior for the call If not set, uses default behavior based on model
129
+
* of choice e.g. command_and_search will enable spoken punctuation by default If 'true', replaces
130
+
* spoken punctuation with the corresponding symbols in the request. For example, "how are you
131
+
* question mark" becomes "how are you?". See https://cloud.google.com/speech-to-text/docs/spoken-
132
+
* punctuation for support. If 'false', spoken punctuation is not replaced.
133
+
* The value may be {@code null}.
134
+
*/
135
+
@com.google.api.client.util.Key
136
+
privatejava.lang.BooleanenableSpokenPunctuation;
137
+
117
138
/**
118
139
* If `true`, the top result includes a list of words and the confidence for those words. If
119
140
* `false`, no word-level confidence information is returned. The default is `false`.
@@ -413,6 +434,54 @@ public RecognitionConfig setEnableSpeakerDiarization(java.lang.Boolean enableSpe
413
434
returnthis;
414
435
}
415
436
437
+
/**
438
+
* The spoken emoji behavior for the call If not set, uses default behavior based on model of
439
+
* choice If 'true', adds spoken emoji formatting for the request. This will replace spoken emojis
440
+
* with the corresponding Unicode symbols in the final transcript. If 'false', spoken emojis are
441
+
* not replaced.
442
+
* @return value or {@code null} for none
443
+
*/
444
+
publicjava.lang.BooleangetEnableSpokenEmojis() {
445
+
returnenableSpokenEmojis;
446
+
}
447
+
448
+
/**
449
+
* The spoken emoji behavior for the call If not set, uses default behavior based on model of
450
+
* choice If 'true', adds spoken emoji formatting for the request. This will replace spoken emojis
451
+
* with the corresponding Unicode symbols in the final transcript. If 'false', spoken emojis are
452
+
* not replaced.
453
+
* @param enableSpokenEmojis enableSpokenEmojis or {@code null} for none
Copy file name to clipboardExpand all lines: clients/google-api-services-speech/v1p1beta1/1.31.0/resources/speech.v1p1beta1.json
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -524,7 +524,7 @@
524
524
}
525
525
}
526
526
},
527
-
"revision": "20210325",
527
+
"revision": "20210401",
528
528
"rootUrl": "https://speech.googleapis.com/",
529
529
"schemas": {
530
530
"ClassItem": {
@@ -854,6 +854,14 @@
854
854
"description": "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: Use diarization_config instead.",
855
855
"type": "boolean"
856
856
},
857
+
"enableSpokenEmojis": {
858
+
"description": "The spoken emoji behavior for the call If not set, uses default behavior based on model of choice If 'true', adds spoken emoji formatting for the request. This will replace spoken emojis with the corresponding Unicode symbols in the final transcript. If 'false', spoken emojis are not replaced.",
859
+
"type": "boolean"
860
+
},
861
+
"enableSpokenPunctuation": {
862
+
"description": "The spoken punctuation behavior for the call If not set, uses default behavior based on model of choice e.g. command_and_search will enable spoken punctuation by default If 'true', replaces spoken punctuation with the corresponding symbols in the request. For example, \"how are you question mark\" becomes \"how are you?\". See https://cloud.google.com/speech-to-text/docs/spoken-punctuation for support. If 'false', spoken punctuation is not replaced.",
863
+
"type": "boolean"
864
+
},
857
865
"enableWordConfidence": {
858
866
"description": "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`.",
0 commit comments