Class 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 client_operation_id.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dns.v2.Data
Assembly: Google.Apis.Dns.v2.dll
Syntax
public class Operation : IDirectResponseSchema
Properties
DnsKeyContext
Only populated if the operation targeted a DnsKey (output only).
Declaration
[JsonProperty("dnsKeyContext")]
public virtual OperationDnsKeyContext DnsKeyContext { get; set; }
Property Value
Type | Description |
---|---|
OperationDnsKeyContext |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Unique identifier for the resource. This is the client_operation_id 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)
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kind
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StartTime
The time that this operation was started by the server. This is in RFC3339 text format (output only).
Declaration
[JsonProperty("startTime")]
public virtual string StartTime { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Status
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.
Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Type of the operation. Operations include insert, update, and delete (output only).
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |
User
User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)
Declaration
[JsonProperty("user")]
public virtual string User { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ZoneContext
Only populated if the operation targeted a ManagedZone (output only).
Declaration
[JsonProperty("zoneContext")]
public virtual OperationManagedZoneContext ZoneContext { get; set; }
Property Value
Type | Description |
---|---|
OperationManagedZoneContext |