Class RestoreDatabaseMetadata
Metadata type for the long-running operation returned by RestoreDatabase.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class RestoreDatabaseMetadata : IDirectResponseSchema
Properties
BackupInfo
Information about the backup used to restore the database.
Declaration
[JsonProperty("backupInfo")]
public virtual BackupInfo BackupInfo { get; set; }
Property Value
Type | Description |
---|---|
BackupInfo |
CancelTime
object representation of CancelTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CancelTimeDateTimeOffset instead.")]
public virtual object CancelTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CancelTimeDateTimeOffset
DateTimeOffset representation of CancelTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CancelTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CancelTimeRaw
The time at which cancellation of this operation was received. Operations.CancelOperation starts
asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the
operation, but success is not guaranteed. Clients can use Operations.GetOperation or other methods to check
whether the cancellation succeeded or whether the operation completed despite cancellation. On successful
cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value
with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED
.
Declaration
[JsonProperty("cancelTime")]
public virtual string CancelTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Name of the database being created and restored to.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OptimizeDatabaseOperationName
If exists, the name of the long-running operation that will be used to track the post-restore optimization
process to optimize the performance of the restored database, and remove the dependency on the restore
source. The name is of the form projects//instances//databases//operations/
where the is the name of
database being created and restored to. The metadata type of the long-running operation is
OptimizeRestoredDatabaseMetadata. This long-running operation will be automatically created by the system
after the RestoreDatabase long-running operation completes successfully. This operation will not be created
if the restore was not successful.
Declaration
[JsonProperty("optimizeDatabaseOperationName")]
public virtual string OptimizeDatabaseOperationName { get; set; }
Property Value
Type | Description |
---|---|
string |
Progress
The progress of the RestoreDatabase operation.
Declaration
[JsonProperty("progress")]
public virtual OperationProgress Progress { get; set; }
Property Value
Type | Description |
---|---|
OperationProgress |
SourceType
The type of the restore source.
Declaration
[JsonProperty("sourceType")]
public virtual string SourceType { get; set; }
Property Value
Type | Description |
---|---|
string |