Class ProjectsResource.InstancesResource.DatabasesResource.DropDatabaseRequest
Drops (aka deletes) a Cloud Spanner database. Completed backups for the database will be retained
according to their expire_time
. Note: Cloud Spanner might continue to accept requests for a few
seconds after the database has been deleted.
Inheritance
ProjectsResource.InstancesResource.DatabasesResource.DropDatabaseRequest
Inherited Members
Namespace: Google.Apis.Spanner.v1
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ProjectsResource.InstancesResource.DatabasesResource.DropDatabaseRequest : SpannerBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DropDatabaseRequest(IClientService, string)
Constructs a new DropDatabase request.
Declaration
public DropDatabaseRequest(IClientService service, string database)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | database |
Properties
Database
Required. The database to be dropped.
Declaration
[RequestParameter("database", RequestParameterType.Path)]
public virtual string Database { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes DropDatabase parameter list.
Declaration
protected override void InitParameters()