REST Resource: managedZoneOperations

Resource: ManagedZoneOperationsGetResponse

JSON representation
{
  "operation": {
    object (Operation)
  }
}
Fields
operation

object (Operation)

Operation

An operation represents a successful mutation performed on a Cloud DNS resource. Operations provide:

  • An audit log of server resource mutations.

  • A way to recover/retry API calls in the case where the response is never received by the caller. Use the caller specified clientOperationId.

JSON representation
{
  "id": string,
  "startTime": string,
  "status": enum (OperationStatus),
  "user": string,
  "type": string,
  "zoneContext": {
    object (ManagedZoneContext)
  },
  "dnsKeyContext": {
    object (DnsKeyContext)
  },
  "kind": string
}
Fields
id

string

Unique identifier for the resource. This is the clientOperationId if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)

startTime

string

The time that this operation was started by the server. This is in RFC3339 text format (output only).

status

enum (OperationStatus)

Status of the operation. Can be one of the following: "PENDING" or "DONE" (output only). A status of "DONE" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.

user

string

User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)

type

string

Type of the operation. Operations include insert, update, and delete (output only).

zoneContext

object (ManagedZoneContext)

Only populated if the operation targeted a ManagedZone (output only).

dnsKeyContext

object (DnsKeyContext)

Only populated if the operation targeted a DnsKey (output only).

kind

string

ManagedZoneContext

JSON representation
{
  "oldValue": {
    object (ManagedZone)
  },
  "newValue": {
    object (ManagedZone)
  }
}
Fields
oldValue

object (ManagedZone)

The pre-operation ManagedZone resource.

newValue

object (ManagedZone)

The post-operation ManagedZone resource.

DnsKeyContext

JSON representation
{
  "oldValue": {
    object (DnsKey)
  },
  "newValue": {
    object (DnsKey)
  }
}
Fields
oldValue

object (DnsKey)

The pre-operation DnsKey resource.

newValue

object (DnsKey)

The post-operation DnsKey resource.

Methods

get

Fetches the representation of an existing Operation.

list

Enumerates Operations for the given ManagedZone.