Google Cloud VMware Engine V1 API - Class Google::Cloud::VmwareEngine::V1::DnsForwarding::ForwardingRule (v0.9.2)

Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::DnsForwarding::ForwardingRule.

A forwarding rule is a mapping of a domain to name_servers. This mapping allows VMware Engine to resolve domains for attached private clouds by forwarding DNS requests for a given domain to the specified nameservers.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#domain

def domain() -> ::String
Returns
  • (::String) — Required. Domain used to resolve a name_servers list.

#domain=

def domain=(value) -> ::String
Parameter
  • value (::String) — Required. Domain used to resolve a name_servers list.
Returns
  • (::String) — Required. Domain used to resolve a name_servers list.

#name_servers

def name_servers() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. List of DNS servers to use for domain resolution

#name_servers=

def name_servers=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. List of DNS servers to use for domain resolution
Returns
  • (::Array<::String>) — Required. List of DNS servers to use for domain resolution