Class Operation
An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.
Implements
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1.Data
Assembly: Google.Apis.SQLAdmin.v1.dll
Syntax
public class Operation : IDirectResponseSchema
Properties
AcquireSsrsLeaseContext
The context for acquire SSRS lease operation, if applicable.
Declaration
[JsonProperty("acquireSsrsLeaseContext")]
public virtual AcquireSsrsLeaseContext AcquireSsrsLeaseContext { get; set; }
Property Value
Type | Description |
---|---|
AcquireSsrsLeaseContext |
ApiWarning
An Admin API warning message.
Declaration
[JsonProperty("apiWarning")]
public virtual ApiWarning ApiWarning { get; set; }
Property Value
Type | Description |
---|---|
ApiWarning |
BackupContext
The context for backup operation, if applicable.
Declaration
[JsonProperty("backupContext")]
public virtual BackupContext BackupContext { get; set; }
Property Value
Type | Description |
---|---|
BackupContext |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EndTime
object representation of EndTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")]
public virtual object EndTime { get; set; }
Property Value
Type | Description |
---|---|
object |
EndTimeDateTimeOffset
DateTimeOffset representation of EndTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EndTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
EndTimeRaw
The time this operation finished in UTC timezone in RFC 3339 format,
for example 2012-11-15T16:19:00.094Z
.
Declaration
[JsonProperty("endTime")]
public virtual string EndTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Error
If errors occurred during processing of this operation, this field will be populated.
Declaration
[JsonProperty("error")]
public virtual OperationErrors Error { get; set; }
Property Value
Type | Description |
---|---|
OperationErrors |
ExportContext
The context for export operation, if applicable.
Declaration
[JsonProperty("exportContext")]
public virtual ExportContext ExportContext { get; set; }
Property Value
Type | Description |
---|---|
ExportContext |
ImportContext
The context for import operation, if applicable.
Declaration
[JsonProperty("importContext")]
public virtual ImportContext ImportContext { get; set; }
Property Value
Type | Description |
---|---|
ImportContext |
InsertTime
object representation of InsertTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use InsertTimeDateTimeOffset instead.")]
public virtual object InsertTime { get; set; }
Property Value
Type | Description |
---|---|
object |
InsertTimeDateTimeOffset
DateTimeOffset representation of InsertTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? InsertTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
InsertTimeRaw
The time this operation was enqueued in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
Declaration
[JsonProperty("insertTime")]
public virtual string InsertTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
This is always sql#operation
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OperationType
The type of the operation. Valid values are: * CREATE
* DELETE
* UPDATE
* RESTART
* IMPORT
*
EXPORT
* BACKUP_VOLUME
* RESTORE_VOLUME
* CREATE_USER
* DELETE_USER
* CREATE_DATABASE
*
DELETE_DATABASE
Declaration
[JsonProperty("operationType")]
public virtual string OperationType { get; set; }
Property Value
Type | Description |
---|---|
string |
SelfLink
The URI of this resource.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
StartTime
object representation of StartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")]
public virtual object StartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
StartTimeDateTimeOffset
DateTimeOffset representation of StartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? StartTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
StartTimeRaw
The time this operation actually started in UTC timezone in RFC 3339
format, for example 2012-11-15T16:19:00.094Z
.
Declaration
[JsonProperty("startTime")]
public virtual string StartTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
The status of an operation.
Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetId
Name of the database instance related to this operation.
Declaration
[JsonProperty("targetId")]
public virtual string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetLink
Declaration
[JsonProperty("targetLink")]
public virtual string TargetLink { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetProject
The project ID of the target instance related to this operation.
Declaration
[JsonProperty("targetProject")]
public virtual string TargetProject { get; set; }
Property Value
Type | Description |
---|---|
string |
User
The email address of the user who initiated this operation.
Declaration
[JsonProperty("user")]
public virtual string User { get; set; }
Property Value
Type | Description |
---|---|
string |