Class: Google::Apis::CertificatemanagerV1::DnsResourceRecord
- Inherits:
-
Object
- Object
- Google::Apis::CertificatemanagerV1::DnsResourceRecord
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/certificatemanager_v1/classes.rb,
lib/google/apis/certificatemanager_v1/representations.rb,
lib/google/apis/certificatemanager_v1/representations.rb
Overview
The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate.
Instance Attribute Summary collapse
-
#data ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsResourceRecord
constructor
A new instance of DnsResourceRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DnsResourceRecord
Returns a new instance of DnsResourceRecord.
515 516 517 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 515 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
Output only. Data of the DNS Resource Record.
Corresponds to the JSON property data
502 503 504 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 502 def data @data end |
#name ⇒ String
Output only. Fully qualified name of the DNS Resource Record. e.g. _acme-
challenge.example.com
Corresponds to the JSON property name
508 509 510 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 508 def name @name end |
#type ⇒ String
Output only. Type of the DNS Resource Record. Currently always set to "CNAME".
Corresponds to the JSON property type
513 514 515 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 513 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
520 521 522 523 524 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 520 def update!(**args) @data = args[:data] if args.key?(:data) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |