Class: Google::Apis::FirebasehostingV1beta1::DnsRecordSet
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::DnsRecordSet
- 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
-
#check_error ⇒ Google::Apis::FirebasehostingV1beta1::Status
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. -
#domain_name ⇒ String
Output only.
-
#records ⇒ Array<Google::Apis::FirebasehostingV1beta1::DnsRecord>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsRecordSet
constructor
A new instance of DnsRecordSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_error ⇒ Google::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_name ⇒ String
Output only. The domain name the record set pertains to.
Corresponds to the JSON property domainName
624 625 626 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 624 def domain_name @domain_name end |
#records ⇒ Array<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 |