class Google::Apis::DnsV1::Change
An atomic update to a collection of ResourceRecordSets.
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]
Identifies what kind of resource this is. Value: the fixed string “dns#change”. 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). Corresponds to the JSON property `status` @return [String]
Public Class Methods
# File generated/google/apis/dns_v1/classes.rb, line 60 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dns_v1/classes.rb, line 65 def update!(**args) @additions = args[:additions] if args.key?(:additions) @deletions = args[:deletions] if args.key?(:deletions) @id = args[:id] if args.key?(:id) @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