Skip to content

Commit 55fa2af

Browse files
chore: regenerate dialogflow client
1 parent dc234fe commit 55fa2af

File tree

6 files changed

+171
-36
lines changed

6 files changed

+171
-36
lines changed

clients/google-api-services-dialogflow/v2beta1/2.0.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-dialogflow</artifactId>
25-
<version>v2beta1-rev20240614-2.0.0</version>
25+
<version>v2beta1-rev20240617-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-dialogflow:v2beta1-rev20240614-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dialogflow:v2beta1-rev20240617-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowCxV3TestConfig.java

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ public final class GoogleCloudDialogflowCxV3TestConfig extends com.google.api.cl
3131

3232
/**
3333
* Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one
34-
* of `flow` and `page` should be set to indicate the starting point of the test case. If both are
35-
* set, `page` takes precedence over `flow`. If neither is set, the test case will start with
36-
* start page on the default start flow.
34+
* of `flow` and `page` should be set to indicate the starting point of the test case. If neither
35+
* is set, the test case will start with start page on the default start flow.
3736
* The value may be {@code null}.
3837
*/
3938
@com.google.api.client.util.Key
@@ -42,8 +41,7 @@ public final class GoogleCloudDialogflowCxV3TestConfig extends com.google.api.cl
4241
/**
4342
* The page to start the test case with. Format: `projects//locations//agents//flows//pages/`.
4443
* Only one of `flow` and `page` should be set to indicate the starting point of the test case. If
45-
* both are set, `page` takes precedence over `flow`. If neither is set, the test case will start
46-
* with start page on the default start flow.
44+
* neither is set, the test case will start with start page on the default start flow.
4745
* The value may be {@code null}.
4846
*/
4947
@com.google.api.client.util.Key
@@ -58,9 +56,8 @@ public final class GoogleCloudDialogflowCxV3TestConfig extends com.google.api.cl
5856

5957
/**
6058
* Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one
61-
* of `flow` and `page` should be set to indicate the starting point of the test case. If both are
62-
* set, `page` takes precedence over `flow`. If neither is set, the test case will start with
63-
* start page on the default start flow.
59+
* of `flow` and `page` should be set to indicate the starting point of the test case. If neither
60+
* is set, the test case will start with start page on the default start flow.
6461
* @return value or {@code null} for none
6562
*/
6663
public java.lang.String getFlow() {
@@ -69,9 +66,8 @@ public java.lang.String getFlow() {
6966

7067
/**
7168
* Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one
72-
* of `flow` and `page` should be set to indicate the starting point of the test case. If both are
73-
* set, `page` takes precedence over `flow`. If neither is set, the test case will start with
74-
* start page on the default start flow.
69+
* of `flow` and `page` should be set to indicate the starting point of the test case. If neither
70+
* is set, the test case will start with start page on the default start flow.
7571
* @param flow flow or {@code null} for none
7672
*/
7773
public GoogleCloudDialogflowCxV3TestConfig setFlow(java.lang.String flow) {
@@ -82,8 +78,7 @@ public GoogleCloudDialogflowCxV3TestConfig setFlow(java.lang.String flow) {
8278
/**
8379
* The page to start the test case with. Format: `projects//locations//agents//flows//pages/`.
8480
* Only one of `flow` and `page` should be set to indicate the starting point of the test case. If
85-
* both are set, `page` takes precedence over `flow`. If neither is set, the test case will start
86-
* with start page on the default start flow.
81+
* neither is set, the test case will start with start page on the default start flow.
8782
* @return value or {@code null} for none
8883
*/
8984
public java.lang.String getPage() {
@@ -93,8 +88,7 @@ public java.lang.String getPage() {
9388
/**
9489
* The page to start the test case with. Format: `projects//locations//agents//flows//pages/`.
9590
* Only one of `flow` and `page` should be set to indicate the starting point of the test case. If
96-
* both are set, `page` takes precedence over `flow`. If neither is set, the test case will start
97-
* with start page on the default start flow.
91+
* neither is set, the test case will start with start page on the default start flow.
9892
* @param page page or {@code null} for none
9993
*/
10094
public GoogleCloudDialogflowCxV3TestConfig setPage(java.lang.String page) {

clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowCxV3beta1TestConfig.java

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ public final class GoogleCloudDialogflowCxV3beta1TestConfig extends com.google.a
3131

3232
/**
3333
* Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one
34-
* of `flow` and `page` should be set to indicate the starting point of the test case. If both are
35-
* set, `page` takes precedence over `flow`. If neither is set, the test case will start with
36-
* start page on the default start flow.
34+
* of `flow` and `page` should be set to indicate the starting point of the test case. If neither
35+
* is set, the test case will start with start page on the default start flow.
3736
* The value may be {@code null}.
3837
*/
3938
@com.google.api.client.util.Key
@@ -42,8 +41,7 @@ public final class GoogleCloudDialogflowCxV3beta1TestConfig extends com.google.a
4241
/**
4342
* The page to start the test case with. Format: `projects//locations//agents//flows//pages/`.
4443
* Only one of `flow` and `page` should be set to indicate the starting point of the test case. If
45-
* both are set, `page` takes precedence over `flow`. If neither is set, the test case will start
46-
* with start page on the default start flow.
44+
* neither is set, the test case will start with start page on the default start flow.
4745
* The value may be {@code null}.
4846
*/
4947
@com.google.api.client.util.Key
@@ -58,9 +56,8 @@ public final class GoogleCloudDialogflowCxV3beta1TestConfig extends com.google.a
5856

5957
/**
6058
* Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one
61-
* of `flow` and `page` should be set to indicate the starting point of the test case. If both are
62-
* set, `page` takes precedence over `flow`. If neither is set, the test case will start with
63-
* start page on the default start flow.
59+
* of `flow` and `page` should be set to indicate the starting point of the test case. If neither
60+
* is set, the test case will start with start page on the default start flow.
6461
* @return value or {@code null} for none
6562
*/
6663
public java.lang.String getFlow() {
@@ -69,9 +66,8 @@ public java.lang.String getFlow() {
6966

7067
/**
7168
* Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one
72-
* of `flow` and `page` should be set to indicate the starting point of the test case. If both are
73-
* set, `page` takes precedence over `flow`. If neither is set, the test case will start with
74-
* start page on the default start flow.
69+
* of `flow` and `page` should be set to indicate the starting point of the test case. If neither
70+
* is set, the test case will start with start page on the default start flow.
7571
* @param flow flow or {@code null} for none
7672
*/
7773
public GoogleCloudDialogflowCxV3beta1TestConfig setFlow(java.lang.String flow) {
@@ -82,8 +78,7 @@ public GoogleCloudDialogflowCxV3beta1TestConfig setFlow(java.lang.String flow) {
8278
/**
8379
* The page to start the test case with. Format: `projects//locations//agents//flows//pages/`.
8480
* Only one of `flow` and `page` should be set to indicate the starting point of the test case. If
85-
* both are set, `page` takes precedence over `flow`. If neither is set, the test case will start
86-
* with start page on the default start flow.
81+
* neither is set, the test case will start with start page on the default start flow.
8782
* @return value or {@code null} for none
8883
*/
8984
public java.lang.String getPage() {
@@ -93,8 +88,7 @@ public java.lang.String getPage() {
9388
/**
9489
* The page to start the test case with. Format: `projects//locations//agents//flows//pages/`.
9590
* Only one of `flow` and `page` should be set to indicate the starting point of the test case. If
96-
* both are set, `page` takes precedence over `flow`. If neither is set, the test case will start
97-
* with start page on the default start flow.
91+
* neither is set, the test case will start with start page on the default start flow.
9892
* @param page page or {@code null} for none
9993
*/
10094
public GoogleCloudDialogflowCxV3beta1TestConfig setPage(java.lang.String page) {

clients/google-api-services-dialogflow/v2beta1/2.0.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1SpeechToTextConfig.java

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,42 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleCloudDialogflowV2beta1SpeechToTextConfig extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Defines the list of other language codes in addition to the one provided by the conversation
34+
* profile that may be detected as the language code for the utterances over the conversation. See
35+
* [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of
36+
* the currently supported language codes.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.util.List<java.lang.String> alternativeLanguageCodes;
41+
42+
/**
43+
* Audio encoding of the audio content to process.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String audioEncoding;
48+
49+
/**
50+
* If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information
51+
* about the recognized speech words, e.g. start and end time offsets. If false or unspecified,
52+
* Speech doesn't return any word-level information.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.lang.Boolean enableWordInfo;
57+
58+
/**
59+
* The language of the supplied audio. Dialogflow does not do translations. See [Language
60+
* Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the
61+
* currently supported language codes. Note that queries in the same session do not necessarily
62+
* need to specify the same language.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.String languageCode;
67+
3268
/**
3369
* Which Speech model to select. Select the model best suited to your domain to get best results.
3470
* If a model is not explicitly specified, then Dialogflow auto-selects a model based on other
@@ -46,6 +82,14 @@ public final class GoogleCloudDialogflowV2beta1SpeechToTextConfig extends com.go
4682
@com.google.api.client.util.Key
4783
private java.lang.String model;
4884

85+
/**
86+
* Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API
87+
* documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.
88+
* The value may be {@code null}.
89+
*/
90+
@com.google.api.client.util.Key
91+
private java.lang.Integer sampleRateHertz;
92+
4993
/**
5094
* The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`,
5195
* `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in
@@ -64,6 +108,90 @@ public final class GoogleCloudDialogflowV2beta1SpeechToTextConfig extends com.go
64108
@com.google.api.client.util.Key
65109
private java.lang.Boolean useTimeoutBasedEndpointing;
66110

111+
/**
112+
* Defines the list of other language codes in addition to the one provided by the conversation
113+
* profile that may be detected as the language code for the utterances over the conversation. See
114+
* [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of
115+
* the currently supported language codes.
116+
* @return value or {@code null} for none
117+
*/
118+
public java.util.List<java.lang.String> getAlternativeLanguageCodes() {
119+
return alternativeLanguageCodes;
120+
}
121+
122+
/**
123+
* Defines the list of other language codes in addition to the one provided by the conversation
124+
* profile that may be detected as the language code for the utterances over the conversation. See
125+
* [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of
126+
* the currently supported language codes.
127+
* @param alternativeLanguageCodes alternativeLanguageCodes or {@code null} for none
128+
*/
129+
public GoogleCloudDialogflowV2beta1SpeechToTextConfig setAlternativeLanguageCodes(java.util.List<java.lang.String> alternativeLanguageCodes) {
130+
this.alternativeLanguageCodes = alternativeLanguageCodes;
131+
return this;
132+
}
133+
134+
/**
135+
* Audio encoding of the audio content to process.
136+
* @return value or {@code null} for none
137+
*/
138+
public java.lang.String getAudioEncoding() {
139+
return audioEncoding;
140+
}
141+
142+
/**
143+
* Audio encoding of the audio content to process.
144+
* @param audioEncoding audioEncoding or {@code null} for none
145+
*/
146+
public GoogleCloudDialogflowV2beta1SpeechToTextConfig setAudioEncoding(java.lang.String audioEncoding) {
147+
this.audioEncoding = audioEncoding;
148+
return this;
149+
}
150+
151+
/**
152+
* If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information
153+
* about the recognized speech words, e.g. start and end time offsets. If false or unspecified,
154+
* Speech doesn't return any word-level information.
155+
* @return value or {@code null} for none
156+
*/
157+
public java.lang.Boolean getEnableWordInfo() {
158+
return enableWordInfo;
159+
}
160+
161+
/**
162+
* If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information
163+
* about the recognized speech words, e.g. start and end time offsets. If false or unspecified,
164+
* Speech doesn't return any word-level information.
165+
* @param enableWordInfo enableWordInfo or {@code null} for none
166+
*/
167+
public GoogleCloudDialogflowV2beta1SpeechToTextConfig setEnableWordInfo(java.lang.Boolean enableWordInfo) {
168+
this.enableWordInfo = enableWordInfo;
169+
return this;
170+
}
171+
172+
/**
173+
* The language of the supplied audio. Dialogflow does not do translations. See [Language
174+
* Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the
175+
* currently supported language codes. Note that queries in the same session do not necessarily
176+
* need to specify the same language.
177+
* @return value or {@code null} for none
178+
*/
179+
public java.lang.String getLanguageCode() {
180+
return languageCode;
181+
}
182+
183+
/**
184+
* The language of the supplied audio. Dialogflow does not do translations. See [Language
185+
* Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the
186+
* currently supported language codes. Note that queries in the same session do not necessarily
187+
* need to specify the same language.
188+
* @param languageCode languageCode or {@code null} for none
189+
*/
190+
public GoogleCloudDialogflowV2beta1SpeechToTextConfig setLanguageCode(java.lang.String languageCode) {
191+
this.languageCode = languageCode;
192+
return this;
193+
}
194+
67195
/**
68196
* Which Speech model to select. Select the model best suited to your domain to get best results.
69197
* If a model is not explicitly specified, then Dialogflow auto-selects a model based on other
@@ -101,6 +229,25 @@ public GoogleCloudDialogflowV2beta1SpeechToTextConfig setModel(java.lang.String
101229
return this;
102230
}
103231

232+
/**
233+
* Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API
234+
* documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.
235+
* @return value or {@code null} for none
236+
*/
237+
public java.lang.Integer getSampleRateHertz() {
238+
return sampleRateHertz;
239+
}
240+
241+
/**
242+
* Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API
243+
* documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.
244+
* @param sampleRateHertz sampleRateHertz or {@code null} for none
245+
*/
246+
public GoogleCloudDialogflowV2beta1SpeechToTextConfig setSampleRateHertz(java.lang.Integer sampleRateHertz) {
247+
this.sampleRateHertz = sampleRateHertz;
248+
return this;
249+
}
250+
104251
/**
105252
* The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`,
106253
* `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in

clients/google-api-services-dialogflow/v2beta1/2.0.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-dialogflow</artifactId>
11-
<version>v2beta1-rev20240614-2.0.0</version>
12-
<name>Dialogflow API v2beta1-rev20240614-2.0.0</name>
11+
<version>v2beta1-rev20240617-2.0.0</version>
12+
<name>Dialogflow API v2beta1-rev20240617-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-dialogflow/v2beta1/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-dialogflow</artifactId>
25-
<version>v2beta1-rev20240614-2.0.0</version>
25+
<version>v2beta1-rev20240617-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-dialogflow:v2beta1-rev20240614-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dialogflow:v2beta1-rev20240617-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)