Class: Google::Apis::SqladminV1::DnsNameMapping
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1::DnsNameMapping
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb
Overview
DNS metadata.
Instance Attribute Summary collapse
-
#connection_type ⇒ String
Output only.
-
#dns_scope ⇒ String
Output only.
-
#name ⇒ String
The DNS name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsNameMapping
constructor
A new instance of DnsNameMapping.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DnsNameMapping
Returns a new instance of DnsNameMapping.
1840 1841 1842 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1840 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_type ⇒ String
Output only. The connection type of the DNS name.
Corresponds to the JSON property connectionType
1828 1829 1830 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1828 def connection_type @connection_type end |
#dns_scope ⇒ String
Output only. The scope that the DNS name applies to.
Corresponds to the JSON property dnsScope
1833 1834 1835 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1833 def dns_scope @dns_scope end |
#name ⇒ String
The DNS name.
Corresponds to the JSON property name
1838 1839 1840 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1838 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1845 1846 1847 1848 1849 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1845 def update!(**args) @connection_type = args[:connection_type] if args.key?(:connection_type) @dns_scope = args[:dns_scope] if args.key?(:dns_scope) @name = args[:name] if args.key?(:name) end |