public sealed class UpdateDatabaseRequest : IMessage<UpdateDatabaseRequest>, IEquatable<UpdateDatabaseRequest>, IDeepCloneable<UpdateDatabaseRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class UpdateDatabaseRequest.
The request for [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase].
Implements
IMessageUpdateDatabaseRequest, IEquatableUpdateDatabaseRequest, IDeepCloneableUpdateDatabaseRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
UpdateDatabaseRequest()
public UpdateDatabaseRequest()
UpdateDatabaseRequest(UpdateDatabaseRequest)
public UpdateDatabaseRequest(UpdateDatabaseRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateDatabaseRequest |
Properties
Database
public Database Database { get; set; }
Required. The database to update.
The name
field of the database is of the form
projects/<project>/instances/<instance>/databases/<database>
.
Property Value | |
---|---|
Type | Description |
Database |
UpdateMask
public FieldMask UpdateMask { get; set; }
Required. The list of fields to update. Currently, only
enable_drop_protection
field can be updated.
Property Value | |
---|---|
Type | Description |
FieldMask |