Class InstancesResource.DeleteRequest
Deletes a Cloud SQL instance.
Inheritance
InstancesResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1beta4
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class InstancesResource.DeleteRequest : SQLAdminBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string project, string instance)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | project | |
string | instance |
Properties
EnableFinalBackup
Flag to opt-in for final backup. By default, it is turned off.
Declaration
[RequestParameter("enableFinalBackup", RequestParameterType.Query)]
public virtual bool? EnableFinalBackup { get; set; }
Property Value
Type | Description |
---|---|
bool? |
FinalBackupDescription
Optional. The description of the final backup.
Declaration
[RequestParameter("finalBackupDescription", RequestParameterType.Query)]
public virtual string FinalBackupDescription { get; set; }
Property Value
Type | Description |
---|---|
string |
FinalBackupExpiryTime
object representation of FinalBackupExpiryTimeRaw.
Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use FinalBackupExpiryTimeDateTimeOffset instead.")]
public virtual object FinalBackupExpiryTime { get; set; }
Property Value
Type | Description |
---|---|
object |
FinalBackupExpiryTimeDateTimeOffset
Declaration
public virtual DateTimeOffset? FinalBackupExpiryTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
FinalBackupExpiryTimeRaw
String representation of FinalBackupExpiryTimeDateTimeOffset, formatted for inclusion in the HTTP request.
Declaration
[RequestParameter("finalBackupExpiryTime", RequestParameterType.Query)]
public virtual string FinalBackupExpiryTimeRaw { get; }
Property Value
Type | Description |
---|---|
string |
FinalBackupTtlDays
Optional. Retention period of the final backup.
Declaration
[RequestParameter("finalBackupTtlDays", RequestParameterType.Query)]
public virtual long? FinalBackupTtlDays { get; set; }
Property Value
Type | Description |
---|---|
long? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Instance
Cloud SQL instance ID. This does not include the project ID.
Declaration
[RequestParameter("instance", RequestParameterType.Path)]
public virtual string Instance { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Project
Project ID of the project that contains the instance to be deleted.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()