Skip to content

Commit 1539a93

Browse files
1 parent 6598a35 commit 1539a93

46 files changed

Lines changed: 4587 additions & 42 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

clients/google-api-services-ces/v1/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-ces</artifactId>
25-
<version>v1-rev20260506-2.0.0</version>
25+
<version>v1-rev20260513-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-ces:v1-rev20260506-2.0.0'
38+
implementation 'com.google.apis:google-api-services-ces:v1-rev20260513-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/CustomerEngagementSuite.java

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6596,6 +6596,158 @@ public Patch set(String parameterName, Object value) {
65966596
}
65976597
}
65986598

6599+
}
6600+
/**
6601+
* An accessor for creating requests from the Message collection.
6602+
*
6603+
* <p>The typical use is:</p>
6604+
* <pre>
6605+
* {@code CustomerEngagementSuite ces = new CustomerEngagementSuite(...);}
6606+
* {@code CustomerEngagementSuite.Message.List request = ces.message().list(parameters ...)}
6607+
* </pre>
6608+
*
6609+
* @return the resource collection
6610+
*/
6611+
public Message message() {
6612+
return new Message();
6613+
}
6614+
6615+
/**
6616+
* The "message" collection of methods.
6617+
*/
6618+
public class Message {
6619+
6620+
/**
6621+
* Sends a message to an agent.
6622+
*
6623+
* Create a request for the method "message.send".
6624+
*
6625+
* This request holds the parameters needed by the ces server. After setting any optional
6626+
* parameters, call the {@link Send#execute()} method to invoke the remote operation.
6627+
*
6628+
* @param tenant Optional. Tenant ID, provided as a path parameter.
6629+
* @param content the {@link com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest}
6630+
* @return the request
6631+
*/
6632+
public Send send(java.lang.String tenant, com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest content) throws java.io.IOException {
6633+
Send result = new Send(tenant, content);
6634+
initialize(result);
6635+
return result;
6636+
}
6637+
6638+
public class Send extends CustomerEngagementSuiteRequest<com.google.api.services.ces.v1.model.LfA2aV1SendMessageResponse> {
6639+
6640+
private static final String REST_PATH = "v1/{+tenant}/message:send";
6641+
6642+
private final java.util.regex.Pattern TENANT_PATTERN =
6643+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/apps/[^/]+$");
6644+
6645+
/**
6646+
* Sends a message to an agent.
6647+
*
6648+
* Create a request for the method "message.send".
6649+
*
6650+
* This request holds the parameters needed by the the ces server. After setting any optional
6651+
* parameters, call the {@link Send#execute()} method to invoke the remote operation. <p> {@link
6652+
* Send#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
6653+
* called to initialize this instance immediately after invoking the constructor. </p>
6654+
*
6655+
* @param tenant Optional. Tenant ID, provided as a path parameter.
6656+
* @param content the {@link com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest}
6657+
* @since 1.13
6658+
*/
6659+
protected Send(java.lang.String tenant, com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest content) {
6660+
super(CustomerEngagementSuite.this, "POST", REST_PATH, content, com.google.api.services.ces.v1.model.LfA2aV1SendMessageResponse.class);
6661+
this.tenant = com.google.api.client.util.Preconditions.checkNotNull(tenant, "Required parameter tenant must be specified.");
6662+
if (!getSuppressPatternChecks()) {
6663+
com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(),
6664+
"Parameter tenant must conform to the pattern " +
6665+
"^projects/[^/]+/locations/[^/]+/apps/[^/]+$");
6666+
}
6667+
}
6668+
6669+
@Override
6670+
public Send set$Xgafv(java.lang.String $Xgafv) {
6671+
return (Send) super.set$Xgafv($Xgafv);
6672+
}
6673+
6674+
@Override
6675+
public Send setAccessToken(java.lang.String accessToken) {
6676+
return (Send) super.setAccessToken(accessToken);
6677+
}
6678+
6679+
@Override
6680+
public Send setAlt(java.lang.String alt) {
6681+
return (Send) super.setAlt(alt);
6682+
}
6683+
6684+
@Override
6685+
public Send setCallback(java.lang.String callback) {
6686+
return (Send) super.setCallback(callback);
6687+
}
6688+
6689+
@Override
6690+
public Send setFields(java.lang.String fields) {
6691+
return (Send) super.setFields(fields);
6692+
}
6693+
6694+
@Override
6695+
public Send setKey(java.lang.String key) {
6696+
return (Send) super.setKey(key);
6697+
}
6698+
6699+
@Override
6700+
public Send setOauthToken(java.lang.String oauthToken) {
6701+
return (Send) super.setOauthToken(oauthToken);
6702+
}
6703+
6704+
@Override
6705+
public Send setPrettyPrint(java.lang.Boolean prettyPrint) {
6706+
return (Send) super.setPrettyPrint(prettyPrint);
6707+
}
6708+
6709+
@Override
6710+
public Send setQuotaUser(java.lang.String quotaUser) {
6711+
return (Send) super.setQuotaUser(quotaUser);
6712+
}
6713+
6714+
@Override
6715+
public Send setUploadType(java.lang.String uploadType) {
6716+
return (Send) super.setUploadType(uploadType);
6717+
}
6718+
6719+
@Override
6720+
public Send setUploadProtocol(java.lang.String uploadProtocol) {
6721+
return (Send) super.setUploadProtocol(uploadProtocol);
6722+
}
6723+
6724+
/** Optional. Tenant ID, provided as a path parameter. */
6725+
@com.google.api.client.util.Key
6726+
private java.lang.String tenant;
6727+
6728+
/** Optional. Tenant ID, provided as a path parameter.
6729+
*/
6730+
public java.lang.String getTenant() {
6731+
return tenant;
6732+
}
6733+
6734+
/** Optional. Tenant ID, provided as a path parameter. */
6735+
public Send setTenant(java.lang.String tenant) {
6736+
if (!getSuppressPatternChecks()) {
6737+
com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(),
6738+
"Parameter tenant must conform to the pattern " +
6739+
"^projects/[^/]+/locations/[^/]+/apps/[^/]+$");
6740+
}
6741+
this.tenant = tenant;
6742+
return this;
6743+
}
6744+
6745+
@Override
6746+
public Send set(String parameterName, Object value) {
6747+
return (Send) super.set(parameterName, value);
6748+
}
6749+
}
6750+
65996751
}
66006752
/**
66016753
* An accessor for creating requests from the Sessions collection.

clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AgentRemoteDialogflowAgent.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ public final class AgentRemoteDialogflowAgent extends com.google.api.client.json
6464
@com.google.api.client.util.Key
6565
private java.util.Map<String, java.lang.String> inputVariableMapping;
6666

67+
/**
68+
* Optional. The name of the variable that contains the language code to be used for the
69+
* Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be
70+
* used.
71+
* The value may be {@code null}.
72+
*/
73+
@com.google.api.client.util.Key
74+
private java.lang.String languageCodeVariable;
75+
6776
/**
6877
* Optional. The mapping of the Dialogflow session parameters names to the app variables names to
6978
* be sent back to the CES agent after the Dialogflow agent execution ends.
@@ -158,6 +167,27 @@ public AgentRemoteDialogflowAgent setInputVariableMapping(java.util.Map<String,
158167
return this;
159168
}
160169

170+
/**
171+
* Optional. The name of the variable that contains the language code to be used for the
172+
* Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be
173+
* used.
174+
* @return value or {@code null} for none
175+
*/
176+
public java.lang.String getLanguageCodeVariable() {
177+
return languageCodeVariable;
178+
}
179+
180+
/**
181+
* Optional. The name of the variable that contains the language code to be used for the
182+
* Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be
183+
* used.
184+
* @param languageCodeVariable languageCodeVariable or {@code null} for none
185+
*/
186+
public AgentRemoteDialogflowAgent setLanguageCodeVariable(java.lang.String languageCodeVariable) {
187+
this.languageCodeVariable = languageCodeVariable;
188+
return this;
189+
}
190+
161191
/**
162192
* Optional. The mapping of the Dialogflow session parameters names to the app variables names to
163193
* be sent back to the CES agent after the Dialogflow agent execution ends.

0 commit comments

Comments
 (0)