Class: Google::Apis::DnsV1::Change
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::Change
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v1/classes.rb,
generated/google/apis/dns_v1/representations.rb,
generated/google/apis/dns_v1/representations.rb
Instance Attribute Summary collapse
-
#additions ⇒ Array<Google::Apis::DnsV1::ResourceRecordSet>
Corresponds to the JSON property
additions
. -
#deletions ⇒ Array<Google::Apis::DnsV1::ResourceRecordSet>
Corresponds to the JSON property
deletions
. -
#id ⇒ String
Corresponds to the JSON property
id
. -
#is_serving ⇒ Boolean
(also: #is_serving?)
Corresponds to the JSON property
isServing
. -
#kind ⇒ String
Identifies what kind of resource this is.
-
#start_time ⇒ String
Corresponds to the JSON property
startTime
. -
#status ⇒ String
Corresponds to the JSON property
status
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Change
constructor
A new instance of Change.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Change
Returns a new instance of Change
65 66 67 |
# File 'generated/google/apis/dns_v1/classes.rb', line 65 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additions ⇒ Array<Google::Apis::DnsV1::ResourceRecordSet>
Corresponds to the JSON property additions
32 33 34 |
# File 'generated/google/apis/dns_v1/classes.rb', line 32 def additions @additions end |
#deletions ⇒ Array<Google::Apis::DnsV1::ResourceRecordSet>
Corresponds to the JSON property deletions
37 38 39 |
# File 'generated/google/apis/dns_v1/classes.rb', line 37 def deletions @deletions end |
#id ⇒ String
Corresponds to the JSON property id
42 43 44 |
# File 'generated/google/apis/dns_v1/classes.rb', line 42 def id @id end |
#is_serving ⇒ Boolean Also known as: is_serving?
Corresponds to the JSON property isServing
47 48 49 |
# File 'generated/google/apis/dns_v1/classes.rb', line 47 def is_serving @is_serving end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "dns#change".
Corresponds to the JSON property kind
53 54 55 |
# File 'generated/google/apis/dns_v1/classes.rb', line 53 def kind @kind end |
#start_time ⇒ String
Corresponds to the JSON property startTime
58 59 60 |
# File 'generated/google/apis/dns_v1/classes.rb', line 58 def start_time @start_time end |
#status ⇒ String
Corresponds to the JSON property status
63 64 65 |
# File 'generated/google/apis/dns_v1/classes.rb', line 63 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
70 71 72 73 74 75 76 77 78 |
# File 'generated/google/apis/dns_v1/classes.rb', line 70 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 |