@@ -26569,7 +26569,7 @@ public Patch setName(java.lang.String name) {
26569
26569
* Updatable fields: * `labels` * `service_agent_type` * `big_query_source` *
26570
26570
* `big_query_source.uri` * `big_query_source.entity_id_columns` *
26571
26571
* `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config`
26572
- * * `sync_config.cron`
26572
+ * * `sync_config.cron` * `optimized_config.automatic_resources`
26573
26573
*/
26574
26574
@com.google.api.client.util.Key
26575
26575
private String updateMask;
@@ -26580,7 +26580,8 @@ public Patch setName(java.lang.String name) {
26580
26580
non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override
26581
26581
all fields. Updatable fields: * `labels` * `service_agent_type` * `big_query_source` *
26582
26582
`big_query_source.uri` * `big_query_source.entity_id_columns` * `feature_registry_source` *
26583
- `feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron`
26583
+ `feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron` *
26584
+ `optimized_config.automatic_resources`
26584
26585
*/
26585
26586
public String getUpdateMask() {
26586
26587
return updateMask;
@@ -26595,7 +26596,7 @@ public String getUpdateMask() {
26595
26596
* Updatable fields: * `labels` * `service_agent_type` * `big_query_source` *
26596
26597
* `big_query_source.uri` * `big_query_source.entity_id_columns` *
26597
26598
* `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config`
26598
- * * `sync_config.cron`
26599
+ * * `sync_config.cron` * `optimized_config.automatic_resources`
26599
26600
*/
26600
26601
public Patch setUpdateMask(String updateMask) {
26601
26602
this.updateMask = updateMask;
@@ -65709,6 +65710,150 @@ public Start set(String parameterName, Object value) {
65709
65710
return (Start) super.set(parameterName, value);
65710
65711
}
65711
65712
}
65713
+ /**
65714
+ * Stops a NotebookRuntime.
65715
+ *
65716
+ * Create a request for the method "notebookRuntimes.stop".
65717
+ *
65718
+ * This request holds the parameters needed by the aiplatform server. After setting any optional
65719
+ * parameters, call the {@link Stop#execute()} method to invoke the remote operation.
65720
+ *
65721
+ * @param name Required. The name of the NotebookRuntime resource to be stopped. Instead of checking whether the
65722
+ * name is in valid NotebookRuntime resource name format, directly throw NotFound exception
65723
+ * if there is no such NotebookRuntime in spanner.
65724
+ * @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1StopNotebookRuntimeRequest}
65725
+ * @return the request
65726
+ */
65727
+ public Stop stop(java.lang.String name, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1StopNotebookRuntimeRequest content) throws java.io.IOException {
65728
+ Stop result = new Stop(name, content);
65729
+ initialize(result);
65730
+ return result;
65731
+ }
65732
+
65733
+ public class Stop extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleLongrunningOperation> {
65734
+
65735
+ private static final String REST_PATH = "v1/{+name}:stop";
65736
+
65737
+ private final java.util.regex.Pattern NAME_PATTERN =
65738
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$");
65739
+
65740
+ /**
65741
+ * Stops a NotebookRuntime.
65742
+ *
65743
+ * Create a request for the method "notebookRuntimes.stop".
65744
+ *
65745
+ * This request holds the parameters needed by the the aiplatform server. After setting any
65746
+ * optional parameters, call the {@link Stop#execute()} method to invoke the remote operation. <p>
65747
+ * {@link Stop#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
65748
+ * must be called to initialize this instance immediately after invoking the constructor. </p>
65749
+ *
65750
+ * @param name Required. The name of the NotebookRuntime resource to be stopped. Instead of checking whether the
65751
+ * name is in valid NotebookRuntime resource name format, directly throw NotFound exception
65752
+ * if there is no such NotebookRuntime in spanner.
65753
+ * @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1StopNotebookRuntimeRequest}
65754
+ * @since 1.13
65755
+ */
65756
+ protected Stop(java.lang.String name, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1StopNotebookRuntimeRequest content) {
65757
+ super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1.model.GoogleLongrunningOperation.class);
65758
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
65759
+ if (!getSuppressPatternChecks()) {
65760
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
65761
+ "Parameter name must conform to the pattern " +
65762
+ "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$");
65763
+ }
65764
+ }
65765
+
65766
+ @Override
65767
+ public Stop set$Xgafv(java.lang.String $Xgafv) {
65768
+ return (Stop) super.set$Xgafv($Xgafv);
65769
+ }
65770
+
65771
+ @Override
65772
+ public Stop setAccessToken(java.lang.String accessToken) {
65773
+ return (Stop) super.setAccessToken(accessToken);
65774
+ }
65775
+
65776
+ @Override
65777
+ public Stop setAlt(java.lang.String alt) {
65778
+ return (Stop) super.setAlt(alt);
65779
+ }
65780
+
65781
+ @Override
65782
+ public Stop setCallback(java.lang.String callback) {
65783
+ return (Stop) super.setCallback(callback);
65784
+ }
65785
+
65786
+ @Override
65787
+ public Stop setFields(java.lang.String fields) {
65788
+ return (Stop) super.setFields(fields);
65789
+ }
65790
+
65791
+ @Override
65792
+ public Stop setKey(java.lang.String key) {
65793
+ return (Stop) super.setKey(key);
65794
+ }
65795
+
65796
+ @Override
65797
+ public Stop setOauthToken(java.lang.String oauthToken) {
65798
+ return (Stop) super.setOauthToken(oauthToken);
65799
+ }
65800
+
65801
+ @Override
65802
+ public Stop setPrettyPrint(java.lang.Boolean prettyPrint) {
65803
+ return (Stop) super.setPrettyPrint(prettyPrint);
65804
+ }
65805
+
65806
+ @Override
65807
+ public Stop setQuotaUser(java.lang.String quotaUser) {
65808
+ return (Stop) super.setQuotaUser(quotaUser);
65809
+ }
65810
+
65811
+ @Override
65812
+ public Stop setUploadType(java.lang.String uploadType) {
65813
+ return (Stop) super.setUploadType(uploadType);
65814
+ }
65815
+
65816
+ @Override
65817
+ public Stop setUploadProtocol(java.lang.String uploadProtocol) {
65818
+ return (Stop) super.setUploadProtocol(uploadProtocol);
65819
+ }
65820
+
65821
+ /**
65822
+ * Required. The name of the NotebookRuntime resource to be stopped. Instead of checking
65823
+ * whether the name is in valid NotebookRuntime resource name format, directly throw
65824
+ * NotFound exception if there is no such NotebookRuntime in spanner.
65825
+ */
65826
+ @com.google.api.client.util.Key
65827
+ private java.lang.String name;
65828
+
65829
+ /** Required. The name of the NotebookRuntime resource to be stopped. Instead of checking whether the
65830
+ name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there
65831
+ is no such NotebookRuntime in spanner.
65832
+ */
65833
+ public java.lang.String getName() {
65834
+ return name;
65835
+ }
65836
+
65837
+ /**
65838
+ * Required. The name of the NotebookRuntime resource to be stopped. Instead of checking
65839
+ * whether the name is in valid NotebookRuntime resource name format, directly throw
65840
+ * NotFound exception if there is no such NotebookRuntime in spanner.
65841
+ */
65842
+ public Stop setName(java.lang.String name) {
65843
+ if (!getSuppressPatternChecks()) {
65844
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
65845
+ "Parameter name must conform to the pattern " +
65846
+ "^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$");
65847
+ }
65848
+ this.name = name;
65849
+ return this;
65850
+ }
65851
+
65852
+ @Override
65853
+ public Stop set(String parameterName, Object value) {
65854
+ return (Stop) super.set(parameterName, value);
65855
+ }
65856
+ }
65712
65857
/**
65713
65858
* Upgrades a NotebookRuntime.
65714
65859
*
0 commit comments