class Google::Apis::DnsV1::Change

An atomic update to a collection of ResourceRecordSets.

Attributes

additions[RW]

Which ResourceRecordSets to add? Corresponds to the JSON property `additions` @return [Array<Google::Apis::DnsV1::ResourceRecordSet>]

deletions[RW]

Which ResourceRecordSets to remove? Must match existing data exactly. Corresponds to the JSON property `deletions` @return [Array<Google::Apis::DnsV1::ResourceRecordSet>]

id[RW]

Unique identifier for the resource; defined by the server (output only). Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “dns#change”. Corresponds to the JSON property `kind` @return [String]

start_time[RW]

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[RW]

Status of the operation (output only). Corresponds to the JSON property `status` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dns_v1/classes.rb, line 60
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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