UpdateDatabaseMetadata

Metadata type for the operation returned bydatabases.patch.

JSON representation
{"request":{object (UpdateDatabaseRequest)},"progress":{object (OperationProgress)},"cancelTime":string}
Fields
request

object (UpdateDatabaseRequest)

The request fordatabases.patch.

progress

object (OperationProgress)

The progress of thedatabases.patch operation.

cancelTime

string (Timestamp format)

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is best-effort).

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:"2014-10-02T15:01:23Z","2014-10-02T15:01:23.045123456Z" or"2014-10-02T15:01:23+05:30".

UpdateDatabaseRequest

The request fordatabases.patch.

JSON representation
{"database":{object (Database)},"updateMask":string}
Fields
database

object (Database)

Required. The database to update. Thename field of the database is of the formprojects/<project>/instances/<instance>/databases/<database>.

updateMask

string (FieldMask format)

Required. The list of fields to update. Currently, onlyenableDropProtection field can be updated.

This is a comma-separated list of fully qualified names of fields. Example:"user.displayName,photo".

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-09-04 UTC.