Google Cloud Vmware Engine V1 Client - Class ForwardingRule (1.0.0)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class 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.

Generated from protobuf message google.cloud.vmwareengine.v1.DnsForwarding.ForwardingRule

Namespace

Google \ Cloud \ VmwareEngine \ V1 \ DnsForwarding

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ domain string

Required. Domain used to resolve a name_servers list.

↳ name_servers array

Required. List of DNS servers to use for domain resolution

getDomain

Required. Domain used to resolve a name_servers list.

Returns
Type Description
string

setDomain

Required. Domain used to resolve a name_servers list.

Parameter
Name Description
var string
Returns
Type Description
$this

getNameServers

Required. List of DNS servers to use for domain resolution

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNameServers

Required. List of DNS servers to use for domain resolution

Parameter
Name Description
var string[]
Returns
Type Description
$this