@@ -7334,6 +7334,143 @@ public RestoreBackup set(String parameterName, Object value) {
73347334 return (RestoreBackup ) super .set (parameterName , value );
73357335 }
73367336 }
7337+ /**
7338+ * Restores a backup of a Cloud SQL instance for Model Context Protocol (MCP) server.
7339+ *
7340+ * Create a request for the method "instances.restoreBackupMcp".
7341+ *
7342+ * This request holds the parameters needed by the sqladmin server. After setting any optional
7343+ * parameters, call the {@link RestoreBackupMcp#execute()} method to invoke the remote operation.
7344+ *
7345+ * @param targetProject Required. Project ID of the target project.
7346+ * @param targetInstance Required. Cloud SQL instance ID of the target. This does not include the project ID.
7347+ * @param content the {@link com.google.api.services.sqladmin.model.SqlInstancesRestoreBackupMcpRequest}
7348+ * @return the request
7349+ */
7350+ public RestoreBackupMcp restoreBackupMcp (java .lang .String targetProject , java .lang .String targetInstance , com .google .api .services .sqladmin .model .SqlInstancesRestoreBackupMcpRequest content ) throws java .io .IOException {
7351+ RestoreBackupMcp result = new RestoreBackupMcp (targetProject , targetInstance , content );
7352+ initialize (result );
7353+ return result ;
7354+ }
7355+
7356+ public class RestoreBackupMcp extends SQLAdminRequest <com .google .api .services .sqladmin .model .Operation > {
7357+
7358+ private static final String REST_PATH = "v1/projects/{targetProject}/instances/{targetInstance}:restoreBackupMcp" ;
7359+
7360+ /**
7361+ * Restores a backup of a Cloud SQL instance for Model Context Protocol (MCP) server.
7362+ *
7363+ * Create a request for the method "instances.restoreBackupMcp".
7364+ *
7365+ * This request holds the parameters needed by the the sqladmin server. After setting any
7366+ * optional parameters, call the {@link RestoreBackupMcp#execute()} method to invoke the remote
7367+ * operation. <p> {@link RestoreBackupMcp#initialize(com.google.api.client.googleapis.services.Abs
7368+ * tractGoogleClientRequest)} must be called to initialize this instance immediately after
7369+ * invoking the constructor. </p>
7370+ *
7371+ * @param targetProject Required. Project ID of the target project.
7372+ * @param targetInstance Required. Cloud SQL instance ID of the target. This does not include the project ID.
7373+ * @param content the {@link com.google.api.services.sqladmin.model.SqlInstancesRestoreBackupMcpRequest}
7374+ * @since 1.13
7375+ */
7376+ protected RestoreBackupMcp (java .lang .String targetProject , java .lang .String targetInstance , com .google .api .services .sqladmin .model .SqlInstancesRestoreBackupMcpRequest content ) {
7377+ super (SQLAdmin .this , "POST" , REST_PATH , content , com .google .api .services .sqladmin .model .Operation .class );
7378+ this .targetProject = com .google .api .client .util .Preconditions .checkNotNull (targetProject , "Required parameter targetProject must be specified." );
7379+ this .targetInstance = com .google .api .client .util .Preconditions .checkNotNull (targetInstance , "Required parameter targetInstance must be specified." );
7380+ }
7381+
7382+ @ Override
7383+ public RestoreBackupMcp set$Xgafv (java .lang .String $Xgafv ) {
7384+ return (RestoreBackupMcp ) super .set$Xgafv ($Xgafv );
7385+ }
7386+
7387+ @ Override
7388+ public RestoreBackupMcp setAccessToken (java .lang .String accessToken ) {
7389+ return (RestoreBackupMcp ) super .setAccessToken (accessToken );
7390+ }
7391+
7392+ @ Override
7393+ public RestoreBackupMcp setAlt (java .lang .String alt ) {
7394+ return (RestoreBackupMcp ) super .setAlt (alt );
7395+ }
7396+
7397+ @ Override
7398+ public RestoreBackupMcp setCallback (java .lang .String callback ) {
7399+ return (RestoreBackupMcp ) super .setCallback (callback );
7400+ }
7401+
7402+ @ Override
7403+ public RestoreBackupMcp setFields (java .lang .String fields ) {
7404+ return (RestoreBackupMcp ) super .setFields (fields );
7405+ }
7406+
7407+ @ Override
7408+ public RestoreBackupMcp setKey (java .lang .String key ) {
7409+ return (RestoreBackupMcp ) super .setKey (key );
7410+ }
7411+
7412+ @ Override
7413+ public RestoreBackupMcp setOauthToken (java .lang .String oauthToken ) {
7414+ return (RestoreBackupMcp ) super .setOauthToken (oauthToken );
7415+ }
7416+
7417+ @ Override
7418+ public RestoreBackupMcp setPrettyPrint (java .lang .Boolean prettyPrint ) {
7419+ return (RestoreBackupMcp ) super .setPrettyPrint (prettyPrint );
7420+ }
7421+
7422+ @ Override
7423+ public RestoreBackupMcp setQuotaUser (java .lang .String quotaUser ) {
7424+ return (RestoreBackupMcp ) super .setQuotaUser (quotaUser );
7425+ }
7426+
7427+ @ Override
7428+ public RestoreBackupMcp setUploadType (java .lang .String uploadType ) {
7429+ return (RestoreBackupMcp ) super .setUploadType (uploadType );
7430+ }
7431+
7432+ @ Override
7433+ public RestoreBackupMcp setUploadProtocol (java .lang .String uploadProtocol ) {
7434+ return (RestoreBackupMcp ) super .setUploadProtocol (uploadProtocol );
7435+ }
7436+
7437+ /** Required. Project ID of the target project. */
7438+ @ com .google .api .client .util .Key
7439+ private java .lang .String targetProject ;
7440+
7441+ /** Required. Project ID of the target project.
7442+ */
7443+ public java .lang .String getTargetProject () {
7444+ return targetProject ;
7445+ }
7446+
7447+ /** Required. Project ID of the target project. */
7448+ public RestoreBackupMcp setTargetProject (java .lang .String targetProject ) {
7449+ this .targetProject = targetProject ;
7450+ return this ;
7451+ }
7452+
7453+ /** Required. Cloud SQL instance ID of the target. This does not include the project ID. */
7454+ @ com .google .api .client .util .Key
7455+ private java .lang .String targetInstance ;
7456+
7457+ /** Required. Cloud SQL instance ID of the target. This does not include the project ID.
7458+ */
7459+ public java .lang .String getTargetInstance () {
7460+ return targetInstance ;
7461+ }
7462+
7463+ /** Required. Cloud SQL instance ID of the target. This does not include the project ID. */
7464+ public RestoreBackupMcp setTargetInstance (java .lang .String targetInstance ) {
7465+ this .targetInstance = targetInstance ;
7466+ return this ;
7467+ }
7468+
7469+ @ Override
7470+ public RestoreBackupMcp set (String parameterName , Object value ) {
7471+ return (RestoreBackupMcp ) super .set (parameterName , value );
7472+ }
7473+ }
73377474 /**
73387475 * Rotates the server certificate to one signed by the Certificate Authority (CA) version previously
73397476 * added with the addServerCA method. For instances that have enabled Certificate Authority Service
0 commit comments