Class: Google::Apis::FirebasehostingV1beta1::DnsUpdates

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebasehosting_v1beta1/classes.rb,
lib/google/apis/firebasehosting_v1beta1/representations.rb,
lib/google/apis/firebasehosting_v1beta1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DnsUpdates

Returns a new instance of DnsUpdates.



666
667
668
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 666

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#check_timeString

The last time Hosting checked your custom domain's DNS records. Corresponds to the JSON property checkTime

Returns:

  • (String)


654
655
656
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 654

def check_time
  @check_time
end

#desiredArray<Google::Apis::FirebasehostingV1beta1::DnsRecordSet>

The set of DNS records Hosting needs to serve secure content on the domain. Corresponds to the JSON property desired



659
660
661
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 659

def desired
  @desired
end

#discoveredArray<Google::Apis::FirebasehostingV1beta1::DnsRecordSet>

The set of DNS records Hosting discovered when inspecting a domain. Corresponds to the JSON property discovered



664
665
666
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 664

def discovered
  @discovered
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



671
672
673
674
675
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 671

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