@@ -32801,147 +32801,6 @@ public GenerateSyntheticData set(String parameterName, Object value) {
3280132801 return (GenerateSyntheticData) super.set(parameterName, value);
3280232802 }
3280332803 }
32804- /**
32805- * Generates user scenarios for agent evaluation.
32806- *
32807- * Create a request for the method "locations.generateUserScenarios".
32808- *
32809- * This request holds the parameters needed by the aiplatform server. After setting any optional
32810- * parameters, call the {@link GenerateUserScenarios#execute()} method to invoke the remote
32811- * operation.
32812- *
32813- * @param location Required. The resource name of the Location to run the job. Format:
32814- * `projects/{project}/locations/{location}`
32815- * @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1GenerateUserScenariosRequest}
32816- * @return the request
32817- */
32818- public GenerateUserScenarios generateUserScenarios(java.lang.String location, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1GenerateUserScenariosRequest content) throws java.io.IOException {
32819- GenerateUserScenarios result = new GenerateUserScenarios(location, content);
32820- initialize(result);
32821- return result;
32822- }
32823-
32824- public class GenerateUserScenarios extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1GenerateUserScenariosResponse> {
32825-
32826- private static final String REST_PATH = "v1/{+location}:generateUserScenarios";
32827-
32828- private final java.util.regex.Pattern LOCATION_PATTERN =
32829- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
32830-
32831- /**
32832- * Generates user scenarios for agent evaluation.
32833- *
32834- * Create a request for the method "locations.generateUserScenarios".
32835- *
32836- * This request holds the parameters needed by the the aiplatform server. After setting any
32837- * optional parameters, call the {@link GenerateUserScenarios#execute()} method to invoke the
32838- * remote operation. <p> {@link GenerateUserScenarios#initialize(com.google.api.client.googleapis.
32839- * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
32840- * after invoking the constructor. </p>
32841- *
32842- * @param location Required. The resource name of the Location to run the job. Format:
32843- * `projects/{project}/locations/{location}`
32844- * @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1GenerateUserScenariosRequest}
32845- * @since 1.13
32846- */
32847- protected GenerateUserScenarios(java.lang.String location, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1GenerateUserScenariosRequest content) {
32848- super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1GenerateUserScenariosResponse.class);
32849- this.location = com.google.api.client.util.Preconditions.checkNotNull(location, "Required parameter location must be specified.");
32850- if (!getSuppressPatternChecks()) {
32851- com.google.api.client.util.Preconditions.checkArgument(LOCATION_PATTERN.matcher(location).matches(),
32852- "Parameter location must conform to the pattern " +
32853- "^projects/[^/]+/locations/[^/]+$");
32854- }
32855- }
32856-
32857- @Override
32858- public GenerateUserScenarios set$Xgafv(java.lang.String $Xgafv) {
32859- return (GenerateUserScenarios) super.set$Xgafv($Xgafv);
32860- }
32861-
32862- @Override
32863- public GenerateUserScenarios setAccessToken(java.lang.String accessToken) {
32864- return (GenerateUserScenarios) super.setAccessToken(accessToken);
32865- }
32866-
32867- @Override
32868- public GenerateUserScenarios setAlt(java.lang.String alt) {
32869- return (GenerateUserScenarios) super.setAlt(alt);
32870- }
32871-
32872- @Override
32873- public GenerateUserScenarios setCallback(java.lang.String callback) {
32874- return (GenerateUserScenarios) super.setCallback(callback);
32875- }
32876-
32877- @Override
32878- public GenerateUserScenarios setFields(java.lang.String fields) {
32879- return (GenerateUserScenarios) super.setFields(fields);
32880- }
32881-
32882- @Override
32883- public GenerateUserScenarios setKey(java.lang.String key) {
32884- return (GenerateUserScenarios) super.setKey(key);
32885- }
32886-
32887- @Override
32888- public GenerateUserScenarios setOauthToken(java.lang.String oauthToken) {
32889- return (GenerateUserScenarios) super.setOauthToken(oauthToken);
32890- }
32891-
32892- @Override
32893- public GenerateUserScenarios setPrettyPrint(java.lang.Boolean prettyPrint) {
32894- return (GenerateUserScenarios) super.setPrettyPrint(prettyPrint);
32895- }
32896-
32897- @Override
32898- public GenerateUserScenarios setQuotaUser(java.lang.String quotaUser) {
32899- return (GenerateUserScenarios) super.setQuotaUser(quotaUser);
32900- }
32901-
32902- @Override
32903- public GenerateUserScenarios setUploadType(java.lang.String uploadType) {
32904- return (GenerateUserScenarios) super.setUploadType(uploadType);
32905- }
32906-
32907- @Override
32908- public GenerateUserScenarios setUploadProtocol(java.lang.String uploadProtocol) {
32909- return (GenerateUserScenarios) super.setUploadProtocol(uploadProtocol);
32910- }
32911-
32912- /**
32913- * Required. The resource name of the Location to run the job. Format:
32914- * `projects/{project}/locations/{location}`
32915- */
32916- @com.google.api.client.util.Key
32917- private java.lang.String location;
32918-
32919- /** Required. The resource name of the Location to run the job. Format:
32920- `projects/{project}/locations/{location}`
32921- */
32922- public java.lang.String getLocation() {
32923- return location;
32924- }
32925-
32926- /**
32927- * Required. The resource name of the Location to run the job. Format:
32928- * `projects/{project}/locations/{location}`
32929- */
32930- public GenerateUserScenarios setLocation(java.lang.String location) {
32931- if (!getSuppressPatternChecks()) {
32932- com.google.api.client.util.Preconditions.checkArgument(LOCATION_PATTERN.matcher(location).matches(),
32933- "Parameter location must conform to the pattern " +
32934- "^projects/[^/]+/locations/[^/]+$");
32935- }
32936- this.location = location;
32937- return this;
32938- }
32939-
32940- @Override
32941- public GenerateUserScenarios set(String parameterName, Object value) {
32942- return (GenerateUserScenarios) super.set(parameterName, value);
32943- }
32944- }
3294532804 /**
3294632805 * Gets information about a location.
3294732806 *
@@ -33229,10 +33088,14 @@ public GetRagEngineConfig set(String parameterName, Object value) {
3322933088 }
3323033089 }
3323133090 /**
33232- * Lists information about the supported locations for this service. This method can be called in
33233- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
33234- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
33235- * public locations as well as private or other locations specifically visible to the project.
33091+ * Lists information about the supported locations for this service. This method lists locations
33092+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
33093+ * locations**: If `name` is empty, the method lists the public locations available to all projects.
33094+ * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
33095+ * lists locations visible to that specific project. This includes public, private, or other
33096+ * project-specific locations enabled for the project. For gRPC and client library implementations,
33097+ * the resource name is passed as the `name` field. For direct service calls, the resource name is
33098+ * incorporated into the request path based on the specific service implementation and version.
3323633099 *
3323733100 * Create a request for the method "locations.list".
3323833101 *
@@ -33256,10 +33119,15 @@ public class List extends AiplatformRequest<com.google.api.services.aiplatform.v
3325633119 java.util.regex.Pattern.compile("^projects/[^/]+$");
3325733120
3325833121 /**
33259- * Lists information about the supported locations for this service. This method can be called in
33260- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
33261- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
33262- * public locations as well as private or other locations specifically visible to the project.
33122+ * Lists information about the supported locations for this service. This method lists locations
33123+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
33124+ * locations**: If `name` is empty, the method lists the public locations available to all
33125+ * projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`,
33126+ * the method lists locations visible to that specific project. This includes public, private, or
33127+ * other project-specific locations enabled for the project. For gRPC and client library
33128+ * implementations, the resource name is passed as the `name` field. For direct service calls, the
33129+ * resource name is incorporated into the request path based on the specific service
33130+ * implementation and version.
3326333131 *
3326433132 * Create a request for the method "locations.list".
3326533133 *
0 commit comments