@@ -460,10 +460,14 @@ public GetSecuritySettings set(String parameterName, Object value) {
460460 }
461461 }
462462 /**
463- * Lists information about the supported locations for this service. This method can be called in
464- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
465- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
466- * public locations as well as private or other locations specifically visible to the project.
463+ * Lists information about the supported locations for this service. This method lists locations
464+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
465+ * locations**: If `name` is empty, the method lists the public locations available to all projects.
466+ * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
467+ * lists locations visible to that specific project. This includes public, private, or other
468+ * project-specific locations enabled for the project. For gRPC and client library implementations,
469+ * the resource name is passed as the `name` field. For direct service calls, the resource name is
470+ * incorporated into the request path based on the specific service implementation and version.
467471 *
468472 * Create a request for the method "locations.list".
469473 *
@@ -487,10 +491,15 @@ public class List extends CustomerEngagementSuiteRequest<com.google.api.services
487491 java.util.regex.Pattern.compile("^projects/[^/]+$");
488492
489493 /**
490- * Lists information about the supported locations for this service. This method can be called in
491- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
492- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
493- * public locations as well as private or other locations specifically visible to the project.
494+ * Lists information about the supported locations for this service. This method lists locations
495+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
496+ * locations**: If `name` is empty, the method lists the public locations available to all
497+ * projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`,
498+ * the method lists locations visible to that specific project. This includes public, private, or
499+ * other project-specific locations enabled for the project. For gRPC and client library
500+ * implementations, the resource name is passed as the `name` field. For direct service calls, the
501+ * resource name is incorporated into the request path based on the specific service
502+ * implementation and version.
494503 *
495504 * Create a request for the method "locations.list".
496505 *
@@ -1453,6 +1462,137 @@ public ExportApp set(String parameterName, Object value) {
14531462 return (ExportApp) super.set(parameterName, value);
14541463 }
14551464 }
1465+ /**
1466+ * Generates specific resources (e.g. agent) in the app using LLM assistant.
1467+ *
1468+ * Create a request for the method "apps.generateAppResource".
1469+ *
1470+ * This request holds the parameters needed by the ces server. After setting any optional
1471+ * parameters, call the {@link GenerateAppResource#execute()} method to invoke the remote operation.
1472+ *
1473+ * @param parent Required. The resource name of the app to generate the resource for.
1474+ * @param content the {@link com.google.api.services.ces.v1beta.model.GenerateAppResourceRequest}
1475+ * @return the request
1476+ */
1477+ public GenerateAppResource generateAppResource(java.lang.String parent, com.google.api.services.ces.v1beta.model.GenerateAppResourceRequest content) throws java.io.IOException {
1478+ GenerateAppResource result = new GenerateAppResource(parent, content);
1479+ initialize(result);
1480+ return result;
1481+ }
1482+
1483+ public class GenerateAppResource extends CustomerEngagementSuiteRequest<com.google.api.services.ces.v1beta.model.Operation> {
1484+
1485+ private static final String REST_PATH = "v1beta/{+parent}:generateAppResource";
1486+
1487+ private final java.util.regex.Pattern PARENT_PATTERN =
1488+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/apps/[^/]+$");
1489+
1490+ /**
1491+ * Generates specific resources (e.g. agent) in the app using LLM assistant.
1492+ *
1493+ * Create a request for the method "apps.generateAppResource".
1494+ *
1495+ * This request holds the parameters needed by the the ces server. After setting any optional
1496+ * parameters, call the {@link GenerateAppResource#execute()} method to invoke the remote
1497+ * operation. <p> {@link GenerateAppResource#initialize(com.google.api.client.googleapis.services.
1498+ * AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
1499+ * invoking the constructor. </p>
1500+ *
1501+ * @param parent Required. The resource name of the app to generate the resource for.
1502+ * @param content the {@link com.google.api.services.ces.v1beta.model.GenerateAppResourceRequest}
1503+ * @since 1.13
1504+ */
1505+ protected GenerateAppResource(java.lang.String parent, com.google.api.services.ces.v1beta.model.GenerateAppResourceRequest content) {
1506+ super(CustomerEngagementSuite.this, "POST", REST_PATH, content, com.google.api.services.ces.v1beta.model.Operation.class);
1507+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
1508+ if (!getSuppressPatternChecks()) {
1509+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
1510+ "Parameter parent must conform to the pattern " +
1511+ "^projects/[^/]+/locations/[^/]+/apps/[^/]+$");
1512+ }
1513+ }
1514+
1515+ @Override
1516+ public GenerateAppResource set$Xgafv(java.lang.String $Xgafv) {
1517+ return (GenerateAppResource) super.set$Xgafv($Xgafv);
1518+ }
1519+
1520+ @Override
1521+ public GenerateAppResource setAccessToken(java.lang.String accessToken) {
1522+ return (GenerateAppResource) super.setAccessToken(accessToken);
1523+ }
1524+
1525+ @Override
1526+ public GenerateAppResource setAlt(java.lang.String alt) {
1527+ return (GenerateAppResource) super.setAlt(alt);
1528+ }
1529+
1530+ @Override
1531+ public GenerateAppResource setCallback(java.lang.String callback) {
1532+ return (GenerateAppResource) super.setCallback(callback);
1533+ }
1534+
1535+ @Override
1536+ public GenerateAppResource setFields(java.lang.String fields) {
1537+ return (GenerateAppResource) super.setFields(fields);
1538+ }
1539+
1540+ @Override
1541+ public GenerateAppResource setKey(java.lang.String key) {
1542+ return (GenerateAppResource) super.setKey(key);
1543+ }
1544+
1545+ @Override
1546+ public GenerateAppResource setOauthToken(java.lang.String oauthToken) {
1547+ return (GenerateAppResource) super.setOauthToken(oauthToken);
1548+ }
1549+
1550+ @Override
1551+ public GenerateAppResource setPrettyPrint(java.lang.Boolean prettyPrint) {
1552+ return (GenerateAppResource) super.setPrettyPrint(prettyPrint);
1553+ }
1554+
1555+ @Override
1556+ public GenerateAppResource setQuotaUser(java.lang.String quotaUser) {
1557+ return (GenerateAppResource) super.setQuotaUser(quotaUser);
1558+ }
1559+
1560+ @Override
1561+ public GenerateAppResource setUploadType(java.lang.String uploadType) {
1562+ return (GenerateAppResource) super.setUploadType(uploadType);
1563+ }
1564+
1565+ @Override
1566+ public GenerateAppResource setUploadProtocol(java.lang.String uploadProtocol) {
1567+ return (GenerateAppResource) super.setUploadProtocol(uploadProtocol);
1568+ }
1569+
1570+ /** Required. The resource name of the app to generate the resource for. */
1571+ @com.google.api.client.util.Key
1572+ private java.lang.String parent;
1573+
1574+ /** Required. The resource name of the app to generate the resource for.
1575+ */
1576+ public java.lang.String getParent() {
1577+ return parent;
1578+ }
1579+
1580+ /** Required. The resource name of the app to generate the resource for. */
1581+ public GenerateAppResource setParent(java.lang.String parent) {
1582+ if (!getSuppressPatternChecks()) {
1583+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
1584+ "Parameter parent must conform to the pattern " +
1585+ "^projects/[^/]+/locations/[^/]+/apps/[^/]+$");
1586+ }
1587+ this.parent = parent;
1588+ return this;
1589+ }
1590+
1591+ @Override
1592+ public GenerateAppResource set(String parameterName, Object value) {
1593+ return (GenerateAppResource) super.set(parameterName, value);
1594+ }
1595+ }
14561596 /**
14571597 * Gets details of the specified app.
14581598 *
0 commit comments