@@ -170,6 +170,37 @@ public function listProjectsLocationsAutonomousDatabases($parent, $optParams = [
170170 $ params = array_merge ($ params , $ optParams );
171171 return $ this ->call ('list ' , [$ params ], ListAutonomousDatabasesResponse::class);
172172 }
173+ /**
174+ * Updates the parameters of a single Autonomous Database.
175+ * (autonomousDatabases.patch)
176+ *
177+ * @param string $name Identifier. The name of the Autonomous Database resource
178+ * in the following format: projects/{project}/locations/{region}/autonomousData
179+ * bases/{autonomous_database}
180+ * @param AutonomousDatabase $postBody
181+ * @param array $optParams Optional parameters.
182+ *
183+ * @opt_param string requestId Optional. An optional ID to identify the request.
184+ * This value is used to identify duplicate requests. If you make a request with
185+ * the same request ID and the original request is still in progress or
186+ * completed, the server ignores the second request. This prevents clients from
187+ * accidentally creating duplicate commitments. The request ID must be a valid
188+ * UUID with the exception that zero UUID is not supported
189+ * (00000000-0000-0000-0000-000000000000).
190+ * @opt_param string updateMask Optional. Field mask is used to specify the
191+ * fields to be overwritten in the Exadata resource by the update. The fields
192+ * specified in the update_mask are relative to the resource, not the full
193+ * request. A field will be overwritten if it is in the mask. If the user does
194+ * not provide a mask then all fields will be overwritten.
195+ * @return Operation
196+ * @throws \Google\Service\Exception
197+ */
198+ public function patch ($ name , AutonomousDatabase $ postBody , $ optParams = [])
199+ {
200+ $ params = ['name ' => $ name , 'postBody ' => $ postBody ];
201+ $ params = array_merge ($ params , $ optParams );
202+ return $ this ->call ('patch ' , [$ params ], Operation::class);
203+ }
173204 /**
174205 * Restarts an Autonomous Database. (autonomousDatabases.restart)
175206 *
0 commit comments