@@ -32801,6 +32801,147 @@ 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+ }
3280432945 /**
3280532946 * Gets information about a location.
3280632947 *
@@ -94099,7 +94240,7 @@ public MergeVersionAliases set(String parameterName, Object value) {
9409994240 * This request holds the parameters needed by the aiplatform server. After setting any optional
9410094241 * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
9410194242 *
94102- * @param name The resource name of the Model.
94243+ * @param name Identifier. The resource name of the Model.
9410394244 * @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1Model}
9410494245 * @return the request
9410594246 */
@@ -94127,7 +94268,7 @@ public class Patch extends AiplatformRequest<com.google.api.services.aiplatform.
9412794268 * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
9412894269 * be called to initialize this instance immediately after invoking the constructor. </p>
9412994270 *
94130- * @param name The resource name of the Model.
94271+ * @param name Identifier. The resource name of the Model.
9413194272 * @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1Model}
9413294273 * @since 1.13
9413394274 */
@@ -94196,17 +94337,17 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
9419694337 return (Patch) super.setUploadProtocol(uploadProtocol);
9419794338 }
9419894339
94199- /** The resource name of the Model. */
94340+ /** Identifier. The resource name of the Model. */
9420094341 @com.google.api.client.util.Key
9420194342 private java.lang.String name;
9420294343
94203- /** The resource name of the Model.
94344+ /** Identifier. The resource name of the Model.
9420494345 */
9420594346 public java.lang.String getName() {
9420694347 return name;
9420794348 }
9420894349
94209- /** The resource name of the Model. */
94350+ /** Identifier. The resource name of the Model. */
9421094351 public Patch setName(java.lang.String name) {
9421194352 if (!getSuppressPatternChecks()) {
9421294353 com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -121960,16 +122101,15 @@ public Create setParent(java.lang.String parent) {
121960122101 * Optional. The user defined ID to use for session, which will become the final
121961122102 * component of the session resource name. If not provided, Vertex AI will generate a
121962122103 * value for this ID. This value may be up to 63 characters, and valid characters are
121963- * `[a-z0-9-]`. The first character must be a letter, and the last character must be a
121964- * letter or number.
122104+ * `[a-z0-9-]`. The first and last characters must be a letter or number.
121965122105 */
121966122106 @com.google.api.client.util.Key
121967122107 private java.lang.String sessionId;
121968122108
121969122109 /** Optional. The user defined ID to use for session, which will become the final component of the
121970122110 session resource name. If not provided, Vertex AI will generate a value for this ID. This value may
121971- be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter,
121972- and the last character must be a letter or number.
122111+ be up to 63 characters, and valid characters are `[a-z0-9-]`. The first and last characters must be
122112+ a letter or number.
121973122113 */
121974122114 public java.lang.String getSessionId() {
121975122115 return sessionId;
@@ -121979,8 +122119,7 @@ public java.lang.String getSessionId() {
121979122119 * Optional. The user defined ID to use for session, which will become the final
121980122120 * component of the session resource name. If not provided, Vertex AI will generate a
121981122121 * value for this ID. This value may be up to 63 characters, and valid characters are
121982- * `[a-z0-9-]`. The first character must be a letter, and the last character must be a
121983- * letter or number.
122122+ * `[a-z0-9-]`. The first and last characters must be a letter or number.
121984122123 */
121985122124 public Create setSessionId(java.lang.String sessionId) {
121986122125 this.sessionId = sessionId;
0 commit comments