Skip to content

Commit 67b2ad7

Browse files
Regenerate speech client (googleapis#7734)
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.)
1 parent 21779d5 commit 67b2ad7

File tree

6 files changed

+85
-8
lines changed

6 files changed

+85
-8
lines changed

clients/google-api-services-speech/v1p1beta1.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-speech",
5-
"version": "v1p1beta1-rev20210325-1.31.0"
5+
"version": "v1p1beta1-rev20210401-1.31.0"
66
}
77
}

clients/google-api-services-speech/v1p1beta1/1.31.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-speech</artifactId>
25-
<version>v1p1beta1-rev20210325-1.31.0</version>
25+
<version>v1p1beta1-rev20210401-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-speech:v1p1beta1-rev20210325-1.31.0'
38+
compile 'com.google.apis:google-api-services-speech:v1p1beta1-rev20210401-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-speech/v1p1beta1/1.31.0/com/google/api/services/speech/v1p1beta1/model/RecognitionConfig.java

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,27 @@ public final class RecognitionConfig extends com.google.api.client.json.GenericJ
114114
@com.google.api.client.util.Key
115115
private java.lang.Boolean enableSpeakerDiarization;
116116

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+
private java.lang.Boolean enableSpokenEmojis;
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+
private java.lang.Boolean enableSpokenPunctuation;
137+
117138
/**
118139
* If `true`, the top result includes a list of words and the confidence for those words. If
119140
* `false`, no word-level confidence information is returned. The default is `false`.
@@ -413,6 +434,54 @@ public RecognitionConfig setEnableSpeakerDiarization(java.lang.Boolean enableSpe
413434
return this;
414435
}
415436

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+
public java.lang.Boolean getEnableSpokenEmojis() {
445+
return enableSpokenEmojis;
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
454+
*/
455+
public RecognitionConfig setEnableSpokenEmojis(java.lang.Boolean enableSpokenEmojis) {
456+
this.enableSpokenEmojis = enableSpokenEmojis;
457+
return this;
458+
}
459+
460+
/**
461+
* The spoken punctuation behavior for the call If not set, uses default behavior based on model
462+
* of choice e.g. command_and_search will enable spoken punctuation by default If 'true', replaces
463+
* spoken punctuation with the corresponding symbols in the request. For example, "how are you
464+
* question mark" becomes "how are you?". See https://cloud.google.com/speech-to-text/docs/spoken-
465+
* punctuation for support. If 'false', spoken punctuation is not replaced.
466+
* @return value or {@code null} for none
467+
*/
468+
public java.lang.Boolean getEnableSpokenPunctuation() {
469+
return enableSpokenPunctuation;
470+
}
471+
472+
/**
473+
* The spoken punctuation behavior for the call If not set, uses default behavior based on model
474+
* of choice e.g. command_and_search will enable spoken punctuation by default If 'true', replaces
475+
* spoken punctuation with the corresponding symbols in the request. For example, "how are you
476+
* question mark" becomes "how are you?". See https://cloud.google.com/speech-to-text/docs/spoken-
477+
* punctuation for support. If 'false', spoken punctuation is not replaced.
478+
* @param enableSpokenPunctuation enableSpokenPunctuation or {@code null} for none
479+
*/
480+
public RecognitionConfig setEnableSpokenPunctuation(java.lang.Boolean enableSpokenPunctuation) {
481+
this.enableSpokenPunctuation = enableSpokenPunctuation;
482+
return this;
483+
}
484+
416485
/**
417486
* If `true`, the top result includes a list of words and the confidence for those words. If
418487
* `false`, no word-level confidence information is returned. The default is `false`.

clients/google-api-services-speech/v1p1beta1/1.31.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-speech</artifactId>
11-
<version>v1p1beta1-rev20210325-1.31.0</version>
12-
<name>Cloud Speech-to-Text API v1p1beta1-rev20210325-1.31.0</name>
11+
<version>v1p1beta1-rev20210401-1.31.0</version>
12+
<name>Cloud Speech-to-Text API v1p1beta1-rev20210401-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-speech/v1p1beta1/1.31.0/resources/speech.v1p1beta1.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@
524524
}
525525
}
526526
},
527-
"revision": "20210325",
527+
"revision": "20210401",
528528
"rootUrl": "https://speech.googleapis.com/",
529529
"schemas": {
530530
"ClassItem": {
@@ -854,6 +854,14 @@
854854
"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.",
855855
"type": "boolean"
856856
},
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+
},
857865
"enableWordConfidence": {
858866
"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`.",
859867
"type": "boolean"

clients/google-api-services-speech/v1p1beta1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-speech</artifactId>
25-
<version>v1p1beta1-rev20210325-1.31.0</version>
25+
<version>v1p1beta1-rev20210401-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-speech:v1p1beta1-rev20210325-1.31.0'
38+
compile 'com.google.apis:google-api-services-speech:v1p1beta1-rev20210401-1.31.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)