Skip to content

Commit 4744265

Browse files
1 parent 5b3ec0f commit 4744265

File tree

5 files changed

+153
-6
lines changed

5 files changed

+153
-6
lines changed

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

clients/google-api-services-dialogflow/v3beta1/2.0.0/com/google/api/services/dialogflow/v3beta1/model/GoogleCloudDialogflowCxV3beta1LlmModelSettings.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class GoogleCloudDialogflowCxV3beta1LlmModelSettings extends com.go
3636
@com.google.api.client.util.Key
3737
private java.lang.String model;
3838

39+
/**
40+
* Generative model parameters.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters parameters;
45+
3946
/**
4047
* The custom prompt to use.
4148
* The value may be {@code null}.
@@ -60,6 +67,23 @@ public GoogleCloudDialogflowCxV3beta1LlmModelSettings setModel(java.lang.String
6067
return this;
6168
}
6269

70+
/**
71+
* Generative model parameters.
72+
* @return value or {@code null} for none
73+
*/
74+
public GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters getParameters() {
75+
return parameters;
76+
}
77+
78+
/**
79+
* Generative model parameters.
80+
* @param parameters parameters or {@code null} for none
81+
*/
82+
public GoogleCloudDialogflowCxV3beta1LlmModelSettings setParameters(GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters parameters) {
83+
this.parameters = parameters;
84+
return this;
85+
}
86+
6387
/**
6488
* The custom prompt to use.
6589
* @return value or {@code null} for none
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.v3beta1.model;
18+
19+
/**
20+
* Generative model parameters to control the model behavior.
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 GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The input token limit. This setting is currently only supported by playbooks.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String inputTokenLimit;
38+
39+
/**
40+
* The output token limit. This setting is currently only supported by playbooks. Only one of
41+
* output_token_limit and max_output_tokens is allowed to be set.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String outputTokenLimit;
46+
47+
/**
48+
* The temperature used for sampling during response generation. Value ranges from 0 to 1.
49+
* Temperature controls the degree of randomness in token selection. Lower temperature means less
50+
* randomness, while higher temperature means more randomness. Valid range: [0.0, 1.0]
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.Float temperature;
55+
56+
/**
57+
* The input token limit. This setting is currently only supported by playbooks.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getInputTokenLimit() {
61+
return inputTokenLimit;
62+
}
63+
64+
/**
65+
* The input token limit. This setting is currently only supported by playbooks.
66+
* @param inputTokenLimit inputTokenLimit or {@code null} for none
67+
*/
68+
public GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters setInputTokenLimit(java.lang.String inputTokenLimit) {
69+
this.inputTokenLimit = inputTokenLimit;
70+
return this;
71+
}
72+
73+
/**
74+
* The output token limit. This setting is currently only supported by playbooks. Only one of
75+
* output_token_limit and max_output_tokens is allowed to be set.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getOutputTokenLimit() {
79+
return outputTokenLimit;
80+
}
81+
82+
/**
83+
* The output token limit. This setting is currently only supported by playbooks. Only one of
84+
* output_token_limit and max_output_tokens is allowed to be set.
85+
* @param outputTokenLimit outputTokenLimit or {@code null} for none
86+
*/
87+
public GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters setOutputTokenLimit(java.lang.String outputTokenLimit) {
88+
this.outputTokenLimit = outputTokenLimit;
89+
return this;
90+
}
91+
92+
/**
93+
* The temperature used for sampling during response generation. Value ranges from 0 to 1.
94+
* Temperature controls the degree of randomness in token selection. Lower temperature means less
95+
* randomness, while higher temperature means more randomness. Valid range: [0.0, 1.0]
96+
* @return value or {@code null} for none
97+
*/
98+
public java.lang.Float getTemperature() {
99+
return temperature;
100+
}
101+
102+
/**
103+
* The temperature used for sampling during response generation. Value ranges from 0 to 1.
104+
* Temperature controls the degree of randomness in token selection. Lower temperature means less
105+
* randomness, while higher temperature means more randomness. Valid range: [0.0, 1.0]
106+
* @param temperature temperature or {@code null} for none
107+
*/
108+
public GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters setTemperature(java.lang.Float temperature) {
109+
this.temperature = temperature;
110+
return this;
111+
}
112+
113+
@Override
114+
public GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters set(String fieldName, Object value) {
115+
return (GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters) super.set(fieldName, value);
116+
}
117+
118+
@Override
119+
public GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters clone() {
120+
return (GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters) super.clone();
121+
}
122+
123+
}

clients/google-api-services-dialogflow/v3beta1/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>v3beta1-rev20251011-2.0.0</version>
12-
<name>Dialogflow API v3beta1-rev20251011-2.0.0</name>
11+
<version>v3beta1-rev20251013-2.0.0</version>
12+
<name>Dialogflow API v3beta1-rev20251013-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)