Class Backup
A backup resource.
Implements
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1.Data
Assembly: Google.Apis.SQLAdmin.v1.dll
Syntax
public class Backup : IDirectResponseSchema
Properties
BackupInterval
Output only. This output contains the following values: start_time: All database writes up to this time are available. end_time: Any database writes after this time aren't available.
Declaration
[JsonProperty("backupInterval")]
public virtual Interval BackupInterval { get; set; }
Property Value
Type | Description |
---|---|
Interval |
BackupKind
Output only. Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
Declaration
[JsonProperty("backupKind")]
public virtual string BackupKind { get; set; }
Property Value
Type | Description |
---|---|
string |
BackupRun
Output only. The mapping to backup run resource used for IAM validations.
Declaration
[JsonProperty("backupRun")]
public virtual string BackupRun { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
The description of this backup.
Declaration
[JsonProperty("description")]
public virtual string Description { 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 |
Error
Output only. Information about why the backup operation fails (for example, when the backup state fails).
Declaration
[JsonProperty("error")]
public virtual OperationError Error { get; set; }
Property Value
Type | Description |
---|---|
Operation |
ExpiryTime
object representation of Expiry
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpiryTimeDateTimeOffset instead.")]
public virtual object ExpiryTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpiryTimeDateTimeOffset
Date
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpiryTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
Date |
ExpiryTimeRaw
Backup expiration time. A UTC timestamp of when this backup expired.
Declaration
[JsonProperty("expiryTime")]
public virtual string ExpiryTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Instance
The name of the source database instance.
Declaration
[JsonProperty("instance")]
public virtual string Instance { get; set; }
Property Value
Type | Description |
---|---|
string |
InstanceDeletionTime
object representation of Instance
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use InstanceDeletionTimeDateTimeOffset instead.")]
public virtual object InstanceDeletionTime { get; set; }
Property Value
Type | Description |
---|---|
object |
InstanceDeletionTimeDateTimeOffset
Date
Declaration
[JsonIgnore]
public virtual DateTimeOffset? InstanceDeletionTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
Date |
InstanceDeletionTimeRaw
Optional. Output only. Timestamp in UTC of when the instance associated with this backup is deleted.
Declaration
[JsonProperty("instanceDeletionTime")]
public virtual string InstanceDeletionTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
InstanceSettings
Optional. Output only. The instance setting of the source instance that's associated with this backup.
Declaration
[JsonProperty("instanceSettings")]
public virtual DatabaseInstance InstanceSettings { get; set; }
Property Value
Type | Description |
---|---|
Database |
Kind
Output only. This is always sql#backup
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
KmsKey
Output only. This output contains the encryption configuration for a backup and the resource name of the KMS key for disk encryption.
Declaration
[JsonProperty("kmsKey")]
public virtual string KmsKey { get; set; }
Property Value
Type | Description |
---|---|
string |
KmsKeyVersion
Output only. This output contains the encryption status for a backup and the version of the KMS key that's used to encrypt the Cloud SQL instance.
Declaration
[JsonProperty("kmsKeyVersion")]
public virtual string KmsKeyVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Location
The storage location of the backups. The location can be multi-regional.
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxChargeableBytes
Output only. The maximum chargeable bytes for the backup.
Declaration
[JsonProperty("maxChargeableBytes")]
public virtual long? MaxChargeableBytes { get; set; }
Property Value
Type | Description |
---|---|
long? |
Name
Output only. The resource name of the backup. Format: projects/{project}/backups/{backup}.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
SatisfiesPzi
Output only. This status indicates whether the backup satisfies PZI. The status is reserved for future use.
Declaration
[JsonProperty("satisfiesPzi")]
public virtual bool? SatisfiesPzi { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SatisfiesPzs
Output only. This status indicates whether the backup satisfies PZS. The status is reserved for future use.
Declaration
[JsonProperty("satisfiesPzs")]
public virtual bool? SatisfiesPzs { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SelfLink
Output only. The URI of this resource.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. The status of this backup.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
TimeZone
Output only. This output contains a backup time zone. If a Cloud SQL for SQL Server instance has a different time zone from the backup's time zone, then the restore to the instance doesn't happen.
Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |
TtlDays
Input only. The time-to-live (TTL) interval for this resource (in days). For example: ttlDays:7, means 7 days from the current time. The expiration time can't exceed 365 days from the time that the backup is created.
Declaration
[JsonProperty("ttlDays")]
public virtual long? TtlDays { get; set; }
Property Value
Type | Description |
---|---|
long? |
Type
Output only. The type of this backup. The type can be "AUTOMATED", "ON_DEMAND" or “FINAL”.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |