class Google::Apis::DnsV1::Change
A Change
represents a set of ResourceRecordSet
additions and deletions applied atomically to a ManagedZone
. ResourceRecordSets within a ManagedZone
are modified by creating a new Change
element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone
. The current state of the ManagedZone
is the sum effect of applying all Change
elements in the Changes collection in sequence.
Attributes
Which ResourceRecordSets to add? Corresponds to the JSON property `additions` @return [Array<Google::Apis::DnsV1::ResourceRecordSet>]
Which ResourceRecordSets to remove? Must match existing data exactly. Corresponds to the JSON property `deletions` @return [Array<Google::Apis::DnsV1::ResourceRecordSet>]
Unique identifier for the resource; defined by the server (output only). Corresponds to the JSON property `id` @return [String]
If the DNS queries for the zone will be served. Corresponds to the JSON property `isServing` @return [Boolean]
If the DNS queries for the zone will be served. Corresponds to the JSON property `isServing` @return [Boolean]
Corresponds to the JSON property `kind` @return [String]
The time that this operation was started by the server (output only). This is in RFC3339 text format. Corresponds to the JSON property `startTime` @return [String]
Status of the operation (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. Corresponds to the JSON property `status` @return [String]
Public Class Methods
# File lib/google/apis/dns_v1/classes.rb, line 74 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dns_v1/classes.rb, line 79 def update!(**args) @additions = args[:additions] if args.key?(:additions) @deletions = args[:deletions] if args.key?(:deletions) @id = args[:id] if args.key?(:id) @is_serving = args[:is_serving] if args.key?(:is_serving) @kind = args[:kind] if args.key?(:kind) @start_time = args[:start_time] if args.key?(:start_time) @status = args[:status] if args.key?(:status) end