Show / Hide Table of Contents

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.

Inheritance
System.Object
Operation
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class Operation : IDirectResponseSchema

Properties

BackupContext

The context for backup operation, if applicable.

Declaration
[JsonProperty("backupContext")]
public virtual BackupContext BackupContext { get; set; }
Property Value
Type Description
BackupContext

EndTime

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 object EndTime { get; set; }
Property Value
Type Description
System.Object

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

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

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

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 object InsertTime { get; set; }
Property Value
Type Description
System.Object

Kind

This is always sql#operation.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.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
System.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
System.String

SelfLink

The URI of this resource.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
System.String

StartTime

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 object StartTime { get; set; }
Property Value
Type Description
System.Object

Status

The status of an operation. Valid values are: PENDING RUNNING DONE SQL_OPERATION_STATUS_UNSPECIFIED

Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type Description
System.String

TargetId

Name of the database instance related to this operation.

Declaration
[JsonProperty("targetId")]
public virtual string TargetId { get; set; }
Property Value
Type Description
System.String

TargetLink

Declaration
[JsonProperty("targetLink")]
public virtual string TargetLink { get; set; }
Property Value
Type Description
System.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
System.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
System.String

Implements

IDirectResponseSchema
In This Article
Back to top