Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-ces/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-ces</artifactId>
<version>v1-rev20260506-2.0.0</version>
<version>v1-rev20260513-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-ces:v1-rev20260506-2.0.0'
implementation 'com.google.apis:google-api-services-ces:v1-rev20260513-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6596,6 +6596,158 @@ public Patch set(String parameterName, Object value) {
}
}

}
/**
* An accessor for creating requests from the Message collection.
*
* <p>The typical use is:</p>
* <pre>
* {@code CustomerEngagementSuite ces = new CustomerEngagementSuite(...);}
* {@code CustomerEngagementSuite.Message.List request = ces.message().list(parameters ...)}
* </pre>
*
* @return the resource collection
*/
public Message message() {
return new Message();
}

/**
* The "message" collection of methods.
*/
public class Message {

/**
* Sends a message to an agent.
*
* Create a request for the method "message.send".
*
* This request holds the parameters needed by the ces server. After setting any optional
* parameters, call the {@link Send#execute()} method to invoke the remote operation.
*
* @param tenant Optional. Tenant ID, provided as a path parameter.
* @param content the {@link com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest}
* @return the request
*/
public Send send(java.lang.String tenant, com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest content) throws java.io.IOException {
Send result = new Send(tenant, content);
initialize(result);
return result;
}

public class Send extends CustomerEngagementSuiteRequest<com.google.api.services.ces.v1.model.LfA2aV1SendMessageResponse> {

private static final String REST_PATH = "v1/{+tenant}/message:send";

private final java.util.regex.Pattern TENANT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/apps/[^/]+$");

/**
* Sends a message to an agent.
*
* Create a request for the method "message.send".
*
* This request holds the parameters needed by the the ces server. After setting any optional
* parameters, call the {@link Send#execute()} method to invoke the remote operation. <p> {@link
* Send#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
* called to initialize this instance immediately after invoking the constructor. </p>
*
* @param tenant Optional. Tenant ID, provided as a path parameter.
* @param content the {@link com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest}
* @since 1.13
*/
protected Send(java.lang.String tenant, com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest content) {
super(CustomerEngagementSuite.this, "POST", REST_PATH, content, com.google.api.services.ces.v1.model.LfA2aV1SendMessageResponse.class);
this.tenant = com.google.api.client.util.Preconditions.checkNotNull(tenant, "Required parameter tenant must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(),
"Parameter tenant must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/apps/[^/]+$");
}
}

@Override
public Send set$Xgafv(java.lang.String $Xgafv) {
return (Send) super.set$Xgafv($Xgafv);
}

@Override
public Send setAccessToken(java.lang.String accessToken) {
return (Send) super.setAccessToken(accessToken);
}

@Override
public Send setAlt(java.lang.String alt) {
return (Send) super.setAlt(alt);
}

@Override
public Send setCallback(java.lang.String callback) {
return (Send) super.setCallback(callback);
}

@Override
public Send setFields(java.lang.String fields) {
return (Send) super.setFields(fields);
}

@Override
public Send setKey(java.lang.String key) {
return (Send) super.setKey(key);
}

@Override
public Send setOauthToken(java.lang.String oauthToken) {
return (Send) super.setOauthToken(oauthToken);
}

@Override
public Send setPrettyPrint(java.lang.Boolean prettyPrint) {
return (Send) super.setPrettyPrint(prettyPrint);
}

@Override
public Send setQuotaUser(java.lang.String quotaUser) {
return (Send) super.setQuotaUser(quotaUser);
}

@Override
public Send setUploadType(java.lang.String uploadType) {
return (Send) super.setUploadType(uploadType);
}

@Override
public Send setUploadProtocol(java.lang.String uploadProtocol) {
return (Send) super.setUploadProtocol(uploadProtocol);
}

/** Optional. Tenant ID, provided as a path parameter. */
@com.google.api.client.util.Key
private java.lang.String tenant;

/** Optional. Tenant ID, provided as a path parameter.
*/
public java.lang.String getTenant() {
return tenant;
}

/** Optional. Tenant ID, provided as a path parameter. */
public Send setTenant(java.lang.String tenant) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(),
"Parameter tenant must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/apps/[^/]+$");
}
this.tenant = tenant;
return this;
}

@Override
public Send set(String parameterName, Object value) {
return (Send) super.set(parameterName, value);
}
}

}
/**
* An accessor for creating requests from the Sessions collection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ public final class AgentRemoteDialogflowAgent extends com.google.api.client.json
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.String> inputVariableMapping;

/**
* Optional. The name of the variable that contains the language code to be used for the
* Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be
* used.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String languageCodeVariable;

/**
* Optional. The mapping of the Dialogflow session parameters names to the app variables names to
* be sent back to the CES agent after the Dialogflow agent execution ends.
Expand Down Expand Up @@ -158,6 +167,27 @@ public AgentRemoteDialogflowAgent setInputVariableMapping(java.util.Map<String,
return this;
}

/**
* Optional. The name of the variable that contains the language code to be used for the
* Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be
* used.
* @return value or {@code null} for none
*/
public java.lang.String getLanguageCodeVariable() {
return languageCodeVariable;
}

/**
* Optional. The name of the variable that contains the language code to be used for the
* Dialogflow session. If unspecified, the default language code of the Dialogflow agent will be
* used.
* @param languageCodeVariable languageCodeVariable or {@code null} for none
*/
public AgentRemoteDialogflowAgent setLanguageCodeVariable(java.lang.String languageCodeVariable) {
this.languageCodeVariable = languageCodeVariable;
return this;
}

/**
* Optional. The mapping of the Dialogflow session parameters names to the app variables names to
* be sent back to the CES agent after the Dialogflow agent execution ends.
Expand Down
Loading