Class: Google::Apis::FirebasehostingV1beta1::DnsRecordSet

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 records relevant to the setup and maintenance of a custom domain in Firebase Hosting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DnsRecordSet

Returns a new instance of DnsRecordSet.



631
632
633
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 631

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

Instance Attribute Details

#check_errorGoogle::Apis::FirebasehostingV1beta1::Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Corresponds to the JSON property checkError



619
620
621
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 619

def check_error
  @check_error
end

#domain_nameString

Output only. The domain name the record set pertains to. Corresponds to the JSON property domainName

Returns:

  • (String)


624
625
626
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 624

def domain_name
  @domain_name
end

#recordsArray<Google::Apis::FirebasehostingV1beta1::DnsRecord>

Output only. Records on the domain. Corresponds to the JSON property records



629
630
631
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 629

def records
  @records
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



636
637
638
639
640
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 636

def update!(**args)
  @check_error = args[:check_error] if args.key?(:check_error)
  @domain_name = args[:domain_name] if args.key?(:domain_name)
  @records = args[:records] if args.key?(:records)
end