Skip to content

Commit 27bf98d

Browse files
1 parent 117592b commit 27bf98d

File tree

10 files changed

+210
-24
lines changed

10 files changed

+210
-24
lines changed

clients/google-api-services-dialogflow/v2beta1/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-dialogflow</artifactId>
25-
<version>v2beta1-rev20220524-1.32.1</version>
25+
<version>v2beta1-rev20220607-1.32.1</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-rev20220524-1.32.1'
38+
implementation 'com.google.apis:google-api-services-dialogflow:v2beta1-rev20220607-1.32.1'
3939
}
4040
```
4141

clients/google-api-services-dialogflow/v2beta1/1.31.0/com/google/api/services/dialogflow/v2beta1/model/GoogleCloudDialogflowV2beta1AnalyzeContentRequest.java

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,25 @@ public final class GoogleCloudDialogflowV2beta1AnalyzeContentRequest extends com
3636
@com.google.api.client.util.Key
3737
private GoogleCloudDialogflowV2beta1AssistQueryParameters assistQueryParams;
3838

39+
/**
40+
* The natural language speech audio to be processed.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudDialogflowV2beta1AudioInput audioInput;
45+
46+
/**
47+
* The unique identifier of the CX page to override the `current_page` in the session. Format:
48+
* `projects//locations//agents//flows//pages/`. If `cx_current_page` is specified, the previous
49+
* state of the session will be ignored by Dialogflow CX, including the previous page and the
50+
* previous session parameters. In most cases, `cx_current_page` and `cx_parameters` should be
51+
* configured together to direct a session to a specific state. Note: this field should only be
52+
* used if you are connecting to a Dialogflow CX agent.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.lang.String cxCurrentPage;
57+
3958
/**
4059
* Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter
4160
* from the session, clients should explicitly set the parameter value to null. Note: this field
@@ -114,6 +133,50 @@ public GoogleCloudDialogflowV2beta1AnalyzeContentRequest setAssistQueryParams(Go
114133
return this;
115134
}
116135

136+
/**
137+
* The natural language speech audio to be processed.
138+
* @return value or {@code null} for none
139+
*/
140+
public GoogleCloudDialogflowV2beta1AudioInput getAudioInput() {
141+
return audioInput;
142+
}
143+
144+
/**
145+
* The natural language speech audio to be processed.
146+
* @param audioInput audioInput or {@code null} for none
147+
*/
148+
public GoogleCloudDialogflowV2beta1AnalyzeContentRequest setAudioInput(GoogleCloudDialogflowV2beta1AudioInput audioInput) {
149+
this.audioInput = audioInput;
150+
return this;
151+
}
152+
153+
/**
154+
* The unique identifier of the CX page to override the `current_page` in the session. Format:
155+
* `projects//locations//agents//flows//pages/`. If `cx_current_page` is specified, the previous
156+
* state of the session will be ignored by Dialogflow CX, including the previous page and the
157+
* previous session parameters. In most cases, `cx_current_page` and `cx_parameters` should be
158+
* configured together to direct a session to a specific state. Note: this field should only be
159+
* used if you are connecting to a Dialogflow CX agent.
160+
* @return value or {@code null} for none
161+
*/
162+
public java.lang.String getCxCurrentPage() {
163+
return cxCurrentPage;
164+
}
165+
166+
/**
167+
* The unique identifier of the CX page to override the `current_page` in the session. Format:
168+
* `projects//locations//agents//flows//pages/`. If `cx_current_page` is specified, the previous
169+
* state of the session will be ignored by Dialogflow CX, including the previous page and the
170+
* previous session parameters. In most cases, `cx_current_page` and `cx_parameters` should be
171+
* configured together to direct a session to a specific state. Note: this field should only be
172+
* used if you are connecting to a Dialogflow CX agent.
173+
* @param cxCurrentPage cxCurrentPage or {@code null} for none
174+
*/
175+
public GoogleCloudDialogflowV2beta1AnalyzeContentRequest setCxCurrentPage(java.lang.String cxCurrentPage) {
176+
this.cxCurrentPage = cxCurrentPage;
177+
return this;
178+
}
179+
117180
/**
118181
* Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter
119182
* from the session, clients should explicitly set the parameter value to null. Note: this field
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dialogflow.v2beta1.model;
18+
19+
/**
20+
* Represents the natural language speech audio to be processed.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Dialogflow API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudDialogflowV2beta1AudioInput extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The natural language speech audio to be processed. A single request can contain up to
34+
* 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String audio;
39+
40+
/**
41+
* Required. Instructs the speech recognizer how to process the speech audio.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleCloudDialogflowV2beta1InputAudioConfig config;
46+
47+
/**
48+
* Required. The natural language speech audio to be processed. A single request can contain up to
49+
* 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes.
50+
* @see #decodeAudio()
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.String getAudio() {
54+
return audio;
55+
}
56+
57+
/**
58+
* Required. The natural language speech audio to be processed. A single request can contain up to
59+
* 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes.
60+
* @see #getAudio()
61+
* @return Base64 decoded value or {@code null} for none
62+
*
63+
* @since 1.14
64+
*/
65+
public byte[] decodeAudio() {
66+
return com.google.api.client.util.Base64.decodeBase64(audio);
67+
}
68+
69+
/**
70+
* Required. The natural language speech audio to be processed. A single request can contain up to
71+
* 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes.
72+
* @see #encodeAudio()
73+
* @param audio audio or {@code null} for none
74+
*/
75+
public GoogleCloudDialogflowV2beta1AudioInput setAudio(java.lang.String audio) {
76+
this.audio = audio;
77+
return this;
78+
}
79+
80+
/**
81+
* Required. The natural language speech audio to be processed. A single request can contain up to
82+
* 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes.
83+
* @see #setAudio()
84+
*
85+
* <p>
86+
* The value is encoded Base64 or {@code null} for none.
87+
* </p>
88+
*
89+
* @since 1.14
90+
*/
91+
public GoogleCloudDialogflowV2beta1AudioInput encodeAudio(byte[] audio) {
92+
this.audio = com.google.api.client.util.Base64.encodeBase64URLSafeString(audio);
93+
return this;
94+
}
95+
96+
/**
97+
* Required. Instructs the speech recognizer how to process the speech audio.
98+
* @return value or {@code null} for none
99+
*/
100+
public GoogleCloudDialogflowV2beta1InputAudioConfig getConfig() {
101+
return config;
102+
}
103+
104+
/**
105+
* Required. Instructs the speech recognizer how to process the speech audio.
106+
* @param config config or {@code null} for none
107+
*/
108+
public GoogleCloudDialogflowV2beta1AudioInput setConfig(GoogleCloudDialogflowV2beta1InputAudioConfig config) {
109+
this.config = config;
110+
return this;
111+
}
112+
113+
@Override
114+
public GoogleCloudDialogflowV2beta1AudioInput set(String fieldName, Object value) {
115+
return (GoogleCloudDialogflowV2beta1AudioInput) super.set(fieldName, value);
116+
}
117+
118+
@Override
119+
public GoogleCloudDialogflowV2beta1AudioInput clone() {
120+
return (GoogleCloudDialogflowV2beta1AudioInput) super.clone();
121+
}
122+
123+
}

clients/google-api-services-dialogflow/v2beta1/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-dialogflow</artifactId>
11-
<version>v2beta1-rev20220524-1.32.1</version>
12-
<name>Dialogflow API v2beta1-rev20220524-1.32.1</name>
11+
<version>v2beta1-rev20220607-1.32.1</version>
12+
<name>Dialogflow API v2beta1-rev20220607-1.32.1</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-dialogflow/v3/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-dialogflow</artifactId>
25-
<version>v3-rev20220524-1.32.1</version>
25+
<version>v3-rev20220607-1.32.1</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:v3-rev20220524-1.32.1'
38+
implementation 'com.google.apis:google-api-services-dialogflow:v3-rev20220607-1.32.1'
3939
}
4040
```
4141

clients/google-api-services-dialogflow/v3/1.31.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowCxV3Agent.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public final class GoogleCloudDialogflowCxV3Agent extends com.google.api.client.
9090
private java.lang.Boolean enableStackdriverLogging;
9191

9292
/**
93-
* Indiciates whether the agent is locked for changes. If the agent is locked, modifications to
94-
* the agent will be rejected except for RestoreAgent.
93+
* Indicates whether the agent is locked for changes. If the agent is locked, modifications to the
94+
* agent will be rejected except for RestoreAgent.
9595
* The value may be {@code null}.
9696
*/
9797
@com.google.api.client.util.Key
@@ -278,17 +278,17 @@ public GoogleCloudDialogflowCxV3Agent setEnableStackdriverLogging(java.lang.Bool
278278
}
279279

280280
/**
281-
* Indiciates whether the agent is locked for changes. If the agent is locked, modifications to
282-
* the agent will be rejected except for RestoreAgent.
281+
* Indicates whether the agent is locked for changes. If the agent is locked, modifications to the
282+
* agent will be rejected except for RestoreAgent.
283283
* @return value or {@code null} for none
284284
*/
285285
public java.lang.Boolean getLocked() {
286286
return locked;
287287
}
288288

289289
/**
290-
* Indiciates whether the agent is locked for changes. If the agent is locked, modifications to
291-
* the agent will be rejected except for RestoreAgent.
290+
* Indicates whether the agent is locked for changes. If the agent is locked, modifications to the
291+
* agent will be rejected except for RestoreAgent.
292292
* @param locked locked or {@code null} for none
293293
*/
294294
public GoogleCloudDialogflowCxV3Agent setLocked(java.lang.Boolean locked) {

clients/google-api-services-dialogflow/v3/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-dialogflow</artifactId>
11-
<version>v3-rev20220524-1.32.1</version>
12-
<name>Dialogflow API v3-rev20220524-1.32.1</name>
11+
<version>v3-rev20220607-1.32.1</version>
12+
<name>Dialogflow API v3-rev20220607-1.32.1</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-dialogflow/v3beta1/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-dialogflow</artifactId>
25-
<version>v3beta1-rev20220524-1.32.1</version>
25+
<version>v3beta1-rev20220607-1.32.1</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:v3beta1-rev20220524-1.32.1'
38+
implementation 'com.google.apis:google-api-services-dialogflow:v3beta1-rev20220607-1.32.1'
3939
}
4040
```
4141

clients/google-api-services-dialogflow/v3beta1/1.31.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowCxV3beta1Agent.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public final class GoogleCloudDialogflowCxV3beta1Agent extends com.google.api.cl
9090
private java.lang.Boolean enableStackdriverLogging;
9191

9292
/**
93-
* Indiciates whether the agent is locked for changes. If the agent is locked, modifications to
94-
* the agent will be rejected except for RestoreAgent.
93+
* Indicates whether the agent is locked for changes. If the agent is locked, modifications to the
94+
* agent will be rejected except for RestoreAgent.
9595
* The value may be {@code null}.
9696
*/
9797
@com.google.api.client.util.Key
@@ -278,17 +278,17 @@ public GoogleCloudDialogflowCxV3beta1Agent setEnableStackdriverLogging(java.lang
278278
}
279279

280280
/**
281-
* Indiciates whether the agent is locked for changes. If the agent is locked, modifications to
282-
* the agent will be rejected except for RestoreAgent.
281+
* Indicates whether the agent is locked for changes. If the agent is locked, modifications to the
282+
* agent will be rejected except for RestoreAgent.
283283
* @return value or {@code null} for none
284284
*/
285285
public java.lang.Boolean getLocked() {
286286
return locked;
287287
}
288288

289289
/**
290-
* Indiciates whether the agent is locked for changes. If the agent is locked, modifications to
291-
* the agent will be rejected except for RestoreAgent.
290+
* Indicates whether the agent is locked for changes. If the agent is locked, modifications to the
291+
* agent will be rejected except for RestoreAgent.
292292
* @param locked locked or {@code null} for none
293293
*/
294294
public GoogleCloudDialogflowCxV3beta1Agent setLocked(java.lang.Boolean locked) {

clients/google-api-services-dialogflow/v3beta1/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-dialogflow</artifactId>
11-
<version>v3beta1-rev20220524-1.32.1</version>
12-
<name>Dialogflow API v3beta1-rev20220524-1.32.1</name>
11+
<version>v3beta1-rev20220607-1.32.1</version>
12+
<name>Dialogflow API v3beta1-rev20220607-1.32.1</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)