UpdateDatabaseMetadata

Metadata type for the operation returned by databases.patch.

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

object (UpdateDatabaseRequest)

The request for databases.patch.

progress

object (OperationProgress)

The progress of the databases.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 for databases.patch.

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

object (Database)

Required. The database to update. The name field of the database is of the form projects/<project>/instances/<instance>/databases/<database>.

updateMask

string (FieldMask format)

Required. The list of fields to update. Currently, only enableDropProtection 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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-09-04 UTC.