Class: Google::Apis::SqladminV1beta4::DnsNameMapping

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb

Overview

DNS metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DnsNameMapping

Returns a new instance of DnsNameMapping.



1877
1878
1879
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1877

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

Instance Attribute Details

#connection_typeString

Output only. The connection type of the DNS name. Corresponds to the JSON property connectionType

Returns:

  • (String)


1860
1861
1862
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1860

def connection_type
  @connection_type
end

#dns_scopeString

Output only. The scope that the DNS name applies to. Corresponds to the JSON property dnsScope

Returns:

  • (String)


1865
1866
1867
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1865

def dns_scope
  @dns_scope
end

#nameString

Output only. The DNS name. Corresponds to the JSON property name

Returns:

  • (String)


1870
1871
1872
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1870

def name
  @name
end

#record_managerString

Output only. The manager for this DNS record. Corresponds to the JSON property recordManager

Returns:

  • (String)


1875
1876
1877
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1875

def record_manager
  @record_manager
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1882
1883
1884
1885
1886
1887
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1882

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