Class: Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb
Overview
The request for UpdateDatabase.
Instance Attribute Summary collapse
-
#database ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::Database
Required.
-
#update_mask ⇒ ::Google::Protobuf::FieldMask
Required.
Instance Attribute Details
#database ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::Database
Returns Required. The database to update.
The name
field of the database is of the form
projects/<project>/instances/<instance>/databases/<database>
.
255 256 257 258 |
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 255 class UpdateDatabaseRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_mask ⇒ ::Google::Protobuf::FieldMask
Returns Required. The list of fields to update. Currently, only
enable_drop_protection
field can be updated.
255 256 257 258 |
# File 'proto_docs/google/spanner/admin/database/v1/spanner_database_admin.rb', line 255 class UpdateDatabaseRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |