Class: Google::Apis::FirebasehostingV1::DnsRecordSet

Inherits:
Object
  • Object
show all
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 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.



204
205
206
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 204

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

Instance Attribute Details

#check_errorGoogle::Apis::FirebasehostingV1::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



192
193
194
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 192

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)


197
198
199
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 197

def domain_name
  @domain_name
end

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

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



202
203
204
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 202

def records
  @records
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



209
210
211
212
213
# File 'lib/google/apis/firebasehosting_v1/classes.rb', line 209

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