Class: Google::Apis::FirebasehostingV1::DnsUpdates
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1::DnsUpdates
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasehosting_v1/classes.rb,
lib/google/apis/firebasehosting_v1/representations.rb,
lib/google/apis/firebasehosting_v1/representations.rb
Overview
A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name's DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active.
Instance Attribute Summary collapse
-
#check_time ⇒ String
The last time Hosting checked your custom domain's DNS records.
-
#desired ⇒ Array<Google::Apis::FirebasehostingV1::DnsRecordSet>
The set of DNS records Hosting needs to serve secure content on the domain.
-
#discovered ⇒ Array<Google::Apis::FirebasehostingV1::DnsRecordSet>
The set of DNS records Hosting discovered when inspecting a domain.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsUpdates
constructor
A new instance of DnsUpdates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DnsUpdates
Returns a new instance of DnsUpdates.
239 240 241 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#check_time ⇒ String
The last time Hosting checked your custom domain's DNS records.
Corresponds to the JSON property checkTime
227 228 229 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 227 def check_time @check_time end |
#desired ⇒ Array<Google::Apis::FirebasehostingV1::DnsRecordSet>
The set of DNS records Hosting needs to serve secure content on the domain.
Corresponds to the JSON property desired
232 233 234 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 232 def desired @desired end |
#discovered ⇒ Array<Google::Apis::FirebasehostingV1::DnsRecordSet>
The set of DNS records Hosting discovered when inspecting a domain.
Corresponds to the JSON property discovered
237 238 239 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 237 def discovered @discovered end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
244 245 246 247 248 |
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 244 def update!(**args) @check_time = args[:check_time] if args.key?(:check_time) @desired = args[:desired] if args.key?(:desired) @discovered = args[:discovered] if args.key?(:discovered) end |