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
Output only.
-
#record_manager ⇒ String
Output only.
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.
1862 1863 1864 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1862 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
1845 1846 1847 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1845 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
1850 1851 1852 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1850 def dns_scope @dns_scope end |
#name ⇒ String
Output only. The DNS name.
Corresponds to the JSON property name
1855 1856 1857 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1855 def name @name end |
#record_manager ⇒ String
Output only. The manager for this DNS record.
Corresponds to the JSON property recordManager
1860 1861 1862 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1860 def record_manager @record_manager end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1867 1868 1869 1870 1871 1872 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1867 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) @record_manager = args[:record_manager] if args.key?(:record_manager) end |