Skip to content

Commit 4c4784d

Browse files
1 parent 5198816 commit 4c4784d

File tree

25 files changed

+3354
-12
lines changed

25 files changed

+3354
-12
lines changed

clients/google-api-services-dialogflow/v2/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>v2-rev20250902-2.0.0</version>
25+
<version>v2-rev20250919-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:v2-rev20250902-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dialogflow:v2-rev20250919-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-dialogflow/v2/2.0.0/com/google/api/services/dialogflow/v2/Dialogflow.java

Lines changed: 636 additions & 6 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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.v2.model;
18+
19+
/**
20+
* A common evalaution pipeline status.
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 GoogleCloudDialogflowV2EvaluationStatus extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. If the value is `false`, it means the evaluation is still in progress. If `true`,
34+
* the operation is completed, and either `error` or `response` is available.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean done;
39+
40+
/**
41+
* Output only. The error result of the evaluation in case of failure in evaluation pipeline.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleRpcStatus pipelineStatus;
46+
47+
/**
48+
* Output only. If the value is `false`, it means the evaluation is still in progress. If `true`,
49+
* the operation is completed, and either `error` or `response` is available.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.Boolean getDone() {
53+
return done;
54+
}
55+
56+
/**
57+
* Output only. If the value is `false`, it means the evaluation is still in progress. If `true`,
58+
* the operation is completed, and either `error` or `response` is available.
59+
* @param done done or {@code null} for none
60+
*/
61+
public GoogleCloudDialogflowV2EvaluationStatus setDone(java.lang.Boolean done) {
62+
this.done = done;
63+
return this;
64+
}
65+
66+
/**
67+
* Output only. The error result of the evaluation in case of failure in evaluation pipeline.
68+
* @return value or {@code null} for none
69+
*/
70+
public GoogleRpcStatus getPipelineStatus() {
71+
return pipelineStatus;
72+
}
73+
74+
/**
75+
* Output only. The error result of the evaluation in case of failure in evaluation pipeline.
76+
* @param pipelineStatus pipelineStatus or {@code null} for none
77+
*/
78+
public GoogleCloudDialogflowV2EvaluationStatus setPipelineStatus(GoogleRpcStatus pipelineStatus) {
79+
this.pipelineStatus = pipelineStatus;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleCloudDialogflowV2EvaluationStatus set(String fieldName, Object value) {
85+
return (GoogleCloudDialogflowV2EvaluationStatus) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleCloudDialogflowV2EvaluationStatus clone() {
90+
return (GoogleCloudDialogflowV2EvaluationStatus) super.clone();
91+
}
92+
93+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
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.v2.model;
18+
19+
/**
20+
* Represents evaluation result of a generator.
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 GoogleCloudDialogflowV2GeneratorEvaluation extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. Completion time of this generator evaluation.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private String completeTime;
38+
39+
/**
40+
* Output only. Creation time of this generator evaluation.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private String createTime;
45+
46+
/**
47+
* Optional. The display name of the generator evaluation. At most 64 bytes long.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String displayName;
52+
53+
/**
54+
* Output only. The result status of the evaluation pipeline. Provides the status information
55+
* including if the evaluation is still in progress, completed or failed with certain error and
56+
* user actionable message.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private GoogleCloudDialogflowV2EvaluationStatus evaluationStatus;
61+
62+
/**
63+
* Required. The configuration of the evaluation task.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private GoogleCloudDialogflowV2GeneratorEvaluationConfig generatorEvaluationConfig;
68+
69+
/**
70+
* Required. The initial generator that was used when creating this evaluation. This is a copy of
71+
* the generator read from storage when creating the evaluation.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private GoogleCloudDialogflowV2Generator initialGenerator;
76+
77+
/**
78+
* Output only. Identifier. The resource name of the evaluation. Format:
79+
* `projects//locations//generators// evaluations/`
80+
* The value may be {@code null}.
81+
*/
82+
@com.google.api.client.util.Key
83+
private java.lang.String name;
84+
85+
/**
86+
* Output only. Only available when the summarization generator is provided.
87+
* The value may be {@code null}.
88+
*/
89+
@com.google.api.client.util.Key
90+
private GoogleCloudDialogflowV2SummarizationEvaluationMetrics summarizationMetrics;
91+
92+
/**
93+
* Output only. Completion time of this generator evaluation.
94+
* @return value or {@code null} for none
95+
*/
96+
public String getCompleteTime() {
97+
return completeTime;
98+
}
99+
100+
/**
101+
* Output only. Completion time of this generator evaluation.
102+
* @param completeTime completeTime or {@code null} for none
103+
*/
104+
public GoogleCloudDialogflowV2GeneratorEvaluation setCompleteTime(String completeTime) {
105+
this.completeTime = completeTime;
106+
return this;
107+
}
108+
109+
/**
110+
* Output only. Creation time of this generator evaluation.
111+
* @return value or {@code null} for none
112+
*/
113+
public String getCreateTime() {
114+
return createTime;
115+
}
116+
117+
/**
118+
* Output only. Creation time of this generator evaluation.
119+
* @param createTime createTime or {@code null} for none
120+
*/
121+
public GoogleCloudDialogflowV2GeneratorEvaluation setCreateTime(String createTime) {
122+
this.createTime = createTime;
123+
return this;
124+
}
125+
126+
/**
127+
* Optional. The display name of the generator evaluation. At most 64 bytes long.
128+
* @return value or {@code null} for none
129+
*/
130+
public java.lang.String getDisplayName() {
131+
return displayName;
132+
}
133+
134+
/**
135+
* Optional. The display name of the generator evaluation. At most 64 bytes long.
136+
* @param displayName displayName or {@code null} for none
137+
*/
138+
public GoogleCloudDialogflowV2GeneratorEvaluation setDisplayName(java.lang.String displayName) {
139+
this.displayName = displayName;
140+
return this;
141+
}
142+
143+
/**
144+
* Output only. The result status of the evaluation pipeline. Provides the status information
145+
* including if the evaluation is still in progress, completed or failed with certain error and
146+
* user actionable message.
147+
* @return value or {@code null} for none
148+
*/
149+
public GoogleCloudDialogflowV2EvaluationStatus getEvaluationStatus() {
150+
return evaluationStatus;
151+
}
152+
153+
/**
154+
* Output only. The result status of the evaluation pipeline. Provides the status information
155+
* including if the evaluation is still in progress, completed or failed with certain error and
156+
* user actionable message.
157+
* @param evaluationStatus evaluationStatus or {@code null} for none
158+
*/
159+
public GoogleCloudDialogflowV2GeneratorEvaluation setEvaluationStatus(GoogleCloudDialogflowV2EvaluationStatus evaluationStatus) {
160+
this.evaluationStatus = evaluationStatus;
161+
return this;
162+
}
163+
164+
/**
165+
* Required. The configuration of the evaluation task.
166+
* @return value or {@code null} for none
167+
*/
168+
public GoogleCloudDialogflowV2GeneratorEvaluationConfig getGeneratorEvaluationConfig() {
169+
return generatorEvaluationConfig;
170+
}
171+
172+
/**
173+
* Required. The configuration of the evaluation task.
174+
* @param generatorEvaluationConfig generatorEvaluationConfig or {@code null} for none
175+
*/
176+
public GoogleCloudDialogflowV2GeneratorEvaluation setGeneratorEvaluationConfig(GoogleCloudDialogflowV2GeneratorEvaluationConfig generatorEvaluationConfig) {
177+
this.generatorEvaluationConfig = generatorEvaluationConfig;
178+
return this;
179+
}
180+
181+
/**
182+
* Required. The initial generator that was used when creating this evaluation. This is a copy of
183+
* the generator read from storage when creating the evaluation.
184+
* @return value or {@code null} for none
185+
*/
186+
public GoogleCloudDialogflowV2Generator getInitialGenerator() {
187+
return initialGenerator;
188+
}
189+
190+
/**
191+
* Required. The initial generator that was used when creating this evaluation. This is a copy of
192+
* the generator read from storage when creating the evaluation.
193+
* @param initialGenerator initialGenerator or {@code null} for none
194+
*/
195+
public GoogleCloudDialogflowV2GeneratorEvaluation setInitialGenerator(GoogleCloudDialogflowV2Generator initialGenerator) {
196+
this.initialGenerator = initialGenerator;
197+
return this;
198+
}
199+
200+
/**
201+
* Output only. Identifier. The resource name of the evaluation. Format:
202+
* `projects//locations//generators// evaluations/`
203+
* @return value or {@code null} for none
204+
*/
205+
public java.lang.String getName() {
206+
return name;
207+
}
208+
209+
/**
210+
* Output only. Identifier. The resource name of the evaluation. Format:
211+
* `projects//locations//generators// evaluations/`
212+
* @param name name or {@code null} for none
213+
*/
214+
public GoogleCloudDialogflowV2GeneratorEvaluation setName(java.lang.String name) {
215+
this.name = name;
216+
return this;
217+
}
218+
219+
/**
220+
* Output only. Only available when the summarization generator is provided.
221+
* @return value or {@code null} for none
222+
*/
223+
public GoogleCloudDialogflowV2SummarizationEvaluationMetrics getSummarizationMetrics() {
224+
return summarizationMetrics;
225+
}
226+
227+
/**
228+
* Output only. Only available when the summarization generator is provided.
229+
* @param summarizationMetrics summarizationMetrics or {@code null} for none
230+
*/
231+
public GoogleCloudDialogflowV2GeneratorEvaluation setSummarizationMetrics(GoogleCloudDialogflowV2SummarizationEvaluationMetrics summarizationMetrics) {
232+
this.summarizationMetrics = summarizationMetrics;
233+
return this;
234+
}
235+
236+
@Override
237+
public GoogleCloudDialogflowV2GeneratorEvaluation set(String fieldName, Object value) {
238+
return (GoogleCloudDialogflowV2GeneratorEvaluation) super.set(fieldName, value);
239+
}
240+
241+
@Override
242+
public GoogleCloudDialogflowV2GeneratorEvaluation clone() {
243+
return (GoogleCloudDialogflowV2GeneratorEvaluation) super.clone();
244+
}
245+
246+
}

0 commit comments

Comments
 (0)