Google Cloud Spanner Database Administration v1 API - Class UpdateDatabaseRequest (5.0.0-beta01)

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].

Inheritance

object > UpdateDatabaseRequest

Namespace

Google.Cloud.Spanner.Admin.Database.V1

Assembly

Google.Cloud.Spanner.Admin.Database.V1.dll

Constructors

UpdateDatabaseRequest()

public UpdateDatabaseRequest()

UpdateDatabaseRequest(UpdateDatabaseRequest)

public UpdateDatabaseRequest(UpdateDatabaseRequest other)
Parameter
NameDescription
otherUpdateDatabaseRequest

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
TypeDescription
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
TypeDescription
FieldMask