Reference documentation and code samples for the Cloud Spanner Database Admin V1 API class Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseRequest.
The request for UpdateDatabase.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#database
def database() -> ::Google::Cloud::Spanner::Admin::Database::V1::Database
Returns
-
(::Google::Cloud::Spanner::Admin::Database::V1::Database) — Required. The database to update.
The
name
field of the database is of the formprojects/<project>/instances/<instance>/databases/<database>
.
#database=
def database=(value) -> ::Google::Cloud::Spanner::Admin::Database::V1::Database
Parameter
-
value (::Google::Cloud::Spanner::Admin::Database::V1::Database) — Required. The database to update.
The
name
field of the database is of the formprojects/<project>/instances/<instance>/databases/<database>
.
Returns
-
(::Google::Cloud::Spanner::Admin::Database::V1::Database) — Required. The database to update.
The
name
field of the database is of the formprojects/<project>/instances/<instance>/databases/<database>
.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — Required. The list of fields to update. Currently, only
enable_drop_protection
field can be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::Google::Protobuf::FieldMask) — Required. The list of fields to update. Currently, only
enable_drop_protection
field can be updated.
Returns
-
(::Google::Protobuf::FieldMask) — Required. The list of fields to update. Currently, only
enable_drop_protection
field can be updated.